Lines Matching refs:reg16
1080 uint16_t tmp16, reg16; in pcie_initchild() local
1095 reg16 = PCIE_GET(16, bus_p, PCI_CONF_STAT); in pcie_initchild()
1096 PCIE_PUT(16, bus_p, PCI_CONF_STAT, reg16); in pcie_initchild()
1099 reg16 = PCIE_GET(16, bus_p, PCI_CONF_COMM); in pcie_initchild()
1100 tmp16 = (reg16 & pcie_command_default_fw) | pcie_command_default; in pcie_initchild()
1106 PCIE_DBG_CFG(cdip, bus_p, "COMMAND", 16, PCI_CONF_COMM, reg16); in pcie_initchild()
1114 reg16 = PCIE_GET(16, bus_p, PCI_BCNF_SEC_STATUS); in pcie_initchild()
1115 PCIE_PUT(16, bus_p, PCI_BCNF_SEC_STATUS, reg16); in pcie_initchild()
1118 reg16 = PCIE_GET(16, bus_p, PCI_BCNF_BCNTRL); in pcie_initchild()
1119 tmp16 = (reg16 & pcie_bdg_command_default_fw); in pcie_initchild()
1146 reg16); in pcie_initchild()
1155 reg16 = PCIE_CAP_GET(16, bus_p, PCIE_DEVCTL); in pcie_initchild()
1156 tmp16 = (reg16 & pcie_devctl_default_mask) | in pcie_initchild()
1159 PCIE_DBG_CAP(cdip, bus_p, "DEVCTL", 16, PCIE_DEVCTL, reg16); in pcie_initchild()
2308 uint16_t reg16, tmp16; in pcie_enable_errors() local
2325 if ((reg16 = PCIE_CAP_GET(16, bus_p, PCIE_DEVCTL)) != in pcie_enable_errors()
2327 tmp16 = (reg16 & pcie_devctl_default_mask) | in pcie_enable_errors()
2332 PCIE_DBG_CAP(dip, bus_p, "DEVCTL", 16, PCIE_DEVCTL, reg16); in pcie_enable_errors()
2337 (reg16 = PCIE_CAP_GET(16, bus_p, PCIE_ROOTCTL)) != in pcie_enable_errors()
2345 reg16); in pcie_enable_errors()
2410 if ((reg16 = PCIE_AER_GET(16, bus_p, PCIE_AER_RE_CMD)) != in pcie_enable_errors()
2415 PCIE_AER_RE_CMD, reg16); in pcie_enable_errors()