gctl             1330 sound/pci/ctxfi/cthw20k1.c 	unsigned int gctl;
gctl             1333 sound/pci/ctxfi/cthw20k1.c 	gctl = hw_read_20kx(hw, GCTL);
gctl             1334 sound/pci/ctxfi/cthw20k1.c 	set_field(&gctl, GCTL_EAI, 0);
gctl             1335 sound/pci/ctxfi/cthw20k1.c 	hw_write_20kx(hw, GCTL, gctl);
gctl             1336 sound/pci/ctxfi/cthw20k1.c 	set_field(&gctl, GCTL_EAI, 1);
gctl             1337 sound/pci/ctxfi/cthw20k1.c 	hw_write_20kx(hw, GCTL, gctl);
gctl             1340 sound/pci/ctxfi/cthw20k1.c 		gctl = hw_read_20kx(hw, GCTL);
gctl             1341 sound/pci/ctxfi/cthw20k1.c 		if (get_field(gctl, GCTL_AID))
gctl             1344 sound/pci/ctxfi/cthw20k1.c 	if (!get_field(gctl, GCTL_AID)) {
gctl             1993 sound/pci/ctxfi/cthw20k1.c 	unsigned int gctl;
gctl             2016 sound/pci/ctxfi/cthw20k1.c 	gctl = hw_read_20kx(hw, GCTL);
gctl             2017 sound/pci/ctxfi/cthw20k1.c 	set_field(&gctl, GCTL_EAC, 1);
gctl             2018 sound/pci/ctxfi/cthw20k1.c 	set_field(&gctl, GCTL_DBP, 1);
gctl             2019 sound/pci/ctxfi/cthw20k1.c 	set_field(&gctl, GCTL_TBP, 1);
gctl             2020 sound/pci/ctxfi/cthw20k1.c 	set_field(&gctl, GCTL_FBP, 1);
gctl             2021 sound/pci/ctxfi/cthw20k1.c 	set_field(&gctl, GCTL_ET, 1);
gctl             2022 sound/pci/ctxfi/cthw20k1.c 	hw_write_20kx(hw, GCTL, gctl);
gctl             1356 sound/pci/ctxfi/cthw20k2.c 	unsigned int gctl;
gctl             1359 sound/pci/ctxfi/cthw20k2.c 	gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL);
gctl             1360 sound/pci/ctxfi/cthw20k2.c 	set_field(&gctl, GCTL_AIE, 0);
gctl             1361 sound/pci/ctxfi/cthw20k2.c 	hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl);
gctl             1362 sound/pci/ctxfi/cthw20k2.c 	set_field(&gctl, GCTL_AIE, 1);
gctl             1363 sound/pci/ctxfi/cthw20k2.c 	hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl);
gctl             1366 sound/pci/ctxfi/cthw20k2.c 		gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL);
gctl             1367 sound/pci/ctxfi/cthw20k2.c 		if (get_field(gctl, GCTL_AID))
gctl             1370 sound/pci/ctxfi/cthw20k2.c 	if (!get_field(gctl, GCTL_AID)) {
gctl             2021 sound/pci/ctxfi/cthw20k2.c 	unsigned int gctl;
gctl             2051 sound/pci/ctxfi/cthw20k2.c 	gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL);
gctl             2052 sound/pci/ctxfi/cthw20k2.c 	set_field(&gctl, GCTL_UAA, 0);
gctl             2053 sound/pci/ctxfi/cthw20k2.c 	hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl);
gctl             2118 sound/pci/ctxfi/cthw20k2.c 	unsigned int gctl;
gctl             2141 sound/pci/ctxfi/cthw20k2.c 	gctl = hw_read_20kx(hw, GLOBAL_CNTL_GCTL);
gctl             2142 sound/pci/ctxfi/cthw20k2.c 	set_field(&gctl, GCTL_DBP, 1);
gctl             2143 sound/pci/ctxfi/cthw20k2.c 	set_field(&gctl, GCTL_TBP, 1);
gctl             2144 sound/pci/ctxfi/cthw20k2.c 	set_field(&gctl, GCTL_FBP, 1);
gctl             2145 sound/pci/ctxfi/cthw20k2.c 	set_field(&gctl, GCTL_DPC, 0);
gctl             2146 sound/pci/ctxfi/cthw20k2.c 	hw_write_20kx(hw, GLOBAL_CNTL_GCTL, gctl);
gctl              675 sound/pci/emu10k1/emufx.c 		     struct snd_emu10k1_fx8010_control_gpr *gctl,
gctl              683 sound/pci/emu10k1/emufx.c 			memcpy(gctl, (__force void *)&_gctl[idx], sizeof(*gctl));
gctl              684 sound/pci/emu10k1/emufx.c 		else if (copy_from_user(gctl, &_gctl[idx], sizeof(*gctl)))
gctl              691 sound/pci/emu10k1/emufx.c 		memcpy(gctl, (__force void *)&octl[idx], sizeof(*octl));
gctl              692 sound/pci/emu10k1/emufx.c 	else if (copy_from_user(gctl, &octl[idx], sizeof(*octl)))
gctl              694 sound/pci/emu10k1/emufx.c 	gctl->tlv = NULL;
gctl              700 sound/pci/emu10k1/emufx.c 		     struct snd_emu10k1_fx8010_control_gpr *gctl,
gctl              706 sound/pci/emu10k1/emufx.c 		return copy_to_user(&_gctl[idx], gctl, sizeof(*gctl));
gctl              709 sound/pci/emu10k1/emufx.c 	return copy_to_user(&octl[idx], gctl, sizeof(*octl));
gctl              719 sound/pci/emu10k1/emufx.c 	struct snd_emu10k1_fx8010_control_gpr *gctl;
gctl              731 sound/pci/emu10k1/emufx.c 	gctl = kmalloc(sizeof(*gctl), GFP_KERNEL);
gctl              732 sound/pci/emu10k1/emufx.c 	if (! gctl)
gctl              736 sound/pci/emu10k1/emufx.c 		if (copy_gctl(emu, gctl, icode->gpr_add_controls, i,
gctl              741 sound/pci/emu10k1/emufx.c 		if (snd_emu10k1_look_for_ctl(emu, &gctl->id))
gctl              744 sound/pci/emu10k1/emufx.c 		if (snd_ctl_find_id(emu->card, &gctl->id) != NULL) {
gctl              750 sound/pci/emu10k1/emufx.c 		if (gctl->id.iface != SNDRV_CTL_ELEM_IFACE_MIXER &&
gctl              751 sound/pci/emu10k1/emufx.c 		    gctl->id.iface != SNDRV_CTL_ELEM_IFACE_PCM) {
gctl              758 sound/pci/emu10k1/emufx.c 		if (copy_gctl(emu, gctl, icode->gpr_list_controls, i,
gctl              765 sound/pci/emu10k1/emufx.c 	kfree(gctl);
gctl              785 sound/pci/emu10k1/emufx.c 	struct snd_emu10k1_fx8010_control_gpr *gctl;
gctl              793 sound/pci/emu10k1/emufx.c 	gctl = kmalloc(sizeof(*gctl), GFP_KERNEL);
gctl              795 sound/pci/emu10k1/emufx.c 	if (!val || !gctl || !nctl) {
gctl              801 sound/pci/emu10k1/emufx.c 		if (copy_gctl(emu, gctl, icode->gpr_add_controls, i,
gctl              806 sound/pci/emu10k1/emufx.c 		if (gctl->id.iface != SNDRV_CTL_ELEM_IFACE_MIXER &&
gctl              807 sound/pci/emu10k1/emufx.c 		    gctl->id.iface != SNDRV_CTL_ELEM_IFACE_PCM) {
gctl              811 sound/pci/emu10k1/emufx.c 		if (! gctl->id.name[0]) {
gctl              815 sound/pci/emu10k1/emufx.c 		ctl = snd_emu10k1_look_for_ctl(emu, &gctl->id);
gctl              817 sound/pci/emu10k1/emufx.c 		knew.iface = gctl->id.iface;
gctl              818 sound/pci/emu10k1/emufx.c 		knew.name = gctl->id.name;
gctl              819 sound/pci/emu10k1/emufx.c 		knew.index = gctl->id.index;
gctl              820 sound/pci/emu10k1/emufx.c 		knew.device = gctl->id.device;
gctl              821 sound/pci/emu10k1/emufx.c 		knew.subdevice = gctl->id.subdevice;
gctl              823 sound/pci/emu10k1/emufx.c 		knew.tlv.p = copy_tlv((__force const unsigned int __user *)gctl->tlv, in_kernel);
gctl              830 sound/pci/emu10k1/emufx.c 		nctl->vcount = gctl->vcount;
gctl              831 sound/pci/emu10k1/emufx.c 		nctl->count = gctl->count;
gctl              833 sound/pci/emu10k1/emufx.c 			nctl->gpr[j] = gctl->gpr[j];
gctl              834 sound/pci/emu10k1/emufx.c 			nctl->value[j] = ~gctl->value[j];	/* inverted, we want to write new value in gpr_ctl_put() */
gctl              835 sound/pci/emu10k1/emufx.c 			val->value.integer.value[j] = gctl->value[j];
gctl              837 sound/pci/emu10k1/emufx.c 		nctl->min = gctl->min;
gctl              838 sound/pci/emu10k1/emufx.c 		nctl->max = gctl->max;
gctl              839 sound/pci/emu10k1/emufx.c 		nctl->translation = gctl->translation;
gctl              869 sound/pci/emu10k1/emufx.c 	kfree(gctl);
gctl              904 sound/pci/emu10k1/emufx.c 	struct snd_emu10k1_fx8010_control_gpr *gctl;
gctl              908 sound/pci/emu10k1/emufx.c 	gctl = kmalloc(sizeof(*gctl), GFP_KERNEL);
gctl              909 sound/pci/emu10k1/emufx.c 	if (! gctl)
gctl              916 sound/pci/emu10k1/emufx.c 			memset(gctl, 0, sizeof(*gctl));
gctl              918 sound/pci/emu10k1/emufx.c 			gctl->id.iface = id->iface;
gctl              919 sound/pci/emu10k1/emufx.c 			strlcpy(gctl->id.name, id->name, sizeof(gctl->id.name));
gctl              920 sound/pci/emu10k1/emufx.c 			gctl->id.index = id->index;
gctl              921 sound/pci/emu10k1/emufx.c 			gctl->id.device = id->device;
gctl              922 sound/pci/emu10k1/emufx.c 			gctl->id.subdevice = id->subdevice;
gctl              923 sound/pci/emu10k1/emufx.c 			gctl->vcount = ctl->vcount;
gctl              924 sound/pci/emu10k1/emufx.c 			gctl->count = ctl->count;
gctl              926 sound/pci/emu10k1/emufx.c 				gctl->gpr[j] = ctl->gpr[j];
gctl              927 sound/pci/emu10k1/emufx.c 				gctl->value[j] = ctl->value[j];
gctl              929 sound/pci/emu10k1/emufx.c 			gctl->min = ctl->min;
gctl              930 sound/pci/emu10k1/emufx.c 			gctl->max = ctl->max;
gctl              931 sound/pci/emu10k1/emufx.c 			gctl->translation = ctl->translation;
gctl              933 sound/pci/emu10k1/emufx.c 					      gctl, i)) {
gctl              934 sound/pci/emu10k1/emufx.c 				kfree(gctl);
gctl              941 sound/pci/emu10k1/emufx.c 	kfree(gctl);
gctl              298 sound/pci/lola/lola.c 	unsigned int gctl = lola_readl(chip, BAR0, GCTL);
gctl              301 sound/pci/lola/lola.c 	if (gctl) {
gctl              312 sound/pci/lola/lola.c 		gctl = lola_readl(chip, BAR0, GCTL);
gctl              313 sound/pci/lola/lola.c 		if (gctl)
gctl              316 sound/pci/lola/lola.c 	if (!gctl) {
gctl               30 sound/soc/sof/intel/hda-ctrl.c 	u32 gctl = 0;
gctl               43 sound/soc/sof/intel/hda-ctrl.c 		gctl = snd_sof_dsp_read(sdev, HDA_DSP_HDA_BAR, SOF_HDA_GCTL);
gctl               44 sound/soc/sof/intel/hda-ctrl.c 		if ((gctl & SOF_HDA_GCTL_RESET) == val)
gctl               51 sound/soc/sof/intel/hda-ctrl.c 		reset ? "reset" : "ready", gctl);