Home
last modified time | relevance | path

Searched refs:pci_controller (Results 1 – 25 of 54) sorted by relevance

123

/external/u-boot/include/
Dpci.h514 struct pci_controller;
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,
542 struct pci_controller { struct
547 struct pci_controller *next; argument
573 void (*fixup_irq)(struct pci_controller *, pci_dev_t); argument
576 int (*read_byte)(struct pci_controller*, pci_dev_t, int where, u8 *); argument
577 int (*read_word)(struct pci_controller*, pci_dev_t, int where, u16 *); argument
578 int (*read_dword)(struct pci_controller*, pci_dev_t, int where, u32 *); argument
[all …]
/external/u-boot/drivers/pci/
Dpci.c28 int pci_hose_##rw##_config_##size(struct pci_controller *hose, \
45 struct pci_controller *hose = pci_bus_to_hose(PCI_BUS(dev)); \
64 int pci_hose_read_config_##size##_via_dword(struct pci_controller *hose,\
81 int pci_hose_write_config_##size##_via_dword(struct pci_controller *hose,\
110 static struct pci_controller* hose_head;
112 struct pci_controller *pci_get_hose_head(void) in pci_get_hose_head()
120 void pci_register_hose(struct pci_controller* hose) in pci_register_hose()
122 struct pci_controller **phose = &hose_head; in pci_register_hose()
132 struct pci_controller *pci_bus_to_hose(int bus) in pci_bus_to_hose()
134 struct pci_controller *hose; in pci_bus_to_hose()
[all …]
Dpci_ftpci100.c27 static struct pci_controller local_hose;
32 struct pci_controller *hose = (struct pci_controller *)&local_hose; in setup_pci_bar()
146 struct pci_controller *hose = (struct pci_controller *)&local_hose; in pci_bus_scan()
224 struct pci_controller *hose = (struct pci_controller *)&local_hose; in ftpci_preinit()
281 struct pci_controller *hose = (struct pci_controller *)&local_hose; in pci_ftpci_init()
Dpci_common.c81 __weak int pci_skip_dev(struct pci_controller *hose, pci_dev_t dev) in pci_skip_dev()
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()
143 int __pci_hose_bus_to_phys(struct pci_controller *hose, in __pci_hose_bus_to_phys()
171 phys_addr_t pci_hose_bus_to_phys(struct pci_controller *hose, in pci_hose_bus_to_phys()
202 int __pci_hose_phys_to_bus(struct pci_controller *hose, in __pci_hose_phys_to_bus()
240 pci_addr_t pci_hose_phys_to_bus(struct pci_controller *hose, in pci_hose_phys_to_bus()
281 pci_dev_t pci_hose_find_devices(struct pci_controller *hose, int busnum, in pci_hose_find_devices()
Dpci_msc01.c17 struct pci_controller hose;
22 hose_to_msc01(struct pci_controller *hose) in hose_to_msc01()
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()
90 struct pci_controller *hose; in msc01_pci_init()
Dpci_gt64120.c30 struct pci_controller hose;
35 hose_to_gt64120(struct pci_controller *hose) in hose_to_gt64120()
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()
141 struct pci_controller *hose; in gt64120_pci_init()
Dpci_sh4.c18 int pci_sh4_init(struct pci_controller *hose) in pci_sh4_init()
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()
Dpci_sh7780.c33 int pci_sh4_read_config_dword(struct pci_controller *hose, in pci_sh4_read_config_dword()
44 int pci_sh4_write_config_dword(struct pci_controller *hose, in pci_sh4_write_config_dword()
54 int pci_sh7780_init(struct pci_controller *hose) in pci_sh7780_init()
Dfsl_pci_init.c71 int fsl_setup_hose(struct pci_controller *hose, unsigned long addr) in fsl_setup_hose()
76 memset(hose, 0, sizeof(struct pci_controller)); in fsl_setup_hose()
83 static int fsl_pci_setup_inbound_windows(struct pci_controller *hose, in fsl_pci_setup_inbound_windows()
292 void fsl_pci_init(struct pci_controller *hose, struct fsl_pci_info *pci_info) in fsl_pci_init()
602 int fsl_is_pci_agent(struct pci_controller *hose) in fsl_is_pci_agent()
629 struct pci_controller *hose, int busno) in fsl_pci_init_port()
693 void fsl_pci_config_unlock(struct pci_controller *hose) in fsl_pci_config_unlock()
725 struct pci_controller *hose, in fsl_configure_pcie()
813 struct pci_controller *hose; in fsl_pcie_init_ctrl()
816 hose = calloc(1, sizeof(struct pci_controller)); in fsl_pcie_init_ctrl()
[all …]
Dpci_indirect.c22 indirect_##rw##_config_##size(struct pci_controller *hose, \
37 indirect_##rw##_config_##size(struct pci_controller *hose, \
57 void pci_setup_indirect(struct pci_controller* hose, u32 cfg_addr, u32 cfg_data) in pci_setup_indirect()
Dpci_sh7751.c75 int pci_sh4_read_config_dword(struct pci_controller *hose, in pci_sh4_read_config_dword()
86 int pci_sh4_write_config_dword(struct pci_controller *hose, in pci_sh4_write_config_dword()
97 int pci_sh7751_init(struct pci_controller *hose) in pci_sh7751_init()
Dpci_compat.c17 int pci_hose_##rw##_config_##name(struct pci_controller *hose, \
40 struct pci_controller *pci_bus_to_hose(int busnum) in pci_bus_to_hose()
Dpci_mvebu.c68 struct pci_controller hose;
209 static inline struct mvebu_pcie *hose_to_pcie(struct pci_controller *hose) in hose_to_pcie()
214 static int mvebu_pcie_read_config_dword(struct pci_controller *hose, in mvebu_pcie_read_config_dword()
249 static int mvebu_pcie_write_config_dword(struct pci_controller *hose, in mvebu_pcie_write_config_dword()
348 struct pci_controller *hose = &pcie->hose; in pci_init_board()
Dpci_auto_old.c28 void pciauto_setup_device(struct pci_controller *hose, in pciauto_setup_device()
175 void pciauto_prescan_setup_bridge(struct pci_controller *hose, in pciauto_prescan_setup_bridge()
256 void pciauto_postscan_setup_bridge(struct pci_controller *hose, 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/board/freescale/common/
Dvia.h2 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…
Dcds_via.c10 void mpc85xx_config_via(struct pci_controller *hose, in mpc85xx_config_via()
39 void mpc85xx_config_via_usbide(struct pci_controller *hose, in mpc85xx_config_via_usbide()
57 void mpc85xx_config_via_usb(struct pci_controller *hose, in mpc85xx_config_via_usb()
66 void mpc85xx_config_via_usb2(struct pci_controller *hose, in mpc85xx_config_via_usb2()
75 void mpc85xx_config_via_power(struct pci_controller *hose, in mpc85xx_config_via_power()
86 void mpc85xx_config_via_ac97(struct pci_controller *hose, in mpc85xx_config_via_ac97()
/external/u-boot/arch/sh/include/asm/
Dpci.h15 int pci_sh7751_init(struct pci_controller *hose);
17 int pci_sh7780_init(struct pci_controller *hose);
22 int pci_sh4_init(struct pci_controller *hose);
24 int pci_sh4_read_config_dword(struct pci_controller *hose,
28 int pci_sh4_write_config_dword(struct pci_controller *hose,
/external/u-boot/board/armltd/integrator/
Dpci.c187 static int pci_integrator_read_byte(struct pci_controller *hose, pci_dev_t bdf, in pci_integrator_read_byte()
198 static int pci_integrator_read__word(struct pci_controller *hose, in pci_integrator_read__word()
210 static int pci_integrator_read_dword(struct pci_controller *hose, in pci_integrator_read_dword()
222 static int pci_integrator_write_byte(struct pci_controller *hose, in pci_integrator_write_byte()
235 static int pci_integrator_write_word(struct pci_controller *hose, in pci_integrator_write_word()
248 static int pci_integrator_write_dword(struct pci_controller *hose, in pci_integrator_write_dword()
261 struct pci_controller integrator_hose = {
269 struct pci_controller *hose = &integrator_hose; in pci_init_board()
/external/u-boot/arch/powerpc/include/asm/
Dfsl_pci.h27 int fsl_setup_hose(struct pci_controller *hose, unsigned long addr);
28 int fsl_is_pci_agent(struct pci_controller *hose);
29 void fsl_pci_config_unlock(struct pci_controller *hose);
187 void fsl_pci_init(struct pci_controller *hose, struct fsl_pci_info *pci_info);
189 struct pci_controller *hose, int busno);
/external/u-boot/arch/powerpc/cpu/mpc83xx/
Dpci.c23 static struct pci_controller pci_hose[MAX_BUSES];
31 struct pci_controller *hose = &pci_hose[bus]; in pci_init_bus()
169 struct pci_controller *hose = &pci_hose[bus]; in mpc83xx_pcislave_unlock()
Dpcie.c51 static int mpc83xx_pcie_remap_cfg(struct pci_controller *hose, pci_dev_t dev) in mpc83xx_pcie_remap_cfg()
84 static int pcie_##rw##_config_##size(struct pci_controller *hose, \
110 static struct pci_controller pcie_hose[PCIE_MAX_BUSES]; in PCIE_OP()
111 struct pci_controller *hose = &pcie_hose[bus]; in PCIE_OP()
/external/u-boot/arch/m68k/cpu/mcf547x_8x/
Dpci.c25 int pci_##rw##_cfg_##size(struct pci_controller *hose, \
45 int pci_read_cfg_dword(struct pci_controller *hose, pci_dev_t dev, in pci_read_cfg_dword()
72 void pci_mcf547x_8x_init(struct pci_controller *hose) in pci_mcf547x_8x_init()
/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dpci.c33 static struct pci_controller *pci_hose;
36 pci_mpc85xx_init(struct pci_controller *board_hose) in pci_mpc85xx_init()
46 struct pci_controller * hose; in pci_mpc85xx_init()
/external/u-boot/board/freescale/m547xevb/
Dm547xevb.c98 static struct pci_controller hose;
99 extern void pci_mcf547x_8x_init(struct pci_controller *hose);
/external/u-boot/board/freescale/m548xevb/
Dm548xevb.c98 static struct pci_controller hose;
99 extern void pci_mcf547x_8x_init(struct pci_controller *hose);

123