Home
last modified time | relevance | path

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

/drivers/cpufreq/
Dlonghaul.c686 u8 pci_cmd; in enable_arbiter_disable() local
707 pci_read_config_byte(dev, reg, &pci_cmd); in enable_arbiter_disable()
708 if (!(pci_cmd & 1<<7)) { in enable_arbiter_disable()
709 pci_cmd |= 1<<7; in enable_arbiter_disable()
710 pci_write_config_byte(dev, reg, pci_cmd); in enable_arbiter_disable()
711 pci_read_config_byte(dev, reg, &pci_cmd); in enable_arbiter_disable()
712 if (!(pci_cmd & 1<<7)) { in enable_arbiter_disable()
726 u8 pci_cmd; in longhaul_setup_southbridge() local
736 pci_read_config_byte(dev, 0xec, &pci_cmd); in longhaul_setup_southbridge()
737 pci_cmd &= ~(1 << 2); in longhaul_setup_southbridge()
[all …]
/drivers/pci/
Dpci-acpi.c139 u16 pci_cmd, pci_bctl; in program_hpx_type0() local
152 pci_read_config_word(dev, PCI_COMMAND, &pci_cmd); in program_hpx_type0()
154 pci_cmd |= PCI_COMMAND_SERR; in program_hpx_type0()
156 pci_cmd |= PCI_COMMAND_PARITY; in program_hpx_type0()
157 pci_write_config_word(dev, PCI_COMMAND, pci_cmd); in program_hpx_type0()
/drivers/scsi/
Dstex.c1316 u16 pci_cmd; in stex_hard_reset() local
1339 pci_read_config_word(hba->pdev, PCI_COMMAND, &pci_cmd); in stex_hard_reset()
1340 if (pci_cmd != 0xffff && (pci_cmd & PCI_COMMAND_MASTER)) in stex_hard_reset()
/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c105 u32 pci_cmd; in atl1c_reset_pcie() local
109 AT_READ_REG(hw, PCI_COMMAND, &pci_cmd); in atl1c_reset_pcie()
110 pci_cmd &= ~PCI_COMMAND_INTX_DISABLE; in atl1c_reset_pcie()
111 pci_cmd |= (PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER | in atl1c_reset_pcie()
113 AT_WRITE_REG(hw, PCI_COMMAND, pci_cmd); in atl1c_reset_pcie()
/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans.c1610 u16 pci_cmd; in iwl_pcie_set_interrupt_capa() local
1666 pci_read_config_word(pdev, PCI_COMMAND, &pci_cmd); in iwl_pcie_set_interrupt_capa()
1667 if (pci_cmd & PCI_COMMAND_INTX_DISABLE) { in iwl_pcie_set_interrupt_capa()
1668 pci_cmd &= ~PCI_COMMAND_INTX_DISABLE; in iwl_pcie_set_interrupt_capa()
1669 pci_write_config_word(pdev, PCI_COMMAND, pci_cmd); in iwl_pcie_set_interrupt_capa()
/drivers/net/ethernet/realtek/
Dr8169_main.c4442 u16 pci_cmd; in rtl8169_pcierr_interrupt() local
4444 pci_read_config_word(pdev, PCI_COMMAND, &pci_cmd); in rtl8169_pcierr_interrupt()
4450 pci_cmd, pci_status_errs); in rtl8169_pcierr_interrupt()
4460 pci_cmd &= ~PCI_COMMAND_PARITY; in rtl8169_pcierr_interrupt()
4462 pci_cmd |= PCI_COMMAND_SERR | PCI_COMMAND_PARITY; in rtl8169_pcierr_interrupt()
4464 pci_write_config_word(pdev, PCI_COMMAND, pci_cmd); in rtl8169_pcierr_interrupt()
/drivers/net/ethernet/intel/e1000e/
Dnetdev.c4582 u16 pci_cmd; in e1000_test_msi() local
4588 pci_read_config_word(adapter->pdev, PCI_COMMAND, &pci_cmd); in e1000_test_msi()
4589 if (pci_cmd & PCI_COMMAND_SERR) in e1000_test_msi()
4591 pci_cmd & ~PCI_COMMAND_SERR); in e1000_test_msi()
4596 if (pci_cmd & PCI_COMMAND_SERR) { in e1000_test_msi()
4597 pci_read_config_word(adapter->pdev, PCI_COMMAND, &pci_cmd); in e1000_test_msi()
4598 pci_cmd |= PCI_COMMAND_SERR; in e1000_test_msi()
4599 pci_write_config_word(adapter->pdev, PCI_COMMAND, pci_cmd); in e1000_test_msi()
/drivers/net/ethernet/sun/
Dcassini.c4895 u16 pci_cmd; in cas_init_one() local
4932 pci_read_config_word(pdev, PCI_COMMAND, &pci_cmd); in cas_init_one()
4933 pci_cmd &= ~PCI_COMMAND_SERR; in cas_init_one()
4934 pci_cmd |= PCI_COMMAND_PARITY; in cas_init_one()
4935 pci_write_config_word(pdev, PCI_COMMAND, pci_cmd); in cas_init_one()
/drivers/net/ethernet/broadcom/
Dtg3.c8961 pci_read_config_word(tp->pdev, PCI_COMMAND, &tp->pci_cmd); in tg3_save_pci_state()
8985 pci_write_config_word(tp->pdev, PCI_COMMAND, tp->pci_cmd); in tg3_restore_pci_state()
11376 u16 pci_cmd; in tg3_test_msi() local
11384 pci_read_config_word(tp->pdev, PCI_COMMAND, &pci_cmd); in tg3_test_msi()
11386 pci_cmd & ~PCI_COMMAND_SERR); in tg3_test_msi()
11390 pci_write_config_word(tp->pdev, PCI_COMMAND, pci_cmd); in tg3_test_msi()
16250 u16 pci_cmd; in tg3_get_invariants() local
16260 pci_read_config_word(tp->pdev, PCI_COMMAND, &pci_cmd); in tg3_get_invariants()
16261 pci_cmd &= ~PCI_COMMAND_INVALIDATE; in tg3_get_invariants()
16262 pci_write_config_word(tp->pdev, PCI_COMMAND, pci_cmd); in tg3_get_invariants()
[all …]
Dtg3.h3265 u16 pci_cmd; member
/drivers/net/ethernet/neterion/
Ds2io.c3400 u16 subid, pci_cmd; in s2io_reset() local
3412 pci_read_config_word(sp->pdev, PCIX_COMMAND_REGISTER, &(pci_cmd)); in s2io_reset()
3433 pci_write_config_word(sp->pdev, PCIX_COMMAND_REGISTER, pci_cmd); in s2io_reset()
7497 u16 pci_cmd = 0, pcix_cmd = 0; in s2io_init_pci() local
7508 pci_read_config_word(sp->pdev, PCI_COMMAND, &pci_cmd); in s2io_init_pci()
7510 (pci_cmd | PCI_COMMAND_PARITY)); in s2io_init_pci()
7511 pci_read_config_word(sp->pdev, PCI_COMMAND, &pci_cmd); in s2io_init_pci()
/drivers/net/ethernet/marvell/
Dskge.c3311 u16 pci_status, pci_cmd; in skge_error_irq() local
3313 pci_read_config_word(pdev, PCI_COMMAND, &pci_cmd); in skge_error_irq()
3317 pci_cmd, pci_status); in skge_error_irq()
3323 pci_cmd | PCI_COMMAND_SERR | PCI_COMMAND_PARITY); in skge_error_irq()
/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c6483 u16 pci_cmd; in il4965_pci_probe() local
6641 pci_read_config_word(il->pci_dev, PCI_COMMAND, &pci_cmd); in il4965_pci_probe()
6642 if (pci_cmd & PCI_COMMAND_INTX_DISABLE) { in il4965_pci_probe()
6643 pci_cmd &= ~PCI_COMMAND_INTX_DISABLE; in il4965_pci_probe()
6644 pci_write_config_word(il->pci_dev, PCI_COMMAND, pci_cmd); in il4965_pci_probe()