Searched refs:pci_cmd (Results 1 – 2 of 2) sorted by relevance
2624 uint16_t pci_cmd; in tg3_get_invariants() local2652 pci_read_config_word(tp->pdev, PCI_COMMAND, &pci_cmd); in tg3_get_invariants()2653 pci_cmd &= ~PCI_COMMAND_INVALIDATE; in tg3_get_invariants()2655 pci_cmd |= PCI_COMMAND_PARITY | PCI_COMMAND_SERR; in tg3_get_invariants()2656 pci_write_config_word(tp->pdev, PCI_COMMAND, pci_cmd); in tg3_get_invariants()
2107 uint32_t pci_cmd; in aac_check_card_type() local2188 pci_cmd = pci_config_get16(pci_config_handle, PCI_CONF_COMM); in aac_check_card_type()2189 if ((pci_cmd & PCI_COMM_ME) == 0) { in aac_check_card_type()2190 pci_cmd |= PCI_COMM_ME; in aac_check_card_type()2191 pci_config_put16(pci_config_handle, PCI_CONF_COMM, pci_cmd); in aac_check_card_type()2192 pci_cmd = pci_config_get16(pci_config_handle, PCI_CONF_COMM); in aac_check_card_type()2193 if ((pci_cmd & PCI_COMM_ME) == 0) { in aac_check_card_type()