Home
last modified time | relevance | path

Searched refs:dm_pci_read_config16 (Results 1 – 20 of 20) sorted by relevance

/openbmc/u-boot/test/dm/
H A Dpci.c36 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 Dpci_auto.c36 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 Dpci-uclass.c426 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 Dpower_state.c82 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 Dpch.c172 dm_pci_read_config16(dev, GEN_PMCON_3, &reg16); 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, &reg16); in pch_cg_init()
H A Dsata.c55 dm_pci_read_config16(dev, 0x92, &reg16); in broadwell_sata_init()
/openbmc/u-boot/arch/x86/cpu/ivybridge/
H A Dsata.c28 dm_pci_read_config16(dev, 0x92, &reg16); in common_sata_init()
104 dm_pci_read_config16(dev, PCI_COMMAND, &reg16); in bd82x6x_sata_init()
129 dm_pci_read_config16(dev, PCI_COMMAND, &reg16); in bd82x6x_sata_init()
H A Dlpc.c149 dm_pci_read_config16(pch, GEN_PMCON_3, &reg16); in pch_power_options()
200 dm_pci_read_config16(pch, GEN_PMCON_1, &reg16); 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, &reg16); in enable_clock_gating()
H A Dsdram.c189 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 Dnorthbridge.c31 dm_pci_read_config16(dev, PCI_DEVICE_ID, &bridge_id); in bridge_silicon_revision()
/openbmc/u-boot/arch/x86/cpu/intel_common/
H A Dreport_platform.c73 dm_pci_read_config16(dev, 2, &dev_id); in report_pch_info()
/openbmc/u-boot/drivers/video/
H A Divybridge_igd.c659 dm_pci_read_config16(video_dev, PCI_DEVICE_ID, &reg16); in sandybridge_setup_graphics()
679 dm_pci_read_config16(dev, GGC, &reg16); in sandybridge_setup_graphics()
H A Dbroadwell_igd.c405 dm_pci_read_config16(dev, PCI_DEVICE_ID, &devid); in igd_cdclk_init_haswell()
/openbmc/u-boot/drivers/virtio/
H A Dvirtio_pci_legacy.c314 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 Dvirtio_pci_modern.c472 dm_pci_read_config16(udev, PCI_SUBSYSTEM_VENDOR_ID, &subvendor); in virtio_pci_probe()
/openbmc/u-boot/drivers/ata/
H A Dahci.c211 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 Dbios_interrupts.c181 dm_pci_read_config16(dev, reg, &word); in int1a_handler()
/openbmc/u-boot/drivers/bios_emulator/
H A Dbios.c242 dm_pci_read_config16(_BE_env.vgaInfo.pcidev, M.x86.R_DI,
/openbmc/u-boot/drivers/net/
H A De1000.c1937 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 Dpci.h1078 int dm_pci_read_config16(struct udevice *dev, int offset, u16 *valuep);