Home
last modified time | relevance | path

Searched refs:gains (Results 1 – 25 of 25) sorted by relevance

/linux-5.19.10/drivers/net/wireless/broadcom/b43/
Dphy_lp.c847 struct lpphy_tx_gains gains; in lpphy_get_tx_gains() local
850 gains.dac = (b43_phy_read(dev, B43_LPPHY_AFE_DAC_CTL) & 0x380) >> 7; in lpphy_get_tx_gains()
854 gains.gm = tmp & 0x0007; in lpphy_get_tx_gains()
855 gains.pga = (tmp & 0x0078) >> 3; in lpphy_get_tx_gains()
856 gains.pad = (tmp & 0x780) >> 7; in lpphy_get_tx_gains()
859 gains.pad = b43_phy_read(dev, B43_PHY_OFDM(0xFB)) & 0xFF; in lpphy_get_tx_gains()
860 gains.gm = tmp & 0xFF; in lpphy_get_tx_gains()
861 gains.pga = (tmp >> 8) & 0xFF; in lpphy_get_tx_gains()
864 return gains; in lpphy_get_tx_gains()
886 struct lpphy_tx_gains gains) in lpphy_set_tx_gains() argument
[all …]
Dphy_n.c3163 u16 gains[5][4] = { in b43_nphy_workarounds_rev3plus() local
3236 gain = gains[min_t(u16, pdet_range, 4)]; in b43_nphy_workarounds_rev3plus()
/linux-5.19.10/drivers/media/usb/gspca/stv06xx/
Dstv06xx_hdcs.c253 u8 gains[4]; in hdcs_set_gains() local
259 gains[0] = g; in hdcs_set_gains()
260 gains[1] = g; in hdcs_set_gains()
261 gains[2] = g; in hdcs_set_gains()
262 gains[3] = g; in hdcs_set_gains()
264 err = hdcs_reg_write_seq(sd, HDCS_ERECPGA, gains, 4); in hdcs_set_gains()
/linux-5.19.10/sound/pci/lola/
Dlola_mixer.c240 unsigned short *gains)
248 writew(*gains, &chip->mixer.array->src_gain[i]);
249 gains++;
294 unsigned int mask, unsigned short *gains)
303 writew(*gains, &chip->mixer.array->dest_mix_gain[id][i]);
304 gains++;
787 unsigned short gains[MAX_STREAM_COUNT];
795 gains[num++] = val - 1;
801 return lola_mixer_set_dest_gains(chip, dst, mask, gains);
/linux-5.19.10/Documentation/userspace-api/media/v4l/
Dext-ctrls-image-source.rst77 The sensor is notified what gains will be applied to the different
84 control taking 4 gain values, being the gains for each of the
85 Bayer channels. The gains are always in the order B, Gb, Gr and R,
Dbuffer.rst726 latter can provide performance gains, for instance the CPU cache
/linux-5.19.10/Documentation/ABI/testing/
Dsysfs-uevent28 If UUID is not passed in, the generated synthetic uevent gains
36 name gains ``SYNTH_ARG_`` prefix to avoid possible collisions
/linux-5.19.10/drivers/media/i2c/
Dmt9t001.c129 struct v4l2_ctrl *gains[4]; member
535 static const u8 gains[4] = { in mt9t001_s_ctrl() local
558 struct v4l2_ctrl *gain = mt9t001->gains[i]; in mt9t001_s_ctrl()
572 struct v4l2_ctrl *gain = mt9t001->gains[i]; in mt9t001_s_ctrl()
578 ret = mt9t001_write(client, gains[i], value); in mt9t001_s_ctrl()
922 mt9t001->gains[i] = v4l2_ctrl_new_custom(&mt9t001->ctrls, in mt9t001_probe()
925 v4l2_ctrl_cluster(ARRAY_SIZE(mt9t001_gains), mt9t001->gains); in mt9t001_probe()
/linux-5.19.10/sound/pci/au88x0/
Dau88x0_xtalk.h37 xtalk_gains_t const gains);
Dau88x0_xtalk.c530 vortex_XtalkHw_SetGains(vortex_t * vortex, xtalk_gains_t const gains) in vortex_XtalkHw_SetGains() argument
535 hwwrite(vortex->mmio, 0x244D0 + (i * 4), gains[i]); in vortex_XtalkHw_SetGains()
546 static void vortex_XtalkHw_GetGains(vortex_t * vortex, xtalk_gains_t gains)
551 gains[i] = hwread(vortex->mmio, 0x244D0 + i * 4);
Dau88x0_eq.c545 vortex_Eqlzr_GetAllBands(vortex_t * vortex, u16 * gains, s32 *cnt)
554 if (vortex_Eqlzr_GetLeftGain(vortex, si, &gains[si]))
557 (vortex, si, &gains[si + eq->this10]))
577 vortex_Eqlzr_SetAllBands(vortex_t *vortex, const u16 gains[], s32 count) in vortex_Eqlzr_SetAllBands() argument
586 eq->this130[i] = gains[i]; in vortex_Eqlzr_SetAllBands()
/linux-5.19.10/drivers/staging/vc04_services/bcm2835-camera/
Dcontrols.c483 struct mmal_parameter_awbgains gains; in ctrl_set_awb_gains() local
492 gains.r_gain.numerator = dev->red_gain; in ctrl_set_awb_gains()
493 gains.r_gain.denominator = 1000; in ctrl_set_awb_gains()
494 gains.b_gain.numerator = dev->blue_gain; in ctrl_set_awb_gains()
495 gains.b_gain.denominator = 1000; in ctrl_set_awb_gains()
499 &gains, sizeof(gains)); in ctrl_set_awb_gains()
/linux-5.19.10/sound/soc/codecs/
Dmadera.c3603 const struct madera_fll_gains *gains, in madera_find_fll_gain() argument
3609 if (gains[i].min <= fref && fref <= gains[i].max) { in madera_find_fll_gain()
3610 cfg->gain = gains[i].gain; in madera_find_fll_gain()
3611 cfg->alt_gain = gains[i].alt_gain; in madera_find_fll_gain()
3626 const struct madera_fll_gains *gains; in madera_calc_fll() local
3670 gains = madera_fll_sync_gains; in madera_calc_fll()
3675 gains = madera_fll_sync_gains; in madera_calc_fll()
3678 gains = madera_fll_main_gains; in madera_calc_fll()
3687 gains = madera_fll_sync_gains; in madera_calc_fll()
3692 gains = madera_fll_sync_gains; in madera_calc_fll()
[all …]
/linux-5.19.10/fs/ext4/
DKconfig50 are some performance gains from the delayed allocation and inode
51 table readahead, the best performance gains require enabling ext4
/linux-5.19.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c996 wlc_lcnphy_get_tx_gain(struct brcms_phy *pi, struct lcnphy_txgains *gains) in wlc_lcnphy_get_tx_gain() argument
1001 gains->dac_gain = (dac_gain & 0x380) >> 7; in wlc_lcnphy_get_tx_gain()
1006 gains->gm_gain = rfgain0 & 0xff; in wlc_lcnphy_get_tx_gain()
1007 gains->pga_gain = (rfgain0 >> 8) & 0xff; in wlc_lcnphy_get_tx_gain()
1008 gains->pad_gain = rfgain1 & 0xff; in wlc_lcnphy_get_tx_gain()
3136 struct lcnphy_txgains gains; in wlc_lcnphy_set_tx_pwr_by_index() local
3157 gains.gm_gain = (u16) (txgain & 0xff); in wlc_lcnphy_set_tx_pwr_by_index()
3158 gains.pga_gain = (u16) (txgain >> 8) & 0xff; in wlc_lcnphy_set_tx_pwr_by_index()
3159 gains.pad_gain = (u16) (txgain >> 16) & 0xff; in wlc_lcnphy_set_tx_pwr_by_index()
3160 gains.dac_gain = (u16) (bbmultiqcomp >> 28) & 0x07; in wlc_lcnphy_set_tx_pwr_by_index()
[all …]
Dphy_n.c187 struct nphy_txgains gains; member
24706 (txgains->gains.pad[core] << 3) | in wlc_phy_a2_nphy()
24711 (txgains->gains.pga[core] << 8) | in wlc_phy_a2_nphy()
25021 phy_a4.gains.pad[core] = in wlc_phy_a3_nphy()
25024 phy_a4.gains.pga[core] = in wlc_phy_a3_nphy()
25212 phy_b1[phy_b5].gains.pad[phy_b5] = in wlc_phy_a4()
25223 phy_b1[phy_b5].gains.pga[phy_b5] = in wlc_phy_a4()
25269 phy_b8 = phy_b1[phy_b5].gains.pad[phy_b5]; in wlc_phy_a4()
25289 phy_b7 = phy_b1[phy_b5].gains.pga[phy_b5]; in wlc_phy_a4()
/linux-5.19.10/Documentation/filesystems/
Docfs2.rst111 nodes, which gains high performance at risk of getting
Dmount_api.rst47 To support this, the file_system_type struct gains two new fields::
Doverlayfs.rst309 Check (b) ensures that no task gains permissions to underlying layers that
/linux-5.19.10/sound/soc/intel/atom/
Dsst-atom-controls.c1541 unsigned int gains = ARRAY_SIZE(sst_gain_controls)/3; in sst_dsp_init_v2_dpcm() local
1554 for (i = 0; i < gains; i++) { in sst_dsp_init_v2_dpcm()
/linux-5.19.10/Documentation/sound/soc/
Ddpcm.rst290 4. Mixers for gains, routing, etc.
/linux-5.19.10/Documentation/driver-api/thermal/
Dintel_powerclamp.rst136 derivative gains of the past samples.
/linux-5.19.10/Documentation/locking/
Dlocktypes.rst183 - If lockdep is enabled the local_lock gains a lockmap which allows to
/linux-5.19.10/Documentation/crypto/
Duserspace-if.rst338 operations of the kernel which would defeat the speed gains obtained
/linux-5.19.10/Documentation/driver-api/mtd/
Dnand_ecc.rst502 Unrolling once gains about 15%