Home
last modified time | relevance | path

Searched refs:pcm_data (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/mtd/lpddr/
H A Dlpddr2_nvm.c141 pcm_data->ctl_regs + LPDDR2_MODE_REG_CFG); in ow_enable()
347 add += pcm_data->bus_width; in lpddr2_nvm_write()
348 tot_len += pcm_data->bus_width; in lpddr2_nvm_write()
415 struct pcm_int_data *pcm_data; in lpddr2_nvm_probe() local
418 pcm_data = devm_kzalloc(&pdev->dev, sizeof(*pcm_data), GFP_KERNEL); in lpddr2_nvm_probe()
419 if (!pcm_data) in lpddr2_nvm_probe()
422 pcm_data->bus_width = BUS_WIDTH; in lpddr2_nvm_probe()
444 .bankwidth = pcm_data->bus_width / 2, in lpddr2_nvm_probe()
446 .fldrv_priv = pcm_data, in lpddr2_nvm_probe()
455 if (IS_ERR(pcm_data->ctl_regs)) in lpddr2_nvm_probe()
[all …]
/openbmc/linux/tools/testing/selftests/alsa/
H A Dpcm-test.c33 struct pcm_data { struct
40 struct pcm_data *next; argument
95 struct pcm_data *pcm_data; in missing_device() local
97 for (pcm_data = pcm_list; pcm_data != NULL; pcm_data = pcm_data->next) { in missing_device()
108 pcm_data = calloc(1, sizeof(*pcm_data)); in missing_device()
109 if (!pcm_data) in missing_device()
111 pcm_data->card = card; in missing_device()
116 pcm_missing = pcm_data; in missing_device()
155 struct pcm_data *pcm_data; in find_pcms() local
229 pcm_data = calloc(1, sizeof(*pcm_data)); in find_pcms()
[all …]
/openbmc/linux/drivers/media/pci/cx18/
H A Dcx18-alsa-pcm.c58 void cx18_alsa_announce_pcm_data(struct snd_cx18_card *cxsc, u8 *pcm_data, in cx18_alsa_announce_pcm_data() argument
69 pcm_data, num_bytes); in cx18_alsa_announce_pcm_data()
104 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in cx18_alsa_announce_pcm_data()
106 memcpy(runtime->dma_area, pcm_data + cnt * stride, in cx18_alsa_announce_pcm_data()
109 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in cx18_alsa_announce_pcm_data()
H A Dcx18-alsa-pcm.h12 void cx18_alsa_announce_pcm_data(struct snd_cx18_card *card, u8 *pcm_data,
H A Dcx18-driver.h601 void (*pcm_announce_callback)(struct snd_cx18_card *card, u8 *pcm_data,
/openbmc/linux/drivers/media/pci/ivtv/
H A Divtv-alsa-pcm.c55 u8 *pcm_data, in ivtv_alsa_announce_pcm_data() argument
66 pcm_data, num_bytes); in ivtv_alsa_announce_pcm_data()
101 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in ivtv_alsa_announce_pcm_data()
103 memcpy(runtime->dma_area, pcm_data + cnt * stride, in ivtv_alsa_announce_pcm_data()
106 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in ivtv_alsa_announce_pcm_data()
H A Divtv-driver.h673 void (*pcm_announce_callback)(struct snd_ivtv_card *card, u8 *pcm_data,
/openbmc/linux/drivers/media/pci/cobalt/
H A Dcobalt-alsa-pcm.c97 u8 *pcm_data, in cobalt_alsa_announce_pcm_data() argument
111 pcm_data, samples); in cobalt_alsa_announce_pcm_data()
149 pcm_data + i * skip, in cobalt_alsa_announce_pcm_data()
153 pcm_data + i * skip, stride, is_s32); in cobalt_alsa_announce_pcm_data()
159 pcm_data + i * skip, in cobalt_alsa_announce_pcm_data()
297 u8 *pcm_data, in cobalt_alsa_pb_pcm_data() argument
310 pcm_data, samples); in cobalt_alsa_pb_pcm_data()
343 pb_sample_cpy(pcm_data + i * skip, in cobalt_alsa_pb_pcm_data()
/openbmc/linux/sound/soc/qcom/
H A Dlpass-platform.c360 struct lpass_pcm_data *pcm_data = rt->private_data; in __lpass_get_id() local
367 id = pcm_data->dma_ch; in __lpass_get_id()
369 id = pcm_data->dma_ch - v->wrdma_channel_start; in __lpass_get_id()
372 id = pcm_data->dma_ch; in __lpass_get_id()
375 id = pcm_data->dma_ch; in __lpass_get_id()
381 id = pcm_data->dma_ch - v->va_wrdma_channel_start; in __lpass_get_id()
423 struct lpass_pcm_data *pcm_data = rt->private_data; in lpass_platform_pcmops_hw_params() local
576 struct lpass_pcm_data *pcm_data = rt->private_data; in lpass_platform_pcmops_hw_free() local
611 ch = pcm_data->dma_ch; in lpass_platform_pcmops_prepare()
676 ch = pcm_data->dma_ch; in lpass_platform_pcmops_trigger()
[all …]
H A Dlpass-cdc-dma.c39 struct lpass_pcm_data *pcm_data = rt->private_data; in __lpass_get_dmactl_handle() local
46 *id = pcm_data->dma_ch; in __lpass_get_dmactl_handle()
50 *id = pcm_data->dma_ch - v->rxtx_wrdma_channel_start; in __lpass_get_dmactl_handle()
54 *id = pcm_data->dma_ch - v->va_wrdma_channel_start; in __lpass_get_dmactl_handle()