/external/u-boot/drivers/pci/ |
D | pcie_layerscape.c | 25 static unsigned int dbi_readl(struct ls_pcie *pcie, unsigned int offset) in dbi_readl() 30 static void dbi_writel(struct ls_pcie *pcie, unsigned int value, in dbi_writel() 36 static unsigned int ctrl_readl(struct ls_pcie *pcie, unsigned int offset) in ctrl_readl() 44 static void ctrl_writel(struct ls_pcie *pcie, unsigned int value, in ctrl_writel() 53 static int ls_pcie_ltssm(struct ls_pcie *pcie) in ls_pcie_ltssm() 69 static int ls_pcie_link_up(struct ls_pcie *pcie) in ls_pcie_link_up() 80 static void ls_pcie_cfg0_set_busdev(struct ls_pcie *pcie, u32 busdev) in ls_pcie_cfg0_set_busdev() 87 static void ls_pcie_cfg1_set_busdev(struct ls_pcie *pcie, u32 busdev) in ls_pcie_cfg1_set_busdev() 94 static void ls_pcie_atu_outbound_set(struct ls_pcie *pcie, int idx, int type, in ls_pcie_atu_outbound_set() 108 static void ls_pcie_atu_inbound_set(struct ls_pcie *pcie, int idx, in ls_pcie_atu_inbound_set() [all …]
|
D | pcie_fsl.c | 23 static int fsl_pcie_addr_valid(struct fsl_pcie *pcie, pci_dev_t bdf) in fsl_pcie_addr_valid() 49 struct fsl_pcie *pcie = dev_get_priv(bus); in fsl_pcie_read_config() local 84 struct fsl_pcie *pcie = dev_get_priv(bus); in fsl_pcie_write_config() local 118 static int fsl_pcie_hose_read_config(struct fsl_pcie *pcie, uint offset, in fsl_pcie_hose_read_config() 130 static int fsl_pcie_hose_write_config(struct fsl_pcie *pcie, uint offset, in fsl_pcie_hose_write_config() 139 static int fsl_pcie_hose_read_config_byte(struct fsl_pcie *pcie, uint offset, in fsl_pcie_hose_read_config_byte() 151 static int fsl_pcie_hose_read_config_word(struct fsl_pcie *pcie, uint offset, in fsl_pcie_hose_read_config_word() 163 static int fsl_pcie_hose_read_config_dword(struct fsl_pcie *pcie, uint offset, in fsl_pcie_hose_read_config_dword() 175 static int fsl_pcie_hose_write_config_byte(struct fsl_pcie *pcie, uint offset, in fsl_pcie_hose_write_config_byte() 181 static int fsl_pcie_hose_write_config_word(struct fsl_pcie *pcie, uint offset, in fsl_pcie_hose_write_config_word() [all …]
|
D | pcie_layerscape_gen4.c | 31 static int ls_pcie_g4_ltssm(struct ls_pcie_g4 *pcie) in ls_pcie_g4_ltssm() 40 static int ls_pcie_g4_link_up(struct ls_pcie_g4 *pcie) in ls_pcie_g4_link_up() 51 static void ls_pcie_g4_ep_enable_cfg(struct ls_pcie_g4 *pcie) in ls_pcie_g4_ep_enable_cfg() 56 static void ls_pcie_g4_cfg_set_target(struct ls_pcie_g4 *pcie, u32 target) in ls_pcie_g4_cfg_set_target() 62 static int ls_pcie_g4_outbound_win_set(struct ls_pcie_g4 *pcie, int idx, in ls_pcie_g4_outbound_win_set() 94 static int ls_pcie_g4_rc_inbound_win_set(struct ls_pcie_g4 *pcie, int idx, in ls_pcie_g4_rc_inbound_win_set() 120 static void ls_pcie_g4_dump_wins(struct ls_pcie_g4 *pcie, int wins) in ls_pcie_g4_dump_wins() 146 static void ls_pcie_g4_setup_wins(struct ls_pcie_g4 *pcie) in ls_pcie_g4_setup_wins() 183 static int ls_pcie_g4_addr_valid(struct ls_pcie_g4 *pcie, pci_dev_t bdf) in ls_pcie_g4_addr_valid() 205 void *ls_pcie_g4_conf_address(struct ls_pcie_g4 *pcie, pci_dev_t bdf, in ls_pcie_g4_conf_address() [all …]
|
D | pcie_layerscape_gen4_fixup.c | 27 static int ls_pcie_g4_next_lut_index(struct ls_pcie_g4 *pcie) in ls_pcie_g4_next_lut_index() 36 static int ls_pcie_g4_next_streamid(struct ls_pcie_g4 *pcie) in ls_pcie_g4_next_streamid() 51 static void ls_pcie_g4_lut_set_mapping(struct ls_pcie_g4 *pcie, int index, in ls_pcie_g4_lut_set_mapping() 67 static void fdt_pcie_set_msi_map_entry(void *blob, struct ls_pcie_g4 *pcie, in fdt_pcie_set_msi_map_entry() 109 static void fdt_pcie_set_iommu_map_entry(void *blob, struct ls_pcie_g4 *pcie, in fdt_pcie_set_iommu_map_entry() 151 struct ls_pcie_g4 *pcie; in fdt_fixup_pcie() local 186 static void ft_pcie_ep_layerscape_gen4_fix(void *blob, struct ls_pcie_g4 *pcie) in ft_pcie_ep_layerscape_gen4_fix() 205 static void ft_pcie_rc_layerscape_gen4_fix(void *blob, struct ls_pcie_g4 *pcie) in ft_pcie_rc_layerscape_gen4_fix() 226 static void ft_pcie_layerscape_gen4_setup(void *blob, struct ls_pcie_g4 *pcie) in ft_pcie_layerscape_gen4_setup() 235 struct ls_pcie_g4 *pcie; in ft_pci_setup() local
|
D | pcie_intel_fpga.c | 37 #define RP_CFG_ADDR(pcie, reg) \ argument 39 #define RP_SECONDARY(pcie) \ argument 43 #define TLP_CFGRD_DW0(pcie, bus) \ argument 48 #define TLP_CFGWR_DW0(pcie, bus) \ argument 53 #define TLP_CFG_DW1(pcie, tag, be) \ argument 64 #define IS_ROOT_PORT(pcie, bdf) \ argument 94 static bool intel_fpga_pcie_hide_rc_bar(struct intel_fpga_pcie *pcie, in intel_fpga_pcie_hide_rc_bar() 104 static inline void cra_writel(struct intel_fpga_pcie *pcie, const u32 value, in cra_writel() 110 static inline u32 cra_readl(struct intel_fpga_pcie *pcie, const u32 reg) in cra_readl() 115 static bool intel_fpga_pcie_link_up(struct intel_fpga_pcie *pcie) in intel_fpga_pcie_link_up() [all …]
|
D | pcie_layerscape_fixup.c | 25 static int ls_pcie_next_lut_index(struct ls_pcie *pcie) in ls_pcie_next_lut_index() 44 static void lut_writel(struct ls_pcie *pcie, unsigned int value, in lut_writel() 56 static void ls_pcie_lut_set_mapping(struct ls_pcie *pcie, int index, u32 devid, in ls_pcie_lut_set_mapping() 72 static void fdt_pcie_set_msi_map_entry(void *blob, struct ls_pcie *pcie, in fdt_pcie_set_msi_map_entry() 125 static void fdt_pcie_set_iommu_map_entry(void *blob, struct ls_pcie *pcie, in fdt_pcie_set_iommu_map_entry() 181 struct ls_pcie *pcie; in fdt_fixup_pcie() local 221 static void ft_pcie_rc_fix(void *blob, struct ls_pcie *pcie) in ft_pcie_rc_fix() 252 static void ft_pcie_ep_fix(void *blob, struct ls_pcie *pcie) in ft_pcie_ep_fix() 267 static void ft_pcie_ls_setup(void *blob, struct ls_pcie *pcie) in ft_pcie_ls_setup() 276 struct ls_pcie *pcie; in ft_pci_setup() local
|
D | pci_mvebu.c | 91 static inline bool mvebu_pcie_link_up(struct mvebu_pcie *pcie) in mvebu_pcie_link_up() 98 static void mvebu_pcie_set_local_bus_nr(struct mvebu_pcie *pcie, int busno) in mvebu_pcie_set_local_bus_nr() 108 static void mvebu_pcie_set_local_dev_nr(struct mvebu_pcie *pcie, int devno) in mvebu_pcie_set_local_dev_nr() 118 static int mvebu_pcie_get_local_bus_nr(struct mvebu_pcie *pcie) in mvebu_pcie_get_local_bus_nr() 126 static int mvebu_pcie_get_local_dev_nr(struct mvebu_pcie *pcie) in mvebu_pcie_get_local_dev_nr() 143 struct mvebu_pcie *pcie = dev_get_platdata(bus); in mvebu_pcie_read_config() local 187 struct mvebu_pcie *pcie = dev_get_platdata(bus); in mvebu_pcie_write_config() local 225 static void mvebu_pcie_setup_wins(struct mvebu_pcie *pcie) in mvebu_pcie_setup_wins() 277 struct mvebu_pcie *pcie = dev_get_platdata(dev); in mvebu_pcie_probe() local 334 static int mvebu_pcie_port_parse_dt(ofnode node, struct mvebu_pcie *pcie) in mvebu_pcie_port_parse_dt() [all …]
|
D | pci-aardvark.c | 150 static inline void advk_writel(struct pcie_advk *pcie, uint val, uint reg) in advk_writel() 155 static inline uint advk_readl(struct pcie_advk *pcie, uint reg) in advk_readl() 191 static int pcie_advk_wait_pio(struct pcie_advk *pcie) in pcie_advk_wait_pio() 220 static int pcie_advk_check_pio_status(struct pcie_advk *pcie, in pcie_advk_check_pio_status() 304 struct pcie_advk *pcie = dev_get_priv(bus); in pcie_advk_read_config() local 401 struct pcie_advk *pcie = dev_get_priv(bus); in pcie_advk_write_config() local 465 static int pcie_advk_link_up(struct pcie_advk *pcie) in pcie_advk_link_up() 484 static int pcie_advk_wait_for_link(struct pcie_advk *pcie) in pcie_advk_wait_for_link() 510 static int pcie_advk_setup_hw(struct pcie_advk *pcie) in pcie_advk_setup_hw() 611 struct pcie_advk *pcie = dev_get_priv(dev); in pcie_advk_probe() local [all …]
|
D | pci_tegra.c | 195 struct tegra_pcie *pcie; member 240 static void afi_writel(struct tegra_pcie *pcie, unsigned long value, in afi_writel() 246 static unsigned long afi_readl(struct tegra_pcie *pcie, unsigned long offset) in afi_readl() 251 static void pads_writel(struct tegra_pcie *pcie, unsigned long value, in pads_writel() 258 static unsigned long pads_readl(struct tegra_pcie *pcie, unsigned long offset) in pads_readl() 283 static int tegra_pcie_conf_address(struct tegra_pcie *pcie, pci_dev_t bdf, in tegra_pcie_conf_address() 315 struct tegra_pcie *pcie = dev_get_priv(bus); in pci_tegra_read_config() local 347 struct tegra_pcie *pcie = dev_get_priv(bus); in pci_tegra_write_config() local 484 struct tegra_pcie *pcie) in tegra_pcie_parse_dt() 569 static int tegra_pcie_power_on(struct tegra_pcie *pcie) in tegra_pcie_power_on() [all …]
|
D | pcie_fsl_fixup.c | 17 static void ft_fsl_pcie_setup(void *blob, struct fsl_pcie *pcie) in ft_fsl_pcie_setup() 40 struct fsl_pcie *pcie; in pci_of_setup() local
|
D | pcie_xilinx.c | 34 static bool pcie_xilinx_link_up(struct xilinx_pcie *pcie) in pcie_xilinx_link_up() 60 struct xilinx_pcie *pcie = dev_get_priv(udev); in pcie_xilinx_config_address() local 142 struct xilinx_pcie *pcie = dev_get_priv(dev); in pcie_xilinx_ofdata_to_platdata() local
|
D | pcie_mediatek.c | 56 struct mtk_pcie *pcie; member 72 struct mtk_pcie *pcie = dev_get_priv(udev); in mtk_pcie_config_address() local 109 struct mtk_pcie *pcie = port->pcie; in mtk_pcie_startup_port() local 184 struct mtk_pcie *pcie = dev_get_priv(dev); in mtk_pcie_parse_port() local 222 struct mtk_pcie *pcie = dev_get_priv(dev); in mtk_pcie_probe() local
|
D | pcie_ecam_generic.c | 41 struct generic_ecam_pcie *pcie = dev_get_priv(bus); in pci_generic_ecam_conf_address() local 106 struct generic_ecam_pcie *pcie = dev_get_priv(dev); in pci_generic_ecam_ofdata_to_platdata() local
|
D | pcie_dw_mvebu.c | 141 static void pcie_dw_prog_outbound_atu(struct pcie_dw_mvebu *pcie, int index, in pcie_dw_prog_outbound_atu() 173 static uintptr_t set_cfg_address(struct pcie_dw_mvebu *pcie, in set_cfg_address() 247 struct pcie_dw_mvebu *pcie = dev_get_priv(bus); in pcie_dw_mvebu_read_config() local 293 struct pcie_dw_mvebu *pcie = dev_get_priv(bus); in pcie_dw_mvebu_write_config() local 476 struct pcie_dw_mvebu *pcie = dev_get_priv(dev); in pcie_dw_mvebu_probe() local 548 struct pcie_dw_mvebu *pcie = dev_get_priv(dev); in pcie_dw_mvebu_ofdata_to_platdata() local
|
D | pcie_phytium.c | 82 struct phytium_pcie *pcie = dev_get_priv(bus); in pci_phytium_conf_address() local 162 struct phytium_pcie *pcie = dev_get_priv(dev); in pci_phytium_ofdata_to_platdata() local
|
D | pcie_layerscape_gen4.h | 197 static inline void lut_writel(struct ls_pcie_g4 *pcie, unsigned int value, in lut_writel() 206 static inline u32 lut_readl(struct ls_pcie_g4 *pcie, unsigned int offset) in lut_readl() 214 static inline void ccsr_set_page(struct ls_pcie_g4 *pcie, u8 pg_idx) in ccsr_set_page() 225 static inline unsigned int ccsr_readl(struct ls_pcie_g4 *pcie, u32 offset) in ccsr_readl() 236 static inline void ccsr_writel(struct ls_pcie_g4 *pcie, u32 offset, u32 value) in ccsr_writel() 247 static inline unsigned int pf_ctrl_readl(struct ls_pcie_g4 *pcie, u32 offset) in pf_ctrl_readl() 255 static inline void pf_ctrl_writel(struct ls_pcie_g4 *pcie, u32 offset, in pf_ctrl_writel()
|
D | pcie_dw_ti.c | 217 static uintptr_t set_cfg_address(struct pcie_dw_ti *pcie, in set_cfg_address() 296 struct pcie_dw_ti *pcie = dev_get_priv(bus); in pcie_dw_ti_read_config() local 342 struct pcie_dw_ti *pcie = dev_get_priv(bus); in pcie_dw_ti_write_config() local 681 struct pcie_dw_ti *pcie = dev_get_priv(dev); in pcie_dw_ti_ofdata_to_platdata() local
|
D | fsl_pci_init.c | 400 char pcie[6]; in fsl_pci_init() local 683 char pcie[6]; in fsl_pci_init_port() local
|
/external/u-boot/drivers/pci_endpoint/ |
D | pcie-cadence.h | 236 static inline void cdns_pcie_writeb(struct cdns_pcie *pcie, u32 reg, u8 value) in cdns_pcie_writeb() 241 static inline void cdns_pcie_writew(struct cdns_pcie *pcie, u32 reg, u16 value) in cdns_pcie_writew() 246 static inline void cdns_pcie_writel(struct cdns_pcie *pcie, u32 reg, u32 value) in cdns_pcie_writel() 251 static inline u32 cdns_pcie_readl(struct cdns_pcie *pcie, u32 reg) in cdns_pcie_readl() 257 static inline void cdns_pcie_rp_writeb(struct cdns_pcie *pcie, in cdns_pcie_rp_writeb() 263 static inline void cdns_pcie_rp_writew(struct cdns_pcie *pcie, in cdns_pcie_rp_writew() 269 static inline void cdns_pcie_rp_writel(struct cdns_pcie *pcie, in cdns_pcie_rp_writel() 276 static inline void cdns_pcie_ep_fn_writeb(struct cdns_pcie *pcie, u8 fn, in cdns_pcie_ep_fn_writeb() 282 static inline void cdns_pcie_ep_fn_writew(struct cdns_pcie *pcie, u8 fn, in cdns_pcie_ep_fn_writew() 288 static inline void cdns_pcie_ep_fn_writel(struct cdns_pcie *pcie, u8 fn, in cdns_pcie_ep_fn_writel() [all …]
|
D | pcie-cadence-ep.c | 20 struct cdns_pcie *pcie = dev_get_priv(dev); in cdns_write_header() local 53 struct cdns_pcie *pcie = dev_get_priv(dev); in cdns_set_bar() local 119 struct cdns_pcie *pcie = dev_get_priv(dev); in cdns_set_msi() local
|
/external/u-boot/arch/powerpc/dts/ |
D | mpc8548cds_36b.dts | 22 pcie: pcie@fe000a000 { label
|
D | mpc8548cds.dts | 22 pcie: pcie@e000a000 { label
|
/external/u-boot/board/freescale/common/ |
D | ns_access.c | 214 void set_pcie_ns_access(int pcie, u16 val) in set_pcie_ns_access()
|
/external/u-boot/arch/arm/dts/ |
D | mt7623.dtsi | 259 pcie: pcie@1a140000 { label
|
D | hi3798cv200.dtsi | 560 pcie: pcie@9860000 { label
|