Home
last modified time | relevance | path

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

/linux-6.1.9/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 …]
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_region_lmem.c57 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/
Dcore_lca.c363 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/
Dpci-acpi.c141 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/
Dstex.c1309 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/
Datl1c_main.c138 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/
Dtrans.c1646 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/
Dnetdev.c4581 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/
Dcassini.c4881 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/
Dtg3.c8940 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 …]
Dtg3.h3265 u16 pci_cmd; member
/linux-6.1.9/drivers/net/ethernet/neterion/
Ds2io.c3404 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/
Dskge.c3319 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/
D4965-mac.c6478 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/
Dr8169_main.c4321 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()