Home
last modified time | relevance | path

Searched refs:pci_cmd (Results 1 – 17 of 17) sorted by relevance

/linux-2.6.39/arch/mips/pci/
Dops-pnx8550.c53 config_access(unsigned int pci_cmd, struct pci_bus *bus, unsigned int devfn, int where, unsigned in… in config_access() argument
68 if ((pci_cmd == PCI_CMD_IOW) || (pci_cmd == PCI_CMD_CONFIG_WRITE)) in config_access()
71 outl(INIT_PCI_CYCLE | pci_cmd | (pci_mode & PCI_BYTE_ENABLE_MASK), in config_access()
79 if ((pci_cmd == PCI_CMD_IOR) || in config_access()
80 (pci_cmd == PCI_CMD_CONFIG_READ)) in config_access()
96 if ((pci_cmd == PCI_CMD_IOR) || (pci_cmd == PCI_CMD_IOW)) { in config_access()
99 pci_cmd); in config_access()
102 if ((pci_cmd == PCI_CMD_IOR) || (pci_cmd == PCI_CMD_CONFIG_READ)) in config_access()
/linux-2.6.39/drivers/pci/hotplug/
Dpcihp_slot.c39 u16 pci_cmd, pci_bctl; in program_hpp_type0() local
61 pci_read_config_word(dev, PCI_COMMAND, &pci_cmd); in program_hpp_type0()
63 pci_cmd |= PCI_COMMAND_SERR; in program_hpp_type0()
65 pci_cmd &= ~PCI_COMMAND_SERR; in program_hpp_type0()
67 pci_cmd |= PCI_COMMAND_PARITY; in program_hpp_type0()
69 pci_cmd &= ~PCI_COMMAND_PARITY; in program_hpp_type0()
70 pci_write_config_word(dev, PCI_COMMAND, pci_cmd); in program_hpp_type0()
/linux-2.6.39/arch/x86/kernel/cpu/cpufreq/
Dlonghaul.c712 u8 pci_cmd; in enable_arbiter_disable() local
733 pci_read_config_byte(dev, reg, &pci_cmd); in enable_arbiter_disable()
734 if (!(pci_cmd & 1<<7)) { in enable_arbiter_disable()
735 pci_cmd |= 1<<7; in enable_arbiter_disable()
736 pci_write_config_byte(dev, reg, pci_cmd); in enable_arbiter_disable()
737 pci_read_config_byte(dev, reg, &pci_cmd); in enable_arbiter_disable()
738 if (!(pci_cmd & 1<<7)) { in enable_arbiter_disable()
753 u8 pci_cmd; in longhaul_setup_southbridge() local
763 pci_read_config_byte(dev, 0xec, &pci_cmd); in longhaul_setup_southbridge()
764 pci_cmd &= ~(1 << 2); in longhaul_setup_southbridge()
[all …]
/linux-2.6.39/arch/arm/mach-integrator/
Dpci_v3.c591 unsigned int pci_cmd; in pci_v3_postinit() local
593 pci_cmd = PCI_COMMAND_MEMORY | in pci_v3_postinit()
596 v3_writew(V3_PCI_CMD, pci_cmd); in pci_v3_postinit()
/linux-2.6.39/arch/alpha/kernel/
Dcore_lca.c361 static const char * const pci_cmd[] = { in ioc_error() local
378 code > 3 ? "PCI" : "CPU", pci_cmd[cmd], stat1, err_name[code]); in ioc_error()
/linux-2.6.39/drivers/scsi/
Dstex.c1214 u16 pci_cmd; in stex_hard_reset() local
1237 pci_read_config_word(hba->pdev, PCI_COMMAND, &pci_cmd); in stex_hard_reset()
1238 if (pci_cmd != 0xffff && (pci_cmd & PCI_COMMAND_MASTER)) in stex_hard_reset()
/linux-2.6.39/drivers/net/atl1c/
Datl1c_main.c131 u32 pci_cmd; in atl1c_reset_pcie() local
134 AT_READ_REG(hw, PCI_COMMAND, &pci_cmd); in atl1c_reset_pcie()
135 pci_cmd &= ~PCI_COMMAND_INTX_DISABLE; in atl1c_reset_pcie()
136 pci_cmd |= (PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER | in atl1c_reset_pcie()
138 AT_WRITE_REG(hw, PCI_COMMAND, pci_cmd); in atl1c_reset_pcie()
/linux-2.6.39/drivers/net/wireless/iwlegacy/
Diwl4965-base.c3217 u16 pci_cmd; in iwl4965_pci_probe() local
3410 pci_read_config_word(priv->pci_dev, PCI_COMMAND, &pci_cmd); in iwl4965_pci_probe()
3411 if (pci_cmd & PCI_COMMAND_INTX_DISABLE) { in iwl4965_pci_probe()
3412 pci_cmd &= ~PCI_COMMAND_INTX_DISABLE; in iwl4965_pci_probe()
3413 pci_write_config_word(priv->pci_dev, PCI_COMMAND, pci_cmd); in iwl4965_pci_probe()
/linux-2.6.39/drivers/net/e1000e/
Dnetdev.c3550 u16 pci_cmd; in e1000_test_msi() local
3556 pci_read_config_word(adapter->pdev, PCI_COMMAND, &pci_cmd); in e1000_test_msi()
3557 if (pci_cmd & PCI_COMMAND_SERR) in e1000_test_msi()
3559 pci_cmd & ~PCI_COMMAND_SERR); in e1000_test_msi()
3564 if (pci_cmd & PCI_COMMAND_SERR) { in e1000_test_msi()
3565 pci_read_config_word(adapter->pdev, PCI_COMMAND, &pci_cmd); in e1000_test_msi()
3566 pci_cmd |= PCI_COMMAND_SERR; in e1000_test_msi()
3567 pci_write_config_word(adapter->pdev, PCI_COMMAND, pci_cmd); in e1000_test_msi()
/linux-2.6.39/drivers/net/
Dr8169.c4533 u16 pci_status, pci_cmd; in rtl8169_pcierr_interrupt() local
4535 pci_read_config_word(pdev, PCI_COMMAND, &pci_cmd); in rtl8169_pcierr_interrupt()
4539 pci_cmd, pci_status); in rtl8169_pcierr_interrupt()
4550 pci_cmd &= ~PCI_COMMAND_PARITY; in rtl8169_pcierr_interrupt()
4552 pci_cmd |= PCI_COMMAND_SERR | PCI_COMMAND_PARITY; in rtl8169_pcierr_interrupt()
4554 pci_write_config_word(pdev, PCI_COMMAND, pci_cmd); in rtl8169_pcierr_interrupt()
Dtg3.c6962 pci_read_config_word(tp->pdev, PCI_COMMAND, &tp->pci_cmd); in tg3_save_pci_state()
6986 pci_write_config_word(tp->pdev, PCI_COMMAND, tp->pci_cmd); in tg3_restore_pci_state()
8931 u16 pci_cmd; in tg3_test_msi() local
8939 pci_read_config_word(tp->pdev, PCI_COMMAND, &pci_cmd); in tg3_test_msi()
8941 pci_cmd & ~PCI_COMMAND_SERR); in tg3_test_msi()
8945 pci_write_config_word(tp->pdev, PCI_COMMAND, pci_cmd); in tg3_test_msi()
13154 u16 pci_cmd; in tg3_get_invariants() local
13164 pci_read_config_word(tp->pdev, PCI_COMMAND, &pci_cmd); in tg3_get_invariants()
13165 pci_cmd &= ~PCI_COMMAND_INVALIDATE; in tg3_get_invariants()
13166 pci_write_config_word(tp->pdev, PCI_COMMAND, pci_cmd); in tg3_get_invariants()
[all …]
Dcassini.c4930 u16 pci_cmd; in cas_init_one() local
4968 pci_read_config_word(pdev, PCI_COMMAND, &pci_cmd); in cas_init_one()
4969 pci_cmd &= ~PCI_COMMAND_SERR; in cas_init_one()
4970 pci_cmd |= PCI_COMMAND_PARITY; in cas_init_one()
4971 pci_write_config_word(pdev, PCI_COMMAND, pci_cmd); in cas_init_one()
Ds2io.c3468 u16 subid, pci_cmd; in s2io_reset() local
3480 pci_read_config_word(sp->pdev, PCIX_COMMAND_REGISTER, &(pci_cmd)); in s2io_reset()
3501 pci_write_config_word(sp->pdev, PCIX_COMMAND_REGISTER, pci_cmd); in s2io_reset()
7676 u16 pci_cmd = 0, pcix_cmd = 0; in s2io_init_pci() local
7687 pci_read_config_word(sp->pdev, PCI_COMMAND, &pci_cmd); in s2io_init_pci()
7689 (pci_cmd | PCI_COMMAND_PARITY)); in s2io_init_pci()
7690 pci_read_config_word(sp->pdev, PCI_COMMAND, &pci_cmd); in s2io_init_pci()
Dskge.c3281 u16 pci_status, pci_cmd; in skge_error_irq() local
3283 pci_read_config_word(pdev, PCI_COMMAND, &pci_cmd); in skge_error_irq()
3287 pci_cmd, pci_status); in skge_error_irq()
3293 pci_cmd | PCI_COMMAND_SERR | PCI_COMMAND_PARITY); in skge_error_irq()
Dtg3.h2946 u16 pci_cmd; member
/linux-2.6.39/drivers/net/wireless/iwlwifi/
Diwl-agn.c3965 u16 pci_cmd, num_mac; in iwl_pci_probe() local
4207 pci_read_config_word(priv->pci_dev, PCI_COMMAND, &pci_cmd); in iwl_pci_probe()
4208 if (pci_cmd & PCI_COMMAND_INTX_DISABLE) { in iwl_pci_probe()
4209 pci_cmd &= ~PCI_COMMAND_INTX_DISABLE; in iwl_pci_probe()
4210 pci_write_config_word(priv->pci_dev, PCI_COMMAND, pci_cmd); in iwl_pci_probe()
/linux-2.6.39/drivers/staging/vt6655/
Ddevice_main.c1157 u16 pci_cmd; in device_get_pci_info() local
1171 pci_read_config_word(pcid, PCI_COMMAND, (u16 *) & (pci_cmd)); in device_get_pci_info()