/external/u-boot/include/ |
D | pci.h | 495 typedef int pci_dev_t; typedef 523 void (*config_device)(struct pci_controller* hose, pci_dev_t dev, 528 extern void pci_cfgfunc_do_nothing(struct pci_controller* hose, pci_dev_t dev, 530 extern void pci_cfgfunc_config_device(struct pci_controller* hose, pci_dev_t dev, 573 void (*fixup_irq)(struct pci_controller *, pci_dev_t); 576 int (*read_byte)(struct pci_controller*, pci_dev_t, int where, u8 *); 577 int (*read_word)(struct pci_controller*, pci_dev_t, int where, u16 *); 578 int (*read_dword)(struct pci_controller*, pci_dev_t, int where, u32 *); 579 int (*write_byte)(struct pci_controller*, pci_dev_t, int where, u8); 580 int (*write_word)(struct pci_controller*, pci_dev_t, int where, u16); [all …]
|
D | bios_emul.h | 36 pci_dev_t pcidev; 49 int BootVideoCardBIOS(pci_dev_t pcidev, BE_VGAInfo **pVGAInfo, int clean_up); 75 int biosemu_setup(pci_dev_t pcidev, BE_VGAInfo **pVGAInfo); 77 int biosemu_run(pci_dev_t pcidev, uchar *bios_rom, int bios_len,
|
/external/u-boot/board/freescale/common/ |
D | via.h | 2 void mpc85xx_config_via(struct pci_controller* hose, pci_dev_t dev, struct pci_config_table *tab); 5 void mpc85xx_config_via_usbide(struct pci_controller* hose, pci_dev_t dev, struct pci_config_table … 8 void mpc85xx_config_via_usb(struct pci_controller* hose, pci_dev_t dev, struct pci_config_table *ta… 11 void mpc85xx_config_via_usb2(struct pci_controller* hose, pci_dev_t dev, struct pci_config_table *t… 14 void mpc85xx_config_via_power(struct pci_controller* hose, pci_dev_t dev, struct pci_config_table *… 17 void mpc85xx_config_via_ac97(struct pci_controller* hose, pci_dev_t dev, struct pci_config_table *t…
|
D | cds_via.c | 11 pci_dev_t dev, struct pci_config_table *tab) in mpc85xx_config_via() 13 pci_dev_t bridge; in mpc85xx_config_via() 40 pci_dev_t dev, struct pci_config_table *tab) in mpc85xx_config_via_usbide() 58 pci_dev_t dev, struct pci_config_table *tab) in mpc85xx_config_via_usb() 67 pci_dev_t dev, struct pci_config_table *tab) in mpc85xx_config_via_usb2() 76 pci_dev_t dev, struct pci_config_table *tab) in mpc85xx_config_via_power() 87 pci_dev_t dev, struct pci_config_table *tab) in mpc85xx_config_via_ac97()
|
/external/u-boot/drivers/pci/ |
D | pci.c | 29 pci_dev_t dev, \ 43 int pci_##rw##_config_##size(pci_dev_t dev, int offset, type value) \ 65 pci_dev_t dev, \ 82 pci_dev_t dev, \ 170 pci_dev_t pci_find_devices(struct pci_device_id *ids, int index) in pci_find_devices() 173 pci_dev_t bdf; in pci_find_devices() 188 pci_dev_t dev, in pci_hose_config_device() 310 pci_dev_t dev, in pci_cfgfunc_config_device() 318 pci_dev_t dev, struct pci_config_table *entry) in pci_cfgfunc_do_nothing() 326 extern int pciauto_config_device(struct pci_controller *hose, pci_dev_t dev); [all …]
|
D | pci_common.c | 81 __weak int pci_skip_dev(struct pci_controller *hose, pci_dev_t dev) in pci_skip_dev() 103 void *pci_map_bar(pci_dev_t pdev, int bar, int flags) in pci_map_bar() 121 void pci_write_bar32(struct pci_controller *hose, pci_dev_t dev, int barnum, in pci_write_bar32() 130 u32 pci_read_bar32(struct pci_controller *hose, pci_dev_t dev, int barnum) in pci_read_bar32() 271 pci_dev_t pci_find_device(unsigned int vendor, unsigned int device, int index) in pci_find_device() 281 pci_dev_t pci_hose_find_devices(struct pci_controller *hose, int busnum, in pci_hose_find_devices() 287 pci_dev_t bdf; in pci_hose_find_devices() 322 pci_dev_t pci_find_class(uint find_class, int index) in pci_find_class() 326 pci_dev_t bdf; in pci_find_class()
|
D | pcie_intel_fpga.c | 93 pci_dev_t bdf, int offset) in intel_fpga_pcie_hide_rc_bar() 120 pci_dev_t bdf) in intel_fpga_pcie_addr_valid() 195 static int tlp_cfg_dword_read(struct intel_fpga_pcie *pcie, pci_dev_t bdf, in tlp_cfg_dword_read() 210 static int tlp_cfg_dword_write(struct intel_fpga_pcie *pcie, pci_dev_t bdf, in tlp_cfg_dword_write() 225 int intel_fpga_rp_conf_addr(struct udevice *bus, pci_dev_t bdf, in intel_fpga_rp_conf_addr() 235 static int intel_fpga_pcie_rp_rd_conf(struct udevice *bus, pci_dev_t bdf, in intel_fpga_pcie_rp_rd_conf() 243 static int intel_fpga_pcie_rp_wr_conf(struct udevice *bus, pci_dev_t bdf, in intel_fpga_pcie_rp_wr_conf() 276 pci_dev_t bdf, uint offset, in _pcie_intel_fpga_read_config() 302 pci_dev_t bdf, uint offset, in _pcie_intel_fpga_write_config() 325 static int pcie_intel_fpga_read_config(struct udevice *bus, pci_dev_t bdf, in pcie_intel_fpga_read_config() [all …]
|
D | pci-uclass.c | 47 pci_dev_t dm_pci_get_bdf(struct udevice *dev) in dm_pci_get_bdf() 94 int pci_bus_find_devfn(struct udevice *bus, pci_dev_t find_devfn, in pci_bus_find_devfn() 114 int dm_pci_bus_find_bdf(pci_dev_t bdf, struct udevice **devp) in dm_pci_bus_find_bdf() 239 int pci_bus_write_config(struct udevice *bus, pci_dev_t bdf, int offset, in pci_bus_write_config() 250 int pci_bus_clrset_config32(struct udevice *bus, pci_dev_t bdf, int offset, in pci_bus_clrset_config32() 265 int pci_write_config(pci_dev_t bdf, int offset, unsigned long value, in pci_write_config() 289 int pci_write_config32(pci_dev_t bdf, int offset, u32 value) in pci_write_config32() 294 int pci_write_config16(pci_dev_t bdf, int offset, u16 value) in pci_write_config16() 299 int pci_write_config8(pci_dev_t bdf, int offset, u8 value) in pci_write_config8() 319 int pci_bus_read_config(struct udevice *bus, pci_dev_t bdf, int offset, in pci_bus_read_config() [all …]
|
D | pcie_ecam_generic.c | 38 static int pci_generic_ecam_conf_address(struct udevice *bus, pci_dev_t bdf, in pci_generic_ecam_conf_address() 66 static int pci_generic_ecam_read_config(struct udevice *bus, pci_dev_t bdf, in pci_generic_ecam_read_config() 86 static int pci_generic_ecam_write_config(struct udevice *bus, pci_dev_t bdf, in pci_generic_ecam_write_config()
|
D | pci-rcar-gen2.c | 91 static int rcar_gen2_pci_addr_valid(pci_dev_t d, uint offset) in rcar_gen2_pci_addr_valid() 110 static u32 get_bus_address(struct udevice *dev, pci_dev_t bdf, u32 offset) in get_bus_address() 117 static u32 setup_bus_address(struct udevice *dev, pci_dev_t bdf, u32 offset) in setup_bus_address() 129 static int rcar_gen2_pci_read_config(struct udevice *dev, pci_dev_t bdf, in rcar_gen2_pci_read_config() 149 static int rcar_gen2_pci_write_config(struct udevice *dev, pci_dev_t bdf, in rcar_gen2_pci_write_config()
|
D | pcie_xilinx.c | 57 static int pcie_xilinx_config_address(struct udevice *udev, pci_dev_t bdf, in pcie_xilinx_config_address() 100 static int pcie_xilinx_read_config(struct udevice *bus, pci_dev_t bdf, in pcie_xilinx_read_config() 122 static int pcie_xilinx_write_config(struct udevice *bus, pci_dev_t bdf, in pcie_xilinx_write_config()
|
D | pci_msc01.c | 28 unsigned char access_type, pci_dev_t bdf, in msc01_config_access() 64 static int msc01_read_config_dword(struct pci_controller *hose, pci_dev_t dev, in msc01_read_config_dword() 73 static int msc01_write_config_dword(struct pci_controller *hose, pci_dev_t dev, in msc01_write_config_dword()
|
D | pci_gt64120.c | 44 unsigned char access_type, pci_dev_t bdf, in gt_config_access() 115 static int gt_read_config_dword(struct pci_controller *hose, pci_dev_t dev, in gt_read_config_dword() 124 static int gt_write_config_dword(struct pci_controller *hose, pci_dev_t dev, in gt_write_config_dword()
|
D | pci_sh4.c | 71 int pci_skip_dev(struct pci_controller *hose, pci_dev_t dev) in pci_skip_dev() 77 int pci_print_dev(struct pci_controller *hose, pci_dev_t dev) in pci_print_dev()
|
D | pci_compat.c | 18 pci_dev_t dev, \ 31 pci_dev_t pci_find_devices(struct pci_device_id *ids, int index) in pci_find_devices()
|
D | pci_sandbox.c | 13 static int sandbox_pci_write_config(struct udevice *bus, pci_dev_t devfn, in sandbox_pci_write_config() 31 static int sandbox_pci_read_config(struct udevice *bus, pci_dev_t devfn, in sandbox_pci_read_config()
|
D | pci_auto_old.c | 29 pci_dev_t dev, int bars_num, in pciauto_setup_device() 176 pci_dev_t dev, int sub_bus) in pciauto_prescan_setup_bridge() 257 pci_dev_t dev, int sub_bus) in pciauto_postscan_setup_bridge() 320 int pciauto_config_device(struct pci_controller *hose, pci_dev_t dev) in pciauto_config_device()
|
/external/u-boot/drivers/bios_emulator/ |
D | atibios.c | 235 static void PCI_doBIOSPOST(pci_dev_t pcidev, BE_VGAInfo *vga_info, in PCI_doBIOSPOST() 242 pci_dev_t bdf; in PCI_doBIOSPOST() 304 static u32 PCI_findBIOSAddr(pci_dev_t pcidev, int *bar) in PCI_findBIOSAddr() 348 static void PCI_fixupIObase(pci_dev_t pcidev, int reg, u32 * base) in PCI_fixupIObase() 375 void *PCI_mapBIOSImage(pci_dev_t pcidev) in PCI_mapBIOSImage() 458 void PCI_unmapBIOSImage(pci_dev_t pcidev, void *BIOSImage) in PCI_unmapBIOSImage() 485 static int PCI_postController(pci_dev_t pcidev, uchar *bios_rom, int bios_len, in PCI_postController() 494 pci_dev_t bdf; in PCI_postController() 553 int biosemu_setup(pci_dev_t pcidev, BE_VGAInfo **vga_infop) in biosemu_setup() 558 pci_dev_t bdf = dm_pci_get_bdf(pcidev); in biosemu_setup() [all …]
|
/external/u-boot/board/armltd/integrator/ |
D | pci.c | 88 static unsigned long v3_open_config_window(pci_dev_t bdf, int offset) in v3_open_config_window() 187 static int pci_integrator_read_byte(struct pci_controller *hose, pci_dev_t bdf, in pci_integrator_read_byte() 199 pci_dev_t bdf, int offset, in pci_integrator_read__word() 211 pci_dev_t bdf, int offset, in pci_integrator_read_dword() 223 pci_dev_t bdf, int offset, in pci_integrator_write_byte() 236 pci_dev_t bdf, int offset, in pci_integrator_write_word() 249 pci_dev_t bdf, int offset, in pci_integrator_write_dword()
|
/external/u-boot/cmd/ |
D | pci.c | 62 static unsigned long pci_read_config(pci_dev_t dev, int offset, in pci_read_config() 83 static void pci_show_regs(pci_dev_t dev, struct pci_reg_info *regs) in pci_show_regs() 263 void pci_header_show(pci_dev_t dev) in pci_header_show() 365 void pci_header_show_brief(pci_dev_t dev) in pci_header_show_brief() 397 pci_dev_t dev; in pciinfo() 458 static pci_dev_t get_pci_dev(char *name) in get_pci_dev() 487 static int pci_cfg_display(pci_dev_t bdf, ulong addr, enum pci_size_t size, in pci_cfg_display() 530 static int pci_cfg_write (pci_dev_t bdf, ulong addr, ulong size, ulong value) in pci_cfg_write() 551 static int pci_cfg_modify(pci_dev_t bdf, ulong addr, ulong size, ulong value, in pci_cfg_modify() 665 pci_dev_t dev; in do_pci() [all …]
|
/external/u-boot/arch/x86/cpu/ |
D | pci.c | 19 int pci_x86_read_config(struct udevice *bus, pci_dev_t bdf, uint offset, in pci_x86_read_config() 38 int pci_x86_write_config(struct udevice *bus, pci_dev_t bdf, uint offset, in pci_x86_write_config() 59 pci_dev_t bdf; in pci_assign_irqs()
|
/external/u-boot/drivers/net/ |
D | rtl8169.c | 109 #define bus_to_phys(a) pci_mem_to_phys((pci_dev_t)(unsigned long)dev->priv, \ 111 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)(unsigned long)dev->priv, \ 516 static int rtl_recv_common(pci_dev_t dev, unsigned long dev_iobase, in rtl_recv_common() 592 return rtl_recv_common((pci_dev_t)(unsigned long)dev->priv, in rtl_recv() 605 static int rtl_send_common(pci_dev_t dev, unsigned long dev_iobase, in rtl_send_common() 689 return rtl_send_common((pci_dev_t)(unsigned long)dev->priv, in rtl_send() 720 static void rtl8169_hw_start(pci_dev_t dev) in rtl8169_hw_start() 805 static void rtl8169_init_ring(pci_dev_t dev) in rtl8169_init_ring() 853 static void rtl8169_common_start(pci_dev_t dev, unsigned char *enetaddr, in rtl8169_common_start() 901 rtl8169_common_start((pci_dev_t)(unsigned long)dev->priv, in rtl_reset() [all …]
|
/external/u-boot/arch/sh/include/asm/ |
D | pci.h | 25 pci_dev_t dev, int offset, u32 *value); 29 pci_dev_t dev, int offset, u32 value);
|
/external/u-boot/arch/x86/include/asm/ |
D | pci.h | 20 int pci_x86_read_config(struct udevice *bus, pci_dev_t bdf, uint offset, 23 int pci_x86_write_config(struct udevice *bus, pci_dev_t bdf, uint offset,
|
/external/u-boot/arch/x86/cpu/ivybridge/ |
D | cpu.c | 100 pci_dev_t usb0 = PCH_EHCI1_DEV; in enable_usb_bar() 101 pci_dev_t usb1 = PCH_EHCI2_DEV; in enable_usb_bar() 102 pci_dev_t usb3 = PCH_XHCI_DEV; in enable_usb_bar()
|