Home
last modified time | relevance | path

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

/linux/sound/soc/sof/intel/
H A Dhda-ctrl.c33 u32 gctl = 0; in hda_dsp_ctrl_link_reset() local
46 gctl = snd_sof_dsp_read(sdev, HDA_DSP_HDA_BAR, SOF_HDA_GCTL); in hda_dsp_ctrl_link_reset()
47 if ((gctl & SOF_HDA_GCTL_RESET) == val) in hda_dsp_ctrl_link_reset()
54 reset ? "reset" : "ready", gctl); in hda_dsp_ctrl_link_reset()
191 u32 gctl; in hda_dsp_ctrl_init_chip() local
201 gctl = snd_sof_dsp_read(sdev, HDA_DSP_HDA_BAR, SOF_HDA_GCTL); in hda_dsp_ctrl_init_chip()
202 if (gctl & SOF_HDA_GCTL_RESET) in hda_dsp_ctrl_init_chip()
/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 …]
/linux/sound/pci/lola/
H A Dlola.c295 unsigned int gctl = lola_readl(chip, BAR0, GCTL); in reset_controller() local
298 if (gctl) { in reset_controller()
309 gctl = lola_readl(chip, BAR0, GCTL); in reset_controller()
310 if (gctl) in reset_controller()
313 if (!gctl) { in reset_controller()