gains 129 drivers/media/i2c/mt9t001.c struct v4l2_ctrl *gains[4]; gains 527 drivers/media/i2c/mt9t001.c static const u8 gains[4] = { gains 550 drivers/media/i2c/mt9t001.c struct v4l2_ctrl *gain = mt9t001->gains[i]; gains 564 drivers/media/i2c/mt9t001.c struct v4l2_ctrl *gain = mt9t001->gains[i]; gains 570 drivers/media/i2c/mt9t001.c ret = mt9t001_write(client, gains[i], value); gains 914 drivers/media/i2c/mt9t001.c mt9t001->gains[i] = v4l2_ctrl_new_custom(&mt9t001->ctrls, gains 917 drivers/media/i2c/mt9t001.c v4l2_ctrl_cluster(ARRAY_SIZE(mt9t001_gains), mt9t001->gains); gains 253 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c u8 gains[4]; gains 259 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c gains[0] = g; gains 260 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c gains[1] = g; gains 261 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c gains[2] = g; gains 262 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c gains[3] = g; gains 264 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c err = hdcs_reg_write_seq(sd, HDCS_ERECPGA, gains, 4); gains 847 drivers/net/wireless/broadcom/b43/phy_lp.c struct lpphy_tx_gains gains; gains 850 drivers/net/wireless/broadcom/b43/phy_lp.c gains.dac = (b43_phy_read(dev, B43_LPPHY_AFE_DAC_CTL) & 0x380) >> 7; gains 854 drivers/net/wireless/broadcom/b43/phy_lp.c gains.gm = tmp & 0x0007; gains 855 drivers/net/wireless/broadcom/b43/phy_lp.c gains.pga = (tmp & 0x0078) >> 3; gains 856 drivers/net/wireless/broadcom/b43/phy_lp.c gains.pad = (tmp & 0x780) >> 7; gains 859 drivers/net/wireless/broadcom/b43/phy_lp.c gains.pad = b43_phy_read(dev, B43_PHY_OFDM(0xFB)) & 0xFF; gains 860 drivers/net/wireless/broadcom/b43/phy_lp.c gains.gm = tmp & 0xFF; gains 861 drivers/net/wireless/broadcom/b43/phy_lp.c gains.pga = (tmp >> 8) & 0xFF; gains 864 drivers/net/wireless/broadcom/b43/phy_lp.c return gains; gains 886 drivers/net/wireless/broadcom/b43/phy_lp.c struct lpphy_tx_gains gains) gains 891 drivers/net/wireless/broadcom/b43/phy_lp.c rf_gain = (gains.pad << 7) | (gains.pga << 3) | gains.gm; gains 897 drivers/net/wireless/broadcom/b43/phy_lp.c (gains.pga << 8) | gains.gm); gains 903 drivers/net/wireless/broadcom/b43/phy_lp.c 0x8000, gains.pad | (pa_gain << 6)); gains 905 drivers/net/wireless/broadcom/b43/phy_lp.c (gains.pga << 8) | gains.gm); gains 907 drivers/net/wireless/broadcom/b43/phy_lp.c 0x8000, gains.pad | (pa_gain << 8)); gains 909 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy_set_dac_gain(dev, gains.dac); gains 1372 drivers/net/wireless/broadcom/b43/phy_lp.c struct lpphy_tx_gains gains; gains 1382 drivers/net/wireless/broadcom/b43/phy_lp.c gains.pad = (tx_gain >> 16) & 0xFF; gains 1383 drivers/net/wireless/broadcom/b43/phy_lp.c gains.gm = tx_gain & 0xFF; gains 1384 drivers/net/wireless/broadcom/b43/phy_lp.c gains.pga = (tx_gain >> 8) & 0xFF; gains 1385 drivers/net/wireless/broadcom/b43/phy_lp.c gains.dac = (iq_comp >> 28) & 0xFF; gains 1386 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy_set_tx_gains(dev, gains); gains 1537 drivers/net/wireless/broadcom/b43/phy_lp.c struct lpphy_tx_gains gains; gains 1540 drivers/net/wireless/broadcom/b43/phy_lp.c gains.gm = 4; gains 1541 drivers/net/wireless/broadcom/b43/phy_lp.c gains.pad = 12; gains 1542 drivers/net/wireless/broadcom/b43/phy_lp.c gains.pga = 12; gains 1543 drivers/net/wireless/broadcom/b43/phy_lp.c gains.dac = 0; gains 1545 drivers/net/wireless/broadcom/b43/phy_lp.c gains.gm = 7; gains 1546 drivers/net/wireless/broadcom/b43/phy_lp.c gains.pad = 14; gains 1547 drivers/net/wireless/broadcom/b43/phy_lp.c gains.pga = 15; gains 1548 drivers/net/wireless/broadcom/b43/phy_lp.c gains.dac = 0; gains 1550 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy_set_tx_gains(dev, gains); gains 1840 drivers/net/wireless/broadcom/b43/phy_lp.c bool rx, bool pa, struct lpphy_tx_gains *gains) gains 1899 drivers/net/wireless/broadcom/b43/phy_lp.c if (!gains) gains 1900 drivers/net/wireless/broadcom/b43/phy_lp.c gains = &nogains; gains 1901 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy_set_tx_gains(dev, *gains); gains 3163 drivers/net/wireless/broadcom/b43/phy_n.c u16 gains[5][4] = { gains 3236 drivers/net/wireless/broadcom/b43/phy_n.c gain = gains[min_t(u16, pdet_range, 4)]; gains 1051 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c wlc_lcnphy_get_tx_gain(struct brcms_phy *pi, struct lcnphy_txgains *gains) gains 1056 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c gains->dac_gain = (dac_gain & 0x380) >> 7; gains 1061 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c gains->gm_gain = rfgain0 & 0xff; gains 1062 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c gains->pga_gain = (rfgain0 >> 8) & 0xff; gains 1063 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c gains->pad_gain = rfgain1 & 0xff; gains 3195 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c struct lcnphy_txgains gains; gains 3216 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c gains.gm_gain = (u16) (txgain & 0xff); gains 3217 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c gains.pga_gain = (u16) (txgain >> 8) & 0xff; gains 3218 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c gains.pad_gain = (u16) (txgain >> 16) & 0xff; gains 3219 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c gains.dac_gain = (u16) (bbmultiqcomp >> 28) & 0x07; gains 3220 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c wlc_lcnphy_set_tx_gain(pi, &gains); gains 187 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c struct nphy_txgains gains; gains 24728 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c (txgains->gains.pad[core] << 3) | gains 24733 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c (txgains->gains.pga[core] << 8) | gains 25044 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c phy_a4.gains.pad[core] = gains 25047 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c phy_a4.gains.pga[core] = gains 25243 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c phy_b1[phy_b5].gains.pad[phy_b5] = gains 25254 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c phy_b1[phy_b5].gains.pga[phy_b5] = gains 25300 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c phy_b8 = phy_b1[phy_b5].gains.pad[phy_b5]; gains 25320 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c phy_b7 = phy_b1[phy_b5].gains.pga[phy_b5]; gains 492 drivers/staging/vc04_services/bcm2835-camera/controls.c struct mmal_parameter_awbgains gains; gains 501 drivers/staging/vc04_services/bcm2835-camera/controls.c gains.r_gain.num = dev->red_gain; gains 502 drivers/staging/vc04_services/bcm2835-camera/controls.c gains.b_gain.num = dev->blue_gain; gains 503 drivers/staging/vc04_services/bcm2835-camera/controls.c gains.r_gain.den = gains.b_gain.den = 1000; gains 507 drivers/staging/vc04_services/bcm2835-camera/controls.c &gains, sizeof(gains)); gains 545 sound/pci/au88x0/au88x0_eq.c vortex_Eqlzr_GetAllBands(vortex_t * vortex, u16 * gains, s32 *cnt) gains 554 sound/pci/au88x0/au88x0_eq.c if (vortex_Eqlzr_GetLeftGain(vortex, si, &gains[si])) gains 557 sound/pci/au88x0/au88x0_eq.c (vortex, si, &gains[si + eq->this10])) gains 577 sound/pci/au88x0/au88x0_eq.c vortex_Eqlzr_SetAllBands(vortex_t * vortex, u16 gains[], s32 count) gains 586 sound/pci/au88x0/au88x0_eq.c eq->this130[i] = gains[i]; gains 530 sound/pci/au88x0/au88x0_xtalk.c vortex_XtalkHw_SetGains(vortex_t * vortex, xtalk_gains_t const gains) gains 535 sound/pci/au88x0/au88x0_xtalk.c hwwrite(vortex->mmio, 0x244D0 + (i * 4), gains[i]); gains 546 sound/pci/au88x0/au88x0_xtalk.c static void vortex_XtalkHw_GetGains(vortex_t * vortex, xtalk_gains_t gains) gains 551 sound/pci/au88x0/au88x0_xtalk.c gains[i] = hwread(vortex->mmio, 0x244D0 + i * 4); gains 37 sound/pci/au88x0/au88x0_xtalk.h xtalk_gains_t const gains); gains 238 sound/pci/lola/lola_mixer.c unsigned short *gains) gains 246 sound/pci/lola/lola_mixer.c writew(*gains, &chip->mixer.array->src_gain[i]); gains 247 sound/pci/lola/lola_mixer.c gains++; gains 292 sound/pci/lola/lola_mixer.c unsigned int mask, unsigned short *gains) gains 301 sound/pci/lola/lola_mixer.c writew(*gains, &chip->mixer.array->dest_mix_gain[id][i]); gains 302 sound/pci/lola/lola_mixer.c gains++; gains 785 sound/pci/lola/lola_mixer.c unsigned short gains[MAX_STREAM_COUNT]; gains 793 sound/pci/lola/lola_mixer.c gains[num++] = val - 1; gains 799 sound/pci/lola/lola_mixer.c return lola_mixer_set_dest_gains(chip, dst, mask, gains); gains 3573 sound/soc/codecs/madera.c const struct madera_fll_gains *gains, gains 3579 sound/soc/codecs/madera.c if (gains[i].min <= fref && fref <= gains[i].max) { gains 3580 sound/soc/codecs/madera.c cfg->gain = gains[i].gain; gains 3581 sound/soc/codecs/madera.c cfg->alt_gain = gains[i].alt_gain; gains 3596 sound/soc/codecs/madera.c const struct madera_fll_gains *gains; gains 3640 sound/soc/codecs/madera.c gains = madera_fll_sync_gains; gains 3645 sound/soc/codecs/madera.c gains = madera_fll_sync_gains; gains 3648 sound/soc/codecs/madera.c gains = madera_fll_main_gains; gains 3657 sound/soc/codecs/madera.c gains = madera_fll_sync_gains; gains 3662 sound/soc/codecs/madera.c gains = madera_fll_sync_gains; gains 3665 sound/soc/codecs/madera.c gains = madera_fll_main_gains; gains 3671 sound/soc/codecs/madera.c ret = madera_find_fll_gain(fll, cfg, fref, gains, n_gains); gains 4310 sound/soc/codecs/madera.c unsigned int gains, val, num; gains 4329 sound/soc/codecs/madera.c gains = MADERA_FLLHJ_LOW_GAINS; gains 4336 sound/soc/codecs/madera.c gains = MADERA_FLLHJ_MID_GAINS; gains 4340 sound/soc/codecs/madera.c gains = MADERA_FLLHJ_HIGH_GAINS; gains 4430 sound/soc/codecs/madera.c gains); gains 1514 sound/soc/intel/atom/sst-atom-controls.c unsigned int gains = ARRAY_SIZE(sst_gain_controls)/3; gains 1527 sound/soc/intel/atom/sst-atom-controls.c for (i = 0; i < gains; i++) {