Searched refs:ureg (Results 1 – 2 of 2) sorted by relevance
| /freebsd/sys/dev/ata/chipsets/ |
| H A D | ata-siliconimage.c | 215 int ureg = ch->unit ? 0x7b : 0x73; in ata_cmd_setmode() local 225 u_int8_t umode = pci_read_config(parent, ureg, 1); in ata_cmd_setmode() 229 pci_write_config(parent, ureg, umode, 1); in ata_cmd_setmode() 232 pci_write_config(parent, ureg, in ata_cmd_setmode() 233 pci_read_config(parent, ureg, 1) & in ata_cmd_setmode() 355 u_int8_t ureg = 0xac + rego; in ata_sii_setmode() local 375 pci_write_config(parent, ureg, in ata_sii_setmode() 376 (pci_read_config(parent, ureg, 1) & ~0x3f) | in ata_sii_setmode()
|
| /freebsd/sys/dev/firewire/ |
| H A D | firewire.c | 1792 struct csrreg *ureg; in fw_parse_units() local 1841 ureg = &udir->entry[ui]; in fw_parse_units() 1842 if (ureg->key == CSRKEY_SPEC) in fw_parse_units() 1843 spec_id = ureg->val; in fw_parse_units() 1844 else if (ureg->key == CSRKEY_VER) in fw_parse_units() 1845 sw_version = ureg->val; in fw_parse_units()
|