Home
last modified time | relevance | path

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

/linux-6.1.9/sound/pci/emu10k1/
Demufx.c742 struct snd_emu10k1_fx8010_control_gpr *gctl; in snd_emu10k1_verify_controls() local
754 gctl = kmalloc(sizeof(*gctl), GFP_KERNEL); in snd_emu10k1_verify_controls()
755 if (! gctl) in snd_emu10k1_verify_controls()
759 if (copy_gctl(emu, gctl, icode->gpr_add_controls, i, in snd_emu10k1_verify_controls()
764 if (snd_emu10k1_look_for_ctl(emu, &gctl->id)) in snd_emu10k1_verify_controls()
766 gctl_id = (struct snd_ctl_elem_id *)&gctl->id; in snd_emu10k1_verify_controls()
782 if (copy_gctl(emu, gctl, icode->gpr_list_controls, i, in snd_emu10k1_verify_controls()
789 kfree(gctl); in snd_emu10k1_verify_controls()
809 struct snd_emu10k1_fx8010_control_gpr *gctl; in snd_emu10k1_add_controls() local
818 gctl = kmalloc(sizeof(*gctl), GFP_KERNEL); in snd_emu10k1_add_controls()
[all …]
/linux-6.1.9/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()
1987 unsigned int gctl; in hw_card_init() local
[all …]
/linux-6.1.9/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-6.1.9/sound/pci/lola/
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()
/linux-6.1.9/arch/arm64/boot/dts/hisilicon/
Dhi3660-hikey960.dts681 snps,gctl-reset-quirk;