Home
last modified time | relevance | path

Searched refs:PCI_COMMAND (Results 1 – 25 of 180) sorted by relevance

12345678

/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_reset.c208 if (i * 4 == PCI_COMMAND) in mthca_reset()
219 if (pci_write_config_dword(bridge, PCI_COMMAND, in mthca_reset()
220 bridge_header[PCI_COMMAND / 4])) { in mthca_reset()
258 if (i * 4 == PCI_COMMAND) in mthca_reset()
269 if (pci_write_config_dword(mdev->pdev, PCI_COMMAND, in mthca_reset()
270 hca_header[PCI_COMMAND / 4])) { in mthca_reset()
/Linux-v4.19/arch/xtensa/lib/
Dpci-auto.c214 pci_read_config_dword(dev, PCI_COMMAND, &cmdstat); in pciauto_postscan_setup_bridge()
215 pci_write_config_dword(dev, PCI_COMMAND, in pciauto_postscan_setup_bridge()
304 pci_read_config_dword(dev, PCI_COMMAND, &cmdstat); in pciauto_bus_scan()
305 pci_write_config_dword(dev, PCI_COMMAND, in pciauto_bus_scan()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dreset.c161 if (i * 4 == PCI_COMMAND) in mlx4_reset()
173 if (pci_write_config_dword(dev->persist->pdev, PCI_COMMAND, in mlx4_reset()
174 hca_header[PCI_COMMAND / 4])) { in mlx4_reset()
/Linux-v4.19/drivers/pci/
Dsetup-res.c93 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pci_std_update_resource()
94 pci_write_config_word(dev, PCI_COMMAND, in pci_std_update_resource()
117 pci_write_config_word(dev, PCI_COMMAND, cmd); in pci_std_update_resource()
420 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pci_resize_resource()
461 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pci_enable_resources()
496 pci_write_config_word(dev, PCI_COMMAND, cmd); in pci_enable_resources()
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Dcfg_space.c49 [PCI_COMMAND] = 0xff, 0x07,
220 vgpu_cfg_space(vgpu)[PCI_COMMAND] & PCI_COMMAND_MEMORY; in emulate_pci_bar_write()
297 if (IS_ALIGNED(offset, 2) && offset == PCI_COMMAND) { in intel_vgpu_emulate_cfg_write()
370 vgpu_cfg_space(vgpu)[PCI_COMMAND] &= ~(PCI_COMMAND_IO in intel_vgpu_init_cfg_space()
397 u8 cmd = vgpu_cfg_space(vgpu)[PCI_COMMAND]; in intel_vgpu_reset_cfg_space()
/Linux-v4.19/arch/m68k/kernel/
Dpcibios.c55 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pcibios_enable_device()
85 pci_write_config_word(dev, PCI_COMMAND, newcmd); in pcibios_enable_device()
/Linux-v4.19/arch/sparc/kernel/
Dleon_pci.c68 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pcibios_enable_device()
86 pci_write_config_word(dev, PCI_COMMAND, cmd); in pcibios_enable_device()
/Linux-v4.19/drivers/pci/hotplug/
Dpciehp_pci.c100 pci_read_config_word(dev, PCI_COMMAND, &command); in pciehp_unconfigure_device()
103 pci_write_config_word(dev, PCI_COMMAND, command); in pciehp_unconfigure_device()
/Linux-v4.19/arch/unicore32/kernel/
Dpci.c229 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pcibios_fixup_bus()
231 pci_write_config_word(dev, PCI_COMMAND, cmd); in pcibios_fixup_bus()
354 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pcibios_enable_device()
382 pci_write_config_word(dev, PCI_COMMAND, cmd); in pcibios_enable_device()
/Linux-v4.19/drivers/fpga/
Daltera-cvp.c432 pci_read_config_word(pdev, PCI_COMMAND, &cmd); in altera_cvp_probe()
435 pci_write_config_word(pdev, PCI_COMMAND, cmd); in altera_cvp_probe()
486 pci_write_config_word(pdev, PCI_COMMAND, cmd); in altera_cvp_probe()
500 pci_read_config_word(pdev, PCI_COMMAND, &cmd); in altera_cvp_remove()
502 pci_write_config_word(pdev, PCI_COMMAND, cmd); in altera_cvp_remove()
/Linux-v4.19/arch/mips/pci/
Dfixup-cobalt.c59 pci_read_config_word(dev, PCI_COMMAND, &cfgword); in qube_raq_via_bmIDE_fixup()
61 pci_write_config_word(dev, PCI_COMMAND, cfgword); in qube_raq_via_bmIDE_fixup()
Dfixup-malta.c114 pci_read_config_word(pdev, PCI_COMMAND, &reg_val16); in malta_piix_func0_fixup()
115 pci_write_config_word(pdev, PCI_COMMAND, in malta_piix_func0_fixup()
Dfixup-fuloong2e.c144 pci_write_config_byte(pdev, PCI_COMMAND, in loongson2e_686b_func1_fixup()
189 pci_write_config_byte(pdev, PCI_COMMAND, in loongson2e_686b_func5_fixup()
Dpci-sb1250.c239 PCI_COMMAND)); in sb1250_pcibios_init()
268 PCI_COMMAND)); in sb1250_pcibios_init()
/Linux-v4.19/arch/mips/loongson64/common/cs5536/
Dcs5536_acc.c24 case PCI_COMMAND: in pci_acc_write_reg()
76 case PCI_COMMAND: in pci_acc_read_reg()
Dcs5536_ohci.c24 case PCI_COMMAND: in pci_ohci_write_reg()
84 case PCI_COMMAND: in pci_ohci_read_reg()
Dcs5536_ehci.c24 case PCI_COMMAND: in pci_ehci_write_reg()
89 case PCI_COMMAND: in pci_ehci_read_reg()
/Linux-v4.19/drivers/ide/
Dsetup-pci.c152 pci_read_config_word(dev, PCI_COMMAND, &pcicmd); in ide_pci_set_master()
157 if (pci_read_config_word(dev, PCI_COMMAND, &pcicmd) || in ide_pci_set_master()
249 pci_write_config_word(dev, PCI_COMMAND, pcicmd | PCI_COMMAND_IO)) { in ide_pci_configure()
254 if (pci_read_config_word(dev, PCI_COMMAND, &pcicmd)) { in ide_pci_configure()
418 ret = pci_read_config_word(dev, PCI_COMMAND, &pcicmd); in ide_setup_pci_controller()
/Linux-v4.19/drivers/xen/xen-pciback/
Dpciback_ops.c130 pci_write_config_word(dev, PCI_COMMAND, 0); in xen_pcibk_reset_device()
134 pci_read_config_word(dev, PCI_COMMAND, &cmd); in xen_pcibk_reset_device()
137 pci_write_config_word(dev, PCI_COMMAND, cmd); in xen_pcibk_reset_device()
233 pci_read_config_word(pci_physfn(dev), PCI_COMMAND, &cmd); in xen_pcibk_enable_msix()
/Linux-v4.19/arch/powerpc/platforms/powermac/
Dpci.c552 early_read_config_word(hose, bus, devfn, PCI_COMMAND, &cmd); in init_second_ohare()
555 early_write_config_word(hose, bus, devfn, PCI_COMMAND, cmd); in init_second_ohare()
1009 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pmac_pci_enable_device_hook()
1012 pci_write_config_word(dev, PCI_COMMAND, cmd); in pmac_pci_enable_device_hook()
1156 pci_read_config_word(dev, PCI_COMMAND, &cmd); in fixup_k2_sata()
1158 pci_write_config_word(dev, PCI_COMMAND, cmd); in fixup_k2_sata()
1166 pci_read_config_word(dev, PCI_COMMAND, &cmd); in fixup_k2_sata()
1168 pci_write_config_word(dev, PCI_COMMAND, cmd); in fixup_k2_sata()
/Linux-v4.19/arch/x86/kernel/
Dearly_printk.c258 cmdreg = read_pci_config(bus, slot, func, PCI_COMMAND); in early_pci_serial_init()
278 write_pci_config(bus, slot, func, PCI_COMMAND, in early_pci_serial_init()
287 write_pci_config(bus, slot, func, PCI_COMMAND, in early_pci_serial_init()
/Linux-v4.19/arch/xtensa/kernel/
Dpci.c177 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pcibios_enable_device()
192 pci_write_config_word(dev, PCI_COMMAND, cmd); in pcibios_enable_device()
/Linux-v4.19/arch/parisc/kernel/
Dpci.c247 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pcibios_enable_device()
261 pci_write_config_word(dev, PCI_COMMAND, cmd); in pcibios_enable_device()
/Linux-v4.19/drivers/vfio/pci/
Dvfio_pci_config.c424 pci_user_read_config_word(pdev, PCI_COMMAND, &cmd); in vfio_bar_restore()
426 pci_user_write_config_word(pdev, PCI_COMMAND, cmd); in vfio_bar_restore()
512 if (offset == PCI_COMMAND && vdev->pdev->is_virtfn) { in vfio_basic_config_read()
513 u16 cmd = le16_to_cpu(*(__le16 *)&vdev->vconfig[PCI_COMMAND]); in vfio_basic_config_read()
549 virt_cmd = (__le16 *)&vdev->vconfig[PCI_COMMAND]; in vfio_basic_config_write()
551 if (offset == PCI_COMMAND) { in vfio_basic_config_write()
555 ret = pci_user_read_config_word(pdev, PCI_COMMAND, &phys_cmd); in vfio_basic_config_write()
591 if (offset == PCI_COMMAND) { in vfio_basic_config_write()
599 if (offset >= PCI_COMMAND && offset <= PCI_COMMAND + 1) { in vfio_basic_config_write()
637 p_setw(perm, PCI_COMMAND, PCI_COMMAND_INTX_DISABLE, (u16)ALL_WRITE); in init_pci_cap_basic_perm()
/Linux-v4.19/drivers/pci/controller/
Dpci-versatile.c173 val = readl(local_pci_cfg_base + PCI_COMMAND); in versatile_pci_probe()
175 writel(val, local_pci_cfg_base + PCI_COMMAND); in versatile_pci_probe()

12345678