Home
last modified time | relevance | path

Searched refs:pci (Results 1 – 25 of 1644) sorted by relevance

12345678910>>...66

/linux/drivers/pci/controller/dwc/
H A Dpcie-designware.c55 static int dw_pcie_get_clocks(struct dw_pcie *pci) in dw_pcie_get_clocks() argument
60 pci->app_clks[i].id = dw_pcie_app_clks[i]; in dw_pcie_get_clocks()
63 pci->core_clks[i].id = dw_pcie_core_clks[i]; in dw_pcie_get_clocks()
65 ret = devm_clk_bulk_get_optional(pci->dev, DW_PCIE_NUM_APP_CLKS, in dw_pcie_get_clocks()
66 pci->app_clks); in dw_pcie_get_clocks()
70 return devm_clk_bulk_get_optional(pci->dev, DW_PCIE_NUM_CORE_CLKS, in dw_pcie_get_clocks()
71 pci->core_clks); in dw_pcie_get_clocks()
74 static int dw_pcie_get_resets(struct dw_pcie *pci) in dw_pcie_get_resets() argument
79 pci->app_rsts[i].id = dw_pcie_app_rsts[i]; in dw_pcie_get_resets()
82 pci->core_rsts[i].id = dw_pcie_core_rsts[i]; in dw_pcie_get_resets()
[all …]
H A Dpci-layerscape-ep.c44 struct dw_pcie *pci; member
54 struct dw_pcie *pci = pcie->pci; in ls_pcie_pf_lut_readl() local
57 return ioread32be(pci->dbi_base + offset); in ls_pcie_pf_lut_readl()
59 return ioread32(pci->dbi_base + offset); in ls_pcie_pf_lut_readl()
64 struct dw_pcie *pci = pcie->pci; in ls_pcie_pf_lut_writel() local
67 iowrite32be(value, pci->dbi_base + offset); in ls_pcie_pf_lut_writel()
69 iowrite32(value, pci->dbi_base + offset); in ls_pcie_pf_lut_writel()
75 struct dw_pcie *pci = pcie->pci; in ls_pcie_ep_event_handler() local
87 offset = dw_pcie_find_capability(pci, PCI_CAP_ID_EXP); in ls_pcie_ep_event_handler()
95 dw_pcie_dbi_ro_wr_en(pci); in ls_pcie_ep_event_handler()
[all …]
H A Dpci-layerscape.c64 struct dw_pcie *pci; member
77 struct dw_pcie *pci = pcie->pci; in ls_pcie_is_bridge() local
80 header_type = ioread8(pci->dbi_base + PCI_HEADER_TYPE); in ls_pcie_is_bridge()
89 struct dw_pcie *pci = pcie->pci; in ls_pcie_clear_multifunction() local
91 iowrite8(PCI_HEADER_TYPE_BRIDGE, pci->dbi_base + PCI_HEADER_TYPE); in ls_pcie_clear_multifunction()
98 struct dw_pcie *pci = pcie->pci; in ls_pcie_drop_msg_tlp() local
100 val = ioread32(pci->dbi_base + PCIE_STRFMR1); in ls_pcie_drop_msg_tlp()
102 iowrite32(val, pci->dbi_base + PCIE_STRFMR1); in ls_pcie_drop_msg_tlp()
108 struct dw_pcie *pci = pcie->pci; in ls_pcie_fix_error_response() local
110 iowrite32(PCIE_ABSERR_SETTING, pci->dbi_base + PCIE_ABSERR); in ls_pcie_fix_error_response()
[all …]
H A Dpcie-armada8k.c30 struct dw_pcie *pci; member
112 struct dw_pcie *pci = pcie->pci; in armada8k_pcie_setup_phys() local
113 struct device *dev = pci->dev; in armada8k_pcie_setup_phys()
142 static int armada8k_pcie_link_up(struct dw_pcie *pci) in armada8k_pcie_link_up() argument
147 reg = dw_pcie_readl_dbi(pci, PCIE_GLOBAL_STATUS_REG); in armada8k_pcie_link_up()
152 dev_dbg(pci->dev, "No link detected (Global-Status: 0x%08x).\n", reg); in armada8k_pcie_link_up()
156 static int armada8k_pcie_start_link(struct dw_pcie *pci) in armada8k_pcie_start_link() argument
161 reg = dw_pcie_readl_dbi(pci, PCIE_GLOBAL_CONTROL_REG); in armada8k_pcie_start_link()
163 dw_pcie_writel_dbi(pci, PCIE_GLOBAL_CONTROL_REG, reg); in armada8k_pcie_start_link()
171 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in armada8k_pcie_host_init() local
[all …]
H A Dpcie-spear13xx.c25 struct dw_pcie *pci; member
69 static int spear13xx_pcie_start_link(struct dw_pcie *pci) in spear13xx_pcie_start_link() argument
71 struct spear13xx_pcie *spear13xx_pcie = to_spear13xx_pcie(pci); in spear13xx_pcie_start_link()
87 struct dw_pcie *pci = spear13xx_pcie->pci; in spear13xx_pcie_irq_handler() local
88 struct dw_pcie_rp *pp = &pci->pp; in spear13xx_pcie_irq_handler()
113 static int spear13xx_pcie_link_up(struct dw_pcie *pci) in spear13xx_pcie_link_up() argument
115 struct spear13xx_pcie *spear13xx_pcie = to_spear13xx_pcie(pci); in spear13xx_pcie_link_up()
126 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in spear13xx_pcie_host_init() local
127 struct spear13xx_pcie *spear13xx_pcie = to_spear13xx_pcie(pci); in spear13xx_pcie_host_init()
128 u32 exp_cap_off = dw_pcie_find_capability(pci, PCI_CAP_ID_EXP); in spear13xx_pcie_host_init()
[all …]
H A Dpcie-designware.h473 int dw_pcie_get_resources(struct dw_pcie *pci);
475 void dw_pcie_version_detect(struct dw_pcie *pci);
477 u8 dw_pcie_find_capability(struct dw_pcie *pci, u8 cap);
478 u16 dw_pcie_find_ext_capability(struct dw_pcie *pci, u8 cap);
483 u32 dw_pcie_read_dbi(struct dw_pcie *pci, u32 reg, size_t size);
484 void dw_pcie_write_dbi(struct dw_pcie *pci, u32 reg, size_t size, u32 val);
485 void dw_pcie_write_dbi2(struct dw_pcie *pci, u32 reg, size_t size, u32 val);
486 int dw_pcie_link_up(struct dw_pcie *pci);
487 void dw_pcie_upconfig_setup(struct dw_pcie *pci);
488 int dw_pcie_wait_for_link(struct dw_pcie *pci);
[all …]
H A Dpcie-artpec6.c33 struct dw_pcie *pci; member
97 static u64 artpec6_pcie_cpu_addr_fixup(struct dw_pcie *pci, u64 cpu_addr) in artpec6_pcie_cpu_addr_fixup() argument
99 struct artpec6_pcie *artpec6_pcie = to_artpec6_pcie(pci); in artpec6_pcie_cpu_addr_fixup()
100 struct dw_pcie_rp *pp = &pci->pp; in artpec6_pcie_cpu_addr_fixup()
101 struct dw_pcie_ep *ep = &pci->ep; in artpec6_pcie_cpu_addr_fixup()
109 dev_err(pci->dev, "UNKNOWN device type\n"); in artpec6_pcie_cpu_addr_fixup()
114 static int artpec6_pcie_establish_link(struct dw_pcie *pci) in artpec6_pcie_establish_link() argument
116 struct artpec6_pcie *artpec6_pcie = to_artpec6_pcie(pci); in artpec6_pcie_establish_link()
126 static void artpec6_pcie_stop_link(struct dw_pcie *pci) in artpec6_pcie_stop_link() argument
128 struct artpec6_pcie *artpec6_pcie = to_artpec6_pcie(pci); in artpec6_pcie_stop_link()
[all …]
/linux/drivers/staging/media/atomisp/
H A DMakefile7 obj-$(CONFIG_VIDEO_ATOMISP) += pci/atomisp_gmin_platform.o
16 pci/atomisp_cmd.o \
17 pci/atomisp_compat_css20.o \
18 pci/atomisp_csi2.o \
19 pci/atomisp_csi2_bridge.o \
20 pci/atomisp_drvfs.o \
21 pci/atomisp_fops.o \
22 pci/atomisp_ioctl.o \
23 pci/atomisp_subdev.o \
24 pci/atomisp_v4l2.o \
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
H A Dbase.c33 struct nvkm_pci *pci = device->pci; in nvkm_pci_msi_rearm() local
35 if (pci && pci->msi) in nvkm_pci_msi_rearm()
36 pci->func->msi_rearm(pci); in nvkm_pci_msi_rearm()
40 nvkm_pci_rd32(struct nvkm_pci *pci, u16 addr) in nvkm_pci_rd32() argument
42 return pci->func->rd32(pci, addr); in nvkm_pci_rd32()
46 nvkm_pci_wr08(struct nvkm_pci *pci, u16 addr, u8 data) in nvkm_pci_wr08() argument
48 pci->func->wr08(pci, addr, data); in nvkm_pci_wr08()
52 nvkm_pci_wr32(struct nvkm_pci *pci, u16 addr, u32 data) in nvkm_pci_wr32() argument
54 pci->func->wr32(pci, addr, data); in nvkm_pci_wr32()
58 nvkm_pci_mask(struct nvkm_pci *pci, u16 addr, u32 mask, u32 value) in nvkm_pci_mask() argument
[all …]
H A Dpcie.c51 nvkm_pcie_get_version(struct nvkm_pci *pci) in nvkm_pcie_get_version() argument
53 if (!pci->func->pcie.version) in nvkm_pcie_get_version()
56 return pci->func->pcie.version(pci); in nvkm_pcie_get_version()
60 nvkm_pcie_get_max_version(struct nvkm_pci *pci) in nvkm_pcie_get_max_version() argument
62 if (!pci->func->pcie.version_supported) in nvkm_pcie_get_max_version()
65 return pci->func->pcie.version_supported(pci); in nvkm_pcie_get_max_version()
69 nvkm_pcie_set_version(struct nvkm_pci *pci, int version) in nvkm_pcie_set_version() argument
71 if (!pci->func->pcie.set_version) in nvkm_pcie_set_version()
74 nvkm_trace(&pci->subdev, "set to version %i\n", version); in nvkm_pcie_set_version()
75 pci->func->pcie.set_version(pci, version); in nvkm_pcie_set_version()
[all …]
H A Dagp.c44 nvkm_agp_fini(struct nvkm_pci *pci) in nvkm_agp_fini() argument
46 if (pci->agp.acquired) { in nvkm_agp_fini()
47 agp_backend_release(pci->agp.bridge); in nvkm_agp_fini()
48 pci->agp.acquired = false; in nvkm_agp_fini()
56 nvkm_agp_preinit(struct nvkm_pci *pci) in nvkm_agp_preinit() argument
58 struct nvkm_device *device = pci->subdev.device; in nvkm_agp_preinit()
59 u32 mode = nvkm_pci_rd32(pci, 0x004c); in nvkm_agp_preinit()
66 if ((mode | pci->agp.mode) & PCI_AGP_COMMAND_FW) { in nvkm_agp_preinit()
67 mode = pci->agp.mode & ~PCI_AGP_COMMAND_FW; in nvkm_agp_preinit()
68 agp_enable(pci->agp.bridge, mode); in nvkm_agp_preinit()
[all …]
H A Dgk104.c27 gk104_pcie_version_supported(struct nvkm_pci *pci) in gk104_pcie_version_supported() argument
29 return (nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x4) == 0x4 ? 2 : 1; 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() argument
35 struct nvkm_device *device = pci->subdev.device; in gk104_pcie_set_cap_speed()
39 gf100_pcie_set_cap_speed(pci, false); in gk104_pcie_set_cap_speed()
43 gf100_pcie_set_cap_speed(pci, true); in gk104_pcie_set_cap_speed()
47 gf100_pcie_set_cap_speed(pci, true); in gk104_pcie_set_cap_speed()
54 gk104_pcie_cap_speed(struct nvkm_pci *pci) in gk104_pcie_cap_speed() argument
56 int speed = gf100_pcie_cap_speed(pci); in gk104_pcie_cap_speed()
62 int speed2 = nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x30000; in gk104_pcie_cap_speed()
[all …]
H A Dg84.c29 g84_pcie_version_supported(struct nvkm_pci *pci) in g84_pcie_version_supported() argument
36 g84_pcie_version(struct nvkm_pci *pci) in g84_pcie_version() argument
38 struct nvkm_device *device = pci->subdev.device; in g84_pcie_version()
43 g84_pcie_set_version(struct nvkm_pci *pci, u8 ver) in g84_pcie_set_version() argument
45 struct nvkm_device *device = pci->subdev.device; in g84_pcie_set_version()
50 g84_pcie_set_cap_speed(struct nvkm_pci *pci, bool full_speed) in g84_pcie_set_cap_speed() argument
52 struct nvkm_device *device = pci->subdev.device; in g84_pcie_set_cap_speed()
57 g84_pcie_cur_speed(struct nvkm_pci *pci) in g84_pcie_cur_speed() argument
59 u32 reg_v = nvkm_pci_rd32(pci, 0x88) & 0x30000; in g84_pcie_cur_speed()
72 g84_pcie_max_speed(struct nvkm_pci *pci) in g84_pcie_max_speed() argument
[all …]
/linux/drivers/edac/
H A Dedac_pci.c31 struct edac_pci_ctl_info *pci; in edac_pci_alloc_ctl_info() local
35 pci = kzalloc(sizeof(struct edac_pci_ctl_info), GFP_KERNEL); in edac_pci_alloc_ctl_info()
36 if (!pci) in edac_pci_alloc_ctl_info()
40 pci->pvt_info = kzalloc(sz_pvt, GFP_KERNEL); in edac_pci_alloc_ctl_info()
41 if (!pci->pvt_info) in edac_pci_alloc_ctl_info()
45 pci->op_state = OP_ALLOC; in edac_pci_alloc_ctl_info()
47 snprintf(pci->name, strlen(edac_pci_name) + 1, "%s", edac_pci_name); in edac_pci_alloc_ctl_info()
49 return pci; in edac_pci_alloc_ctl_info()
52 kfree(pci); in edac_pci_alloc_ctl_info()
57 void edac_pci_free_ctl_info(struct edac_pci_ctl_info *pci) in edac_pci_free_ctl_info() argument
[all …]
H A Docteon_edac-pci.c23 static void octeon_pci_poll(struct edac_pci_ctl_info *pci) in octeon_pci_poll() argument
29 edac_pci_handle_pe(pci, pci->ctl_name); in octeon_pci_poll()
34 edac_pci_handle_npe(pci, "Signaled System Error"); in octeon_pci_poll()
39 edac_pci_handle_npe(pci, "Received Master Abort"); in octeon_pci_poll()
44 edac_pci_handle_npe(pci, "Received Target Abort"); in octeon_pci_poll()
49 edac_pci_handle_npe(pci, "Signaled Target Abort"); in octeon_pci_poll()
54 edac_pci_handle_npe(pci, "Master Data Parity Error"); in octeon_pci_poll()
62 struct edac_pci_ctl_info *pci; in octeon_pci_probe() local
65 pci = edac_pci_alloc_ctl_info(0, "octeon_pci_err"); in octeon_pci_probe()
66 if (!pci) in octeon_pci_probe()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dpci_hw.h74 MLXSW_ITEM32(pci, wqe, c, 0x00, 31, 1);
86 MLXSW_ITEM32(pci, wqe, lp, 0x00, 30, 1);
91 MLXSW_ITEM32(pci, wqe, type, 0x00, 23, 4);
96 MLXSW_ITEM16_INDEXED(pci, wqe, byte_count, 0x02, 0, 14, 0x02, 0x00, false);
102 MLXSW_ITEM64_INDEXED(pci, wqe, address, 0x08, 0, 64, 0x8, 0x0, false);
143 MLXSW_ITEM32(pci, cqe0, lag, 0x00, 23, 1);
144 MLXSW_ITEM32(pci, cqe12, lag, 0x00, 24, 1);
153 MLXSW_ITEM32(pci, cqe, system_port, 0x00, 0, 16);
154 MLXSW_ITEM32(pci, cqe0, lag_id, 0x00, 4, 12);
155 MLXSW_ITEM32(pci, cqe12, lag_id, 0x00, 0, 16);
[all …]
/linux/sound/soc/intel/atom/sst/
H A Dsst_pci.c27 struct pci_dev *pci = ctx->pci; in sst_platform_get_resources() local
29 ret = pci_request_regions(pci, SST_DRV_NAME); in sst_platform_get_resources()
36 ctx->ddr_base = pci_resource_start(pci, 0); in sst_platform_get_resources()
50 ctx->ddr_end = pci_resource_end(pci, 0); in sst_platform_get_resources()
52 ctx->ddr = pcim_iomap(pci, 0, in sst_platform_get_resources()
53 pci_resource_len(pci, 0)); in sst_platform_get_resources()
63 ctx->shim_phy_add = pci_resource_start(pci, 1); in sst_platform_get_resources()
64 ctx->shim = pcim_iomap(pci, 1, pci_resource_len(pci, 1)); in sst_platform_get_resources()
72 ctx->mailbox_add = pci_resource_start(pci, 2); in sst_platform_get_resources()
73 ctx->mailbox = pcim_iomap(pci, 2, pci_resource_len(pci, 2)); in sst_platform_get_resources()
[all …]
/linux/drivers/media/pci/
H A DKconfig16 source "drivers/media/pci/mgb4/Kconfig"
17 source "drivers/media/pci/solo6x10/Kconfig"
18 source "drivers/media/pci/sta2x11/Kconfig"
19 source "drivers/media/pci/tw5864/Kconfig"
20 source "drivers/media/pci/tw68/Kconfig"
21 source "drivers/media/pci/tw686x/Kconfig"
22 source "drivers/media/pci/zoran/Kconfig"
29 source "drivers/media/pci/dt3155/Kconfig"
30 source "drivers/media/pci/ivtv/Kconfig"
31 source "drivers/media/pci/saa7146/Kconfig"
[all …]
/linux/arch/mips/pci/
H A DMakefile6 obj-y += pci.o
7 obj-$(CONFIG_PCI_DRIVERS_LEGACY)+= pci-legacy.o
8 obj-$(CONFIG_PCI_DRIVERS_GENERIC)+= pci-generic.o
17 obj-$(CONFIG_BCM47XX) += pci-bcm47xx.o
18 obj-$(CONFIG_BCM63XX) += pci-bcm63xx.o fixup-bcm63xx.o \
20 obj-$(CONFIG_MIPS_ALCHEMY) += pci-alchemy.o
21 obj-$(CONFIG_PCI_AR2315) += pci-ar2315.o
22 obj-$(CONFIG_SOC_AR71XX) += pci-ar71xx.o
23 obj-$(CONFIG_PCI_AR724X) += pci-ar724x.o
24 obj-$(CONFIG_PCI_XTALK_BRIDGE) += pci-xtalk-bridge.o
[all …]
/linux/sound/soc/amd/acp/
H A Dacp-pci.c47 static int acp_pci_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) in acp_pci_probe() argument
50 struct device *dev = &pci->dev; in acp_pci_probe()
57 flag = snd_amd_acp_find_config(pci); in acp_pci_probe()
61 chip = devm_kzalloc(&pci->dev, sizeof(*chip), GFP_KERNEL); in acp_pci_probe()
65 if (pci_enable_device(pci)) in acp_pci_probe()
66 return dev_err_probe(&pci->dev, -ENODEV, in acp_pci_probe()
69 ret = pci_request_regions(pci, "AMD ACP3x audio"); in acp_pci_probe()
71 dev_err(&pci->dev, "pci_request_regions failed\n"); in acp_pci_probe()
76 pci_set_master(pci); in acp_pci_probe()
80 chip->acp_rev = pci->revision; in acp_pci_probe()
[all …]
/linux/sound/soc/amd/renoir/
H A Drn-pci-acp3x.c205 static int snd_rn_acp_probe(struct pci_dev *pci, in snd_rn_acp_probe() argument
220 flag = snd_amd_acp_find_config(pci); in snd_rn_acp_probe()
225 if (pci->revision != 0x01) in snd_rn_acp_probe()
228 if (pci_enable_device(pci)) { in snd_rn_acp_probe()
229 dev_err(&pci->dev, "pci_enable_device failed\n"); in snd_rn_acp_probe()
233 ret = pci_request_regions(pci, "AMD ACP3x audio"); in snd_rn_acp_probe()
235 dev_err(&pci->dev, "pci_request_regions failed\n"); in snd_rn_acp_probe()
239 adata = devm_kzalloc(&pci->dev, sizeof(struct acp_dev_data), in snd_rn_acp_probe()
247 ret = pci_enable_msi(pci); in snd_rn_acp_probe()
255 addr = pci_resource_start(pci, 0); in snd_rn_acp_probe()
[all …]
/linux/sound/soc/amd/rpl/
H A Drpl-pci-acp6x.c103 static int snd_rpl_probe(struct pci_dev *pci, in snd_rpl_probe() argument
111 switch (pci->revision) { in snd_rpl_probe()
115 dev_dbg(&pci->dev, "acp6x pci device not found\n"); in snd_rpl_probe()
118 if (pci_enable_device(pci)) { in snd_rpl_probe()
119 dev_err(&pci->dev, "pci_enable_device failed\n"); in snd_rpl_probe()
123 ret = pci_request_regions(pci, "AMD ACP6x audio"); in snd_rpl_probe()
125 dev_err(&pci->dev, "pci_request_regions failed\n"); in snd_rpl_probe()
129 adata = devm_kzalloc(&pci->dev, sizeof(struct rpl_dev_data), in snd_rpl_probe()
136 addr = pci_resource_start(pci, 0); in snd_rpl_probe()
137 adata->acp6x_base = devm_ioremap(&pci->dev, addr, in snd_rpl_probe()
[all …]
/linux/sound/soc/sof/intel/
H A DMakefile29 snd-sof-pci-intel-tng-y := pci-tng.o
30 snd-sof-pci-intel-skl-y := pci-skl.o skl.o hda-loader-skl.o
31 snd-sof-pci-intel-apl-y := pci-apl.o apl.o
32 snd-sof-pci-intel-cnl-y := pci-cnl.o cnl.o
33 snd-sof-pci-intel-icl-y := pci-icl.o icl.o
34 snd-sof-pci-intel-tgl-y := pci-tgl.o tgl.o
35 snd-sof-pci-intel-mtl-y := pci-mtl.o mtl.o
36 snd-sof-pci-intel-lnl-y := pci-lnl.o lnl.o
37 snd-sof-pci-intel-ptl-y := pci-ptl.o
39 obj-$(CONFIG_SND_SOC_SOF_MERRIFIELD) += snd-sof-pci-intel-tng.o
[all …]
/linux/sound/soc/amd/yc/
H A Dpci-acp6x.c144 static int snd_acp6x_probe(struct pci_dev *pci, in snd_acp6x_probe() argument
158 flag = snd_amd_acp_find_config(pci); in snd_acp6x_probe()
163 switch (pci->revision) { in snd_acp6x_probe()
168 dev_dbg(&pci->dev, "acp6x pci device not found\n"); in snd_acp6x_probe()
171 if (pci_enable_device(pci)) { in snd_acp6x_probe()
172 dev_err(&pci->dev, "pci_enable_device failed\n"); in snd_acp6x_probe()
176 ret = pci_request_regions(pci, "AMD ACP3x audio"); in snd_acp6x_probe()
178 dev_err(&pci->dev, "pci_request_regions failed\n"); in snd_acp6x_probe()
182 adata = devm_kzalloc(&pci->dev, sizeof(struct acp6x_dev_data), in snd_acp6x_probe()
189 addr = pci_resource_start(pci, 0); in snd_acp6x_probe()
[all …]
/linux/sound/soc/amd/vangogh/
H A Dpci-acp5x.c124 static int snd_acp5x_probe(struct pci_dev *pci, in snd_acp5x_probe() argument
137 flag = snd_amd_acp_find_config(pci); in snd_acp5x_probe()
143 if (pci->revision != 0x50) in snd_acp5x_probe()
146 if (pci_enable_device(pci)) { in snd_acp5x_probe()
147 dev_err(&pci->dev, "pci_enable_device failed\n"); in snd_acp5x_probe()
151 ret = pci_request_regions(pci, "AMD ACP5x audio"); in snd_acp5x_probe()
153 dev_err(&pci->dev, "pci_request_regions failed\n"); in snd_acp5x_probe()
157 adata = devm_kzalloc(&pci->dev, sizeof(struct acp5x_dev_data), in snd_acp5x_probe()
163 addr = pci_resource_start(pci, 0); in snd_acp5x_probe()
164 adata->acp5x_base = devm_ioremap(&pci->dev, addr, in snd_acp5x_probe()
[all …]

12345678910>>...66