Home
last modified time | relevance | path

Searched refs:granularity (Results 1 – 10 of 10) sorted by relevance

/sound/pci/lola/
Dlola.c52 static int granularity[SNDRV_CARDS] = { variable
61 module_param_array(granularity, int, NULL, 0444);
62 MODULE_PARM_DESC(granularity, "Granularity value");
435 lola_set_granularity(chip, chip->granularity, true); in lola_reset_setups()
533 if (chip->granularity != LOLA_GRANULARITY_MIN) in lola_parse_tree()
534 lola_set_granularity(chip, chip->granularity, true); in lola_parse_tree()
600 chip->granularity = granularity[dev]; in lola_create()
601 switch (chip->granularity) { in lola_create()
614 chip->granularity, LOLA_GRANULARITY_MAX); in lola_create()
615 chip->granularity = LOLA_GRANULARITY_MAX; in lola_create()
Dlola_clock.c72 if (!chip->granularity) in check_gran_clock_compatibility()
94 if (val == chip->granularity) in lola_set_granularity()
106 chip->granularity = val; in lola_set_granularity()
292 if (!check_gran_clock_compatibility(chip, chip->granularity, freq)) in lola_set_clock()
Dlola_pcm.c55 if (chip->granularity) { in lola_get_tstamp()
57 tstamp += (wait_banks + 1) * chip->granularity - 1; in lola_get_tstamp()
58 tstamp -= tstamp % chip->granularity; in lola_get_tstamp()
252 chip->granularity); in lola_pcm_open()
254 chip->granularity); in lola_pcm_open()
Dlola.h372 unsigned int granularity; member
/sound/pci/pcxhr/
Dpcxhr_core.c1144 mgr->granularity); in pcxhr_stream_read_position()
1162 samples_to_add = mgr->granularity; in pcxhr_update_timer_pos()
1172 if (new_sample_count >= mgr->granularity) { in pcxhr_update_timer_pos()
1177 new_sample_count -= mgr->granularity; in pcxhr_update_timer_pos()
1252 if (tmp_diff > 0 && tmp_diff <= (2*mgr->granularity)) { in pcxhr_interrupt()
1265 else if (dsp_time_diff >= (2*mgr->granularity)) in pcxhr_interrupt()
1269 else if (dsp_time_diff % mgr->granularity) in pcxhr_interrupt()
Dpcxhr.h72 int granularity; member
Dpcxhr.c817 stream->timer_period_frag += mgr->granularity; in pcxhr_trigger_tasklet()
901 rmh.cmd[0] |= mgr->granularity; in pcxhr_hardware_timer()
1292 mgr->granularity); in pcxhr_proc_info()
1574 mgr->granularity = PCXHR_GRANULARITY_HR22; in pcxhr_probe()
1576 mgr->granularity = PCXHR_GRANULARITY; in pcxhr_probe()
Dpcxhr_hwdep.c82 rmh.cmd[1] = (1<<23) + mgr->granularity; in pcxhr_init_board()
/sound/drivers/vx/
Dvx_pcm.c208 info->granularity = rmh.Stat[3]; in vx_set_ibl()
210 info->size, info->max_size, info->min_size, info->granularity); in vx_set_ibl()
1223 chip->ibl.size = ((preferred + chip->ibl.granularity - 1) / in vx_init_audio_io()
1224 chip->ibl.granularity) * chip->ibl.granularity; in vx_init_audio_io()
Dvx_core.c639 chip->ibl.granularity); in vx_proc_read()