Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/scsi/
Dstex.c1312 u16 pci_cmd; in stex_hard_reset() local
1335 pci_read_config_word(hba->pdev, PCI_COMMAND, &pci_cmd); in stex_hard_reset()
1336 if (pci_cmd != 0xffff && (pci_cmd & PCI_COMMAND_MASTER)) in stex_hard_reset()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/
Dr8169_main.c4435 u16 pci_cmd; in rtl8169_pcierr_interrupt() local
4437 pci_read_config_word(pdev, PCI_COMMAND, &pci_cmd); in rtl8169_pcierr_interrupt()
4443 pci_cmd, pci_status_errs); in rtl8169_pcierr_interrupt()
4453 pci_cmd &= ~PCI_COMMAND_PARITY; in rtl8169_pcierr_interrupt()
4455 pci_cmd |= PCI_COMMAND_SERR | PCI_COMMAND_PARITY; in rtl8169_pcierr_interrupt()
4457 pci_write_config_word(pdev, PCI_COMMAND, pci_cmd); in rtl8169_pcierr_interrupt()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dtg3.c8950 pci_read_config_word(tp->pdev, PCI_COMMAND, &tp->pci_cmd); in tg3_save_pci_state()
8974 pci_write_config_word(tp->pdev, PCI_COMMAND, tp->pci_cmd); in tg3_restore_pci_state()
11357 u16 pci_cmd; in tg3_test_msi() local
11365 pci_read_config_word(tp->pdev, PCI_COMMAND, &pci_cmd); in tg3_test_msi()
11367 pci_cmd & ~PCI_COMMAND_SERR); in tg3_test_msi()
11371 pci_write_config_word(tp->pdev, PCI_COMMAND, pci_cmd); in tg3_test_msi()
16210 u16 pci_cmd; in tg3_get_invariants() local
16220 pci_read_config_word(tp->pdev, PCI_COMMAND, &pci_cmd); in tg3_get_invariants()
16221 pci_cmd &= ~PCI_COMMAND_INVALIDATE; in tg3_get_invariants()
16222 pci_write_config_word(tp->pdev, PCI_COMMAND, pci_cmd); in tg3_get_invariants()
[all …]
Dtg3.h3265 u16 pci_cmd; member
/kernel/linux/linux-5.10/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()
7486 u16 pci_cmd = 0, pcix_cmd = 0; in s2io_init_pci() local
7497 pci_read_config_word(sp->pdev, PCI_COMMAND, &pci_cmd); in s2io_init_pci()
7499 (pci_cmd | PCI_COMMAND_PARITY)); in s2io_init_pci()
7500 pci_read_config_word(sp->pdev, PCI_COMMAND, &pci_cmd); in s2io_init_pci()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c6479 u16 pci_cmd; in il4965_pci_probe() local
6634 pci_read_config_word(il->pci_dev, PCI_COMMAND, &pci_cmd); in il4965_pci_probe()
6635 if (pci_cmd & PCI_COMMAND_INTX_DISABLE) { in il4965_pci_probe()
6636 pci_cmd &= ~PCI_COMMAND_INTX_DISABLE; in il4965_pci_probe()
6637 pci_write_config_word(il->pci_dev, PCI_COMMAND, pci_cmd); in il4965_pci_probe()