Home
last modified time | relevance | path

Searched refs:pdev (Results 1 – 25 of 456) sorted by relevance

12345678910>>...19

/sound/soc/stm/
Dstm32_sai.c61 dev_err(&sai->pdev->dev, "failed to enable clock: %d\n", ret); in stm32_sai_pclk_enable()
73 ret = stm32_sai_pclk_enable(&sai->pdev->dev); in stm32_sai_sync_conf_client()
79 stm32_sai_pclk_disable(&sai->pdev->dev); in stm32_sai_sync_conf_client()
90 ret = stm32_sai_pclk_enable(&sai->pdev->dev); in stm32_sai_sync_conf_provider()
94 dev_dbg(&sai->pdev->dev, "Set %pOFn%s as synchro provider\n", in stm32_sai_sync_conf_provider()
95 sai->pdev->dev.of_node, in stm32_sai_sync_conf_provider()
100 dev_err(&sai->pdev->dev, "%pOFn%s already set as sync provider\n", in stm32_sai_sync_conf_provider()
101 sai->pdev->dev.of_node, in stm32_sai_sync_conf_provider()
103 stm32_sai_pclk_disable(&sai->pdev->dev); in stm32_sai_sync_conf_provider()
109 stm32_sai_pclk_disable(&sai->pdev->dev); in stm32_sai_sync_conf_provider()
[all …]
Dstm32_spdifrx.c229 struct platform_device *pdev; member
253 struct platform_device *pdev = spdifrx->pdev; in stm32_spdifrx_dma_complete() local
274 dev_err(&pdev->dev, "Start of S/PDIF block not found\n"); in stm32_spdifrx_dma_complete()
282 dev_err(&pdev->dev, "Failed to get channel status\n"); in stm32_spdifrx_dma_complete()
343 dev_dbg(&spdifrx->pdev->dev, "start synchronization\n"); in stm32_spdifrx_start_sync()
363 dev_err(&spdifrx->pdev->dev, in stm32_spdifrx_start_sync()
494 dev_err(&spdifrx->pdev->dev, "Enable kclk failed: %d\n", ret); in stm32_spdifrx_get_ctrl_data()
510 dev_dbg(&spdifrx->pdev->dev, "Failed to get control data\n"); in stm32_spdifrx_get_ctrl_data()
670 struct platform_device *pdev = spdifrx->pdev; in stm32_spdifrx_isr() local
685 dev_err(&pdev->dev, "Unexpected IRQ. rflags=%#x, imr=%#x\n", in stm32_spdifrx_isr()
[all …]
Dstm32_i2s.c232 struct platform_device *pdev; member
281 dev_dbg(&i2s->pdev->dev, "Divider: 2*%d(div)+%d(odd) = %d\n", in stm32_i2s_calc_clk_div()
287 dev_err(&i2s->pdev->dev, "Wrong divider setting\n"); in stm32_i2s_calc_clk_div()
292 dev_dbg(&i2s->pdev->dev, in stm32_i2s_calc_clk_div()
317 struct platform_device *pdev = i2s->pdev; in stm32_i2s_set_parent_clock() local
328 dev_err(&pdev->dev, in stm32_i2s_set_parent_clock()
383 dev_dbg(&i2s->pdev->dev, "Enable master clock\n"); in stm32_i2smclk_enable()
394 dev_dbg(&i2s->pdev->dev, "Disable master clock\n"); in stm32_i2smclk_disable()
411 struct device *dev = &i2s->pdev->dev; in stm32_i2s_add_mclk_provider()
441 ret = devm_clk_hw_register(&i2s->pdev->dev, hw); in stm32_i2s_add_mclk_provider()
[all …]
/sound/soc/tegra/
Dtegra20_ac97.c302 static int tegra20_ac97_platform_probe(struct platform_device *pdev) in tegra20_ac97_platform_probe() argument
309 ac97 = devm_kzalloc(&pdev->dev, sizeof(struct tegra20_ac97), in tegra20_ac97_platform_probe()
315 dev_set_drvdata(&pdev->dev, ac97); in tegra20_ac97_platform_probe()
317 ac97->reset = devm_reset_control_get_exclusive(&pdev->dev, "ac97"); in tegra20_ac97_platform_probe()
319 dev_err(&pdev->dev, "Can't retrieve ac97 reset\n"); in tegra20_ac97_platform_probe()
323 ac97->clk_ac97 = devm_clk_get(&pdev->dev, NULL); in tegra20_ac97_platform_probe()
325 dev_err(&pdev->dev, "Can't retrieve ac97 clock\n"); in tegra20_ac97_platform_probe()
330 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in tegra20_ac97_platform_probe()
331 regs = devm_ioremap_resource(&pdev->dev, mem); in tegra20_ac97_platform_probe()
337 ac97->regmap = devm_regmap_init_mmio(&pdev->dev, regs, in tegra20_ac97_platform_probe()
[all …]
Dtegra20_spdif.c251 static int tegra20_spdif_platform_probe(struct platform_device *pdev) in tegra20_spdif_platform_probe() argument
258 spdif = devm_kzalloc(&pdev->dev, sizeof(struct tegra20_spdif), in tegra20_spdif_platform_probe()
263 dev_set_drvdata(&pdev->dev, spdif); in tegra20_spdif_platform_probe()
265 spdif->clk_spdif_out = devm_clk_get(&pdev->dev, "spdif_out"); in tegra20_spdif_platform_probe()
272 regs = devm_platform_get_and_ioremap_resource(pdev, 0, &mem); in tegra20_spdif_platform_probe()
276 dmareq = platform_get_resource(pdev, IORESOURCE_DMA, 0); in tegra20_spdif_platform_probe()
278 dev_err(&pdev->dev, "No DMA resource\n"); in tegra20_spdif_platform_probe()
282 spdif->regmap = devm_regmap_init_mmio(&pdev->dev, regs, in tegra20_spdif_platform_probe()
285 dev_err(&pdev->dev, "regmap init failed\n"); in tegra20_spdif_platform_probe()
295 pm_runtime_enable(&pdev->dev); in tegra20_spdif_platform_probe()
[all …]
Dtegra20_i2s.c350 static int tegra20_i2s_platform_probe(struct platform_device *pdev) in tegra20_i2s_platform_probe() argument
357 i2s = devm_kzalloc(&pdev->dev, sizeof(struct tegra20_i2s), GFP_KERNEL); in tegra20_i2s_platform_probe()
362 dev_set_drvdata(&pdev->dev, i2s); in tegra20_i2s_platform_probe()
365 i2s->dai.name = dev_name(&pdev->dev); in tegra20_i2s_platform_probe()
367 i2s->reset = devm_reset_control_get_exclusive(&pdev->dev, "i2s"); in tegra20_i2s_platform_probe()
369 dev_err(&pdev->dev, "Can't retrieve i2s reset\n"); in tegra20_i2s_platform_probe()
373 i2s->clk_i2s = devm_clk_get(&pdev->dev, NULL); in tegra20_i2s_platform_probe()
375 dev_err(&pdev->dev, "Can't retrieve i2s clock\n"); in tegra20_i2s_platform_probe()
380 regs = devm_platform_get_and_ioremap_resource(pdev, 0, &mem); in tegra20_i2s_platform_probe()
386 i2s->regmap = devm_regmap_init_mmio(&pdev->dev, regs, in tegra20_i2s_platform_probe()
[all …]
Dtegra30_i2s.c406 static int tegra30_i2s_platform_probe(struct platform_device *pdev) in tegra30_i2s_platform_probe() argument
414 i2s = devm_kzalloc(&pdev->dev, sizeof(struct tegra30_i2s), GFP_KERNEL); in tegra30_i2s_platform_probe()
419 dev_set_drvdata(&pdev->dev, i2s); in tegra30_i2s_platform_probe()
421 soc_data = of_device_get_match_data(&pdev->dev); in tegra30_i2s_platform_probe()
423 dev_err(&pdev->dev, "Error: No device match found\n"); in tegra30_i2s_platform_probe()
430 i2s->dai.name = dev_name(&pdev->dev); in tegra30_i2s_platform_probe()
432 ret = of_property_read_u32_array(pdev->dev.of_node, in tegra30_i2s_platform_probe()
441 i2s->clk_i2s = devm_clk_get(&pdev->dev, NULL); in tegra30_i2s_platform_probe()
443 dev_err(&pdev->dev, "Can't retrieve i2s clock\n"); in tegra30_i2s_platform_probe()
448 regs = devm_platform_ioremap_resource(pdev, 0); in tegra30_i2s_platform_probe()
[all …]
/sound/soc/fsl/
Dfsl_aud2htx.c186 static int fsl_aud2htx_probe(struct platform_device *pdev) in fsl_aud2htx_probe() argument
193 aud2htx = devm_kzalloc(&pdev->dev, sizeof(*aud2htx), GFP_KERNEL); in fsl_aud2htx_probe()
197 aud2htx->pdev = pdev; in fsl_aud2htx_probe()
199 regs = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in fsl_aud2htx_probe()
203 aud2htx->regmap = devm_regmap_init_mmio(&pdev->dev, regs, in fsl_aud2htx_probe()
206 dev_err(&pdev->dev, "failed to init regmap"); in fsl_aud2htx_probe()
210 irq = platform_get_irq(pdev, 0); in fsl_aud2htx_probe()
214 ret = devm_request_irq(&pdev->dev, irq, fsl_aud2htx_isr, 0, in fsl_aud2htx_probe()
215 dev_name(&pdev->dev), aud2htx); in fsl_aud2htx_probe()
217 dev_err(&pdev->dev, "failed to claim irq %u: %d\n", irq, ret); in fsl_aud2htx_probe()
[all …]
Dfsl_micfil.c31 struct platform_device *pdev; member
141 dev_err(&micfil->pdev->dev, in get_pdm_clk()
219 struct device *dev = &micfil->pdev->dev; in fsl_micfil_set_mclk_rate()
251 struct device *dev = &micfil->pdev->dev; in fsl_micfil_trigger()
354 struct device *dev = &micfil->pdev->dev; in fsl_micfil_hw_params()
389 struct device *dev = &micfil->pdev->dev; in fsl_micfil_set_dai_sysclk()
589 struct platform_device *pdev = micfil->pdev; in micfil_isr() local
605 dev_dbg(&pdev->dev, in micfil_isr()
619 dev_dbg(&pdev->dev, in micfil_isr()
624 dev_dbg(&pdev->dev, in micfil_isr()
[all …]
Dfsl_spdif.c119 struct platform_device *pdev; member
199 struct platform_device *pdev = spdif_priv->pdev; in spdif_irq_dpll_lock() local
205 dev_dbg(&pdev->dev, "isr: Rx dpll %s \n", in spdif_irq_dpll_lock()
215 struct platform_device *pdev = spdif_priv->pdev; in spdif_irq_sym_error() local
217 dev_dbg(&pdev->dev, "isr: receiver found illegal symbol\n"); in spdif_irq_sym_error()
229 struct platform_device *pdev = spdif_priv->pdev; in spdif_irq_uqrx_full() local
244 dev_err(&pdev->dev, "unsupported channel name\n"); in spdif_irq_uqrx_full()
248 dev_dbg(&pdev->dev, "isr: %c Channel receive register full\n", name); in spdif_irq_uqrx_full()
253 dev_err(&pdev->dev, "User bit receive buffer overflow\n"); in spdif_irq_uqrx_full()
267 struct platform_device *pdev = spdif_priv->pdev; in spdif_irq_uq_sync() local
[all …]
Dimx-sgtl5000.c51 static int imx_sgtl5000_probe(struct platform_device *pdev) in imx_sgtl5000_probe() argument
53 struct device_node *np = pdev->dev.of_node; in imx_sgtl5000_probe()
64 dev_err(&pdev->dev, "mux-int-port missing or invalid\n"); in imx_sgtl5000_probe()
69 dev_err(&pdev->dev, "mux-ext-port missing or invalid\n"); in imx_sgtl5000_probe()
87 dev_err(&pdev->dev, "audmux internal port setup failed\n"); in imx_sgtl5000_probe()
94 dev_err(&pdev->dev, "audmux external port setup failed\n"); in imx_sgtl5000_probe()
98 ssi_np = of_parse_phandle(pdev->dev.of_node, "ssi-controller", 0); in imx_sgtl5000_probe()
99 codec_np = of_parse_phandle(pdev->dev.of_node, "audio-codec", 0); in imx_sgtl5000_probe()
101 dev_err(&pdev->dev, "phandle missing or invalid\n"); in imx_sgtl5000_probe()
108 dev_dbg(&pdev->dev, "failed to find SSI platform device\n"); in imx_sgtl5000_probe()
[all …]
Dimx-audmix.c23 struct platform_device *pdev; member
144 static int imx_audmix_probe(struct platform_device *pdev) in imx_audmix_probe() argument
146 struct device_node *np = pdev->dev.of_node; in imx_audmix_probe()
156 if (pdev->dev.parent) { in imx_audmix_probe()
157 audmix_np = pdev->dev.parent->of_node; in imx_audmix_probe()
159 dev_err(&pdev->dev, "Missing parent device.\n"); in imx_audmix_probe()
164 dev_err(&pdev->dev, "Missing DT node for parent device.\n"); in imx_audmix_probe()
170 dev_err(&pdev->dev, "Missing AUDMIX platform device for %s\n", in imx_audmix_probe()
178 dev_err(&pdev->dev, "Need 2 dais to be provided for %s\n", in imx_audmix_probe()
183 priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL); in imx_audmix_probe()
[all …]
Dimx-rpmsg.c31 static int imx_rpmsg_probe(struct platform_device *pdev) in imx_rpmsg_probe() argument
34 struct device *dev = pdev->dev.parent; in imx_rpmsg_probe()
42 dlc = devm_kzalloc(&pdev->dev, 3 * sizeof(*dlc), GFP_KERNEL); in imx_rpmsg_probe()
46 data = devm_kzalloc(&pdev->dev, sizeof(*data), GFP_KERNEL); in imx_rpmsg_probe()
52 ret = of_reserved_mem_device_init_by_idx(&pdev->dev, np, 0); in imx_rpmsg_probe()
54 dev_warn(&pdev->dev, "no reserved DMA memory\n"); in imx_rpmsg_probe()
86 dev_err(&pdev->dev, "Unable to get codec_dai_name\n"); in imx_rpmsg_probe()
105 dev_err(&pdev->dev, "no enabled rpmsg DAI link\n"); in imx_rpmsg_probe()
110 data->card.dev = &pdev->dev; in imx_rpmsg_probe()
127 dev_err(&pdev->dev, "failed to parse audio-routing: %d\n", ret); in imx_rpmsg_probe()
[all …]
Dfsl_esai.c62 struct platform_device *pdev; member
101 struct platform_device *pdev = esai_priv->pdev; in esai_isr() local
110 dev_dbg(&pdev->dev, "reset module for xrun\n"); in esai_isr()
119 dev_dbg(&pdev->dev, "isr: Transmission Initialized\n"); in esai_isr()
122 dev_warn(&pdev->dev, "isr: Receiving overrun\n"); in esai_isr()
125 dev_warn(&pdev->dev, "isr: Transmission underrun\n"); in esai_isr()
128 dev_dbg(&pdev->dev, "isr: Just transmitted the last slot\n"); in esai_isr()
131 dev_dbg(&pdev->dev, "isr: Transmission data exception\n"); in esai_isr()
134 dev_dbg(&pdev->dev, "isr: Transmitting even slots\n"); in esai_isr()
137 dev_dbg(&pdev->dev, "isr: Transmitting data\n"); in esai_isr()
[all …]
Dfsl_rpmsg.c150 static int fsl_rpmsg_probe(struct platform_device *pdev) in fsl_rpmsg_probe() argument
152 struct device_node *np = pdev->dev.of_node; in fsl_rpmsg_probe()
156 rpmsg = devm_kzalloc(&pdev->dev, sizeof(struct fsl_rpmsg), GFP_KERNEL); in fsl_rpmsg_probe()
168 rpmsg->ipg = devm_clk_get_optional(&pdev->dev, "ipg"); in fsl_rpmsg_probe()
172 rpmsg->mclk = devm_clk_get_optional(&pdev->dev, "mclk"); in fsl_rpmsg_probe()
176 rpmsg->dma = devm_clk_get_optional(&pdev->dev, "dma"); in fsl_rpmsg_probe()
180 rpmsg->pll8k = devm_clk_get_optional(&pdev->dev, "pll8k"); in fsl_rpmsg_probe()
184 rpmsg->pll11k = devm_clk_get_optional(&pdev->dev, "pll11k"); in fsl_rpmsg_probe()
188 platform_set_drvdata(pdev, rpmsg); in fsl_rpmsg_probe()
189 pm_runtime_enable(&pdev->dev); in fsl_rpmsg_probe()
[all …]
/sound/soc/atmel/
Dsam9x5_wm8731.c73 static int sam9x5_wm8731_driver_probe(struct platform_device *pdev) in sam9x5_wm8731_driver_probe() argument
75 struct device_node *np = pdev->dev.of_node; in sam9x5_wm8731_driver_probe()
84 dev_err(&pdev->dev, "No device node supplied\n"); in sam9x5_wm8731_driver_probe()
88 card = devm_kzalloc(&pdev->dev, sizeof(*card), GFP_KERNEL); in sam9x5_wm8731_driver_probe()
89 priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL); in sam9x5_wm8731_driver_probe()
90 dai = devm_kzalloc(&pdev->dev, sizeof(*dai), GFP_KERNEL); in sam9x5_wm8731_driver_probe()
91 comp = devm_kzalloc(&pdev->dev, 3 * sizeof(*comp), GFP_KERNEL); in sam9x5_wm8731_driver_probe()
99 card->dev = &pdev->dev; in sam9x5_wm8731_driver_probe()
122 dev_err(&pdev->dev, "atmel,model node missing\n"); in sam9x5_wm8731_driver_probe()
128 dev_err(&pdev->dev, "atmel,audio-routing node missing\n"); in sam9x5_wm8731_driver_probe()
[all …]
Datmel_wm8904.c84 static int atmel_asoc_wm8904_dt_init(struct platform_device *pdev) in atmel_asoc_wm8904_dt_init() argument
86 struct device_node *np = pdev->dev.of_node; in atmel_asoc_wm8904_dt_init()
93 dev_err(&pdev->dev, "only device tree supported\n"); in atmel_asoc_wm8904_dt_init()
99 dev_err(&pdev->dev, "failed to parse card name\n"); in atmel_asoc_wm8904_dt_init()
105 dev_err(&pdev->dev, "failed to parse audio routing\n"); in atmel_asoc_wm8904_dt_init()
111 dev_err(&pdev->dev, "failed to get dai and pcm info\n"); in atmel_asoc_wm8904_dt_init()
121 dev_err(&pdev->dev, "failed to get codec info\n"); in atmel_asoc_wm8904_dt_init()
131 static int atmel_asoc_wm8904_probe(struct platform_device *pdev) in atmel_asoc_wm8904_probe() argument
137 card->dev = &pdev->dev; in atmel_asoc_wm8904_probe()
138 ret = atmel_asoc_wm8904_dt_init(pdev); in atmel_asoc_wm8904_probe()
[all …]
/sound/soc/img/
Dimg-parallel-out.c209 static int img_prl_out_probe(struct platform_device *pdev) in img_prl_out_probe() argument
215 struct device *dev = &pdev->dev; in img_prl_out_probe()
217 prl = devm_kzalloc(&pdev->dev, sizeof(*prl), GFP_KERNEL); in img_prl_out_probe()
221 platform_set_drvdata(pdev, prl); in img_prl_out_probe()
223 prl->dev = &pdev->dev; in img_prl_out_probe()
225 base = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in img_prl_out_probe()
231 prl->rst = devm_reset_control_get_exclusive(&pdev->dev, "rst"); in img_prl_out_probe()
234 dev_err(&pdev->dev, "No top level reset found\n"); in img_prl_out_probe()
238 prl->clk_sys = devm_clk_get(&pdev->dev, "sys"); in img_prl_out_probe()
245 prl->clk_ref = devm_clk_get(&pdev->dev, "ref"); in img_prl_out_probe()
[all …]
Dimg-spdif-out.c322 static int img_spdif_out_probe(struct platform_device *pdev) in img_spdif_out_probe() argument
328 struct device *dev = &pdev->dev; in img_spdif_out_probe()
330 spdif = devm_kzalloc(&pdev->dev, sizeof(*spdif), GFP_KERNEL); in img_spdif_out_probe()
334 platform_set_drvdata(pdev, spdif); in img_spdif_out_probe()
336 spdif->dev = &pdev->dev; in img_spdif_out_probe()
338 base = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in img_spdif_out_probe()
344 spdif->rst = devm_reset_control_get_exclusive(&pdev->dev, "rst"); in img_spdif_out_probe()
347 dev_err(&pdev->dev, "No top level reset found\n"); in img_spdif_out_probe()
351 spdif->clk_sys = devm_clk_get(&pdev->dev, "sys"); in img_spdif_out_probe()
358 spdif->clk_ref = devm_clk_get(&pdev->dev, "ref"); in img_spdif_out_probe()
[all …]
/sound/isa/cs423x/
Dcs4236.c204 static int snd_cs423x_pnp_init_wss(int dev, struct pnp_dev *pdev) in snd_cs423x_pnp_init_wss() argument
206 if (pnp_activate_dev(pdev) < 0) { in snd_cs423x_pnp_init_wss()
210 port[dev] = pnp_port_start(pdev, 0); in snd_cs423x_pnp_init_wss()
212 fm_port[dev] = pnp_port_start(pdev, 1); in snd_cs423x_pnp_init_wss()
213 sb_port[dev] = pnp_port_start(pdev, 2); in snd_cs423x_pnp_init_wss()
214 irq[dev] = pnp_irq(pdev, 0); in snd_cs423x_pnp_init_wss()
215 dma1[dev] = pnp_dma(pdev, 0); in snd_cs423x_pnp_init_wss()
216 dma2[dev] = pnp_dma(pdev, 1) == 4 ? -1 : (int)pnp_dma(pdev, 1); in snd_cs423x_pnp_init_wss()
225 static int snd_cs423x_pnp_init_ctrl(int dev, struct pnp_dev *pdev) in snd_cs423x_pnp_init_ctrl() argument
227 if (pnp_activate_dev(pdev) < 0) { in snd_cs423x_pnp_init_ctrl()
[all …]
/sound/soc/samsung/
Dpcm.c486 static int s3c_pcm_dev_probe(struct platform_device *pdev) in s3c_pcm_dev_probe() argument
495 if ((pdev->id < 0) || pdev->id >= ARRAY_SIZE(s3c_pcm)) { in s3c_pcm_dev_probe()
496 dev_err(&pdev->dev, "id %d out of range\n", pdev->id); in s3c_pcm_dev_probe()
500 pcm_pdata = pdev->dev.platform_data; in s3c_pcm_dev_probe()
502 if (pcm_pdata && pcm_pdata->cfg_gpio && pcm_pdata->cfg_gpio(pdev)) { in s3c_pcm_dev_probe()
503 dev_err(&pdev->dev, "Unable to configure gpio\n"); in s3c_pcm_dev_probe()
507 pcm = &s3c_pcm[pdev->id]; in s3c_pcm_dev_probe()
508 pcm->dev = &pdev->dev; in s3c_pcm_dev_probe()
515 pcm->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &mem_res); in s3c_pcm_dev_probe()
519 pcm->cclk = devm_clk_get(&pdev->dev, "audio-bus"); in s3c_pcm_dev_probe()
[all …]
/sound/soc/rockchip/
Drockchip_spdif.c283 static int rk_spdif_probe(struct platform_device *pdev) in rk_spdif_probe() argument
285 struct device_node *np = pdev->dev.of_node; in rk_spdif_probe()
298 dev_err(&pdev->dev, in rk_spdif_probe()
309 spdif = devm_kzalloc(&pdev->dev, sizeof(*spdif), GFP_KERNEL); in rk_spdif_probe()
313 spdif->hclk = devm_clk_get(&pdev->dev, "hclk"); in rk_spdif_probe()
317 spdif->mclk = devm_clk_get(&pdev->dev, "mclk"); in rk_spdif_probe()
321 regs = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in rk_spdif_probe()
325 spdif->regmap = devm_regmap_init_mmio_clk(&pdev->dev, "hclk", regs, in rk_spdif_probe()
334 spdif->dev = &pdev->dev; in rk_spdif_probe()
335 dev_set_drvdata(&pdev->dev, spdif); in rk_spdif_probe()
[all …]
/sound/soc/sunxi/
Dsun4i-spdif.c181 struct platform_device *pdev; member
268 struct platform_device *pdev = host->pdev; in sun4i_spdif_hw_params() local
317 dev_err(&pdev->dev, in sun4i_spdif_hw_params()
505 static int sun4i_spdif_probe(struct platform_device *pdev) in sun4i_spdif_probe() argument
513 dev_dbg(&pdev->dev, "Entered %s\n", __func__); in sun4i_spdif_probe()
515 host = devm_kzalloc(&pdev->dev, sizeof(*host), GFP_KERNEL); in sun4i_spdif_probe()
519 host->pdev = pdev; in sun4i_spdif_probe()
523 host->cpu_dai_drv.name = dev_name(&pdev->dev); in sun4i_spdif_probe()
526 base = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in sun4i_spdif_probe()
530 quirks = of_device_get_match_data(&pdev->dev); in sun4i_spdif_probe()
[all …]
/sound/soc/ux500/
Dmop500.c73 static int mop500_of_probe(struct platform_device *pdev, in mop500_of_probe() argument
84 dev_err(&pdev->dev, "Phandle missing or invalid\n"); in mop500_of_probe()
105 static int mop500_probe(struct platform_device *pdev) in mop500_probe() argument
107 struct device_node *np = pdev->dev.of_node; in mop500_probe()
110 dev_dbg(&pdev->dev, "%s: Enter.\n", __func__); in mop500_probe()
112 mop500_card.dev = &pdev->dev; in mop500_probe()
115 ret = mop500_of_probe(pdev, np); in mop500_probe()
120 dev_dbg(&pdev->dev, "%s: Card %s: Set platform drvdata.\n", in mop500_probe()
125 dev_dbg(&pdev->dev, "%s: Card %s: num_links = %d\n", in mop500_probe()
127 dev_dbg(&pdev->dev, "%s: Card %s: DAI-link 0: name = %s\n", in mop500_probe()
[all …]
/sound/isa/
Dals100.c101 struct pnp_dev *pdev; in snd_card_als100_pnp() local
111 pdev = acard->dev; in snd_card_als100_pnp()
113 err = pnp_activate_dev(pdev); in snd_card_als100_pnp()
118 port[dev] = pnp_port_start(pdev, 0); in snd_card_als100_pnp()
120 dma8[dev] = pnp_dma(pdev, 0); in snd_card_als100_pnp()
122 dma8[dev] = pnp_dma(pdev, 1); in snd_card_als100_pnp()
123 dma16[dev] = pnp_dma(pdev, 0); in snd_card_als100_pnp()
125 irq[dev] = pnp_irq(pdev, 0); in snd_card_als100_pnp()
127 pdev = acard->devmpu; in snd_card_als100_pnp()
128 if (pdev != NULL) { in snd_card_als100_pnp()
[all …]

12345678910>>...19