/openbmc/u-boot/test/dm/ |
H A D | pci.c | 36 ut_assertok(dm_pci_read_config16(swap, PCI_VENDOR_ID, &vendor)); in dm_test_pci_busdev() 40 ut_assertok(dm_pci_read_config16(swap, PCI_DEVICE_ID, &device)); in dm_test_pci_busdev() 48 ut_assertok(dm_pci_read_config16(swap, PCI_VENDOR_ID, &vendor)); in dm_test_pci_busdev() 52 ut_assertok(dm_pci_read_config16(swap, PCI_DEVICE_ID, &device)); in dm_test_pci_busdev() 148 ut_assertok(dm_pci_read_config16(swap, PCI_VENDOR_ID, &vendor)); in dm_test_pci_mixed() 172 ut_assertok(dm_pci_read_config16(swap, PCI_DEVICE_ID, &device)); in dm_test_pci_mixed()
|
/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() 155 dm_pci_read_config16(dev, PCI_CLASS_DEVICE, &class); in dm_pciauto_setup_device() 178 dm_pci_read_config16(dev, PCI_COMMAND, &cmdstat); in dm_pciauto_prescan_setup_bridge() 179 dm_pci_read_config16(dev, PCI_PREF_MEMORY_BASE, &prefechable_64); in dm_pciauto_prescan_setup_bridge() 278 dm_pci_read_config16(dev, PCI_PREF_MEMORY_LIMIT, in dm_pciauto_postscan_setup_bridge() 331 dm_pci_read_config16(dev, PCI_CLASS_DEVICE, &class); in dm_pciauto_config_device()
|
H A D | pci-uclass.c | 426 int dm_pci_read_config16(struct udevice *dev, int offset, u16 *valuep) in dm_pci_read_config16() function 471 ret = dm_pci_read_config16(dev, offset, &val); in dm_pci_clrset_config16() 500 dm_pci_read_config16(parent, PCI_BRIDGE_CONTROL, &bc); in set_vga_bridge_bits() 1369 dm_pci_read_config16(dev, pos, &ent); in _dm_pci_find_next_capability() 1394 dm_pci_read_config16(dev, PCI_STATUS, &status); in dm_pci_find_capability()
|
/openbmc/u-boot/arch/x86/cpu/broadwell/ |
H A D | power_state.c | 82 dm_pci_read_config16(pch_dev, GEN_PMCON_1, &ps->gen_pmcon1); in power_state_get() 83 dm_pci_read_config16(pch_dev, GEN_PMCON_2, &ps->gen_pmcon2); in power_state_get() 84 dm_pci_read_config16(pch_dev, GEN_PMCON_3, &ps->gen_pmcon3); in power_state_get()
|
H A D | pch.c | 172 dm_pci_read_config16(dev, GEN_PMCON_3, ®16); in pch_power_options() 269 dm_pci_read_config16(dev, PCI_DEVICE_ID, &type); in pch_type() 385 dm_pci_read_config16(dev, GEN_PMCON_1, ®16); in pch_cg_init()
|
H A D | sata.c | 55 dm_pci_read_config16(dev, 0x92, ®16); in broadwell_sata_init()
|
/openbmc/u-boot/arch/x86/cpu/ivybridge/ |
H A D | sata.c | 28 dm_pci_read_config16(dev, 0x92, ®16); in common_sata_init() 104 dm_pci_read_config16(dev, PCI_COMMAND, ®16); in bd82x6x_sata_init() 129 dm_pci_read_config16(dev, PCI_COMMAND, ®16); in bd82x6x_sata_init()
|
H A D | lpc.c | 149 dm_pci_read_config16(pch, GEN_PMCON_3, ®16); in pch_power_options() 200 dm_pci_read_config16(pch, GEN_PMCON_1, ®16); in pch_power_options() 214 dm_pci_read_config16(pch, 0x40, &pmbase); in pch_power_options() 355 dm_pci_read_config16(pch, GEN_PMCON_1, ®16); in enable_clock_gating()
|
H A D | sdram.c | 189 dm_pci_read_config16(dev, PCI_DEVICE_ID, &done); in post_system_agent_init() 304 dm_pci_read_config16(dev, GGC, &ggc); in sdram_find()
|
H A D | northbridge.c | 31 dm_pci_read_config16(dev, PCI_DEVICE_ID, &bridge_id); in bridge_silicon_revision()
|
/openbmc/u-boot/arch/x86/cpu/intel_common/ |
H A D | report_platform.c | 73 dm_pci_read_config16(dev, 2, &dev_id); in report_pch_info()
|
/openbmc/u-boot/drivers/video/ |
H A D | ivybridge_igd.c | 659 dm_pci_read_config16(video_dev, PCI_DEVICE_ID, ®16); in sandybridge_setup_graphics() 679 dm_pci_read_config16(dev, GGC, ®16); in sandybridge_setup_graphics()
|
H A D | broadwell_igd.c | 405 dm_pci_read_config16(dev, PCI_DEVICE_ID, &devid); in igd_cdclk_init_haswell()
|
/openbmc/u-boot/drivers/virtio/ |
H A D | virtio_pci_legacy.c | 314 dm_pci_read_config16(udev, PCI_SUBSYSTEM_ID, &subdevice); in virtio_pci_probe() 315 dm_pci_read_config16(udev, PCI_SUBSYSTEM_VENDOR_ID, &subvendor); in virtio_pci_probe()
|
H A D | virtio_pci_modern.c | 472 dm_pci_read_config16(udev, PCI_SUBSYSTEM_VENDOR_ID, &subvendor); in virtio_pci_probe()
|
/openbmc/u-boot/drivers/ata/ |
H A D | ahci.c | 211 dm_pci_read_config16(dev, 0x92, &tmp16); in ahci_host_init() 340 dm_pci_read_config16(dev, PCI_COMMAND, &tmp16); in ahci_host_init() 388 dm_pci_read_config16(dev, 0x0a, &cc); in ahci_print_info() 466 dm_pci_read_config16(dev, PCI_VENDOR_ID, &vendor); in ahci_init_one()
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | bios_interrupts.c | 181 dm_pci_read_config16(dev, reg, &word); in int1a_handler()
|
/openbmc/u-boot/drivers/bios_emulator/ |
H A D | bios.c | 242 dm_pci_read_config16(_BE_env.vgaInfo.pcidev, M.x86.R_DI,
|
/openbmc/u-boot/drivers/net/ |
H A D | e1000.c | 1937 dm_pci_read_config16(hw->pdev, PCIX_COMMAND_REGISTER, in e1000_init_hw() 1939 dm_pci_read_config16(hw->pdev, PCIX_STATUS_REGISTER_HI, in e1000_init_hw() 5062 dm_pci_read_config16(hw->pdev, PCI_VENDOR_ID, &hw->vendor_id); in e1000_sw_init() 5063 dm_pci_read_config16(hw->pdev, PCI_DEVICE_ID, &hw->device_id); in e1000_sw_init() 5064 dm_pci_read_config16(hw->pdev, PCI_SUBSYSTEM_VENDOR_ID, in e1000_sw_init() 5066 dm_pci_read_config16(hw->pdev, PCI_SUBSYSTEM_ID, &hw->subsystem_id); in e1000_sw_init() 5069 dm_pci_read_config16(hw->pdev, PCI_COMMAND, &hw->pci_cmd_word); in e1000_sw_init()
|
/openbmc/u-boot/include/ |
H A D | pci.h | 1078 int dm_pci_read_config16(struct udevice *dev, int offset, u16 *valuep);
|