Home
last modified time | relevance | path

Searched refs:pci_command (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/alteon/
Dacenic.c496 pci_read_config_word(pdev, PCI_COMMAND, &ap->pci_command); in acenic_probe_one()
499 if (!(ap->pci_command & PCI_COMMAND_MEMORY)) { in acenic_probe_one()
503 ap->pci_command = ap->pci_command | PCI_COMMAND_MEMORY; in acenic_probe_one()
505 ap->pci_command); in acenic_probe_one()
1060 if (ap->pci_command & PCI_COMMAND_INVALIDATE) { in ace_init()
1061 ap->pci_command &= ~PCI_COMMAND_INVALIDATE; in ace_init()
1063 ap->pci_command); in ace_init()
1067 } else if (ap->pci_command & PCI_COMMAND_INVALIDATE) { in ace_init()
1088 ap->pci_command &= ~PCI_COMMAND_INVALIDATE; in ace_init()
1090 ap->pci_command); in ace_init()
[all …]
Dacenic.h685 u16 pci_command; member
/drivers/pci/
Dpci.c1349 u16 pci_command; in do_pci_disable_device() local
1351 pci_read_config_word(dev, PCI_COMMAND, &pci_command); in do_pci_disable_device()
1352 if (pci_command & PCI_COMMAND_MASTER) { in do_pci_disable_device()
1353 pci_command &= ~PCI_COMMAND_MASTER; in do_pci_disable_device()
1354 pci_write_config_word(dev, PCI_COMMAND, pci_command); in do_pci_disable_device()
2915 u16 pci_command, new; in pci_intx() local
2917 pci_read_config_word(pdev, PCI_COMMAND, &pci_command); in pci_intx()
2920 new = pci_command & ~PCI_COMMAND_INTX_DISABLE; in pci_intx()
2922 new = pci_command | PCI_COMMAND_INTX_DISABLE; in pci_intx()
2925 if (new != pci_command) { in pci_intx()
/drivers/net/ethernet/hp/
Dhp100.c2892 u_short pci_command; in hp100_pci_probe() local
2906 pci_read_config_word(pdev, PCI_COMMAND, &pci_command); in hp100_pci_probe()
2907 if (!(pci_command & PCI_COMMAND_IO)) { in hp100_pci_probe()
2911 pci_command |= PCI_COMMAND_IO; in hp100_pci_probe()
2912 pci_write_config_word(pdev, PCI_COMMAND, pci_command); in hp100_pci_probe()
2915 if (!(pci_command & PCI_COMMAND_MASTER)) { in hp100_pci_probe()
2919 pci_command |= PCI_COMMAND_MASTER; in hp100_pci_probe()
2920 pci_write_config_word(pdev, PCI_COMMAND, pci_command); in hp100_pci_probe()
/drivers/atm/
Didt77252.c3540 u16 pci_command; in idt77252_preset() local
3548 if (pci_read_config_word(card->pcidev, PCI_COMMAND, &pci_command)) { in idt77252_preset()
3553 if (!(pci_command & PCI_COMMAND_IO)) { in idt77252_preset()
3555 card->name, pci_command); in idt77252_preset()
3559 pci_command |= (PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER); in idt77252_preset()
3560 if (pci_write_config_word(card->pcidev, PCI_COMMAND, pci_command)) { in idt77252_preset()
/drivers/net/ethernet/dec/tulip/
Dtulip_core.c1198 u16 pci_command; in tulip_mwi_config() local
1215 pci_read_config_word(pdev, PCI_COMMAND, &pci_command); in tulip_mwi_config()
1216 if ((csr0 & MWI) && (!(pci_command & PCI_COMMAND_INVALIDATE))) in tulip_mwi_config()
/drivers/staging/slicoss/
Dslicoss.c3223 u16 pci_command; in slic_config_pci() local
3226 pci_read_config_word(pcidev, PCI_COMMAND, &pci_command); in slic_config_pci()
3228 new_command = pci_command | PCI_COMMAND_MASTER in slic_config_pci()
3232 if (pci_command != new_command) in slic_config_pci()