/linux-6.12.1/kernel/ |
D | profile.c | 86 int buffer_bytes; in profile_init() local 99 buffer_bytes = prof_len*sizeof(atomic_t); in profile_init() 101 prof_buffer = kzalloc(buffer_bytes, GFP_KERNEL|__GFP_NOWARN); in profile_init() 105 prof_buffer = alloc_pages_exact(buffer_bytes, in profile_init() 110 prof_buffer = vzalloc(buffer_bytes); in profile_init()
|
/linux-6.12.1/sound/soc/google/ |
D | chv3-i2s.c | 205 unsigned int buffer_bytes, period_bytes, period_size; in chv3_dma_prepare() local 207 buffer_bytes = snd_pcm_lib_buffer_bytes(substream); in chv3_dma_prepare() 214 chv3_i2s_wr(i2s, I2S_RX_BUFFER_SIZE, buffer_bytes); in chv3_dma_prepare() 220 chv3_i2s_wr(i2s, I2S_TX_BUFFER_SIZE, buffer_bytes); in chv3_dma_prepare() 234 u32 frame_bytes, buffer_bytes; in chv3_dma_pointer() local 238 buffer_bytes = snd_pcm_lib_buffer_bytes(substream); in chv3_dma_pointer() 245 idx_bytes = (idx_bytes - frame_bytes) & (buffer_bytes - 1); in chv3_dma_pointer()
|
/linux-6.12.1/sound/virtio/ |
D | virtio_pcm_ops.c | 154 unsigned int buffer_bytes, in virtsnd_pcm_dev_set_params() argument 189 request->buffer_bytes = cpu_to_le32(buffer_bytes); in virtsnd_pcm_dev_set_params() 283 vss->buffer_bytes = snd_pcm_lib_buffer_bytes(substream); in virtsnd_pcm_prepare() 287 unsigned int buffer_bytes = snd_pcm_lib_buffer_bytes(substream); in virtsnd_pcm_prepare() local 291 rc = virtsnd_pcm_dev_set_params(vss, buffer_bytes, period_bytes, in virtsnd_pcm_prepare() 341 rc = virtsnd_pcm_msg_send(vss, 0, vss->buffer_bytes); in virtsnd_pcm_trigger()
|
D | virtio_pcm.h | 55 size_t buffer_bytes; member
|
D | virtio_pcm_msg.c | 322 if (vss->hw_ptr >= vss->buffer_bytes) in virtsnd_pcm_msg_complete() 323 vss->hw_ptr -= vss->buffer_bytes; in virtsnd_pcm_msg_complete()
|
/linux-6.12.1/sound/drivers/pcsp/ |
D | pcsp_lib.c | 92 size_t period_bytes, buffer_bytes; in pcsp_pointer_update() local 102 buffer_bytes = snd_pcm_lib_buffer_bytes(substream); in pcsp_pointer_update() 111 chip->playback_ptr, period_bytes, buffer_bytes); in pcsp_pointer_update() 113 periods_elapsed += buffer_bytes; in pcsp_pointer_update() 118 chip->playback_ptr %= buffer_bytes; in pcsp_pointer_update() 122 chip->period_ptr %= buffer_bytes; in pcsp_pointer_update()
|
/linux-6.12.1/drivers/scsi/ |
D | st.c | 692 STbuffer->buffer_bytes -= STbuffer->writing; in write_behind_check() 780 transfer = STp->buffer->buffer_bytes; in st_flush_write_buffer() 808 (STp->buffer)->buffer_bytes = 0; in st_flush_write_buffer() 821 (STp->buffer)->buffer_bytes = 0; in st_flush_write_buffer() 854 backspace = ((STp->buffer)->buffer_bytes + in flush_buffer() 858 (STp->buffer)->buffer_bytes = 0; in flush_buffer() 1192 (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; in check_tape() 1562 STbp->buffer_bytes = 0; /* can be used as transfer counter */ in setup_buffering() 1735 STbp->buffer_bytes; in st_write() 1754 STbp->buffer_bytes < STbp->buffer_size) { in st_write() [all …]
|
D | st.h | 42 int buffer_bytes; member
|
/linux-6.12.1/sound/pci/ |
D | als300.c | 403 unsigned short buffer_bytes = snd_pcm_lib_buffer_bytes(substream); in snd_als300_playback_prepare() local 410 period_bytes, buffer_bytes); in snd_als300_playback_prepare() 421 runtime->dma_addr + buffer_bytes - 1); in snd_als300_playback_prepare() 432 unsigned short buffer_bytes = snd_pcm_lib_buffer_bytes(substream); in snd_als300_capture_prepare() local 439 buffer_bytes); in snd_als300_capture_prepare() 450 runtime->dma_addr + buffer_bytes - 1); in snd_als300_capture_prepare()
|
D | azt3328.c | 1366 unsigned int buffer_bytes in snd_azf3328_codec_setdmaa() argument 1370 WARN_ONCE(buffer_bytes != 2 * period_bytes, in snd_azf3328_codec_setdmaa() 1372 buffer_bytes, period_bytes); in snd_azf3328_codec_setdmaa() 1386 area_length = buffer_bytes/2; in snd_azf3328_codec_setdmaa() 1395 period_bytes, buffer_bytes); in snd_azf3328_codec_setdmaa()
|
/linux-6.12.1/sound/pcmcia/vx/ |
D | vxp_ops.c | 363 if (offset + count >= pipe->buffer_bytes) { in vxp_dma_write() 364 int length = pipe->buffer_bytes - offset; in vxp_dma_write() 405 if (offset + count >= pipe->buffer_bytes) { in vxp_dma_read() 406 int length = pipe->buffer_bytes - offset; in vxp_dma_read()
|
/linux-6.12.1/sound/usb/ |
D | pcm.c | 672 subs->buffer_bytes = frames_to_bytes(runtime, runtime->buffer_size); in snd_usb_pcm_prepare() 1309 if (subs->hwptr_done >= subs->buffer_bytes) in retire_capture_urb() 1310 subs->hwptr_done -= subs->buffer_bytes; in retire_capture_urb() 1323 if (oldptr + bytes > subs->buffer_bytes) { in retire_capture_urb() 1324 unsigned int bytes1 = subs->buffer_bytes - oldptr; in retire_capture_urb() 1345 if (subs->hwptr_done >= subs->buffer_bytes) in urb_ctx_queue_advance() 1346 subs->hwptr_done -= subs->buffer_bytes; in urb_ctx_queue_advance() 1355 unsigned int wrap = subs->buffer_bytes; in fill_playback_urb_dsd_dop() 1416 if (++ofs >= subs->buffer_bytes) in fill_playback_urb_dsd_bitrev() 1428 if (subs->hwptr_done + bytes > subs->buffer_bytes) { in copy_to_urb() [all …]
|
D | card.h | 170 unsigned int buffer_bytes; /* buffer size in bytes */ member
|
/linux-6.12.1/include/sound/ |
D | pcm_oss.h | 39 size_t buffer_bytes; /* requested buffer size */ member
|
D | vx_core.h | 60 int buffer_bytes; /* the ALSA pcm buffer size in bytes */ member
|
/linux-6.12.1/sound/pci/vx222/ |
D | vx222_ops.c | 259 if (offset + count >= pipe->buffer_bytes) { in vx2_dma_write() 260 int length = pipe->buffer_bytes - offset; in vx2_dma_write() 297 if (offset + count >= pipe->buffer_bytes) { in vx2_dma_read() 298 int length = pipe->buffer_bytes - offset; in vx2_dma_read()
|
/linux-6.12.1/sound/drivers/vx/ |
D | vx_pcm.c | 51 if (++offset >= pipe->buffer_bytes) { in vx_pcm_read_per_bytes() 56 if (++offset >= pipe->buffer_bytes) { in vx_pcm_read_per_bytes() 61 if (++offset >= pipe->buffer_bytes) { in vx_pcm_read_per_bytes() 835 pipe->buffer_bytes = frames_to_bytes(runtime, runtime->buffer_size); in vx_pcm_prepare()
|
/linux-6.12.1/sound/pci/asihpi/ |
D | asihpi.c | 132 unsigned int buffer_bytes; member 478 dpcm->buffer_bytes = params_buffer_bytes(params); in snd_card_asihpi_pcm_hw_params() 777 newdata = (pcm_buf_dma_ofs - ds->pcm_buf_elapsed_dma_ofs) % ds->buffer_bytes; in snd_card_asihpi_timer_function() 783 (pcm_buf_dma_ofs - ds->pcm_buf_elapsed_dma_ofs) % ds->buffer_bytes, in snd_card_asihpi_timer_function() 838 unsigned int buf_ofs = ds->pcm_buf_host_rw_ofs % ds->buffer_bytes; in snd_card_asihpi_timer_function() 846 xfer1 = min(xfercount, ds->buffer_bytes - buf_ofs); in snd_card_asihpi_timer_function() 932 ptr = bytes_to_frames(runtime, dpcm->pcm_buf_dma_ofs % dpcm->buffer_bytes); in snd_card_asihpi_playback_pointer() 1091 return bytes_to_frames(runtime, dpcm->pcm_buf_dma_ofs % dpcm->buffer_bytes); in snd_card_asihpi_capture_pointer()
|
/linux-6.12.1/include/uapi/linux/ |
D | virtio_snd.h | 258 __le32 buffer_bytes; member
|
/linux-6.12.1/sound/core/oss/ |
D | pcm_oss.c | 582 if (buffer_size == runtime->oss.buffer_bytes) in snd_pcm_oss_bytes() 585 return runtime->oss.buffer_bytes * bytes / buffer_size; in snd_pcm_oss_bytes() 588 u64 bsize = (u64)runtime->oss.buffer_bytes * (u64)bytes; in snd_pcm_oss_bytes() 598 if (buffer_size == runtime->oss.buffer_bytes) in snd_pcm_alsa_frames() 600 return bytes_to_frames(runtime, (buffer_size * bytes) / runtime->oss.buffer_bytes); in snd_pcm_alsa_frames() 1054 runtime->oss.buffer_bytes = oss_buffer_size; in snd_pcm_oss_change_params_locked() 1058 runtime->oss.buffer_bytes); in snd_pcm_oss_change_params_locked() 2235 info.blocks = (runtime->oss.buffer_bytes - delay - fixup) / runtime->oss.period_bytes; in snd_pcm_oss_get_ptr()
|
/linux-6.12.1/sound/soc/intel/atom/ |
D | sst-mfld-platform-pcm.c | 129 ssize_t buffer_bytes = snd_pcm_lib_buffer_bytes(substream); in sst_fill_alloc_params() local 136 alloc_param->ring_buf_info[0].size = buffer_bytes; in sst_fill_alloc_params()
|
/linux-6.12.1/include/uapi/sound/ |
D | asoc.h | 325 __le32 buffer_bytes; /* size of buffer in bytes */ member
|