Home
last modified time | relevance | path

Searched refs:gctl (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-6.6/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()
53 dev_err(sdev->dev, "error: failed to %s HDA controller gctl 0x%x\n", in hda_dsp_ctrl_link_reset()
54 reset ? "reset" : "ready", gctl); in hda_dsp_ctrl_link_reset()
/kernel/linux/linux-6.6/sound/pci/emu10k1/
H A Demufx.c771 struct snd_emu10k1_fx8010_control_gpr *gctl; in snd_emu10k1_verify_controls() local
783 gctl = kmalloc(sizeof(*gctl), GFP_KERNEL); in snd_emu10k1_verify_controls()
784 if (! gctl) in snd_emu10k1_verify_controls()
788 if (copy_gctl(emu, gctl, icode->gpr_add_controls, i, in snd_emu10k1_verify_controls()
793 if (snd_emu10k1_look_for_ctl(emu, &gctl->id)) in snd_emu10k1_verify_controls()
795 gctl_id = (struct snd_ctl_elem_id *)&gctl->id; in snd_emu10k1_verify_controls()
805 switch (gctl->translation) { in snd_emu10k1_verify_controls()
811 if (gctl->min != 0 || gctl in snd_emu10k1_verify_controls()
863 struct snd_emu10k1_fx8010_control_gpr *gctl; snd_emu10k1_add_controls() local
983 struct snd_emu10k1_fx8010_control_gpr *gctl; snd_emu10k1_list_controls() local
[all...]
/kernel/linux/linux-5.10/sound/pci/ctxfi/
H A Dcthw20k2.c1356 unsigned int gctl; in hw_auto_init() local
1359 gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL); in hw_auto_init()
1360 set_field(&gctl, GCTL_AIE, 0); in hw_auto_init()
1361 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_auto_init()
1362 set_field(&gctl, GCTL_AIE, 1); in hw_auto_init()
1363 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_auto_init()
1366 gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL); in hw_auto_init()
1367 if (get_field(gctl, GCTL_AID)) in hw_auto_init()
1370 if (!get_field(gctl, GCTL_AID)) { in hw_auto_init()
2021 unsigned int gctl; in hw_card_start() local
2119 unsigned int gctl; hw_card_init() 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()
1991 unsigned int gctl; in hw_card_init() local
[all...]
/kernel/linux/linux-6.6/sound/pci/ctxfi/
H A Dcthw20k2.c1356 unsigned int gctl; in hw_auto_init() local
1359 gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL); in hw_auto_init()
1360 set_field(&gctl, GCTL_AIE, 0); in hw_auto_init()
1361 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_auto_init()
1362 set_field(&gctl, GCTL_AIE, 1); in hw_auto_init()
1363 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_auto_init()
1366 gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL); in hw_auto_init()
1367 if (get_field(gctl, GCTL_AID)) in hw_auto_init()
1370 if (!get_field(gctl, GCTL_AID)) { in hw_auto_init()
2021 unsigned int gctl; in hw_card_start() local
2115 unsigned int gctl; hw_card_init() 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()
1987 unsigned int gctl; in hw_card_init() local
[all...]
/kernel/linux/linux-5.10/sound/pci/emu10k1/
H A Demufx.c741 struct snd_emu10k1_fx8010_control_gpr *gctl; in snd_emu10k1_verify_controls() local
753 gctl = kmalloc(sizeof(*gctl), GFP_KERNEL); in snd_emu10k1_verify_controls()
754 if (! gctl) in snd_emu10k1_verify_controls()
758 if (copy_gctl(emu, gctl, icode->gpr_add_controls, i, in snd_emu10k1_verify_controls()
763 if (snd_emu10k1_look_for_ctl(emu, &gctl->id)) in snd_emu10k1_verify_controls()
765 gctl_id = (struct snd_ctl_elem_id *)&gctl->id; in snd_emu10k1_verify_controls()
781 if (copy_gctl(emu, gctl, icode->gpr_list_controls, i, in snd_emu10k1_verify_controls()
788 kfree(gctl); in snd_emu10k1_verify_controls()
808 struct snd_emu10k1_fx8010_control_gpr *gctl; in snd_emu10k1_add_controls() local
928 struct snd_emu10k1_fx8010_control_gpr *gctl; snd_emu10k1_list_controls() local
[all...]
/kernel/linux/linux-5.10/sound/soc/sof/intel/
H A Dhda-ctrl.c38 u32 gctl = 0; in hda_dsp_ctrl_link_reset() local
51 gctl = snd_sof_dsp_read(sdev, HDA_DSP_HDA_BAR, SOF_HDA_GCTL); in hda_dsp_ctrl_link_reset()
52 if ((gctl & SOF_HDA_GCTL_RESET) == val) in hda_dsp_ctrl_link_reset()
58 dev_err(sdev->dev, "error: failed to %s HDA controller gctl 0x%x\n", in hda_dsp_ctrl_link_reset()
59 reset ? "reset" : "ready", gctl); in hda_dsp_ctrl_link_reset()
/kernel/linux/linux-6.6/sound/pci/lola/
H A Dlola.c297 unsigned int gctl = lola_readl(chip, BAR0, GCTL); in reset_controller() local
300 if (gctl) { in reset_controller()
311 gctl = lola_readl(chip, BAR0, GCTL); in reset_controller()
312 if (gctl) in reset_controller()
315 if (!gctl) { in reset_controller()
/kernel/linux/linux-5.10/sound/pci/lola/
H A Dlola.c298 unsigned int gctl = lola_readl(chip, BAR0, GCTL); in reset_controller() local
301 if (gctl) { in reset_controller()
312 gctl = lola_readl(chip, BAR0, GCTL); in reset_controller()
313 if (gctl) in reset_controller()
316 if (!gctl) { in reset_controller()

Completed in 20 milliseconds