Home
last modified time | relevance | path

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

/Linux-v4.19/sound/pci/emu10k1/
Demufx.c688 struct snd_emu10k1_fx8010_control_gpr *gctl, in copy_gctl() argument
696 memcpy(gctl, (__force void *)&_gctl[idx], sizeof(*gctl)); in copy_gctl()
697 else if (copy_from_user(gctl, &_gctl[idx], sizeof(*gctl))) in copy_gctl()
704 memcpy(gctl, (__force void *)&octl[idx], sizeof(*octl)); in copy_gctl()
705 else if (copy_from_user(gctl, &octl[idx], sizeof(*octl))) in copy_gctl()
707 gctl->tlv = NULL; in copy_gctl()
713 struct snd_emu10k1_fx8010_control_gpr *gctl, in copy_gctl_to_user() argument
719 return copy_to_user(&_gctl[idx], gctl, sizeof(*gctl)); in copy_gctl_to_user()
722 return copy_to_user(&octl[idx], gctl, sizeof(*octl)); in copy_gctl_to_user()
732 struct snd_emu10k1_fx8010_control_gpr *gctl; in snd_emu10k1_verify_controls() local
[all …]
/Linux-v4.19/sound/pci/ctxfi/
Dcthw20k2.c1360 unsigned int gctl; in hw_auto_init() local
1363 gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL); in hw_auto_init()
1364 set_field(&gctl, GCTL_AIE, 0); in hw_auto_init()
1365 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_auto_init()
1366 set_field(&gctl, GCTL_AIE, 1); in hw_auto_init()
1367 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_auto_init()
1370 gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL); in hw_auto_init()
1371 if (get_field(gctl, GCTL_AID)) in hw_auto_init()
1374 if (!get_field(gctl, GCTL_AID)) { in hw_auto_init()
2025 unsigned int gctl; in hw_card_start() local
[all …]
Dcthw20k1.c1334 unsigned int gctl; in hw_auto_init() local
1337 gctl = hw_read_20kx(hw, GCTL); in hw_auto_init()
1338 set_field(&gctl, GCTL_EAI, 0); in hw_auto_init()
1339 hw_write_20kx(hw, GCTL, gctl); in hw_auto_init()
1340 set_field(&gctl, GCTL_EAI, 1); in hw_auto_init()
1341 hw_write_20kx(hw, GCTL, gctl); in hw_auto_init()
1344 gctl = hw_read_20kx(hw, GCTL); in hw_auto_init()
1345 if (get_field(gctl, GCTL_AID)) in hw_auto_init()
1348 if (!get_field(gctl, GCTL_AID)) { in hw_auto_init()
1997 unsigned int gctl; in hw_card_init() local
[all …]
/Linux-v4.19/sound/pci/lola/
Dlola.c311 unsigned int gctl = lola_readl(chip, BAR0, GCTL); in reset_controller() local
314 if (gctl) { in reset_controller()
325 gctl = lola_readl(chip, BAR0, GCTL); in reset_controller()
326 if (gctl) in reset_controller()
329 if (!gctl) { in reset_controller()