Searched refs:gctl (Results 1 – 4 of 4) sorted by relevance
/sound/pci/emu10k1/ |
D | emufx.c | 691 struct snd_emu10k1_fx8010_control_gpr *gctl, in copy_gctl() argument 698 return copy_from_user(gctl, &_gctl[idx], sizeof(*gctl)); in copy_gctl() 700 if (copy_from_user(gctl, &octl[idx], sizeof(*octl))) in copy_gctl() 702 gctl->tlv = NULL; in copy_gctl() 708 struct snd_emu10k1_fx8010_control_gpr *gctl, in copy_gctl_to_user() argument 714 return copy_to_user(&_gctl[idx], gctl, sizeof(*gctl)); in copy_gctl_to_user() 717 return copy_to_user(&octl[idx], gctl, sizeof(*octl)); in copy_gctl_to_user() 726 struct snd_emu10k1_fx8010_control_gpr *gctl; in snd_emu10k1_verify_controls() local 736 gctl = kmalloc(sizeof(*gctl), GFP_KERNEL); in snd_emu10k1_verify_controls() 737 if (! gctl) in snd_emu10k1_verify_controls() [all …]
|
/sound/pci/ctxfi/ |
D | cthw20k2.c | 1360 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 …]
|
D | cthw20k1.c | 1334 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 …]
|
/sound/pci/lola/ |
D | lola.c | 311 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()
|