Lines Matching refs:master
88 unsigned int master; /* Master frequency */ member
105 unsigned int master; member
392 codec->master = 44100; in hal2_compute_rate()
395 codec->master = 48000; in hal2_compute_rate()
400 rate = 4 * codec->master / mod; in hal2_compute_rate()
409 unsigned int master = hal2->dac.master; in hal2_set_dac_rate() local
413 DEBUG("master: %d inc: %d mod: %d\n", master, inc, mod); in hal2_set_dac_rate()
415 hal2_i_write16(hal2, H2I_BRES1_C1, (master == 44100) ? 1 : 0); in hal2_set_dac_rate()
421 unsigned int master = hal2->adc.master; in hal2_set_adc_rate() local
425 DEBUG("master: %d inc: %d mod: %d\n", master, inc, mod); in hal2_set_adc_rate()
427 hal2_i_write16(hal2, H2I_BRES2_C1, (master == 44100) ? 1 : 0); in hal2_set_adc_rate()
837 hal2->mixer.master = 0xff; in hal2_init_mixer()
849 unsigned int master = hal2_card[0]->mixer.master; in hal2_volume_control() local
853 if (direction > 0 && master < 0xff) in hal2_volume_control()
854 master++; in hal2_volume_control()
856 else if (direction < 0 && master > 0) in hal2_volume_control()
857 master--; in hal2_volume_control()
859 vol->left = master; in hal2_volume_control()
860 vol->right = master; in hal2_volume_control()
861 hal2_card[0]->mixer.master = master; in hal2_volume_control()