Home
last modified time | relevance | path

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

12345678910>>...70

/linux-6.1.9/drivers/staging/media/atomisp/
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_drvfs.o \
20 pci/atomisp_fops.o \
21 pci/atomisp_ioctl.o \
22 pci/atomisp_subdev.o \
23 pci/atomisp_tpg.o \
24 pci/atomisp_v4l2.o \
[all …]
/linux-6.1.9/drivers/pci/controller/dwc/
Dpcie-designware.c22 void dw_pcie_version_detect(struct dw_pcie *pci) in dw_pcie_version_detect() argument
27 ver = dw_pcie_readl_dbi(pci, PCIE_VERSION_NUMBER); in dw_pcie_version_detect()
31 if (pci->version && pci->version != ver) in dw_pcie_version_detect()
32 dev_warn(pci->dev, "Versions don't match (%08x != %08x)\n", in dw_pcie_version_detect()
33 pci->version, ver); in dw_pcie_version_detect()
35 pci->version = ver; in dw_pcie_version_detect()
37 ver = dw_pcie_readl_dbi(pci, PCIE_VERSION_TYPE); in dw_pcie_version_detect()
39 if (pci->type && pci->type != ver) in dw_pcie_version_detect()
40 dev_warn(pci->dev, "Types don't match (%08x != %08x)\n", in dw_pcie_version_detect()
41 pci->type, ver); in dw_pcie_version_detect()
[all …]
Dpci-layerscape.c34 struct dw_pcie *pci; member
41 struct dw_pcie *pci = pcie->pci; in ls_pcie_is_bridge() local
44 header_type = ioread8(pci->dbi_base + PCI_HEADER_TYPE); in ls_pcie_is_bridge()
53 struct dw_pcie *pci = pcie->pci; in ls_pcie_clear_multifunction() local
55 iowrite8(PCI_HEADER_TYPE_BRIDGE, pci->dbi_base + PCI_HEADER_TYPE); in ls_pcie_clear_multifunction()
62 struct dw_pcie *pci = pcie->pci; in ls_pcie_drop_msg_tlp() local
64 val = ioread32(pci->dbi_base + PCIE_STRFMR1); in ls_pcie_drop_msg_tlp()
66 iowrite32(val, pci->dbi_base + PCIE_STRFMR1); in ls_pcie_drop_msg_tlp()
72 struct dw_pcie *pci = pcie->pci; in ls_pcie_fix_error_response() local
74 iowrite32(PCIE_ABSERR_SETTING, pci->dbi_base + PCIE_ABSERR); in ls_pcie_fix_error_response()
[all …]
Dpcie-designware-ep.c57 static void __dw_pcie_ep_reset_bar(struct dw_pcie *pci, u8 func_no, in __dw_pcie_ep_reset_bar() argument
62 struct dw_pcie_ep *ep = &pci->ep; in __dw_pcie_ep_reset_bar()
67 dw_pcie_dbi_ro_wr_en(pci); in __dw_pcie_ep_reset_bar()
68 dw_pcie_writel_dbi2(pci, reg, 0x0); in __dw_pcie_ep_reset_bar()
69 dw_pcie_writel_dbi(pci, reg, 0x0); in __dw_pcie_ep_reset_bar()
71 dw_pcie_writel_dbi2(pci, reg + 4, 0x0); in __dw_pcie_ep_reset_bar()
72 dw_pcie_writel_dbi(pci, reg + 4, 0x0); in __dw_pcie_ep_reset_bar()
74 dw_pcie_dbi_ro_wr_dis(pci); in __dw_pcie_ep_reset_bar()
77 void dw_pcie_ep_reset_bar(struct dw_pcie *pci, enum pci_barno bar) in dw_pcie_ep_reset_bar() argument
81 funcs = pci->ep.epc->max_functions; in dw_pcie_ep_reset_bar()
[all …]
Dpcie-armada8k.c31 struct dw_pcie *pci; member
113 struct dw_pcie *pci = pcie->pci; in armada8k_pcie_setup_phys() local
114 struct device *dev = pci->dev; in armada8k_pcie_setup_phys()
143 static int armada8k_pcie_link_up(struct dw_pcie *pci) in armada8k_pcie_link_up() argument
148 reg = dw_pcie_readl_dbi(pci, PCIE_GLOBAL_STATUS_REG); in armada8k_pcie_link_up()
153 dev_dbg(pci->dev, "No link detected (Global-Status: 0x%08x).\n", reg); in armada8k_pcie_link_up()
157 static int armada8k_pcie_start_link(struct dw_pcie *pci) in armada8k_pcie_start_link() argument
162 reg = dw_pcie_readl_dbi(pci, PCIE_GLOBAL_CONTROL_REG); in armada8k_pcie_start_link()
164 dw_pcie_writel_dbi(pci, PCIE_GLOBAL_CONTROL_REG, reg); in armada8k_pcie_start_link()
172 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in armada8k_pcie_host_init() local
[all …]
Dpcie-designware-host.c62 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in dw_handle_msi_irq() local
67 status = dw_pcie_readl_dbi(pci, PCIE_MSI_INTR0_STATUS + in dw_handle_msi_irq()
104 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in dw_pci_setup_msi_msg() local
114 dev_dbg(pci->dev, "msi#%d address_hi %#x address_lo %#x\n", in dw_pci_setup_msi_msg()
127 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in dw_pci_bottom_mask() local
138 dw_pcie_writel_dbi(pci, PCIE_MSI_INTR0_MASK + res, pp->irq_mask[ctrl]); in dw_pci_bottom_mask()
146 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in dw_pci_bottom_unmask() local
157 dw_pcie_writel_dbi(pci, PCIE_MSI_INTR0_MASK + res, pp->irq_mask[ctrl]); in dw_pci_bottom_unmask()
165 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in dw_pci_bottom_ack() local
172 dw_pcie_writel_dbi(pci, PCIE_MSI_INTR0_STATUS + res, BIT(bit)); in dw_pci_bottom_ack()
[all …]
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 …]
Dpci-layerscape-ep.c30 struct dw_pcie *pci; member
38 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); in ls_pcie_ep_get_features() local
39 struct ls_pcie_ep *pcie = to_ls_pcie_ep(pci); in ls_pcie_ep_get_features()
46 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); in ls_pcie_ep_init() local
47 struct ls_pcie_ep *pcie = to_ls_pcie_ep(pci); in ls_pcie_ep_init()
56 dw_pcie_ep_reset_bar(pci, bar); in ls_pcie_ep_init()
65 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); in ls_pcie_ep_raise_irq() local
76 dev_err(pci->dev, "UNKNOWN IRQ type\n"); in ls_pcie_ep_raise_irq()
84 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); in ls_pcie_ep_func_conf_select() local
85 struct ls_pcie_ep *pcie = to_ls_pcie_ep(pci); in ls_pcie_ep_func_conf_select()
[all …]
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
Dbase.c32 nvkm_pci_rd32(struct nvkm_pci *pci, u16 addr) in nvkm_pci_rd32() argument
34 return pci->func->rd32(pci, addr); in nvkm_pci_rd32()
38 nvkm_pci_wr08(struct nvkm_pci *pci, u16 addr, u8 data) in nvkm_pci_wr08() argument
40 pci->func->wr08(pci, addr, data); in nvkm_pci_wr08()
44 nvkm_pci_wr32(struct nvkm_pci *pci, u16 addr, u32 data) in nvkm_pci_wr32() argument
46 pci->func->wr32(pci, addr, data); in nvkm_pci_wr32()
50 nvkm_pci_mask(struct nvkm_pci *pci, u16 addr, u32 mask, u32 value) in nvkm_pci_mask() argument
52 u32 data = pci->func->rd32(pci, addr); in nvkm_pci_mask()
53 pci->func->wr32(pci, addr, (data & ~mask) | value); in nvkm_pci_mask()
58 nvkm_pci_rom_shadow(struct nvkm_pci *pci, bool shadow) in nvkm_pci_rom_shadow() argument
[all …]
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 …]
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 …]
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 …]
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-6.1.9/drivers/edac/
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 …]
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-6.1.9/drivers/pinctrl/
Dpinctrl-rk805.c138 struct rk805_pctrl_info *pci = gpiochip_get_data(chip); in rk805_gpio_get() local
141 ret = regmap_read(pci->rk808->regmap, pci->pin_cfg[offset].reg, &val); in rk805_gpio_get()
143 dev_err(pci->dev, "get gpio%d value failed\n", offset); in rk805_gpio_get()
147 return !!(val & pci->pin_cfg[offset].val_msk); in rk805_gpio_get()
154 struct rk805_pctrl_info *pci = gpiochip_get_data(chip); in rk805_gpio_set() local
157 ret = regmap_update_bits(pci->rk808->regmap, in rk805_gpio_set()
158 pci->pin_cfg[offset].reg, in rk805_gpio_set()
159 pci->pin_cfg[offset].val_msk, in rk805_gpio_set()
160 value ? pci->pin_cfg[offset].val_msk : 0); in rk805_gpio_set()
162 dev_err(pci->dev, "set gpio%d value %d failed\n", in rk805_gpio_set()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
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-6.1.9/sound/soc/intel/atom/sst/
Dsst_pci.c28 struct pci_dev *pci = ctx->pci; in sst_platform_get_resources() local
30 ret = pci_request_regions(pci, SST_DRV_NAME); in sst_platform_get_resources()
37 ctx->ddr_base = pci_resource_start(pci, 0); in sst_platform_get_resources()
51 ctx->ddr_end = pci_resource_end(pci, 0); in sst_platform_get_resources()
53 ctx->ddr = pcim_iomap(pci, 0, in sst_platform_get_resources()
54 pci_resource_len(pci, 0)); in sst_platform_get_resources()
64 ctx->shim_phy_add = pci_resource_start(pci, 1); in sst_platform_get_resources()
65 ctx->shim = pcim_iomap(pci, 1, pci_resource_len(pci, 1)); in sst_platform_get_resources()
73 ctx->mailbox_add = pci_resource_start(pci, 2); in sst_platform_get_resources()
74 ctx->mailbox = pcim_iomap(pci, 2, pci_resource_len(pci, 2)); in sst_platform_get_resources()
[all …]
/linux-6.1.9/arch/mips/pci/
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-6.1.9/drivers/media/pci/
DKconfig16 source "drivers/media/pci/solo6x10/Kconfig"
17 source "drivers/media/pci/sta2x11/Kconfig"
18 source "drivers/media/pci/tw5864/Kconfig"
19 source "drivers/media/pci/tw68/Kconfig"
20 source "drivers/media/pci/tw686x/Kconfig"
21 source "drivers/media/pci/zoran/Kconfig"
28 source "drivers/media/pci/dt3155/Kconfig"
29 source "drivers/media/pci/ivtv/Kconfig"
36 source "drivers/media/pci/bt8xx/Kconfig"
37 source "drivers/media/pci/cobalt/Kconfig"
[all …]
/linux-6.1.9/sound/soc/amd/ps/
Dpci-ps.c142 static int snd_acp62_probe(struct pci_dev *pci, in snd_acp62_probe() argument
156 switch (pci->revision) { in snd_acp62_probe()
160 dev_dbg(&pci->dev, "acp62 pci device not found\n"); in snd_acp62_probe()
163 if (pci_enable_device(pci)) { in snd_acp62_probe()
164 dev_err(&pci->dev, "pci_enable_device failed\n"); in snd_acp62_probe()
168 ret = pci_request_regions(pci, "AMD ACP6.2 audio"); in snd_acp62_probe()
170 dev_err(&pci->dev, "pci_request_regions failed\n"); in snd_acp62_probe()
173 adata = devm_kzalloc(&pci->dev, sizeof(struct acp62_dev_data), in snd_acp62_probe()
180 addr = pci_resource_start(pci, 0); in snd_acp62_probe()
181 adata->acp62_base = devm_ioremap(&pci->dev, addr, in snd_acp62_probe()
[all …]
/linux-6.1.9/sound/soc/amd/rpl/
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-6.1.9/sound/soc/amd/renoir/
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-6.1.9/Documentation/driver-api/pci/
Dpci.rst4 .. kernel-doc:: drivers/pci/pci.c
7 .. kernel-doc:: drivers/pci/pci-driver.c
10 .. kernel-doc:: drivers/pci/remove.c
13 .. kernel-doc:: drivers/pci/search.c
16 .. kernel-doc:: drivers/pci/msi/msi.c
19 .. kernel-doc:: drivers/pci/bus.c
22 .. kernel-doc:: drivers/pci/access.c
25 .. kernel-doc:: drivers/pci/irq.c
28 .. kernel-doc:: drivers/pci/probe.c
31 .. kernel-doc:: drivers/pci/slot.c
[all …]
/linux-6.1.9/sound/soc/amd/yc/
Dpci-acp6x.c144 static int snd_acp6x_probe(struct pci_dev *pci, in snd_acp6x_probe() argument
157 switch (pci->revision) { in snd_acp6x_probe()
162 dev_dbg(&pci->dev, "acp6x pci device not found\n"); in snd_acp6x_probe()
165 if (pci_enable_device(pci)) { in snd_acp6x_probe()
166 dev_err(&pci->dev, "pci_enable_device failed\n"); in snd_acp6x_probe()
170 ret = pci_request_regions(pci, "AMD ACP3x audio"); in snd_acp6x_probe()
172 dev_err(&pci->dev, "pci_request_regions failed\n"); in snd_acp6x_probe()
176 adata = devm_kzalloc(&pci->dev, sizeof(struct acp6x_dev_data), in snd_acp6x_probe()
183 addr = pci_resource_start(pci, 0); in snd_acp6x_probe()
184 adata->acp6x_base = devm_ioremap(&pci->dev, addr, in snd_acp6x_probe()
[all …]

12345678910>>...70