/openbmc/u-boot/arch/x86/cpu/ivybridge/ |
H A D | cpu.c | 108 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 D | sata.c | 104 dm_pci_read_config16(dev, PCI_COMMAND, ®16); 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, ®16); 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 D | mthca_reset.c | 208 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 D | ehci-pci.c | 49 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 D | xhci-pci.c | 33 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 D | pci.c | 63 pci_hose_read_config_word (hose, dev, PCI_COMMAND, ®16); 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, ®16); 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 D | reset.c | 161 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 D | lsdc_debugfs.c | 73 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 D | pci-auto.c | 210 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 D | ath9k_pci_owl_loader.c | 77 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 D | pcibios.c | 51 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 D | cfg_space.c | 50 [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 D | leon_pci.c | 70 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 D | setup-res.c | 98 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 D | pciehp_pci.c | 128 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 D | pci_auto.c | 36 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 D | pci_auto_old.c | 47 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 D | hydra.c | 68 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 D | cds_via.c | 19 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 D | pci.c | 101 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 D | fixup-malta.c | 114 pci_read_config_word(pdev, PCI_COMMAND, ®_val16); in malta_piix_func0_fixup() 115 pci_write_config_word(pdev, PCI_COMMAND, in malta_piix_func0_fixup()
|
H A D | fixup-cobalt.c | 74 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 D | fixup-fuloong2e.c | 140 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 D | qemu.c | 70 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 D | cs5536_acc.c | 20 case PCI_COMMAND: in pci_acc_write_reg() 72 case PCI_COMMAND: in pci_acc_read_reg()
|