/linux/drivers/s390/cio/ |
H A D | device_id.c | 102 struct senseid *senseid = &cdev->private->dma_area->senseid; in diag210_get_dev_info() 138 memset(&cdev->private->dma_area->senseid, 0, in snsid_init() 139 sizeof(cdev->private->dma_area->senseid)); in snsid_init() 140 cdev->private->dma_area->senseid.cu_type = 0xffff; in snsid_init() 148 struct cmd_scsw *scsw = &cdev->private->dma_area->irb.scsw.cmd; in snsid_check() 154 if (cdev->private->dma_area->senseid.cu_type == 0xffff) in snsid_check() 157 if (cdev->private->dma_area->senseid.reserved != 0xff) in snsid_check() 175 struct senseid *senseid = &cdev->private->dma_area->senseid; in snsid_callback() 205 struct ccw1 *cp = cdev->private->dma_area->iccws; in ccw_device_sense_id_start() 213 cp->cda = virt_to_dma32(&cdev->private->dma_area->senseid); in ccw_device_sense_id_start()
|
H A D | device_status.c | 83 cdev->private->dma_area->irb.scsw.cmd.ectl = 0; in ccw_device_accumulate_ecw() 86 cdev->private->dma_area->irb.scsw.cmd.ectl = irb->scsw.cmd.ectl; in ccw_device_accumulate_ecw() 88 if (!cdev->private->dma_area->irb.scsw.cmd.ectl) in ccw_device_accumulate_ecw() 91 memcpy(&cdev->private->dma_area->irb.ecw, irb->ecw, sizeof(irb->ecw)); in ccw_device_accumulate_ecw() 122 cdev_irb = &cdev->private->dma_area->irb; in ccw_device_accumulate_esw() 214 memcpy(&cdev->private->dma_area->irb, irb, sizeof(struct irb)); in ccw_device_accumulate_irb() 223 cdev_irb = &cdev->private->dma_area->irb; in ccw_device_accumulate_irb() 231 memset(&cdev->private->dma_area->irb, 0, sizeof(struct irb)); in ccw_device_accumulate_irb() 333 sense_ccw = &to_io_private(sch)->dma_area->sense_ccw; in ccw_device_do_sense() 335 sense_ccw->cda = virt_to_dma32(cdev->private->dma_area->irb.ecw); in ccw_device_do_sense() [all …]
|
H A D | device_fsm.c | 72 &private->dma_area->sense_ccw || in ccw_timeout_log() 74 cdev->private->dma_area->iccws) in ccw_timeout_log() 143 cdev->id.cu_type = cdev->private->dma_area->senseid.cu_type; in ccw_device_update_sense_data() 144 cdev->id.cu_model = cdev->private->dma_area->senseid.cu_model; in ccw_device_update_sense_data() 145 cdev->id.dev_type = cdev->private->dma_area->senseid.dev_type; in ccw_device_update_sense_data() 146 cdev->id.dev_model = cdev->private->dma_area->senseid.dev_model; in ccw_device_update_sense_data() 152 cdev->private->dma_area->senseid.cu_type && in ccw_device_test_sense_data() 154 cdev->private->dma_area->senseid.cu_model && in ccw_device_test_sense_data() 156 cdev->private->dma_area->senseid.dev_type && in ccw_device_test_sense_data() 158 cdev->private->dma_area->senseid.dev_model; in ccw_device_test_sense_data() [all …]
|
H A D | device_pgid.c | 61 struct ccw1 *cp = cdev->private->dma_area->iccws; in nop_build_cp() 138 struct ccw1 *cp = cdev->private->dma_area->iccws; in spid_build_cp() 140 struct pgid *pgid = &cdev->private->dma_area->pgid[i]; in spid_build_cp() 304 struct pgid *pgid = &cdev->private->dma_area->pgid[0]; in pgid_analyze() 346 pgid = &cdev->private->dma_area->pgid[i]; in pgid_to_donepm() 372 memcpy(&cdev->private->dma_area->pgid[i], pgid, in pgid_fill() 440 struct ccw1 *cp = cdev->private->dma_area->iccws; in snid_build_cp() 445 cp->cda = virt_to_dma32(&cdev->private->dma_area->pgid[i]); in snid_build_cp() 521 memset(cdev->private->dma_area->pgid, 0, in verify_start() 522 sizeof(cdev->private->dma_area->pgid)); in verify_start() [all …]
|
H A D | ccwreq.c | 66 memset(&cdev->private->dma_area->irb, 0, sizeof(struct irb)); in ccwreq_stop() 89 memset(&cdev->private->dma_area->irb, 0, sizeof(struct irb)); in ccwreq_do() 172 struct irb *irb = &cdev->private->dma_area->irb; in ccwreq_status() 190 CIO_HEX_EVENT(2, &cdev->private->dma_area->irb.ecw, in ccwreq_status()
|
H A D | io_sch.h | 24 struct io_subchannel_dma_area *dma_area; member 180 struct ccw_device_dma_area *dma_area; member
|
/linux/sound/firewire/fireface/ |
H A D | amdtp-ff.c | 45 src = (void *)runtime->dma_area + in write_pcm_s32() 56 src = (void *)runtime->dma_area; in write_pcm_s32() 75 dst = (void *)runtime->dma_area + in read_pcm_s32() 86 dst = (void *)runtime->dma_area; in read_pcm_s32()
|
/linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi-ahb-audio.c | 394 vfree(runtime->dma_area); in dw_hdmi_hw_free() 395 runtime->dma_area = NULL; in dw_hdmi_hw_free() 406 if (runtime->dma_area) { in dw_hdmi_hw_params() 409 vfree(runtime->dma_area); in dw_hdmi_hw_params() 411 runtime->dma_area = vzalloc(size); in dw_hdmi_hw_params() 412 if (!runtime->dma_area) in dw_hdmi_hw_params() 421 return vmalloc_to_page(substream->runtime->dma_area + offset); in dw_hdmi_get_page() 477 dw->buf_src = runtime->dma_area; in dw_hdmi_prepare()
|
/linux/drivers/media/pci/cx18/ |
H A D | cx18-alsa-pcm.c | 95 if (runtime->dma_area == NULL) { 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()
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-alsa-pcm.c | 92 if (runtime->dma_area == NULL) { 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()
|
/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-alsa-pcm.c | 137 if (runtime->dma_area == NULL) { in cobalt_alsa_announce_pcm_data() 148 sample_cpy(runtime->dma_area + (oldptr + i) * stride, in cobalt_alsa_announce_pcm_data() 152 sample_cpy(runtime->dma_area + (i - cnt) * stride, in cobalt_alsa_announce_pcm_data() 158 sample_cpy(runtime->dma_area + (oldptr + i) * stride, in cobalt_alsa_announce_pcm_data() 336 if (runtime->dma_area == NULL) { in cobalt_alsa_pb_pcm_data() 344 runtime->dma_area + pos + i * stride, in cobalt_alsa_pb_pcm_data()
|
/linux/sound/soc/sof/ |
H A D | compress.c | 80 unsigned char *dma_area, size_t size) in create_page_table() argument 208 ret = create_page_table(component, cstream, crtd->dma_area, crtd->dma_bytes); in sof_compr_set_params() 313 ptr = rtd->dma_area + offset; in sof_compr_copy_playback() 320 ret += copy_from_user(rtd->dma_area, buf + n, count - n); in sof_compr_copy_playback() 334 ptr = rtd->dma_area + offset; in sof_compr_copy_capture() 341 ret += copy_to_user(buf + n, rtd->dma_area, count - n); in sof_compr_copy_capture()
|
/linux/drivers/media/pci/cx23885/ |
H A D | cx23885-alsa.c | 365 if (substream->runtime->dma_area) { in snd_cx23885_hw_params() 367 substream->runtime->dma_area = NULL; in snd_cx23885_hw_params() 403 substream->runtime->dma_area = chip->buf->vaddr; in snd_cx23885_hw_params() 423 if (substream->runtime->dma_area) { in snd_cx23885_hw_free() 425 substream->runtime->dma_area = NULL; in snd_cx23885_hw_free() 489 void *pageptr = substream->runtime->dma_area + offset; in snd_cx23885_page()
|
/linux/sound/firewire/tascam/ |
H A D | amdtp-tascam.c | 50 src = (void *)runtime->dma_area + in write_pcm_s32() 61 src = (void *)runtime->dma_area; in write_pcm_s32() 80 dst = (void *)runtime->dma_area + in read_pcm_s32() 94 dst = (void *)runtime->dma_area; in read_pcm_s32()
|
/linux/sound/firewire/ |
H A D | amdtp-am824.c | 163 src = (void *)runtime->dma_area + in write_pcm_s32() 175 src = (void *)runtime->dma_area; in write_pcm_s32() 194 dst = (void *)runtime->dma_area + in read_pcm_s32() 205 dst = (void *)runtime->dma_area; in read_pcm_s32()
|
H A D | isight.c | 119 memcpy(runtime->dma_area + isight->buffer_pointer * 4, in isight_samples() 123 memcpy(runtime->dma_area + isight->buffer_pointer * 4, in isight_samples() 126 memcpy(runtime->dma_area, samples, (count - count1) * 4); in isight_samples() 151 memset(runtime->dma_area + isight->buffer_pointer * 4, in isight_dropped_samples() 155 memset(runtime->dma_area + isight->buffer_pointer * 4, in isight_dropped_samples() 157 memset(runtime->dma_area, 0, (dropped - count1) * 4); in isight_dropped_samples()
|
/linux/sound/firewire/digi00x/ |
H A D | amdtp-dot.c | 160 src = (void *)runtime->dma_area + in write_pcm_s32() 173 src = (void *)runtime->dma_area; in write_pcm_s32() 192 dst = (void *)runtime->dma_area + in read_pcm_s32() 204 dst = (void *)runtime->dma_area; in read_pcm_s32()
|
/linux/drivers/media/pci/cx25821/ |
H A D | cx25821-alsa.c | 503 if (substream->runtime->dma_area) { in snd_cx25821_hw_params() 505 substream->runtime->dma_area = NULL; in snd_cx25821_hw_params() 546 substream->runtime->dma_area = chip->buf->vaddr; in snd_cx25821_hw_params() 565 if (substream->runtime->dma_area) { in snd_cx25821_hw_free() 567 substream->runtime->dma_area = NULL; in snd_cx25821_hw_free() 631 void *pageptr = substream->runtime->dma_area + offset; in snd_cx25821_page()
|
/linux/sound/soc/mediatek/common/ |
H A D | mtk-afe-fe-dai.c | 139 substream->runtime->dma_area, in mtk_afe_fe_hw_params() 142 memset_io((void __force __iomem *)substream->runtime->dma_area, 0, in mtk_afe_fe_hw_params() 147 substream->runtime->dma_area, in mtk_afe_fe_hw_params() 402 unsigned char *dma_area, in mtk_memif_set_addr() argument 411 memif->dma_area = dma_area; in mtk_memif_set_addr()
|
/linux/drivers/media/usb/cx231xx/ |
H A D | cx231xx-audio.c | 131 memcpy(runtime->dma_area + oldptr * stride, cp, in cx231xx_audio_isocirq() 133 memcpy(runtime->dma_area, cp + cnt * stride, in cx231xx_audio_isocirq() 136 memcpy(runtime->dma_area + oldptr * stride, cp, in cx231xx_audio_isocirq() 218 memcpy(runtime->dma_area + oldptr * stride, cp, in cx231xx_audio_bulkirq() 220 memcpy(runtime->dma_area, cp + cnt * stride, in cx231xx_audio_bulkirq() 223 memcpy(runtime->dma_area + oldptr * stride, cp, in cx231xx_audio_bulkirq()
|
/linux/sound/usb/6fire/ |
H A D | pcm.c | 201 u32 *dest = (u32 *) (alsa_rt->dma_area + sub->dma_off in usb6fire_pcm_capture() 203 u32 *dest_end = (u32 *) (alsa_rt->dma_area + alsa_rt->buffer_size in usb6fire_pcm_capture() 232 dest = (u32 *) alsa_rt->dma_area; in usb6fire_pcm_capture() 247 u32 *src = (u32 *) (alsa_rt->dma_area + sub->dma_off in usb6fire_pcm_playback() 249 u32 *src_end = (u32 *) (alsa_rt->dma_area + alsa_rt->buffer_size in usb6fire_pcm_playback() 279 src = (u32 *) alsa_rt->dma_area; in usb6fire_pcm_playback()
|
/linux/sound/usb/line6/ |
H A D | capture.c | 107 memcpy(runtime->dma_area + in line6_capture_copy() 110 memcpy(runtime->dma_area, fbuf + len * bytes_per_frame, in line6_capture_copy() 119 memcpy(runtime->dma_area + in line6_capture_copy()
|
/linux/drivers/media/usb/usbtv/ |
H A D | usbtv-audio.c | 138 memcpy(runtime->dma_area + buffer_pos * frame_bytes, in usbtv_audio_urb_received() 140 memcpy(runtime->dma_area, urb_current + cnt, in usbtv_audio_urb_received() 143 memcpy(runtime->dma_area + buffer_pos * frame_bytes, in usbtv_audio_urb_received()
|
/linux/drivers/media/pci/cx88/ |
H A D | cx88-alsa.c | 456 if (substream->runtime->dma_area) { in snd_cx88_hw_params() 458 substream->runtime->dma_area = NULL; in snd_cx88_hw_params() 493 substream->runtime->dma_area = chip->buf->vaddr; in snd_cx88_hw_params() 510 if (substream->runtime->dma_area) { in snd_cx88_hw_free() 512 substream->runtime->dma_area = NULL; in snd_cx88_hw_free() 577 void *pageptr = substream->runtime->dma_area + offset; in snd_cx88_page()
|
/linux/sound/firewire/motu/ |
H A D | amdtp-motu.c | 109 dst = (void *)runtime->dma_area + in read_pcm_s32() 125 dst = (void *)runtime->dma_area; in read_pcm_s32() 145 src = (void *)runtime->dma_area + in write_pcm_s32() 162 src = (void *)runtime->dma_area; in write_pcm_s32()
|