Searched refs:granularity (Results 1 – 10 of 10) sorted by relevance
/sound/pci/lola/ |
D | lola.c | 39 static int granularity[SNDRV_CARDS] = { variable 48 module_param_array(granularity, int, NULL, 0444); 49 MODULE_PARM_DESC(granularity, "Granularity value"); 419 lola_set_granularity(chip, chip->granularity, true); in lola_reset_setups() 517 if (chip->granularity != LOLA_GRANULARITY_MIN) in lola_parse_tree() 518 lola_set_granularity(chip, chip->granularity, true); in lola_parse_tree() 556 chip->granularity = granularity[dev]; in lola_create() 557 switch (chip->granularity) { in lola_create() 570 chip->granularity, LOLA_GRANULARITY_MAX); in lola_create() 571 chip->granularity = LOLA_GRANULARITY_MAX; in lola_create()
|
D | lola_clock.c | 59 if (!chip->granularity) in check_gran_clock_compatibility() 81 if (val == chip->granularity) in lola_set_granularity() 93 chip->granularity = val; in lola_set_granularity() 279 if (!check_gran_clock_compatibility(chip, chip->granularity, freq)) in lola_set_clock()
|
D | lola_pcm.c | 42 if (chip->granularity) { in lola_get_tstamp() 44 tstamp += (wait_banks + 1) * chip->granularity - 1; in lola_get_tstamp() 45 tstamp -= tstamp % chip->granularity; in lola_get_tstamp() 239 chip->granularity); in lola_pcm_open() 241 chip->granularity); in lola_pcm_open()
|
D | lola.h | 359 unsigned int granularity; member
|
/sound/pci/pcxhr/ |
D | pcxhr_core.c | 1143 mgr->granularity); in pcxhr_stream_read_position() 1161 samples_to_add = mgr->granularity; in pcxhr_update_timer_pos() 1171 if (new_sample_count >= mgr->granularity) { in pcxhr_update_timer_pos() 1176 new_sample_count -= mgr->granularity; in pcxhr_update_timer_pos() 1286 if (tmp_diff > 0 && tmp_diff <= (2*mgr->granularity)) { in pcxhr_threaded_irq() 1302 else if (dsp_time_diff >= (2*mgr->granularity)) in pcxhr_threaded_irq() 1307 else if (dsp_time_diff % mgr->granularity) in pcxhr_threaded_irq()
|
D | pcxhr.h | 59 int granularity; member
|
D | pcxhr.c | 802 stream->timer_period_frag += mgr->granularity; in pcxhr_start_linked_stream() 887 rmh.cmd[0] |= mgr->granularity; in pcxhr_hardware_timer() 1261 mgr->granularity); in pcxhr_proc_info() 1537 mgr->granularity = PCXHR_GRANULARITY_HR22; in pcxhr_probe() 1539 mgr->granularity = PCXHR_GRANULARITY; in pcxhr_probe()
|
D | pcxhr_hwdep.c | 70 rmh.cmd[1] = (1<<23) + mgr->granularity; in pcxhr_init_board()
|
/sound/drivers/vx/ |
D | vx_pcm.c | 192 info->granularity = rmh.Stat[3]; in vx_set_ibl() 194 info->size, info->max_size, info->min_size, info->granularity); in vx_set_ibl() 1166 chip->ibl.size = roundup(preferred, chip->ibl.granularity); in vx_init_audio_io()
|
D | vx_core.c | 646 chip->ibl.granularity); in vx_proc_read()
|