/openbmc/linux/drivers/mtd/lpddr/ |
H A D | lpddr2_nvm.c | 141 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 D | pcm-test.c | 33 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 D | cx18-alsa-pcm.c | 58 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 D | cx18-alsa-pcm.h | 12 void cx18_alsa_announce_pcm_data(struct snd_cx18_card *card, u8 *pcm_data,
|
H A D | cx18-driver.h | 601 void (*pcm_announce_callback)(struct snd_cx18_card *card, u8 *pcm_data,
|
/openbmc/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-alsa-pcm.c | 55 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 D | ivtv-driver.h | 673 void (*pcm_announce_callback)(struct snd_ivtv_card *card, u8 *pcm_data,
|
/openbmc/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-alsa-pcm.c | 97 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 D | lpass-platform.c | 360 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 D | lpass-cdc-dma.c | 39 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()
|