Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/cpufreq/
A 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()
712 if (!(pci_cmd & 1<<7)) { in enable_arbiter_disable()
726 u8 pci_cmd; in longhaul_setup_southbridge() local
737 pci_cmd &= ~(1 << 2); in longhaul_setup_southbridge()
740 pci_cmd &= ~(1 << 7); in longhaul_setup_southbridge()
743 pci_cmd |= 1 << 7; in longhaul_setup_southbridge()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/
A 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.3-rc2/arch/alpha/kernel/
A 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.3-rc2/drivers/pci/
A 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.3-rc2/drivers/scsi/
A 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.3-rc2/drivers/net/ethernet/atheros/atl1c/
A 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.3-rc2/drivers/net/wireless/intel/iwlwifi/pcie/
A 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.3-rc2/drivers/net/ethernet/intel/e1000e/
A Dnetdev.c4576 u16 pci_cmd; in e1000_test_msi() local
4582 pci_read_config_word(adapter->pdev, PCI_COMMAND, &pci_cmd); in e1000_test_msi()
4583 if (pci_cmd & PCI_COMMAND_SERR) in e1000_test_msi()
4585 pci_cmd & ~PCI_COMMAND_SERR); in e1000_test_msi()
4590 if (pci_cmd & PCI_COMMAND_SERR) { in e1000_test_msi()
4591 pci_read_config_word(adapter->pdev, PCI_COMMAND, &pci_cmd); in e1000_test_msi()
4592 pci_cmd |= PCI_COMMAND_SERR; in e1000_test_msi()
4593 pci_write_config_word(adapter->pdev, PCI_COMMAND, pci_cmd); in e1000_test_msi()
/linux-6.3-rc2/drivers/net/ethernet/sun/
A Dcassini.c4863 u16 pci_cmd; in cas_init_one() local
4901 pci_read_config_word(pdev, PCI_COMMAND, &pci_cmd); in cas_init_one()
4902 pci_cmd &= ~PCI_COMMAND_SERR; in cas_init_one()
4903 pci_cmd |= PCI_COMMAND_PARITY; in cas_init_one()
4904 pci_write_config_word(pdev, PCI_COMMAND, pci_cmd); in cas_init_one()
/linux-6.3-rc2/drivers/net/ethernet/broadcom/
A Dtg3.c11334 u16 pci_cmd; in tg3_test_msi() local
11342 pci_read_config_word(tp->pdev, PCI_COMMAND, &pci_cmd); in tg3_test_msi()
11344 pci_cmd & ~PCI_COMMAND_SERR); in tg3_test_msi()
11348 pci_write_config_word(tp->pdev, PCI_COMMAND, pci_cmd); in tg3_test_msi()
16131 u16 pci_cmd; in tg3_get_invariants() local
16141 pci_read_config_word(tp->pdev, PCI_COMMAND, &pci_cmd); in tg3_get_invariants()
16142 pci_cmd &= ~PCI_COMMAND_INVALIDATE; in tg3_get_invariants()
16143 pci_write_config_word(tp->pdev, PCI_COMMAND, pci_cmd); in tg3_get_invariants()
16479 pci_cmd |= PCI_COMMAND_PARITY | PCI_COMMAND_SERR; in tg3_get_invariants()
16537 pci_read_config_word(tp->pdev, PCI_COMMAND, &pci_cmd); in tg3_get_invariants()
[all …]
A Dtg3.h3265 u16 pci_cmd; member
/linux-6.3-rc2/drivers/net/ethernet/neterion/
A 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.3-rc2/drivers/net/ethernet/marvell/
A 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.3-rc2/drivers/net/wireless/intel/iwlegacy/
A D4965-mac.c6483 u16 pci_cmd; in il4965_pci_probe() local
6636 pci_read_config_word(il->pci_dev, PCI_COMMAND, &pci_cmd); in il4965_pci_probe()
6637 if (pci_cmd & PCI_COMMAND_INTX_DISABLE) { in il4965_pci_probe()
6638 pci_cmd &= ~PCI_COMMAND_INTX_DISABLE; in il4965_pci_probe()
6639 pci_write_config_word(il->pci_dev, PCI_COMMAND, pci_cmd); in il4965_pci_probe()
/linux-6.3-rc2/drivers/net/ethernet/realtek/
A Dr8169_main.c4322 u16 pci_cmd; in rtl8169_pcierr_interrupt() local
4324 pci_read_config_word(pdev, PCI_COMMAND, &pci_cmd); in rtl8169_pcierr_interrupt()
4330 pci_cmd, pci_status_errs); in rtl8169_pcierr_interrupt()

Completed in 140 milliseconds