Home
last modified time | relevance | path

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

/Linux-v5.4/sound/pci/emu10k1/
Demufx.c675 struct snd_emu10k1_fx8010_control_gpr *gctl, in copy_gctl() argument
683 memcpy(gctl, (__force void *)&_gctl[idx], sizeof(*gctl)); in copy_gctl()
684 else if (copy_from_user(gctl, &_gctl[idx], sizeof(*gctl))) in copy_gctl()
691 memcpy(gctl, (__force void *)&octl[idx], sizeof(*octl)); in copy_gctl()
692 else if (copy_from_user(gctl, &octl[idx], sizeof(*octl))) in copy_gctl()
694 gctl->tlv = NULL; in copy_gctl()
700 struct snd_emu10k1_fx8010_control_gpr *gctl, in copy_gctl_to_user() argument
706 return copy_to_user(&_gctl[idx], gctl, sizeof(*gctl)); in copy_gctl_to_user()
709 return copy_to_user(&octl[idx], gctl, sizeof(*octl)); in copy_gctl_to_user()
719 struct snd_emu10k1_fx8010_control_gpr *gctl; in snd_emu10k1_verify_controls() local
[all …]
/Linux-v5.4/sound/soc/sof/intel/
Dhda-ctrl.c30 u32 gctl = 0; in hda_dsp_ctrl_link_reset() local
43 gctl = snd_sof_dsp_read(sdev, HDA_DSP_HDA_BAR, SOF_HDA_GCTL); in hda_dsp_ctrl_link_reset()
44 if ((gctl & SOF_HDA_GCTL_RESET) == val) in hda_dsp_ctrl_link_reset()
51 reset ? "reset" : "ready", gctl); in hda_dsp_ctrl_link_reset()
/Linux-v5.4/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()
1993 unsigned int gctl; in hw_card_init() local
[all …]
/Linux-v5.4/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()