Home
last modified time | relevance | path

Searched refs:hw_buffer_size (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/include/sound/
Dpcm-indirect.h15 unsigned int hw_buffer_size; /* Byte size of hardware buffer */ member
51 qsize = rec->hw_queue_size ? rec->hw_queue_size : rec->hw_buffer_size; in snd_pcm_indirect_playback_transfer()
53 unsigned int hw_to_end = rec->hw_buffer_size - rec->hw_data; in snd_pcm_indirect_playback_transfer()
66 if (rec->hw_data == rec->hw_buffer_size) in snd_pcm_indirect_playback_transfer()
87 bytes += rec->hw_buffer_size; in snd_pcm_indirect_playback_pointer()
121 size_t hw_to_end = rec->hw_buffer_size - rec->hw_data; in snd_pcm_indirect_capture_transfer()
134 if ((int)rec->hw_data == rec->hw_buffer_size) in snd_pcm_indirect_capture_transfer()
156 bytes += rec->hw_buffer_size; in snd_pcm_indirect_capture_pointer()
159 qsize = rec->hw_queue_size ? rec->hw_queue_size : rec->hw_buffer_size; in snd_pcm_indirect_capture_pointer()
/Linux-v5.10/drivers/staging/most/dim2/
Dhal.c250 static void dim2_configure_cdt(u8 ch_addr, u16 dbr_address, u16 hw_buffer_size, in dim2_configure_cdt() argument
259 ((hw_buffer_size - 1) << CDT3_BD_SHIFT) | in dim2_configure_cdt()
350 u8 ch_addr, u8 type, u8 is_tx, u16 dbr_address, u16 hw_buffer_size, in dim2_configure_channel() argument
353 dim2_configure_cdt(ch_addr, dbr_address, hw_buffer_size, packet_length); in dim2_configure_channel()
753 u16 ch_address, u16 hw_buffer_size) in init_ctrl_async() argument
762 ch->dbr_size = ROUND_UP_TO(hw_buffer_size, DBR_BLOCK_SIZE); in init_ctrl_async()
/Linux-v5.10/drivers/nfc/s3fwrn5/
Dfirmware.h46 __u16 hw_buffer_size; member
/Linux-v5.10/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-pcm.c221 alsa_stream->pcm_indirect.hw_buffer_size = in snd_bcm2835_pcm_prepare()
/Linux-v5.10/sound/mips/
Dhal2.c537 dac->pcm_indirect.hw_buffer_size = H2_BUF_SIZE; in hal2_playback_prepare()
622 adc->pcm_indirect.hw_buffer_size = H2_BUF_SIZE; in hal2_capture_prepare()
/Linux-v5.10/sound/pci/
Drme32.c1020 rme32->playback_pcm.hw_buffer_size = RME32_BUFFER_SIZE; in snd_rme32_playback_prepare()
1039 rme32->capture_pcm.hw_buffer_size = RME32_BUFFER_SIZE; in snd_rme32_capture_prepare()
/Linux-v5.10/sound/pci/cs46xx/
Dcs46xx_lib.c1250 cpcm->pcm_rec.hw_buffer_size = runtime->period_size * CS46XX_FRAGS << cpcm->shift; in snd_cs46xx_playback_prepare()
1329 chip->capt.pcm_rec.hw_buffer_size = runtime->period_size * CS46XX_FRAGS << 2; in snd_cs46xx_capture_prepare()
/Linux-v5.10/sound/pci/emu10k1/
Demupcm.c1637 pcm->pcm_rec.hw_buffer_size = pcm->buffer_size * 2; /* byte size */ in snd_emu10k1_fx8010_playback_prepare()