Lines Matching refs:tmp16
482 uint16_t tmp16, reg16; in pcie_initchild() local
526 tmp16 = (reg16 & pcie_command_default_fw) | pcie_command_default; in pcie_initchild()
539 tmp16 &= ~PCI_COMM_IO; in pcie_initchild()
545 tmp16 &= ~PCI_COMM_MAE; in pcie_initchild()
552 tmp16 &= ~PCI_COMM_SERR_ENABLE; in pcie_initchild()
554 PCIE_PUT(16, bus_p, PCI_CONF_COMM, tmp16); in pcie_initchild()
568 tmp16 = (reg16 & pcie_bdg_command_default_fw); in pcie_initchild()
570 tmp16 |= PCI_BCNF_BCNTRL_SERR_ENABLE; in pcie_initchild()
577 tmp16 &= ~PCI_BCNF_BCNTRL_SERR_ENABLE; in pcie_initchild()
580 tmp16 |= PCI_BCNF_BCNTRL_PARITY_ENABLE; in pcie_initchild()
590 tmp16 &= ~PCI_BCNF_BCNTRL_MAST_AB_MODE; in pcie_initchild()
592 tmp16 |= PCI_BCNF_BCNTRL_MAST_AB_MODE; in pcie_initchild()
593 PCIE_PUT(16, bus_p, PCI_BCNF_BCNTRL, tmp16); in pcie_initchild()
602 tmp16 = (reg16 & (PCIE_DEVCTL_MAX_READ_REQ_MASK | in pcie_initchild()
606 PCIE_CAP_PUT(16, bus_p, PCIE_DEVCTL, tmp16); in pcie_initchild()
1359 uint16_t reg16, tmp16; in pcie_enable_errors() local
1378 tmp16 = (reg16 & (PCIE_DEVCTL_MAX_READ_REQ_MASK | in pcie_enable_errors()
1384 PCIE_CAP_PUT(16, bus_p, PCIE_DEVCTL, tmp16); in pcie_enable_errors()
1393 tmp16 = pcie_serr_disable_flag ? in pcie_enable_errors()
1396 PCIE_CAP_PUT(16, bus_p, PCIE_ROOTCTL, tmp16); in pcie_enable_errors()