Home
last modified time | relevance | path

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

1234567891011

/openbmc/u-boot/arch/x86/cpu/ivybridge/
H A Dcpu.c108 pci_bus_read_config(bus, usb0, PCI_COMMAND, &cmd, PCI_SIZE_32); in enable_usb_bar()
110 pci_bus_write_config(bus, usb0, PCI_COMMAND, cmd, PCI_SIZE_32); in enable_usb_bar()
115 pci_bus_read_config(bus, usb1, PCI_COMMAND, &cmd, PCI_SIZE_32); in enable_usb_bar()
117 pci_bus_write_config(bus, usb1, PCI_COMMAND, cmd, PCI_SIZE_32); in enable_usb_bar()
122 pci_bus_read_config(bus, usb3, PCI_COMMAND, &cmd, PCI_SIZE_32); in enable_usb_bar()
124 pci_bus_write_config(bus, usb3, PCI_COMMAND, cmd, PCI_SIZE_32); in enable_usb_bar()
H A Dsata.c104 dm_pci_read_config16(dev, PCI_COMMAND, &reg16); in bd82x6x_sata_init()
106 dm_pci_write_config16(dev, PCI_COMMAND, reg16); in bd82x6x_sata_init()
129 dm_pci_read_config16(dev, PCI_COMMAND, &reg16); in bd82x6x_sata_init()
131 dm_pci_write_config16(dev, PCI_COMMAND, reg16); in bd82x6x_sata_init()
/openbmc/linux/drivers/infiniband/hw/mthca/
H A 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()
/openbmc/u-boot/drivers/usb/host/
H A Dehci-pci.c49 dm_pci_read_config32(dev, PCI_COMMAND, &cmd); in ehci_pci_init()
51 dm_pci_write_config32(dev, PCI_COMMAND, cmd); in ehci_pci_init()
88 pci_read_config_dword(pdev, PCI_COMMAND, &cmd); in ehci_pci_legacy_init()
90 pci_write_config_dword(pdev, PCI_COMMAND, cmd); in ehci_pci_legacy_init()
H A Dxhci-pci.c33 dm_pci_read_config32(dev, PCI_COMMAND, &cmd); in xhci_pci_init()
35 dm_pci_write_config32(dev, PCI_COMMAND, cmd); in xhci_pci_init()
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dpci.c63 pci_hose_read_config_word (hose, dev, PCI_COMMAND, &reg16); in pci_mpc85xx_init()
65 pci_hose_write_config_word(hose, dev, PCI_COMMAND, reg16); in pci_mpc85xx_init()
158 pci_hose_read_config_word (hose, dev, PCI_COMMAND, &reg16); in pci_mpc85xx_init()
160 pci_hose_write_config_word(hose, dev, PCI_COMMAND, reg16); in pci_mpc85xx_init()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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()
/openbmc/linux/drivers/gpu/drm/loongson/
H A Dlsdc_debugfs.c73 pci_read_config_word(ldev->dc, PCI_COMMAND, &cmd); in lsdc_pdev_enable_io_mem()
79 pci_write_config_word(ldev->dc, PCI_COMMAND, cmd); in lsdc_pdev_enable_io_mem()
81 pci_read_config_word(ldev->dc, PCI_COMMAND, &cmd); in lsdc_pdev_enable_io_mem()
/openbmc/linux/arch/xtensa/lib/
H A Dpci-auto.c210 pci_read_config_dword(dev, PCI_COMMAND, &cmdstat); in pciauto_postscan_setup_bridge()
211 pci_write_config_dword(dev, PCI_COMMAND, in pciauto_postscan_setup_bridge()
300 pci_read_config_dword(dev, PCI_COMMAND, &cmdstat); in pciauto_bus_scan()
301 pci_write_config_dword(dev, PCI_COMMAND, in pciauto_bus_scan()
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dath9k_pci_owl_loader.c77 pci_read_config_word(pdev, PCI_COMMAND, &cmd); in ath9k_pci_fixup()
79 pci_write_config_word(pdev, PCI_COMMAND, cmd); in ath9k_pci_fixup()
101 pci_read_config_word(pdev, PCI_COMMAND, &cmd); in ath9k_pci_fixup()
103 pci_write_config_word(pdev, PCI_COMMAND, cmd); in ath9k_pci_fixup()
/openbmc/linux/arch/m68k/kernel/
H A Dpcibios.c51 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pcibios_enable_device()
81 pci_write_config_word(dev, PCI_COMMAND, newcmd); in pcibios_enable_device()
/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A Dcfg_space.c50 [PCI_COMMAND] = 0xff, 0x07,
188 vgpu_cfg_space(vgpu)[PCI_COMMAND] & PCI_COMMAND_MEMORY; in emulate_pci_bar_write()
270 if (IS_ALIGNED(offset, 2) && offset == PCI_COMMAND) { in intel_vgpu_emulate_cfg_write()
345 vgpu_cfg_space(vgpu)[PCI_COMMAND] &= ~(PCI_COMMAND_IO in intel_vgpu_init_cfg_space()
385 u8 cmd = vgpu_cfg_space(vgpu)[PCI_COMMAND]; in intel_vgpu_reset_cfg_space()
/openbmc/linux/arch/sparc/kernel/
H A Dleon_pci.c70 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()
/openbmc/linux/drivers/pci/
H A Dsetup-res.c98 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pci_std_update_resource()
99 pci_write_config_word(dev, PCI_COMMAND, in pci_std_update_resource()
122 pci_write_config_word(dev, PCI_COMMAND, cmd); in pci_std_update_resource()
442 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pci_resize_resource()
484 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pci_enable_resources()
517 pci_write_config_word(dev, PCI_COMMAND, cmd); in pci_enable_resources()
/openbmc/linux/drivers/pci/hotplug/
H A Dpciehp_pci.c128 pci_read_config_word(dev, PCI_COMMAND, &command); in pciehp_unconfigure_device()
131 pci_write_config_word(dev, PCI_COMMAND, command); in pciehp_unconfigure_device()
/openbmc/u-boot/drivers/pci/
H A Dpci_auto.c36 dm_pci_read_config16(dev, PCI_COMMAND, &cmdstat); in dm_pciauto_setup_device()
159 dm_pci_write_config16(dev, PCI_COMMAND, cmdstat); in dm_pciauto_setup_device()
178 dm_pci_read_config16(dev, PCI_COMMAND, &cmdstat); in dm_pciauto_prescan_setup_bridge()
244 dm_pci_write_config16(dev, PCI_COMMAND, cmdstat | PCI_COMMAND_MASTER); in dm_pciauto_prescan_setup_bridge()
H A Dpci_auto_old.c47 pci_hose_read_config_word(hose, dev, PCI_COMMAND, &cmdstat); in pciauto_setup_device()
169 pci_hose_write_config_word(hose, dev, PCI_COMMAND, cmdstat); in pciauto_setup_device()
187 pci_hose_read_config_word(hose, dev, PCI_COMMAND, &cmdstat); in pciauto_prescan_setup_bridge()
252 pci_hose_write_config_word(hose, dev, PCI_COMMAND, in pciauto_prescan_setup_bridge()
/openbmc/u-boot/board/gdsys/a38x/
H A Dhydra.c68 pci_write_config_dword(devno, PCI_COMMAND, val); in hydra_initialize()
71 pci_read_config_dword(devno, PCI_COMMAND, &val); in hydra_initialize()
/openbmc/u-boot/board/freescale/common/
H A Dcds_via.c19 pci_hose_read_config_dword(hose, dev, PCI_COMMAND, &cmdstat); in mpc85xx_config_via()
21 pci_hose_write_config_dword(hose, dev, PCI_COMMAND, cmdstat); in mpc85xx_config_via()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dpci.c101 PCI_COMMAND, 1, &command); in efi_pci_disable_bridge_busmaster()
107 PCI_COMMAND, 1, &command); in efi_pci_disable_bridge_busmaster()
/openbmc/linux/arch/mips/pci/
H A 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()
H A Dfixup-cobalt.c74 pci_read_config_word(dev, PCI_COMMAND, &cfgword); in qube_raq_via_bmIDE_fixup()
76 pci_write_config_word(dev, PCI_COMMAND, cfgword); in qube_raq_via_bmIDE_fixup()
H A Dfixup-fuloong2e.c140 pci_write_config_byte(pdev, PCI_COMMAND, in loongson2e_686b_func1_fixup()
185 pci_write_config_byte(pdev, PCI_COMMAND, in loongson2e_686b_func5_fixup()
/openbmc/u-boot/arch/x86/cpu/qemu/
H A Dqemu.c70 pci_read_config16(PIIX_PM, PCI_COMMAND, &cmd); in enable_pm_piix()
72 pci_write_config16(PIIX_PM, PCI_COMMAND, cmd); in enable_pm_piix()
/openbmc/linux/arch/mips/loongson2ef/common/cs5536/
H A Dcs5536_acc.c20 case PCI_COMMAND: in pci_acc_write_reg()
72 case PCI_COMMAND: in pci_acc_read_reg()

1234567891011