Home
last modified time | relevance | path

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

12

/u-boot/arch/x86/cpu/broadwell/
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()
A Dpch.c175 dm_pci_read_config16(dev, GEN_PMCON_3, &reg16); in pch_power_options()
272 dm_pci_read_config16(dev, PCI_DEVICE_ID, &type); in pch_type()
388 dm_pci_read_config16(dev, GEN_PMCON_1, &reg16); in pch_cg_init()
651 ret = dm_pci_read_config16(dev, 0x40, &pm->base); in broadwell_ioctl()
A Dsata.c58 dm_pci_read_config16(dev, 0x92, &reg16); in broadwell_sata_init()
/u-boot/drivers/pci/
A Dpci_auto.c37 dm_pci_read_config16(dev, PCI_COMMAND, &cmdstat); in dm_pciauto_setup_device()
151 dm_pci_read_config16(dev, PCI_CLASS_DEVICE, &class); in dm_pciauto_setup_device()
174 dm_pci_read_config16(dev, PCI_COMMAND, &cmdstat); in dm_pciauto_prescan_setup_bridge()
175 dm_pci_read_config16(dev, PCI_PREF_MEMORY_BASE, &prefechable_64); in dm_pciauto_prescan_setup_bridge()
269 dm_pci_read_config16(dev, PCI_PREF_MEMORY_LIMIT, in dm_pciauto_postscan_setup_bridge()
317 dm_pci_read_config16(dev, PCI_CLASS_DEVICE, &class); in dm_pciauto_config_device()
A Dpcie_layerscape_fixup.c362 dm_pci_read_config16(dev, sriov_pos + PCI_SRIOV_TOTAL_VF, &tmp16); in get_vf_offset_and_stride()
392 dm_pci_read_config16(pf_dev, sriov_pos + PCI_SRIOV_CTRL, in get_vf_offset_and_stride()
419 dm_pci_read_config16(pf_dev, sriov_pos + PCI_SRIOV_CTRL, &tmp16); in get_vf_offset_and_stride()
430 dm_pci_read_config16(pf_dev, sriov_pos + PCI_SRIOV_CTRL, in get_vf_offset_and_stride()
442 dm_pci_read_config16(dev, sriov_pos + PCI_SRIOV_VF_OFFSET, offset); in get_vf_offset_and_stride()
443 dm_pci_read_config16(dev, sriov_pos + PCI_SRIOV_VF_STRIDE, stride); in get_vf_offset_and_stride()
447 dm_pci_read_config16(pf_dev, sriov_pos + PCI_SRIOV_CTRL, in get_vf_offset_and_stride()
A Dpci-uclass.c490 ret = dm_pci_read_config16(dev, offset, &val); in dm_pci_clrset_config16()
519 dm_pci_read_config16(parent, PCI_BRIDGE_CONTROL, &bc); in set_vga_bridge_bits()
881 dm_pci_read_config16(dev, ari_off + 4, in pci_bind_bus_devices()
1586 dm_pci_read_config16(dev, pos, &ent); in _dm_pci_find_next_capability()
1611 dm_pci_read_config16(dev, PCI_STATUS, &status); in dm_pci_find_capability()
1708 dm_pci_read_config16(pdev, pos + PCI_SRIOV_CTRL, &ctrl); in pci_sriov_init()
1710 dm_pci_read_config16(pdev, pos + PCI_SRIOV_TOTAL_VF, &total_vf); in pci_sriov_init()
1718 dm_pci_read_config16(pdev, pos + PCI_SRIOV_NUM_VF, &num_vfs); in pci_sriov_init()
1725 dm_pci_read_config16(pdev, PCI_VENDOR_ID, &vendor); in pci_sriov_init()
1726 dm_pci_read_config16(pdev, pos + PCI_SRIOV_VF_DID, &device); in pci_sriov_init()
[all …]
/u-boot/test/dm/
A Dpci.c37 ut_assertok(dm_pci_read_config16(swap, PCI_VENDOR_ID, &vendor)); in dm_test_pci_busdev()
41 ut_assertok(dm_pci_read_config16(swap, PCI_DEVICE_ID, &device)); in dm_test_pci_busdev()
49 ut_assertok(dm_pci_read_config16(swap, PCI_VENDOR_ID, &vendor)); in dm_test_pci_busdev()
53 ut_assertok(dm_pci_read_config16(swap, PCI_DEVICE_ID, &device)); in dm_test_pci_busdev()
149 ut_assertok(dm_pci_read_config16(swap, PCI_VENDOR_ID, &vendor)); in dm_test_pci_mixed()
173 ut_assertok(dm_pci_read_config16(swap, PCI_DEVICE_ID, &device)); in dm_test_pci_mixed()
/u-boot/board/theadorable/
A Dtheadorable.c357 dm_pci_read_config16(dev, PCI_VENDOR_ID, &ven_id); in pcie_get_link_speed_width()
358 dm_pci_read_config16(dev, PCI_DEVICE_ID, &dev_id); in pcie_get_link_speed_width()
364 dm_pci_read_config16(dev, pos + PCI_EXP_LNKSTA, &lnksta); in pcie_get_link_speed_width()
/u-boot/arch/x86/cpu/ivybridge/
A Dsata.c30 dm_pci_read_config16(dev, 0x92, &reg16); in common_sata_init()
106 dm_pci_read_config16(dev, PCI_COMMAND, &reg16); in bd82x6x_sata_init()
131 dm_pci_read_config16(dev, PCI_COMMAND, &reg16); in bd82x6x_sata_init()
A Dlpc.c151 dm_pci_read_config16(pch, GEN_PMCON_3, &reg16); in pch_power_options()
202 dm_pci_read_config16(pch, GEN_PMCON_1, &reg16); in pch_power_options()
216 dm_pci_read_config16(pch, 0x40, &pmbase); in pch_power_options()
357 dm_pci_read_config16(pch, GEN_PMCON_1, &reg16); in enable_clock_gating()
A Dbd82x6x.c241 ret = dm_pci_read_config16(dev, 0x40, &pm->base); in bd82x6x_ioctl()
A Dnorthbridge.c34 dm_pci_read_config16(dev, PCI_DEVICE_ID, &bridge_id); in bridge_silicon_revision()
A Dsdram.c192 dm_pci_read_config16(dev, PCI_DEVICE_ID, &done); in post_system_agent_init()
307 dm_pci_read_config16(dev, GGC, &ggc); in sdram_find()
/u-boot/arch/x86/cpu/intel_common/
A Dreport_platform.c74 dm_pci_read_config16(dev, 2, &dev_id); in report_pch_info()
A Dp2sb.c140 dm_pci_read_config16(dev, PCI_VENDOR_ID, &vendor); in intel_p2sb_set_hide()
/u-boot/arch/x86/cpu/apollolake/
A Dacpi.c213 dm_pci_read_config16(p2sb_dev, PCH_P2SB_IBDF, &ibdf); in apl_acpi_fill_dmar()
215 dm_pci_read_config16(p2sb_dev, PCH_P2SB_HBDF, &hbdf); in apl_acpi_fill_dmar()
/u-boot/drivers/ata/
A Dahci.c207 dm_pci_read_config16(dev, 0x92, &tmp16); in ahci_host_init()
335 dm_pci_read_config16(dev, PCI_COMMAND, &tmp16); in ahci_host_init()
383 dm_pci_read_config16(dev, 0x0a, &cc); in ahci_print_info()
461 dm_pci_read_config16(dev, PCI_VENDOR_ID, &vendor); in ahci_init_one()
1213 dm_pci_read_config16(ahci_dev, PCI_VENDOR_ID, &vendor); in ahci_probe_scsi_pci()
1214 dm_pci_read_config16(ahci_dev, PCI_DEVICE_ID, &device); in ahci_probe_scsi_pci()
A Dsata_sil.c810 dm_pci_read_config16(dev, PCI_DEVICE_ID, &word);
834 dm_pci_read_config16(dev, PCI_COMMAND, &word);
/u-boot/drivers/virtio/
A Dvirtio_pci_legacy.c317 dm_pci_read_config16(udev, PCI_SUBSYSTEM_ID, &subdevice); in virtio_pci_probe()
318 dm_pci_read_config16(udev, PCI_SUBSYSTEM_VENDOR_ID, &subvendor); in virtio_pci_probe()
/u-boot/arch/x86/lib/
A Dbios_interrupts.c182 dm_pci_read_config16(dev, reg, &word); in int1a_handler()
/u-boot/drivers/video/
A Divybridge_igd.c663 dm_pci_read_config16(video_dev, PCI_DEVICE_ID, &reg16); in sandybridge_setup_graphics()
683 dm_pci_read_config16(dev, GGC, &reg16); in sandybridge_setup_graphics()
/u-boot/drivers/bios_emulator/
A Dbios.c242 dm_pci_read_config16(_BE_env.vgaInfo.pcidev, M.x86.R_DI,
/u-boot/drivers/net/octeontx/
A Dnic_main.c430 dm_pci_read_config16(nic->udev, PCI_SUBSYSTEM_ID, &sdevid); in nic_get_hw_info()
634 dm_pci_read_config16(nic->udev, PCI_SUBSYSTEM_ID, &sdevid); in nic_tx_channel_cfg()
/u-boot/drivers/net/
A De1000.c1939 dm_pci_read_config16(hw->pdev, PCIX_COMMAND_REGISTER, in e1000_init_hw()
1941 dm_pci_read_config16(hw->pdev, PCIX_STATUS_REGISTER_HI, in e1000_init_hw()
5064 dm_pci_read_config16(hw->pdev, PCI_VENDOR_ID, &hw->vendor_id); in e1000_sw_init()
5065 dm_pci_read_config16(hw->pdev, PCI_DEVICE_ID, &hw->device_id); in e1000_sw_init()
5066 dm_pci_read_config16(hw->pdev, PCI_SUBSYSTEM_VENDOR_ID, in e1000_sw_init()
5068 dm_pci_read_config16(hw->pdev, PCI_SUBSYSTEM_ID, &hw->subsystem_id); in e1000_sw_init()
5071 dm_pci_read_config16(hw->pdev, PCI_COMMAND, &hw->pci_cmd_word); in e1000_sw_init()
A Dpcnet.c662 dm_pci_read_config16(dev, PCI_COMMAND, &status); in pcnet_probe()

Completed in 45 milliseconds

12