Home
last modified time | relevance | path

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

/Linux-v5.10/sound/pci/emu10k1/
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
817 gctl = kmalloc(sizeof(*gctl), GFP_KERNEL); in snd_emu10k1_add_controls()
[all …]
/Linux-v5.10/sound/pci/ctxfi/
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
[all …]
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 …]
/Linux-v5.10/sound/soc/sof/intel/
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()
59 reset ? "reset" : "ready", gctl); in hda_dsp_ctrl_link_reset()
/Linux-v5.10/sound/pci/lola/
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()
/Linux-v5.10/arch/arm64/boot/dts/hisilicon/
Dhi3660-hikey960.dts681 snps,gctl-reset-quirk;