Home
last modified time | relevance | path

Searched refs:gctl (Results 1 – 3 of 3) sorted by relevance

/linux/sound/pci/emu10k1/
H A Demufx.c767 struct snd_emu10k1_fx8010_control_gpr *gctl; in snd_emu10k1_verify_controls() local
779 gctl = kmalloc_obj(*gctl); in snd_emu10k1_verify_controls()
780 if (! gctl) in snd_emu10k1_verify_controls()
784 if (copy_gctl(emu, gctl, icode->gpr_add_controls, i, in snd_emu10k1_verify_controls()
789 if (snd_emu10k1_look_for_ctl(emu, &gctl->id)) in snd_emu10k1_verify_controls()
791 gctl_id = (struct snd_ctl_elem_id *)&gctl->id; in snd_emu10k1_verify_controls()
801 switch (gctl->translation) { in snd_emu10k1_verify_controls()
807 if (gctl->min != 0 || gctl->max != 100) { in snd_emu10k1_verify_controls()
814 if (gctl->min != 0 || gctl->max != 40) { in snd_emu10k1_verify_controls()
820 if (gctl->min != 0 || gctl->max != 1) { in snd_emu10k1_verify_controls()
[all …]
/linux/sound/pci/ctxfi/
H A Dcthw20k2.c1362 unsigned int gctl; in hw_auto_init() local
1365 gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL); in hw_auto_init()
1366 set_field(&gctl, GCTL_AIE, 0); in hw_auto_init()
1367 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_auto_init()
1368 set_field(&gctl, GCTL_AIE, 1); in hw_auto_init()
1369 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_auto_init()
1372 gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL); in hw_auto_init()
1373 if (get_field(gctl, GCTL_AID)) in hw_auto_init()
1376 if (!get_field(gctl, GCTL_AID)) { in hw_auto_init()
2062 unsigned int gctl; in hw_card_start() local
[all …]
H A Dcthw20k1.c1330 unsigned int gctl; in hw_auto_init() local
1333 gctl = hw_read_20kx(hw, GCTL); in hw_auto_init()
1334 set_field(&gctl, GCTL_EAI, 0); in hw_auto_init()
1335 hw_write_20kx(hw, GCTL, gctl); in hw_auto_init()
1336 set_field(&gctl, GCTL_EAI, 1); in hw_auto_init()
1337 hw_write_20kx(hw, GCTL, gctl); in hw_auto_init()
1340 gctl = hw_read_20kx(hw, GCTL); in hw_auto_init()
1341 if (get_field(gctl, GCTL_AID)) in hw_auto_init()
1344 if (!get_field(gctl, GCTL_AID)) { in hw_auto_init()
1988 unsigned int gctl; in hw_card_init() local
[all …]