Home
last modified time | relevance | path

Searched refs:pd (Results 1 – 11 of 11) sorted by relevance

/sound/soc/samsung/
Ds3c24xx_simtec.c203 static int simtec_call_startup(struct s3c24xx_audio_simtec_pdata *pd) in simtec_call_startup() argument
208 if (pd->startup) in simtec_call_startup()
209 pd->startup(); in simtec_call_startup()
227 struct s3c24xx_audio_simtec_pdata *pd) in attach_gpio_amp() argument
233 ret = gpio_request(pd->amp_gain[0], "gpio-amp-gain0"); in attach_gpio_amp()
239 ret = gpio_request(pd->amp_gain[1], "gpio-amp-gain1"); in attach_gpio_amp()
246 gpio_direction_output(pd->amp_gain[0], 0); in attach_gpio_amp()
247 gpio_direction_output(pd->amp_gain[1], 0); in attach_gpio_amp()
252 ret = gpio_request(pd->amp_gpio, "gpio-amp"); in attach_gpio_amp()
255 pd->amp_gpio, ret); in attach_gpio_amp()
[all …]
Ds3c24xx_simtec_hermes.c94 static int simtec_audio_hermes_probe(struct platform_device *pd) in simtec_audio_hermes_probe() argument
96 dev_info(&pd->dev, "probing....\n"); in simtec_audio_hermes_probe()
97 return simtec_audio_core_probe(pd, &snd_soc_machine_simtec_aic33); in simtec_audio_hermes_probe()
Ds3c24xx_simtec_tlv320aic23.c83 static int simtec_audio_tlv320aic23_probe(struct platform_device *pd) in simtec_audio_tlv320aic23_probe() argument
85 return simtec_audio_core_probe(pd, &snd_soc_machine_simtec_aic23); in simtec_audio_tlv320aic23_probe()
/sound/soc/codecs/
Duda134x.c42 struct uda134x_platform_data *pd; member
70 struct uda134x_platform_data *pd = context; in uda134x_regmap_write() local
95 ret = l3_write(&pd->l3, in uda134x_regmap_write()
105 ret = l3_write(&pd->l3, in uda134x_regmap_write()
301 struct uda134x_platform_data *pd = uda134x->pd; in uda134x_set_bias_level() local
309 if (pd->power) { in uda134x_set_bias_level()
310 pd->power(1); in uda134x_set_bias_level()
318 if (pd->power) { in uda134x_set_bias_level()
319 pd->power(0); in uda134x_set_bias_level()
453 struct uda134x_platform_data *pd = uda134x->pd; in uda134x_soc_probe() local
[all …]
Drl6231.c30 int pd, val; in rl6231_get_pre_div() local
41 pd = val + 1; in rl6231_get_pre_div()
44 pd = 6; in rl6231_get_pre_div()
47 pd = 8; in rl6231_get_pre_div()
50 pd = 12; in rl6231_get_pre_div()
53 pd = 16; in rl6231_get_pre_div()
56 pd = -EINVAL; in rl6231_get_pre_div()
60 return pd; in rl6231_get_pre_div()
191 int i, pd[] = {1, 2, 3, 4, 6, 8, 12, 16}; in rl6231_get_clk_info() local
197 for (i = 0; i < ARRAY_SIZE(pd); i++) in rl6231_get_clk_info()
[all …]
Drt5659.c1555 int pd, idx = -EINVAL; in set_dmic_clk() local
1557 pd = rl6231_get_pre_div(rt5659->regmap, in set_dmic_clk()
1559 idx = rl6231_calc_dmic_clk(rt5659->sysclk / pd); in set_dmic_clk()
/sound/isa/wavefront/
Dwavefront_fx.c174 unsigned short *pd; in snd_wavefront_fx_ioctl() local
200 pd = (unsigned short *) &r.data[3]; in snd_wavefront_fx_ioctl()
212 pd = page_data; in snd_wavefront_fx_ioctl()
219 pd); in snd_wavefront_fx_ioctl()
/sound/soc/dwc/
Ddesignware_i2s.c542 dev->play_dma_data.pd.data = pdata->play_dma_data; in dw_configure_dai_by_pd()
543 dev->capture_dma_data.pd.data = pdata->capture_dma_data; in dw_configure_dai_by_pd()
544 dev->play_dma_data.pd.addr = res->start + I2S_TXDMA; in dw_configure_dai_by_pd()
545 dev->capture_dma_data.pd.addr = res->start + I2S_RXDMA; in dw_configure_dai_by_pd()
546 dev->play_dma_data.pd.max_burst = 16; in dw_configure_dai_by_pd()
547 dev->capture_dma_data.pd.max_burst = 16; in dw_configure_dai_by_pd()
548 dev->play_dma_data.pd.addr_width = bus_widths[idx]; in dw_configure_dai_by_pd()
549 dev->capture_dma_data.pd.addr_width = bus_widths[idx]; in dw_configure_dai_by_pd()
550 dev->play_dma_data.pd.filter = pdata->filter; in dw_configure_dai_by_pd()
551 dev->capture_dma_data.pd.filter = pdata->filter; in dw_configure_dai_by_pd()
Dlocal.h85 struct i2s_dma_data pd; member
/sound/sh/
Daica.c67 static struct platform_device *pd; variable
561 err = request_firmware(&fw_entry, "aica_firmware.bin", &pd->dev); in load_aica_firmware()
656 pd = platform_device_register_simple(SND_AICA_DRIVER, -1, in aica_init()
658 if (IS_ERR(pd)) { in aica_init()
660 return PTR_ERR(pd); in aica_init()
668 platform_device_unregister(pd); in aica_exit()
/sound/pci/asihpi/
Dasihpi.c888 char *pd = &s->runtime->dma_area[buf_ofs]; in snd_card_asihpi_timer_function() local
903 ds->h_stream, pd, xfer1, in snd_card_asihpi_timer_function()
907 pd = s->runtime->dma_area; in snd_card_asihpi_timer_function()
914 ds->h_stream, pd, in snd_card_asihpi_timer_function()
924 pd, xfer1)); in snd_card_asihpi_timer_function()
926 pd = s->runtime->dma_area; in snd_card_asihpi_timer_function()
932 pd, xfer2)); in snd_card_asihpi_timer_function()