Home
last modified time | relevance | path

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

/linux-4.1.27/sound/pci/emu10k1/
Demufx.c691 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 …]
/linux-4.1.27/sound/pci/ctxfi/
Dcthw20k2.c1366 unsigned int gctl; in hw_auto_init() local
1369 gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL); in hw_auto_init()
1370 set_field(&gctl, GCTL_AIE, 0); in hw_auto_init()
1371 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_auto_init()
1372 set_field(&gctl, GCTL_AIE, 1); in hw_auto_init()
1373 hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl); in hw_auto_init()
1376 gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL); in hw_auto_init()
1377 if (get_field(gctl, GCTL_AID)) in hw_auto_init()
1380 if (!get_field(gctl, GCTL_AID)) { in hw_auto_init()
2031 unsigned int gctl; in hw_card_start() local
[all …]
Dcthw20k1.c1340 unsigned int gctl; in hw_auto_init() local
1343 gctl = hw_read_20kx(hw, GCTL); in hw_auto_init()
1344 set_field(&gctl, GCTL_EAI, 0); in hw_auto_init()
1345 hw_write_20kx(hw, GCTL, gctl); in hw_auto_init()
1346 set_field(&gctl, GCTL_EAI, 1); in hw_auto_init()
1347 hw_write_20kx(hw, GCTL, gctl); in hw_auto_init()
1350 gctl = hw_read_20kx(hw, GCTL); in hw_auto_init()
1351 if (get_field(gctl, GCTL_AID)) in hw_auto_init()
1354 if (!get_field(gctl, GCTL_AID)) { in hw_auto_init()
2004 unsigned int gctl; in hw_card_init() local
[all …]
/linux-4.1.27/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()
/linux-4.1.27/arch/blackfin/include/asm/
Dbfin_serial.h235 __BFP(gctl);
264 __BFP(gctl);
/linux-4.1.27/drivers/usb/dwc3/
Dcore.c1034 dwc->gctl = dwc3_readl(dwc->regs, DWC3_GCTL); in dwc3_suspend()
1064 dwc3_writel(dwc->regs, DWC3_GCTL, dwc->gctl); in dwc3_resume()
Dcore.h752 u32 gctl; member
/linux-4.1.27/arch/blackfin/kernel/
Ddebug-mmrs.c549 __UART(GCTL, gctl); in bfin_debug_mmrs_uart()
571 __UART(GCTL, gctl); in bfin_debug_mmrs_uart()