Searched refs:fsize (Results 1 – 4 of 4) sorted by relevance
/sound/core/ |
D | pcm_timer.c | 36 unsigned long rate, mult, fsize, l, post; in snd_pcm_timer_resolution_change() local 46 fsize = runtime->period_size; in snd_pcm_timer_resolution_change() 47 if (snd_BUG_ON(!fsize)) in snd_pcm_timer_resolution_change() 49 l = gcd(rate, fsize); in snd_pcm_timer_resolution_change() 51 fsize /= l; in snd_pcm_timer_resolution_change() 53 while ((mult * fsize) / fsize != mult) { in snd_pcm_timer_resolution_change() 64 runtime->timer_resolution = (mult * fsize / rate) * post; in snd_pcm_timer_resolution_change()
|
/sound/usb/line6/ |
D | capture.c | 88 void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf, int fsize) in line6_capture_copy() argument 96 int frames = fsize / bytes_per_frame; in line6_capture_copy() 124 line6pcm->in.pos_done * bytes_per_frame, fbuf, fsize); in line6_capture_copy() 167 int fsize; in audio_in_callback() local 176 fsize = fin->actual_length; in audio_in_callback() 178 if (fsize > line6pcm->max_packet_size_in) { in audio_in_callback() 181 fsize, line6pcm->max_packet_size_in); in audio_in_callback() 184 length += fsize; in audio_in_callback() 196 line6pcm->prev_fsize = fsize / in audio_in_callback() 202 fsize > 0) in audio_in_callback() [all …]
|
D | playback.c | 173 int fsize = 0; in submit_audio_out_urb() local 177 fsize = line6pcm->prev_fsize; in submit_audio_out_urb() 178 if (fsize == 0) { in submit_audio_out_urb() 184 fsize = n; in submit_audio_out_urb() 187 fsize *= bytes_per_frame; in submit_audio_out_urb() 190 fout->length = fsize; in submit_audio_out_urb() 191 urb_size += fsize; in submit_audio_out_urb()
|
D | capture.h | 23 int fsize);
|