Searched refs:granularity (Results 1 – 10 of 10) sorted by relevance
/sound/pci/lola/ |
D | lola.c | 52 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()
|
D | lola_clock.c | 72 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()
|
D | lola_pcm.c | 55 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()
|
D | lola.h | 372 unsigned int granularity; member
|
/sound/pci/pcxhr/ |
D | pcxhr_core.c | 1144 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()
|
D | pcxhr.h | 72 int granularity; member
|
D | pcxhr.c | 817 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()
|
D | pcxhr_hwdep.c | 82 rmh.cmd[1] = (1<<23) + mgr->granularity; in pcxhr_init_board()
|
/sound/drivers/vx/ |
D | vx_pcm.c | 208 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()
|
D | vx_core.c | 639 chip->ibl.granularity); in vx_proc_read()
|