Home
last modified time | relevance | path

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

/linux/Documentation/userspace-api/media/v4l/
H A Dmetafmt-arm-mali-c55.rst52 struct mali_c55_params_awb_gains *gains =
55 gains->header.type = MALI_C55_PARAM_BLOCK_AWB_GAINS;
56 gains->header.flags |= V4L2_ISP_PARAMS_FL_BLOCK_ENABLE;
57 gains->header.size = sizeof(struct mali_c55_params_awb_gains);
59 gains->gain00 = 256;
60 gains->gain00 = 256;
61 gains->gain00 = 256;
62 gains->gain00 = 256;
H A Dmetafmt-c3-isp.rst55 struct c3_isp_params_awb_gains *gains =
58 gains->header.type = C3_ISP_PARAMS_BLOCK_AWB_GAINS;
59 gains->header.flags = C3_ISP_PARAMS_BLOCK_FL_ENABLE;
60 gains->header.size = sizeof(struct c3_isp_params_awb_gains);
62 gains->gr_gain = 256;
63 gains->r_gain = 256;
64 gains->b_gain = 256;
65 gains->gb_gain = 256;
H A Dext-ctrls-image-source.rst78 The sensor is notified what gains will be applied to the different
85 control taking 4 gain values, being the gains for each of the
86 Bayer channels. The gains are always in the order B, Gb, Gr and R,
H A Dvidioc-reqbufs.rst183 latter can provide performance gains, for instance the CPU cache
/linux/drivers/iio/test/
H A Diio-test-gts.c388 static const int gains[] = {1, 2, 4, 8, 16, 32, 64, 128, 256, 512, in test_iio_gts_chk_scales_all() local
391 int expected[ARRAY_SIZE(gains) * 2]; in test_iio_gts_chk_scales_all()
393 int exp_len = ARRAY_SIZE(gains) * 2; in test_iio_gts_chk_scales_all()
399 for (i = 0; i < ARRAY_SIZE(gains); i++) { in test_iio_gts_chk_scales_all()
400 ret = iio_gts_total_gain_to_scale(gts, gains[i], in test_iio_gts_chk_scales_all()
416 static const int gains[] = { in test_iio_gts_chk_scales_t200() local
428 int expected[ARRAY_SIZE(gains) * 2]; in test_iio_gts_chk_scales_t200()
431 KUNIT_EXPECT_EQ(test, 2 * ARRAY_SIZE(gains), len); in test_iio_gts_chk_scales_t200()
432 if (len < 2 * ARRAY_SIZE(gains)) in test_iio_gts_chk_scales_t200()
435 for (i = 0; i < ARRAY_SIZE(gains); i++) { in test_iio_gts_chk_scales_t200()
[all …]
/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 …]
/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()
/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
/linux/drivers/iio/
H A Dindustrialio-gts-helper.c277 static int fill_and_sort_scaletables(struct iio_gts *gts, int **gains, int **scales) in fill_and_sort_scaletables() argument
286 sort(gains[i], gts->num_hwgain, sizeof(int), iio_gts_gain_cmp, in fill_and_sort_scaletables()
291 ret = iio_gts_total_gain_to_scale(gts, gains[i][j], in fill_and_sort_scaletables()
302 static void compute_per_time_gains(struct iio_gts *gts, int **gains) in compute_per_time_gains() argument
308 gains[i][j] = gts->hwgain_table[j].gain * in compute_per_time_gains()
/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()
690 eq->this28 = 0x1; /* if 1 => Allow read access to this130 (gains) */ in vortex_Eqlzr_init()
691 eq->this54 = 0x0; /* if 1 => Dont Allow access to hardware (gains) */ in vortex_Eqlzr_init()
695 /* Set gains. */ in vortex_Eqlzr_init()
/linux/sound/soc/codecs/
H A Dmadera.c3590 const struct madera_fll_gains *gains, in madera_calc_fratio()
3596 if (gains[i].min <= fref && fref <= gains[i].max) { in madera_calc_fratio()
3597 cfg->gain = gains[i].gain; in madera_calc_fratio()
3598 cfg->alt_gain = gains[i].alt_gain; in madera_calc_fratio()
3613 const struct madera_fll_gains *gains; in madera_find_fll_gain()
3656 /* Rev A0 uses the sync gains for both loops */ in madera_calc_fll()
3657 gains = madera_fll_sync_gains; in madera_calc_fll()
3662 gains = madera_fll_sync_gains; in madera_calc_fll()
3665 gains in madera_calc_fll()
3604 madera_find_fll_gain(struct madera_fll * fll,struct madera_fll_cfg * cfg,unsigned int fref,const struct madera_fll_gains * gains,int n_gains) madera_find_fll_gain() argument
3627 const struct madera_fll_gains *gains; madera_calc_fll() local
4427 unsigned int gains, val, num; madera_fllhj_apply() local
[all...]
H A Dcs48l32.c1605 unsigned int gains, num; in cs48l32_fllhj_apply() local
1624 gains = CS48L32_FLLHJ_LOW_GAINS; in cs48l32_fllhj_apply()
1632 gains = CS48L32_FLLHJ_MID_GAINS; in cs48l32_fllhj_apply()
1636 gains = CS48L32_FLLHJ_HIGH_GAINS; in cs48l32_fllhj_apply()
1722 (gains << CS48L32_FLL_FD_GAIN_COARSE_SHIFT) | in cs48l32_fllhj_apply()
/linux/fs/ext4/
H A DKconfig23 are some performance gains from the delayed allocation and inode
24 table readahead, the best performance gains require enabling ext4
/linux/Documentation/iio/
H A Dade9000.rst121 Fine-tuning calibration gains applied in the digital domain for each channel type.
241 Configure calibration gains:
/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 …]
H A Dphy_n.c187 struct nphy_txgains gains; member
24699 (txgains->gains.pad[core] << 3) | in wlc_phy_a2_nphy()
24704 (txgains->gains.pga[core] << 8) | in wlc_phy_a2_nphy()
25014 phy_a4.gains.pad[core] = in wlc_phy_a3_nphy()
25017 phy_a4.gains.pga[core] = in wlc_phy_a3_nphy()
25205 phy_b1[phy_b5].gains.pad[phy_b5] = in wlc_phy_a4()
25216 phy_b1[phy_b5].gains.pga[phy_b5] = in wlc_phy_a4()
25262 phy_b8 = phy_b1[phy_b5].gains.pad[phy_b5]; in wlc_phy_a4()
25282 phy_b7 = phy_b1[phy_b5].gains.pga[phy_b5]; in wlc_phy_a4()
/linux/Documentation/filesystems/
H A Docfs2.rst111 nodes, which gains high performance at risk of getting
H A Doverlayfs.rst331 Check (b) ensures that no task gains permissions to underlying layers that
/linux/sound/soc/intel/atom/
H A Dsst-atom-controls.c1318 * sst_send_pipe_gains - send gains for the front-end DAIs
1323 * The gains in the pipes connected to the front-ends are muted/unmuted
1325 * gains for the front-end pipes.
1345 dev_dbg(dai->dev, "send gains for widget=%s\n", in sst_send_pipe_gains()
1373 * sst_fill_module_list - populate the list of modules/gains for a pipe
1421 * sst_fill_widget_module_info - fill list of gains/algos for the pipe
1425 * Fill the list of gains/algos for the widget by looking at all the card
1501 * sst_map_modules_to_pipe - fill algo/gains list for all pipes
1535 unsigned int gains = ARRAY_SIZE(sst_gain_controls)/3; in sst_dsp_init_v2_dpcm()
1548 for (i = 0; i < gains; in sst_dsp_init_v2_dpcm()
1536 unsigned int gains = ARRAY_SIZE(sst_gain_controls)/3; sst_dsp_init_v2_dpcm() local
[all...]
/linux/Documentation/admin-guide/thermal/
H A Dintel_powerclamp.rst138 derivative gains of the past samples.
/linux/Documentation/networking/devlink/
H A Dice.rst381 user gains an ability to control how much bandwidth is allocated for each
/linux/Documentation/driver-api/mtd/
H A Dnand_ecc.rst502 Unrolling once gains about 15%
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt7017 in the slab fastpaths but gains more accurate