Home
last modified time | relevance | path

Searched refs:buffer_bytes (Results 1 – 12 of 12) sorted by relevance

/linux/kernel/
H A Dprofile.c86 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/sound/soc/google/
H A Dchv3-i2s.c205 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/sound/drivers/pcsp/
H A Dpcsp_lib.c92 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/drivers/scsi/
H A Dst.c703 STbuffer->buffer_bytes -= STbuffer->writing; in write_behind_check()
791 transfer = STp->buffer->buffer_bytes; in st_flush_write_buffer()
819 (STp->buffer)->buffer_bytes = 0; in st_flush_write_buffer()
832 (STp->buffer)->buffer_bytes = 0; in st_flush_write_buffer()
865 backspace = ((STp->buffer)->buffer_bytes + in flush_buffer()
869 (STp->buffer)->buffer_bytes = 0; in flush_buffer()
1218 (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; in check_tape()
1588 STbp->buffer_bytes = 0; /* can be used as transfer counter */ in setup_buffering()
1761 STbp->buffer_bytes; in st_write()
1780 STbp->buffer_bytes < STbp->buffer_size) { in st_write()
[all …]
H A Dst.h42 int buffer_bytes; member
/linux/include/sound/
H A Dpcm_oss.h39 size_t buffer_bytes; /* requested buffer size */ member
H A Dvx_core.h60 int buffer_bytes; /* the ALSA pcm buffer size in bytes */ member
/linux/sound/virtio/
H A Dvirtio_pcm.h55 size_t buffer_bytes; member
/linux/sound/usb/
H A Dcard.h172 unsigned int buffer_bytes; /* buffer size in bytes */ member
/linux/include/uapi/linux/
H A Dvirtio_snd.h258 __le32 buffer_bytes; member
/linux/sound/soc/intel/atom/
H A Dsst-mfld-platform-pcm.c129 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/include/uapi/sound/
H A Dasoc.h325 __le32 buffer_bytes; /* size of buffer in bytes */ member