HelenOS sources

bmicx_rwcon       623 uspace/drv/block/pci-ide/pci-ide.c 	val = (dir == ata_dma_write) ? bmicx_rwcon : 0;
bmicx_rwcon       646 uspace/drv/block/pci-ide/pci-ide.c 	val = (chan->cur_dir == ata_dma_write) ? bmicx_rwcon : 0;
HelenOS homepage, sources at GitHub