Home
last modified time | relevance | path

Searched defs:pci (Results 1 – 25 of 114) sorted by relevance

12345

/drivers/pci/controller/dwc/
Dpcie-designware.c22 static u8 __dw_pcie_find_next_cap(struct dw_pcie *pci, u8 cap_ptr, in __dw_pcie_find_next_cap()
44 u8 dw_pcie_find_capability(struct dw_pcie *pci, u8 cap) in dw_pcie_find_capability()
56 static u16 dw_pcie_find_next_ext_capability(struct dw_pcie *pci, u16 start, in dw_pcie_find_next_ext_capability()
91 u16 dw_pcie_find_ext_capability(struct dw_pcie *pci, u8 cap) in dw_pcie_find_ext_capability()
137 u32 dw_pcie_read_dbi(struct dw_pcie *pci, u32 reg, size_t size) in dw_pcie_read_dbi()
153 void dw_pcie_write_dbi(struct dw_pcie *pci, u32 reg, size_t size, u32 val) in dw_pcie_write_dbi()
168 u32 dw_pcie_read_dbi2(struct dw_pcie *pci, u32 reg, size_t size) in dw_pcie_read_dbi2()
183 void dw_pcie_write_dbi2(struct dw_pcie *pci, u32 reg, size_t size, u32 val) in dw_pcie_write_dbi2()
197 u32 dw_pcie_read_atu(struct dw_pcie *pci, u32 reg, size_t size) in dw_pcie_read_atu()
212 void dw_pcie_write_atu(struct dw_pcie *pci, u32 reg, size_t size, u32 val) in dw_pcie_write_atu()
[all …]
Dpcie-designware-ep.c22 static void __dw_pcie_ep_reset_bar(struct dw_pcie *pci, enum pci_barno bar, in __dw_pcie_ep_reset_bar()
38 void dw_pcie_ep_reset_bar(struct dw_pcie *pci, enum pci_barno bar) in dw_pcie_ep_reset_bar()
47 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); in dw_pcie_ep_write_header() local
74 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); in dw_pcie_ep_inbound_atu() local
99 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); in dw_pcie_ep_outbound_atu() local
120 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); in dw_pcie_ep_clear_bar() local
135 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); in dw_pcie_ep_set_bar() local
187 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); in dw_pcie_ep_unmap_addr() local
203 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); in dw_pcie_ep_map_addr() local
217 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); in dw_pcie_ep_get_msi() local
[all …]
Dpci-layerscape.c47 struct dw_pcie *pci; member
58 struct dw_pcie *pci = pcie->pci; in ls_pcie_is_bridge() local
70 struct dw_pcie *pci = pcie->pci; in ls_pcie_clear_multifunction() local
79 struct dw_pcie *pci = pcie->pci; in ls_pcie_drop_msg_tlp() local
94 static int ls1021_pcie_link_up(struct dw_pcie *pci) in ls1021_pcie_link_up()
111 static int ls_pcie_link_up(struct dw_pcie *pci) in ls_pcie_link_up()
129 struct dw_pcie *pci = pcie->pci; in ls_pcie_fix_error_response() local
136 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in ls_pcie_host_init() local
160 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in ls1021_pcie_host_init() local
187 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in ls_pcie_msi_host_init() local
[all …]
Dpci-exynos.c65 struct dw_pcie *pci; member
85 struct dw_pcie *pci = ep->pci; in exynos5440_pcie_get_mem_resources() local
103 struct dw_pcie *pci = ep->pci; in exynos5440_pcie_get_clk_resources() local
127 struct dw_pcie *pci = ep->pci; in exynos5440_pcie_init_clk_resources() local
226 struct dw_pcie *pci = ep->pci; in exynos_pcie_assert_reset() local
236 struct dw_pcie *pci = ep->pci; in exynos_pcie_establish_link() local
299 struct dw_pcie *pci = ep->pci; in exynos_pcie_msi_init() local
319 static u32 exynos_pcie_read_dbi(struct dw_pcie *pci, void __iomem *base, in exynos_pcie_read_dbi()
331 static void exynos_pcie_write_dbi(struct dw_pcie *pci, void __iomem *base, in exynos_pcie_write_dbi()
344 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in exynos_pcie_rd_own_conf() local
[all …]
Dpcie-artpec6.c33 struct dw_pcie *pci; member
107 static u64 artpec6_pcie_cpu_addr_fixup(struct dw_pcie *pci, u64 pci_addr) in artpec6_pcie_cpu_addr_fixup()
124 static int artpec6_pcie_establish_link(struct dw_pcie *pci) in artpec6_pcie_establish_link()
136 static void artpec6_pcie_stop_link(struct dw_pcie *pci) in artpec6_pcie_stop_link()
154 struct dw_pcie *pci = artpec6_pcie->pci; in artpec6_pcie_wait_for_phy_a6() local
181 struct dw_pcie *pci = artpec6_pcie->pci; in artpec6_pcie_wait_for_phy_a7() local
253 struct dw_pcie *pci = artpec6_pcie->pci; in artpec6_pcie_init_phy_a7() local
297 struct dw_pcie *pci = artpec6_pcie->pci; in artpec6_pcie_set_nfts() local
357 struct dw_pcie *pci = artpec6_pcie->pci; in artpec6_pcie_enable_interrupts() local
366 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in artpec6_pcie_host_init() local
[all …]
Dpcie-designware-plat.c25 struct dw_pcie *pci; member
38 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in dw_plat_pcie_host_init() local
59 static int dw_plat_pcie_establish_link(struct dw_pcie *pci) in dw_plat_pcie_establish_link()
70 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); in dw_plat_pcie_ep_init() local
81 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); in dw_plat_pcie_ep_raise_irq() local
118 struct dw_pcie *pci = dw_plat_pcie->pci; in dw_plat_add_pcie_port() local
151 struct dw_pcie *pci = dw_plat_pcie->pci; in dw_plat_add_pcie_ep() local
180 struct dw_pcie *pci; in dw_plat_pcie_probe() local
Dpcie-histb.c53 struct dw_pcie *pci; member
79 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in histb_pcie_dbi_w_mode() local
93 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in histb_pcie_dbi_r_mode() local
105 static u32 histb_pcie_read_dbi(struct dw_pcie *pci, void __iomem *base, in histb_pcie_read_dbi()
117 static void histb_pcie_write_dbi(struct dw_pcie *pci, void __iomem *base, in histb_pcie_write_dbi()
128 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in histb_pcie_rd_own_conf() local
141 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in histb_pcie_wr_own_conf() local
151 static int histb_pcie_link_up(struct dw_pcie *pci) in histb_pcie_link_up()
169 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in histb_pcie_establish_link() local
231 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in histb_pcie_host_enable() local
[all …]
Dpci-layerscape-ep.c24 struct dw_pcie *pci; member
29 static int ls_pcie_establish_link(struct dw_pcie *pci) in ls_pcie_establish_link()
58 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); in ls_pcie_ep_init() local
68 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); in ls_pcie_ep_raise_irq() local
92 struct dw_pcie *pci = pcie->pci; in ls_add_pcie_ep() local
120 struct dw_pcie *pci; in ls_pcie_ep_probe() local
Dpci-keystone.c118 struct dw_pcie *pci; member
155 struct dw_pcie *pci; in ks_pcie_msi_irq_ack() local
174 struct dw_pcie *pci; in ks_pcie_compose_msi_msg() local
200 struct dw_pcie *pci; in ks_pcie_msi_mask() local
224 struct dw_pcie *pci; in ks_pcie_msi_unmask() local
261 struct dw_pcie *pci = ks_pcie->pci; in ks_pcie_handle_legacy_irq() local
401 struct dw_pcie *pci = ks_pcie->pci; in ks_pcie_setup_rc_app_regs() local
437 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in ks_pcie_rd_other_conf() local
454 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in ks_pcie_wr_other_conf() local
474 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in ks_pcie_v3_65_scan_bus() local
[all …]
Dpcie-uniphier.c62 struct dw_pcie pci; member
128 static int uniphier_pcie_link_up(struct dw_pcie *pci) in uniphier_pcie_link_up()
139 static int uniphier_pcie_establish_link(struct dw_pcie *pci) in uniphier_pcie_establish_link()
151 static void uniphier_pcie_stop_link(struct dw_pcie *pci) in uniphier_pcie_stop_link()
173 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in uniphier_pcie_irq_ack() local
186 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in uniphier_pcie_irq_mask() local
199 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in uniphier_pcie_irq_unmask() local
233 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in uniphier_pcie_irq_handler() local
269 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in uniphier_pcie_config_legacy_irq() local
306 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in uniphier_pcie_host_init() local
[all …]
Dpci-dra7xx.c90 struct dw_pcie *pci; member
117 static u64 dra7xx_pcie_cpu_addr_fixup(struct dw_pcie *pci, u64 pci_addr) in dra7xx_pcie_cpu_addr_fixup()
122 static int dra7xx_pcie_link_up(struct dw_pcie *pci) in dra7xx_pcie_link_up()
130 static void dra7xx_pcie_stop_link(struct dw_pcie *pci) in dra7xx_pcie_stop_link()
140 static int dra7xx_pcie_establish_link(struct dw_pcie *pci) in dra7xx_pcie_establish_link()
205 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in dra7xx_pcie_host_init() local
238 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in dra7xx_pcie_init_irq_domain() local
263 struct dw_pcie *pci = dra7xx->pci; in dra7xx_pcie_msi_irq_handler() local
294 struct dw_pcie *pci = dra7xx->pci; in dra7xx_pcie_irq_handler() local
352 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); in dra7xx_pcie_ep_init() local
[all …]
Dpcie-armada8k.c31 struct dw_pcie *pci; member
113 struct dw_pcie *pci = pcie->pci; in armada8k_pcie_setup_phys() local
143 static int armada8k_pcie_link_up(struct dw_pcie *pci) in armada8k_pcie_link_up()
159 struct dw_pcie *pci = pcie->pci; in armada8k_pcie_establish_link() local
210 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in armada8k_pcie_host_init() local
222 struct dw_pcie *pci = pcie->pci; in armada8k_pcie_irq_handler() local
243 struct dw_pcie *pci = pcie->pci; in armada8k_add_pcie_port() local
278 struct dw_pcie *pci; in armada8k_pcie_probe() local
Dpcie-qcom.c173 struct dw_pcie *pci; member
200 struct dw_pcie *pci = pcie->pci; in qcom_pcie_establish_link() local
225 struct dw_pcie *pci = pcie->pci; in qcom_pcie_get_resources_2_1_0() local
287 struct dw_pcie *pci = pcie->pci; in qcom_pcie_init_2_1_0() local
389 struct dw_pcie *pci = pcie->pci; in qcom_pcie_get_resources_1_0_0() local
431 struct dw_pcie *pci = pcie->pci; in qcom_pcie_init_1_0_0() local
509 struct dw_pcie *pci = pcie->pci; in qcom_pcie_get_resources_2_3_2() local
562 struct dw_pcie *pci = pcie->pci; in qcom_pcie_init_2_3_2() local
636 struct dw_pcie *pci = pcie->pci; in qcom_pcie_post_init_2_3_2() local
652 struct dw_pcie *pci = pcie->pci; in qcom_pcie_get_resources_2_4_0() local
[all …]
Dpcie-spear13xx.c25 struct dw_pcie *pci; member
74 struct dw_pcie *pci = spear13xx_pcie->pci; in spear13xx_pcie_establish_link() local
136 struct dw_pcie *pci = spear13xx_pcie->pci; in spear13xx_pcie_irq_handler() local
154 struct dw_pcie *pci = spear13xx_pcie->pci; in spear13xx_pcie_enable_interrupts() local
166 static int spear13xx_pcie_link_up(struct dw_pcie *pci) in spear13xx_pcie_link_up()
179 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in spear13xx_pcie_host_init() local
195 struct dw_pcie *pci = spear13xx_pcie->pci; in spear13xx_add_pcie_port() local
231 struct dw_pcie *pci; in spear13xx_pcie_probe() local
/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
Dbase.c32 nvkm_pci_rd32(struct nvkm_pci *pci, u16 addr) in nvkm_pci_rd32()
38 nvkm_pci_wr08(struct nvkm_pci *pci, u16 addr, u8 data) in nvkm_pci_wr08()
44 nvkm_pci_wr32(struct nvkm_pci *pci, u16 addr, u32 data) in nvkm_pci_wr32()
50 nvkm_pci_mask(struct nvkm_pci *pci, u16 addr, u32 mask, u32 value) in nvkm_pci_mask()
58 nvkm_pci_rom_shadow(struct nvkm_pci *pci, bool shadow) in nvkm_pci_rom_shadow()
71 struct nvkm_pci *pci = arg; in nvkm_pci_intr() local
89 struct nvkm_pci *pci = nvkm_pci(subdev); in nvkm_pci_fini() local
100 struct nvkm_pci *pci = nvkm_pci(subdev); in nvkm_pci_preinit() local
109 struct nvkm_pci *pci = nvkm_pci(subdev); in nvkm_pci_oneinit() local
130 struct nvkm_pci *pci = nvkm_pci(subdev); in nvkm_pci_init() local
[all …]
Dg84.c29 g84_pcie_version_supported(struct nvkm_pci *pci) in g84_pcie_version_supported()
36 g84_pcie_version(struct nvkm_pci *pci) in g84_pcie_version()
43 g84_pcie_set_version(struct nvkm_pci *pci, u8 ver) in g84_pcie_set_version()
50 g84_pcie_set_cap_speed(struct nvkm_pci *pci, bool full_speed) in g84_pcie_set_cap_speed()
57 g84_pcie_cur_speed(struct nvkm_pci *pci) in g84_pcie_cur_speed()
72 g84_pcie_max_speed(struct nvkm_pci *pci) in g84_pcie_max_speed()
81 g84_pcie_set_link_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in g84_pcie_set_link_speed()
95 g84_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) in g84_pcie_set_link()
103 g84_pci_init(struct nvkm_pci *pci) in g84_pci_init()
126 g84_pcie_init(struct nvkm_pci *pci) in g84_pcie_init()
Dgk104.c27 gk104_pcie_version_supported(struct nvkm_pci *pci) in gk104_pcie_version_supported()
33 gk104_pcie_set_cap_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in gk104_pcie_set_cap_speed()
54 gk104_pcie_cap_speed(struct nvkm_pci *pci) in gk104_pcie_cap_speed()
78 gk104_pcie_set_lnkctl_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in gk104_pcie_set_lnkctl_speed()
96 gk104_pcie_lnkctl_speed(struct nvkm_pci *pci) in gk104_pcie_lnkctl_speed()
112 gk104_pcie_max_speed(struct nvkm_pci *pci) in gk104_pcie_max_speed()
127 gk104_pcie_set_link_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in gk104_pcie_set_link_speed()
150 gk104_pcie_init(struct nvkm_pci * pci) in gk104_pcie_init()
182 gk104_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) in gk104_pcie_set_link()
Dgf100.c27 gf100_pci_msi_rearm(struct nvkm_pci *pci) in gf100_pci_msi_rearm()
33 gf100_pcie_set_version(struct nvkm_pci *pci, u8 ver) in gf100_pcie_set_version()
40 gf100_pcie_version(struct nvkm_pci *pci) in gf100_pcie_version()
47 gf100_pcie_set_cap_speed(struct nvkm_pci *pci, bool full_speed) in gf100_pcie_set_cap_speed()
54 gf100_pcie_cap_speed(struct nvkm_pci *pci) in gf100_pcie_cap_speed()
64 gf100_pcie_init(struct nvkm_pci *pci) in gf100_pcie_init()
72 gf100_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) in gf100_pcie_set_link()
Dpcie.c51 nvkm_pcie_get_version(struct nvkm_pci *pci) in nvkm_pcie_get_version()
60 nvkm_pcie_get_max_version(struct nvkm_pci *pci) in nvkm_pcie_get_max_version()
69 nvkm_pcie_set_version(struct nvkm_pci *pci, int version) in nvkm_pcie_set_version()
80 nvkm_pcie_oneinit(struct nvkm_pci *pci) in nvkm_pcie_oneinit()
89 nvkm_pcie_init(struct nvkm_pci *pci) in nvkm_pcie_init()
115 nvkm_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) in nvkm_pcie_set_link()
Dagp.h14 static inline void nvkm_agp_ctor(struct nvkm_pci *pci) {} in nvkm_agp_ctor()
15 static inline void nvkm_agp_dtor(struct nvkm_pci *pci) {} in nvkm_agp_dtor()
16 static inline void nvkm_agp_preinit(struct nvkm_pci *pci) {} in nvkm_agp_preinit()
17 static inline int nvkm_agp_init(struct nvkm_pci *pci) { return -ENOSYS; } in nvkm_agp_init()
18 static inline void nvkm_agp_fini(struct nvkm_pci *pci) {} in nvkm_agp_fini()
Dagp.c44 nvkm_agp_fini(struct nvkm_pci *pci) in nvkm_agp_fini()
56 nvkm_agp_preinit(struct nvkm_pci *pci) in nvkm_agp_preinit()
85 nvkm_agp_init(struct nvkm_pci *pci) in nvkm_agp_init()
98 nvkm_agp_dtor(struct nvkm_pci *pci) in nvkm_agp_dtor()
104 nvkm_agp_ctor(struct nvkm_pci *pci) in nvkm_agp_ctor()
Dnv40.c27 nv40_pci_rd32(struct nvkm_pci *pci, u16 addr) in nv40_pci_rd32()
34 nv40_pci_wr08(struct nvkm_pci *pci, u16 addr, u8 data) in nv40_pci_wr08()
41 nv40_pci_wr32(struct nvkm_pci *pci, u16 addr, u32 data) in nv40_pci_wr32()
48 nv40_pci_msi_rearm(struct nvkm_pci *pci) in nv40_pci_msi_rearm()
/drivers/edac/
Dedac_pci.c34 struct edac_pci_ctl_info *pci; in edac_pci_alloc_ctl_info() local
61 void edac_pci_free_ctl_info(struct edac_pci_ctl_info *pci) in edac_pci_free_ctl_info()
77 struct edac_pci_ctl_info *pci; in find_edac_pci_by_dev() local
100 static int add_edac_pci_to_global_list(struct edac_pci_ctl_info *pci) in add_edac_pci_to_global_list()
150 static void del_edac_pci_from_global_list(struct edac_pci_ctl_info *pci) in del_edac_pci_from_global_list()
170 struct edac_pci_ctl_info *pci = to_edac_pci_ctl_work(d_work); in edac_pci_workq_function() local
204 int edac_pci_add_device(struct edac_pci_ctl_info *pci, int edac_idx) in edac_pci_add_device()
251 struct edac_pci_ctl_info *pci; in edac_pci_del_device() local
288 static void edac_pci_generic_check(struct edac_pci_ctl_info *pci) in edac_pci_generic_check()
305 struct edac_pci_ctl_info *pci; in edac_pci_create_generic_ctl() local
[all …]
Dedac_pci_sysfs.c59 static ssize_t instance_pe_count_show(struct edac_pci_ctl_info *pci, char *data) in instance_pe_count_show()
64 static ssize_t instance_npe_count_show(struct edac_pci_ctl_info *pci, in instance_npe_count_show()
76 struct edac_pci_ctl_info *pci; in edac_pci_instance_release() local
100 struct edac_pci_ctl_info *pci = to_instance(kobj); in edac_pci_instance_show() local
113 struct edac_pci_ctl_info *pci = to_instance(kobj); in edac_pci_instance_store() local
156 static int edac_pci_create_instance_kobj(struct edac_pci_ctl_info *pci, int idx) in edac_pci_create_instance_kobj()
198 struct edac_pci_ctl_info *pci) in edac_pci_unregister_sysfs_instance_kobj()
421 int edac_pci_create_sysfs(struct edac_pci_ctl_info *pci) in edac_pci_create_sysfs()
456 void edac_pci_remove_sysfs(struct edac_pci_ctl_info *pci) in edac_pci_remove_sysfs()
685 void edac_pci_handle_pe(struct edac_pci_ctl_info *pci, const char *msg) in edac_pci_handle_pe()
[all …]
/drivers/pinctrl/
Dpinctrl-rk805.c138 struct rk805_pctrl_info *pci = gpiochip_get_data(chip); in rk805_gpio_get() local
154 struct rk805_pctrl_info *pci = gpiochip_get_data(chip); in rk805_gpio_set() local
181 struct rk805_pctrl_info *pci = gpiochip_get_data(chip); in rk805_gpio_get_direction() local
217 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_groups_count() local
225 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_group_name() local
235 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_group_pins() local
253 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_funcs_count() local
261 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_func_name() local
271 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_func_groups() local
283 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in _rk805_pinctrl_set_mux() local
[all …]

12345