Home
last modified time | relevance | path

Searched refs:runtime (Results 1 – 25 of 99) sorted by relevance

1234

/drivers/staging/vc04_services/bcm2835-audio/
A Dbcm2835-pcm.c49 kfree(runtime->private_data); in snd_bcm2835_playback_free()
88 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_playback_open_generic() local
170 struct snd_pcm_runtime *runtime; in snd_bcm2835_playback_close() local
175 runtime = substream->runtime; in snd_bcm2835_playback_close()
198 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_prepare() local
210 channels = runtime->channels; in snd_bcm2835_pcm_prepare()
213 runtime->rate, in snd_bcm2835_pcm_prepare()
237 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_transfer() local
246 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_ack() local
257 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_trigger() local
[all …]
/drivers/media/pci/cobalt/
A Dcobalt-alsa-pcm.c119 runtime = substream->runtime; in cobalt_alsa_announce_pcm_data()
120 if (runtime == NULL) { in cobalt_alsa_announce_pcm_data()
166 runtime->buffer_size) in cobalt_alsa_announce_pcm_data()
168 runtime->buffer_size; in cobalt_alsa_announce_pcm_data()
172 runtime->period_size) { in cobalt_alsa_announce_pcm_data()
174 runtime->period_size; in cobalt_alsa_announce_pcm_data()
208 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cobalt_pcm_capture_open() local
215 runtime->private_data = s; in snd_cobalt_pcm_capture_open()
318 runtime = substream->runtime; in cobalt_alsa_pb_pcm_data()
319 if (runtime == NULL) { in cobalt_alsa_pb_pcm_data()
[all …]
/drivers/gpu/drm/bridge/synopsys/
A Ddw-hdmi-ahb-audio.c321 struct snd_pcm_runtime *runtime = substream->runtime; in dw_hdmi_open() local
327 runtime->hw = dw_hdmi_hw; in dw_hdmi_open()
392 struct snd_pcm_runtime *runtime = substream->runtime; in dw_hdmi_hw_free() local
394 vfree(runtime->dma_area); in dw_hdmi_hw_free()
395 runtime->dma_area = NULL; in dw_hdmi_hw_free()
402 struct snd_pcm_runtime *runtime = substream->runtime; in dw_hdmi_hw_params() local
406 if (runtime->dma_area) { in dw_hdmi_hw_params()
412 if (!runtime->dma_area) in dw_hdmi_hw_params()
426 struct snd_pcm_runtime *runtime = substream->runtime; in dw_hdmi_prepare() local
500 substream->runtime->delay = substream->runtime->period_size; in dw_hdmi_trigger()
[all …]
/drivers/media/pci/cx18/
A Dcx18-alsa-pcm.c62 struct snd_pcm_runtime *runtime; in cx18_alsa_announce_pcm_data() local
77 runtime = substream->runtime; in cx18_alsa_announce_pcm_data()
78 if (runtime == NULL) { in cx18_alsa_announce_pcm_data()
95 if (runtime->dma_area == NULL) { in cx18_alsa_announce_pcm_data()
103 runtime->buffer_size - oldptr; in cx18_alsa_announce_pcm_data()
116 runtime->buffer_size) in cx18_alsa_announce_pcm_data()
118 runtime->buffer_size; in cx18_alsa_announce_pcm_data()
122 runtime->period_size) { in cx18_alsa_announce_pcm_data()
124 runtime->period_size; in cx18_alsa_announce_pcm_data()
137 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cx18_pcm_capture_open() local
[all …]
/drivers/media/pci/ivtv/
A Divtv-alsa-pcm.c59 struct snd_pcm_runtime *runtime; in ivtv_alsa_announce_pcm_data() local
74 runtime = substream->runtime; in ivtv_alsa_announce_pcm_data()
75 if (runtime == NULL) { in ivtv_alsa_announce_pcm_data()
92 if (runtime->dma_area == NULL) { in ivtv_alsa_announce_pcm_data()
100 runtime->buffer_size - oldptr; in ivtv_alsa_announce_pcm_data()
113 runtime->buffer_size) in ivtv_alsa_announce_pcm_data()
115 runtime->buffer_size; in ivtv_alsa_announce_pcm_data()
119 runtime->period_size) { in ivtv_alsa_announce_pcm_data()
121 runtime->period_size; in ivtv_alsa_announce_pcm_data()
134 struct snd_pcm_runtime *runtime = substream->runtime; in snd_ivtv_pcm_capture_open() local
[all …]
/drivers/gpu/drm/i915/
A Dintel_device_info.c93 if (runtime->graphics.ip.rel) in intel_device_info_print()
95 runtime->graphics.ip.ver, in intel_device_info_print()
96 runtime->graphics.ip.rel); in intel_device_info_print()
99 runtime->graphics.ip.ver); in intel_device_info_print()
101 if (runtime->media.ip.rel) in intel_device_info_print()
103 runtime->media.ip.ver, in intel_device_info_print()
104 runtime->media.ip.rel); in intel_device_info_print()
107 runtime->media.ip.ver); in intel_device_info_print()
349 &runtime->graphics.ip); in intel_ipver_early_init()
357 &runtime->media.ip); in intel_ipver_early_init()
[all …]
/drivers/gpu/drm/xe/
A Dxe_gt_sriov_pf_service.c155 gt->sriov.pf.service.runtime.size = size; in pf_alloc_runtime_info()
156 gt->sriov.pf.service.runtime.regs = regs; in pf_alloc_runtime_info()
175 if (!gt->sriov.pf.service.runtime.size) in pf_prepare_runtime_info()
178 size = gt->sriov.pf.service.runtime.size; in pf_prepare_runtime_info()
179 regs = gt->sriov.pf.service.runtime.regs; in pf_prepare_runtime_info()
280 runtime = &gt->sriov.pf.service.runtime; in pf_service_runtime_query()
282 if (start > runtime->size) in pf_service_runtime_query()
288 addr = runtime->regs[start + i].addr; in pf_service_runtime_query()
290 data->value = runtime->values[start + i]; in pf_service_runtime_query()
396 size = gt->sriov.pf.service.runtime.size; in xe_gt_sriov_pf_service_print_runtime()
[all …]
A Dxe_gt_sriov_vf.c798 gt->sriov.vf.runtime.num_regs = num_regs; in vf_prepare_runtime_info()
803 gt->sriov.vf.runtime.regs = NULL; in vf_prepare_runtime_info()
804 gt->sriov.vf.runtime.num_regs = 0; in vf_prepare_runtime_info()
805 gt->sriov.vf.runtime.regs_size = 0; in vf_prepare_runtime_info()
812 gt->sriov.vf.runtime.regs = regs; in vf_prepare_runtime_info()
813 gt->sriov.vf.runtime.num_regs = num_regs; in vf_prepare_runtime_info()
814 gt->sriov.vf.runtime.regs_size = regs_size; in vf_prepare_runtime_info()
946 struct xe_gt_sriov_vf_runtime *runtime = &gt->sriov.vf.runtime; in vf_lookup_reg() local
951 return bsearch(&key, runtime->regs, runtime->num_regs, sizeof(key), in vf_lookup_reg()
976 addr, gt->sriov.vf.runtime.gmdid); in xe_gt_sriov_vf_read32()
[all …]
/drivers/media/usb/cx231xx/
A Dcx231xx-audio.c113 runtime = substream->runtime; in cx231xx_audio_isocirq()
144 runtime->buffer_size) in cx231xx_audio_isocirq()
146 runtime->buffer_size; in cx231xx_audio_isocirq()
150 runtime->period_size) { in cx231xx_audio_isocirq()
152 runtime->period_size; in cx231xx_audio_isocirq()
204 runtime = substream->runtime; in cx231xx_audio_bulkirq()
231 runtime->buffer_size) in cx231xx_audio_bulkirq()
233 runtime->buffer_size; in cx231xx_audio_bulkirq()
237 runtime->period_size) { in cx231xx_audio_bulkirq()
239 runtime->period_size; in cx231xx_audio_bulkirq()
[all …]
/drivers/staging/media/atomisp/
A DMakefile112 pci/runtime/binary/src/binary.o \
113 pci/runtime/bufq/src/bufq.o \
115 pci/runtime/eventq/src/eventq.o \
116 pci/runtime/event/src/event.o \
117 pci/runtime/frame/src/frame.o \
118 pci/runtime/ifmtr/src/ifmtr.o \
125 pci/runtime/isys/src/rx.o \
129 pci/runtime/queue/src/queue.o \
130 pci/runtime/rmgr/src/rmgr.o \
132 pci/runtime/spctrl/src/spctrl.o \
[all …]
/drivers/media/pci/saa7134/
A Dsaa7134-alsa.c235 struct snd_pcm_runtime *runtime = substream->runtime; in snd_card_saa7134_capture_trigger() local
499 struct snd_pcm_runtime *runtime = substream->runtime; in snd_card_saa7134_capture_prepare() local
527 if (1 == runtime->channels) in snd_card_saa7134_capture_prepare()
529 if (2 == runtime->channels) in snd_card_saa7134_capture_prepare()
543 if (1 == runtime->channels) in snd_card_saa7134_capture_prepare()
545 if (2 == runtime->channels) in snd_card_saa7134_capture_prepare()
555 runtime->format, runtime->channels, fmt, in snd_card_saa7134_capture_prepare()
593 struct snd_pcm_runtime *runtime = substream->runtime; in snd_card_saa7134_capture_pointer() local
730 substream->runtime->dma_addr = 0; in snd_card_saa7134_hw_params()
796 struct snd_pcm_runtime *runtime = substream->runtime; in snd_card_saa7134_capture_open() local
[all …]
/drivers/media/usb/usbtv/
A Dusbtv-audio.c68 struct snd_pcm_runtime *runtime = substream->runtime; in snd_usbtv_pcm_open() local
71 runtime->hw = snd_usbtv_digital_hw; in snd_usbtv_pcm_open()
102 struct snd_pcm_runtime *runtime = substream->runtime; in usbtv_audio_urb_received() local
125 frame_bytes = runtime->frame_bits >> 3; in usbtv_audio_urb_received()
136 size_t cnt = (runtime->buffer_size - buffer_pos) * in usbtv_audio_urb_received()
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()
150 if (buffer_pos >= runtime->buffer_size) in usbtv_audio_urb_received()
151 buffer_pos -= runtime->buffer_size; in usbtv_audio_urb_received()
153 if (period_pos >= runtime->period_size) { in usbtv_audio_urb_received()
[all …]
/drivers/media/pci/cx23885/
A Dcx23885-alsa.c314 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cx23885_pcm_open() local
329 runtime->hw = snd_cx23885_digital_hw; in snd_cx23885_pcm_open()
336 runtime->hw.period_bytes_min = bpl; in snd_cx23885_pcm_open()
337 runtime->hw.period_bytes_max = bpl; in snd_cx23885_pcm_open()
365 if (substream->runtime->dma_area) { in snd_cx23885_hw_params()
367 substream->runtime->dma_area = NULL; in snd_cx23885_hw_params()
405 substream->runtime->dma_addr = 0; 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()
475 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cx23885_pointer() local
[all …]
/drivers/media/usb/go7007/
A Dsnd-go7007.c67 struct snd_pcm_runtime *runtime = gosnd->substream->runtime; in parse_audio_stream_data() local
68 int frames = bytes_to_frames(runtime, length); in parse_audio_stream_data()
73 if (gosnd->hw_ptr >= runtime->buffer_size) in parse_audio_stream_data()
74 gosnd->hw_ptr -= runtime->buffer_size; in parse_audio_stream_data()
77 if (gosnd->w_idx + length > runtime->dma_bytes) { in parse_audio_stream_data()
78 int cpy = runtime->dma_bytes - gosnd->w_idx; in parse_audio_stream_data()
80 memcpy(runtime->dma_area + gosnd->w_idx, buf, cpy); in parse_audio_stream_data()
85 memcpy(runtime->dma_area + gosnd->w_idx, buf, length); in parse_audio_stream_data()
88 if (gosnd->avail < runtime->period_size) { in parse_audio_stream_data()
92 gosnd->avail -= runtime->period_size; in parse_audio_stream_data()
[all …]
/drivers/gpu/drm/nouveau/
A Dnouveau_display.h23 int (*init)(struct drm_device *, bool resume, bool runtime);
24 void (*fini)(struct drm_device *, bool suspend, bool runtime);
50 int nouveau_display_init(struct drm_device *dev, bool resume, bool runtime);
52 void nouveau_display_fini(struct drm_device *dev, bool suspend, bool runtime);
53 int nouveau_display_suspend(struct drm_device *dev, bool runtime);
54 void nouveau_display_resume(struct drm_device *dev, bool runtime);
A Dnouveau_vga.c90 bool runtime = nouveau_pmops_runtime(); in nouveau_vga_init() local
104 vga_switcheroo_register_client(pdev, &nouveau_switcheroo_ops, runtime); in nouveau_vga_init()
106 if (runtime && nouveau_is_v1_dsm() && !nouveau_is_optimus()) in nouveau_vga_init()
114 bool runtime = nouveau_pmops_runtime(); in nouveau_vga_fini() local
128 if (runtime && nouveau_is_v1_dsm() && !nouveau_is_optimus()) in nouveau_vga_fini()
A Dnouveau_display.c543 nouveau_display_init(struct drm_device *dev, bool resume, bool runtime) in nouveau_display_init() argument
562 ret = disp->init(dev, resume, runtime); in nouveau_display_init()
575 nouveau_display_fini(struct drm_device *dev, bool suspend, bool runtime) in nouveau_display_fini() argument
598 if (!runtime && !drm->headless) in nouveau_display_fini()
602 disp->fini(dev, runtime, suspend); in nouveau_display_fini()
763 nouveau_display_suspend(struct drm_device *dev, bool runtime) in nouveau_display_suspend() argument
770 if (!runtime) { in nouveau_display_suspend()
780 nouveau_display_fini(dev, true, runtime); in nouveau_display_suspend()
785 nouveau_display_resume(struct drm_device *dev, bool runtime) in nouveau_display_resume() argument
789 nouveau_display_init(dev, true, runtime); in nouveau_display_resume()
/drivers/media/pci/cx25821/
A Dcx25821-alsa.c448 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cx25821_pcm_open() local
464 runtime->hw = snd_cx25821_digital_hw; in snd_cx25821_pcm_open()
475 runtime->hw.period_bytes_min = bpl; in snd_cx25821_pcm_open()
476 runtime->hw.period_bytes_max = bpl; in snd_cx25821_pcm_open()
503 if (substream->runtime->dma_area) { in snd_cx25821_hw_params()
505 substream->runtime->dma_area = NULL; in snd_cx25821_hw_params()
548 substream->runtime->dma_addr = 0; 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()
617 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cx25821_pointer() local
[all …]
/drivers/most/
A Dmost_snd.c183 struct snd_pcm_runtime *const runtime = channel->substream->runtime; in copy_data() local
185 unsigned int const buffer_size = runtime->buffer_size; in copy_data()
201 channel->copy_fn(runtime->dma_area, in copy_data()
210 if (channel->period_pos >= runtime->period_size) { in copy_data()
211 channel->period_pos -= runtime->period_size; in copy_data()
268 struct snd_pcm_runtime *runtime = substream->runtime; in pcm_open() local
291 runtime->hw = channel->pcm_hardware; in pcm_open()
327 struct snd_pcm_runtime *runtime = substream->runtime; in pcm_prepare() local
329 int width = snd_pcm_format_physical_width(runtime->format); in pcm_prepare()
334 if (snd_pcm_format_big_endian(runtime->format) || width == 8) in pcm_prepare()
[all …]
/drivers/media/pci/cx88/
A Dcx88-alsa.c406 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cx88_pcm_open() local
421 runtime->hw = snd_cx88_digital_hw; in snd_cx88_pcm_open()
427 runtime->hw.period_bytes_min = bpl; in snd_cx88_pcm_open()
428 runtime->hw.period_bytes_max = bpl; in snd_cx88_pcm_open()
456 if (substream->runtime->dma_area) { in snd_cx88_hw_params()
458 substream->runtime->dma_area = NULL; in snd_cx88_hw_params()
495 substream->runtime->dma_addr = 0; 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()
560 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cx88_pointer() local
[all …]
/drivers/usb/gadget/function/
A Du_audio.c155 struct snd_pcm_runtime *runtime; in u_audio_iso_complete() local
187 runtime = substream->runtime; in u_audio_iso_complete()
188 if (!runtime || !snd_pcm_running(substream)) { in u_audio_iso_complete()
245 pending = runtime->dma_bytes - hw_ptr; in u_audio_iso_complete()
253 memcpy(req->buf, runtime->dma_area + hw_ptr, in u_audio_iso_complete()
388 struct snd_pcm_runtime *runtime = substream->runtime; in uac_pcm_open() local
403 runtime->hw = uac_pcm_hardware; in uac_pcm_open()
416 / runtime->hw.periods_min; in uac_pcm_open()
417 runtime->hw.rate_min = prm->srate; in uac_pcm_open()
418 runtime->hw.rate_max = runtime->hw.rate_min; in uac_pcm_open()
[all …]
A Du_uac1_legacy.c156 struct snd_pcm_runtime *runtime = substream->runtime; in u_audio_playback() local
161 if (runtime->state == SNDRV_PCM_STATE_XRUN || in u_audio_playback()
162 runtime->state == SNDRV_PCM_STATE_SUSPENDED) { in u_audio_playback()
172 frames = bytes_to_frames(runtime, count); in u_audio_playback()
/drivers/media/usb/em28xx/
A Dem28xx-audio.c76 struct snd_pcm_runtime *runtime; in em28xx_audio_isocirq() local
103 runtime = substream->runtime; in em28xx_audio_isocirq()
104 stride = runtime->frame_bits >> 3; in em28xx_audio_isocirq()
119 runtime->buffer_size - oldptr; in em28xx_audio_isocirq()
122 memcpy(runtime->dma_area, cp + cnt * stride, in em28xx_audio_isocirq()
133 runtime->buffer_size) in em28xx_audio_isocirq()
135 runtime->buffer_size; in em28xx_audio_isocirq()
139 runtime->period_size) { in em28xx_audio_isocirq()
141 runtime->period_size; in em28xx_audio_isocirq()
219 struct snd_pcm_runtime *runtime = substream->runtime; in snd_em28xx_capture_open() local
[all …]
/drivers/thermal/intel/
A Dintel_powerclamp.c467 unsigned int runtime; in get_run_time() local
487 runtime = duration * 100 / compensated_ratio - duration; in get_run_time()
489 return runtime; in get_run_time()
555 unsigned int runtime = get_run_time(); in idle_inject_update() local
557 idle_inject_set_duration(ii_dev, runtime, duration); in idle_inject_update()
573 unsigned int runtime = get_run_time(); in trigger_idle_injection() local
575 idle_inject_set_duration(ii_dev, runtime, duration); in trigger_idle_injection()
693 unsigned int runtime; in powerclamp_set_cur_state() local
696 runtime = get_run_time(); in powerclamp_set_cur_state()
697 idle_inject_set_duration(ii_dev, runtime, duration); in powerclamp_set_cur_state()
/drivers/firmware/efi/
A DMakefile23 obj-$(CONFIG_EFI_RUNTIME_WRAPPERS) += runtime-wrappers.o
36 arm-obj-$(CONFIG_EFI) := efi-init.o arm-runtime.o
39 riscv-obj-$(CONFIG_EFI) := efi-init.o riscv-runtime.o

Completed in 76 milliseconds

1234