Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/iio/light/
H A Drohm-bu27034.c477 struct bu27034_gain_check gains[] = { in bu27034_try_set_int_time() local
481 int numg = ARRAY_SIZE(gains); in bu27034_try_set_int_time()
505 ret = bu27034_get_gain(data, gains[i].chan, &gains[i].old_gain); in bu27034_try_set_int_time()
510 gains[i].old_gain, in bu27034_try_set_int_time()
512 &gains[i].new_gain); in bu27034_try_set_int_time()
517 _bu27034_get_scale(data, gains[i].chan, &scale1, &scale2); in bu27034_try_set_int_time()
520 gains[i].chan, time_us, scale1, scale2); in bu27034_try_set_int_time()
522 if (gains[i].new_gain < 0) in bu27034_try_set_int_time()
532 gains[i].new_gain, &ok); in bu27034_try_set_int_time()
537 gains[i].chan); in bu27034_try_set_int_time()
[all …]
H A Drohm-bu27008.c345 const struct iio_gain_sel_pair *gains; member
694 .gains = &bu27010_gains[0],
718 .gains = &bu27008_gains[0],
1380 ret = devm_iio_init_iio_gts(dev, data->cd->scale1x, 0, data->cd->gains, in bu27008_probe()
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A 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 …]
/openbmc/linux/drivers/media/usb/gspca/stv06xx/
H A 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()
/openbmc/linux/sound/pci/lola/
H A 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);
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A 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,
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-uevent28 If UUID is not passed in, the generated synthetic uevent gains
36 name gains ``SYNTH_ARG_`` prefix to avoid possible collisions
/openbmc/linux/drivers/iio/
H A Dindustrialio-gts-helper.c168 static int gain_to_scaletables(struct iio_gts *gts, int **gains, int **scales) in gain_to_scaletables() argument
179 sort(gains[i], gts->num_hwgain, sizeof(int), iio_gts_gain_cmp, in gain_to_scaletables()
184 ret = iio_gts_total_gain_to_scale(gts, gains[i][j], in gain_to_scaletables()
205 memcpy(all_gains, gains[time_idx], gain_bytes); in gain_to_scaletables()
210 int candidate = gains[time_idx][j]; in gain_to_scaletables()
/openbmc/linux/sound/pci/au88x0/
H A Dau88x0_xtalk.h37 xtalk_gains_t const gains);
H A 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);
H A 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()
/openbmc/linux/drivers/staging/vc04_services/bcm2835-camera/
H A 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()
/openbmc/linux/sound/soc/codecs/
H A 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
3669 /* Rev A0 uses the sync gains for both loops */ in madera_calc_fll()
3670 gains = madera_fll_sync_gains; in madera_calc_fll()
3675 gains = madera_fll_sync_gains; in madera_calc_fll()
3678 gains in madera_calc_fll()
4426 unsigned int gains, val, num; madera_fllhj_apply() local
[all...]
/openbmc/linux/fs/ext4/
H A DKconfig51 are some performance gains from the delayed allocation and inode
52 table readahead, the best performance gains require enabling ext4
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A 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 …]
/openbmc/qemu/docs/devel/migration/
H A Dmapped-ram.rst60 right before the snapshot to take benefit of the performance gains
/openbmc/linux/Documentation/filesystems/
H A Docfs2.rst111 nodes, which gains high performance at risk of getting
/openbmc/linux/Documentation/kernel-hacking/
H A Dfalse-sharing.rst135 mitigations should balance performance gains with complexity and
/openbmc/linux/sound/soc/intel/atom/
H A Dsst-atom-controls.c1536 unsigned int gains = ARRAY_SIZE(sst_gain_controls)/3; in sst_dsp_init_v2_dpcm() local
1549 for (i = 0; i < gains; i++) { in sst_dsp_init_v2_dpcm()
/openbmc/qemu/docs/system/
H A Dsecurity.rst62 guest code gains control of execution on the host this is called escaping the
/openbmc/openpower-hw-diags/attn/
H A DAttention_Handler.md105 The attention handler gains access to this memory region by submitting a request
/openbmc/linux/Documentation/sound/soc/
H A Ddpcm.rst290 4. Mixers for gains, routing, etc.
/openbmc/linux/Documentation/networking/devlink/
H A Dice.rst289 user gains an ability to control how much bandwidth is allocated for each
/openbmc/linux/Documentation/admin-guide/thermal/
H A Dintel_powerclamp.rst138 derivative gains of the past samples.
/openbmc/qemu/docs/
H A Dthrottle.txt295 will disappear when -object gains support for structured options and

12