/linux-6.1.9/drivers/cpufreq/ |
D | longhaul.c | 686 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 …]
|
/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | intel_region_lmem.c | 57 u32 pci_cmd; in i915_resize_lmem_bar() local 106 pci_read_config_dword(pdev, PCI_COMMAND, &pci_cmd); in i915_resize_lmem_bar() 108 pci_cmd & ~PCI_COMMAND_MEMORY); in i915_resize_lmem_bar() 113 pci_write_config_dword(pdev, PCI_COMMAND, pci_cmd); in i915_resize_lmem_bar()
|
/linux-6.1.9/arch/alpha/kernel/ |
D | core_lca.c | 363 static const char * const pci_cmd[] = { in ioc_error() local 380 code > 3 ? "PCI" : "CPU", pci_cmd[cmd], stat1, err_name[code]); in ioc_error()
|
/linux-6.1.9/drivers/pci/ |
D | pci-acpi.c | 141 u16 pci_cmd, pci_bctl; in program_hpx_type0() local 154 pci_read_config_word(dev, PCI_COMMAND, &pci_cmd); in program_hpx_type0() 156 pci_cmd |= PCI_COMMAND_SERR; in program_hpx_type0() 158 pci_cmd |= PCI_COMMAND_PARITY; in program_hpx_type0() 159 pci_write_config_word(dev, PCI_COMMAND, pci_cmd); in program_hpx_type0()
|
/linux-6.1.9/drivers/scsi/ |
D | stex.c | 1309 u16 pci_cmd; in stex_hard_reset() local 1332 pci_read_config_word(hba->pdev, PCI_COMMAND, &pci_cmd); in stex_hard_reset() 1333 if (pci_cmd != 0xffff && (pci_cmd & PCI_COMMAND_MASTER)) in stex_hard_reset()
|
/linux-6.1.9/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 138 u32 pci_cmd; in atl1c_reset_pcie() local 142 AT_READ_REG(hw, PCI_COMMAND, &pci_cmd); in atl1c_reset_pcie() 143 pci_cmd &= ~PCI_COMMAND_INTX_DISABLE; in atl1c_reset_pcie() 144 pci_cmd |= (PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER | in atl1c_reset_pcie() 146 AT_WRITE_REG(hw, PCI_COMMAND, pci_cmd); in atl1c_reset_pcie()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | trans.c | 1646 u16 pci_cmd; in iwl_pcie_set_interrupt_capa() local 1707 pci_read_config_word(pdev, PCI_COMMAND, &pci_cmd); in iwl_pcie_set_interrupt_capa() 1708 if (pci_cmd & PCI_COMMAND_INTX_DISABLE) { in iwl_pcie_set_interrupt_capa() 1709 pci_cmd &= ~PCI_COMMAND_INTX_DISABLE; in iwl_pcie_set_interrupt_capa() 1710 pci_write_config_word(pdev, PCI_COMMAND, pci_cmd); in iwl_pcie_set_interrupt_capa()
|
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 4581 u16 pci_cmd; in e1000_test_msi() local 4587 pci_read_config_word(adapter->pdev, PCI_COMMAND, &pci_cmd); in e1000_test_msi() 4588 if (pci_cmd & PCI_COMMAND_SERR) in e1000_test_msi() 4590 pci_cmd & ~PCI_COMMAND_SERR); in e1000_test_msi() 4595 if (pci_cmd & PCI_COMMAND_SERR) { in e1000_test_msi() 4596 pci_read_config_word(adapter->pdev, PCI_COMMAND, &pci_cmd); in e1000_test_msi() 4597 pci_cmd |= PCI_COMMAND_SERR; in e1000_test_msi() 4598 pci_write_config_word(adapter->pdev, PCI_COMMAND, pci_cmd); in e1000_test_msi()
|
/linux-6.1.9/drivers/net/ethernet/sun/ |
D | cassini.c | 4881 u16 pci_cmd; in cas_init_one() local 4919 pci_read_config_word(pdev, PCI_COMMAND, &pci_cmd); in cas_init_one() 4920 pci_cmd &= ~PCI_COMMAND_SERR; in cas_init_one() 4921 pci_cmd |= PCI_COMMAND_PARITY; in cas_init_one() 4922 pci_write_config_word(pdev, PCI_COMMAND, pci_cmd); in cas_init_one()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/ |
D | tg3.c | 8940 pci_read_config_word(tp->pdev, PCI_COMMAND, &tp->pci_cmd); in tg3_save_pci_state() 8964 pci_write_config_word(tp->pdev, PCI_COMMAND, tp->pci_cmd); in tg3_restore_pci_state() 11342 u16 pci_cmd; in tg3_test_msi() local 11350 pci_read_config_word(tp->pdev, PCI_COMMAND, &pci_cmd); in tg3_test_msi() 11352 pci_cmd & ~PCI_COMMAND_SERR); in tg3_test_msi() 11356 pci_write_config_word(tp->pdev, PCI_COMMAND, pci_cmd); in tg3_test_msi() 16139 u16 pci_cmd; in tg3_get_invariants() local 16149 pci_read_config_word(tp->pdev, PCI_COMMAND, &pci_cmd); in tg3_get_invariants() 16150 pci_cmd &= ~PCI_COMMAND_INVALIDATE; in tg3_get_invariants() 16151 pci_write_config_word(tp->pdev, PCI_COMMAND, pci_cmd); in tg3_get_invariants() [all …]
|
D | tg3.h | 3265 u16 pci_cmd; member
|
/linux-6.1.9/drivers/net/ethernet/neterion/ |
D | s2io.c | 3404 u16 subid, pci_cmd; in s2io_reset() local 3416 pci_read_config_word(sp->pdev, PCIX_COMMAND_REGISTER, &(pci_cmd)); in s2io_reset() 3437 pci_write_config_word(sp->pdev, PCIX_COMMAND_REGISTER, pci_cmd); in s2io_reset() 7510 u16 pci_cmd = 0, pcix_cmd = 0; in s2io_init_pci() local 7521 pci_read_config_word(sp->pdev, PCI_COMMAND, &pci_cmd); in s2io_init_pci() 7523 (pci_cmd | PCI_COMMAND_PARITY)); in s2io_init_pci() 7524 pci_read_config_word(sp->pdev, PCI_COMMAND, &pci_cmd); in s2io_init_pci()
|
/linux-6.1.9/drivers/net/ethernet/marvell/ |
D | skge.c | 3319 u16 pci_status, pci_cmd; in skge_error_irq() local 3321 pci_read_config_word(pdev, PCI_COMMAND, &pci_cmd); in skge_error_irq() 3325 pci_cmd, pci_status); in skge_error_irq() 3331 pci_cmd | PCI_COMMAND_SERR | PCI_COMMAND_PARITY); in skge_error_irq()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlegacy/ |
D | 4965-mac.c | 6478 u16 pci_cmd; in il4965_pci_probe() local 6628 pci_read_config_word(il->pci_dev, PCI_COMMAND, &pci_cmd); in il4965_pci_probe() 6629 if (pci_cmd & PCI_COMMAND_INTX_DISABLE) { in il4965_pci_probe() 6630 pci_cmd &= ~PCI_COMMAND_INTX_DISABLE; in il4965_pci_probe() 6631 pci_write_config_word(il->pci_dev, PCI_COMMAND, pci_cmd); in il4965_pci_probe()
|
/linux-6.1.9/drivers/net/ethernet/realtek/ |
D | r8169_main.c | 4321 u16 pci_cmd; in rtl8169_pcierr_interrupt() local 4323 pci_read_config_word(pdev, PCI_COMMAND, &pci_cmd); in rtl8169_pcierr_interrupt() 4329 pci_cmd, pci_status_errs); in rtl8169_pcierr_interrupt()
|