Searched refs:pci_state_reg (Results 1 – 2 of 2) sorted by relevance
2623 uint32_t pci_state_reg, grc_misc_cfg; in tg3_get_invariants() local2679 pci_read_config_dword(tp->pdev, TG3PCI_PCISTATE, &pci_state_reg); in tg3_get_invariants()2689 if ((pci_state_reg & PCISTATE_CONV_PCI_MODE) == 0) { in tg3_get_invariants()2699 if ((pci_state_reg & PCISTATE_BUS_SPEED_HIGH) != 0) in tg3_get_invariants()2701 if ((pci_state_reg & PCISTATE_BUS_32BIT) != 0) in tg3_get_invariants()2706 (!(pci_state_reg & PCISTATE_RETRY_SAME_DMA))) { in tg3_get_invariants()2707 pci_state_reg |= PCISTATE_RETRY_SAME_DMA; in tg3_get_invariants()2708 pci_write_config_dword(tp->pdev, TG3PCI_PCISTATE, pci_state_reg); in tg3_get_invariants()
3637 uint32_t pci_state_reg; local3736 pci_state_reg = pci_config_get32(bgep->cfg_handle,3738 pci_state_reg |= PCISTATE_ALLOW_APE_CTLSPC_WR |3741 PCI_CONF_BGE_PCISTATE, pci_state_reg);