| /linux-6.15/drivers/iio/test/ |
| H A D | iio-test-gts.c | 388 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-6.15/drivers/iio/light/ |
| H A D | rohm-bu27034.c | 396 int numg = ARRAY_SIZE(gains); in bu27034_try_set_int_time() 416 ret = bu27034_get_gain(data, gains[i].chan, &gains[i].old_gain); in bu27034_try_set_int_time() 421 gains[i].old_gain, in bu27034_try_set_int_time() 423 &gains[i].new_gain); in bu27034_try_set_int_time() 433 if (gains[i].new_gain < 0) in bu27034_try_set_int_time() 443 gains[i].new_gain, &ok); in bu27034_try_set_int_time() 448 gains[i].chan); in bu27034_try_set_int_time() 458 gains[i].chan); in bu27034_try_set_int_time() 459 gains[i].new_gain = ret; in bu27034_try_set_int_time() 461 gains[i].chan, gains[i].new_gain); in bu27034_try_set_int_time() [all …]
|
| /linux-6.15/drivers/net/wireless/broadcom/b43/ |
| H A D | phy_lp.c | 864 return gains; in lpphy_get_tx_gains() 891 rf_gain = (gains.pad << 7) | (gains.pga << 3) | gains.gm; in lpphy_set_tx_gains() 897 (gains.pga << 8) | gains.gm); in lpphy_set_tx_gains() 905 (gains.pga << 8) | gains.gm); in lpphy_set_tx_gains() 1540 gains.gm = 4; in lpphy_tx_pctl_init_sw() 1541 gains.pad = 12; in lpphy_tx_pctl_init_sw() 1542 gains.pga = 12; in lpphy_tx_pctl_init_sw() 1543 gains.dac = 0; in lpphy_tx_pctl_init_sw() 1545 gains.gm = 7; in lpphy_tx_pctl_init_sw() 1548 gains.dac = 0; in lpphy_tx_pctl_init_sw() [all …]
|
| /linux-6.15/drivers/media/usb/gspca/stv06xx/ |
| H A D | stv06xx_hdcs.c | 253 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-6.15/sound/pci/lola/ |
| H A D | lola_mixer.c | 240 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++; 744 unsigned short gains[MAX_STREAM_COUNT]; 752 gains[num++] = val - 1; 758 return lola_mixer_set_dest_gains(chip, dst, mask, gains);
|
| /linux-6.15/Documentation/userspace-api/media/v4l/ |
| H A D | ext-ctrls-image-source.rst | 77 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,
|
| H A D | vidioc-reqbufs.rst | 183 latter can provide performance gains, for instance the CPU cache
|
| /linux-6.15/Documentation/ABI/testing/ |
| H A D | sysfs-uevent | 28 If UUID is not passed in, the generated synthetic uevent gains 36 name gains ``SYNTH_ARG_`` prefix to avoid possible collisions
|
| /linux-6.15/drivers/iio/ |
| H A D | industrialio-gts-helper.c | 277 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-6.15/sound/pci/au88x0/ |
| H A D | au88x0_xtalk.h | 37 xtalk_gains_t const gains);
|
| H A D | au88x0_xtalk.c | 530 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 D | au88x0_eq.c | 545 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-6.15/drivers/staging/vc04_services/bcm2835-camera/ |
| H A D | controls.c | 483 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-6.15/sound/soc/codecs/ |
| H A D | madera.c | 3610 if (gains[i].min <= fref && fref <= gains[i].max) { in madera_find_fll_gain() 3611 cfg->gain = gains[i].gain; in madera_find_fll_gain() 3671 gains = madera_fll_sync_gains; in madera_calc_fll() 3676 gains = madera_fll_sync_gains; in madera_calc_fll() 3688 gains = madera_fll_sync_gains; in madera_calc_fll() 3693 gains = madera_fll_sync_gains; in madera_calc_fll() 3696 gains = madera_fll_main_gains; in madera_calc_fll() 4427 unsigned int gains, val, num; in madera_fllhj_apply() local 4446 gains = MADERA_FLLHJ_LOW_GAINS; in madera_fllhj_apply() 4453 gains = MADERA_FLLHJ_MID_GAINS; in madera_fllhj_apply() [all …]
|
| /linux-6.15/fs/ext4/ |
| H A D | Kconfig | 50 are some performance gains from the delayed allocation and inode 51 table readahead, the best performance gains require enabling ext4
|
| /linux-6.15/Documentation/devicetree/bindings/iio/adc/ |
| H A D | adi,ad7779.yaml | 17 allowing gains of 1, 2, 4, and 8 to map lower amplitude sensor
|
| /linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| H A D | phy_lcn.c | 996 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 …]
|
| /linux-6.15/Documentation/filesystems/bcachefs/ |
| H A D | casefolding.rst | 14 loading time gains in many applications and games.
|
| /linux-6.15/Documentation/filesystems/ |
| H A D | ocfs2.rst | 111 nodes, which gains high performance at risk of getting
|
| /linux-6.15/Documentation/dev-tools/ |
| H A D | autofdo.rst | 29 can be applied across platforms to achieve performance gains. For
|
| /linux-6.15/kernel/ |
| H A D | Kconfig.preempt | 85 gains seen from using Voluntary preemption.
|
| /linux-6.15/Documentation/kernel-hacking/ |
| H A D | false-sharing.rst | 135 mitigations should balance performance gains with complexity and
|
| /linux-6.15/sound/soc/intel/atom/ |
| H A D | sst-atom-controls.c | 1536 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()
|
| /linux-6.15/Documentation/sound/soc/ |
| H A D | dpcm.rst | 288 4. Mixers for gains, routing, etc.
|
| /linux-6.15/Documentation/admin-guide/thermal/ |
| H A D | intel_powerclamp.rst | 138 derivative gains of the past samples.
|