HelenOS sources

AHCI_PCI_CMD     1232 uspace/drv/block/ahci/ahci.c 	pci_config_space_read_16(ahci->parent_sess, AHCI_PCI_CMD, &cmd.u16);
AHCI_PCI_CMD     1235 uspace/drv/block/ahci/ahci.c 	pci_config_space_write_16(ahci->parent_sess, AHCI_PCI_CMD, cmd.u16);
HelenOS homepage, sources at GitHub