/linux-6.12.1/drivers/iio/test/ |
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.12.1/drivers/iio/light/ |
D | rohm-bu27034.c | 391 struct bu27034_gain_check gains[] = { in bu27034_try_set_int_time() local 395 int numg = ARRAY_SIZE(gains); in bu27034_try_set_int_time() 419 ret = bu27034_get_gain(data, gains[i].chan, &gains[i].old_gain); in bu27034_try_set_int_time() 424 gains[i].old_gain, in bu27034_try_set_int_time() 426 &gains[i].new_gain); in bu27034_try_set_int_time() 431 _bu27034_get_scale(data, gains[i].chan, &scale1, &scale2); in bu27034_try_set_int_time() 434 gains[i].chan, time_us, scale1, scale2); in bu27034_try_set_int_time() 436 if (gains[i].new_gain < 0) in bu27034_try_set_int_time() 446 gains[i].new_gain, &ok); in bu27034_try_set_int_time() 451 gains[i].chan); in bu27034_try_set_int_time() [all …]
|
D | rohm-bu27008.c | 362 const struct iio_gain_sel_pair *gains; member 711 .gains = &bu27010_gains[0], 735 .gains = &bu27008_gains[0], 1571 ret = devm_iio_init_iio_gts(dev, data->cd->scale1x, 0, data->cd->gains, in bu27008_probe()
|
/linux-6.12.1/drivers/net/wireless/broadcom/b43/ |
D | phy_lp.c | 847 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-6.12.1/drivers/media/usb/gspca/stv06xx/ |
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.12.1/sound/pci/lola/ |
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++; 787 unsigned short gains[MAX_STREAM_COUNT]; 795 gains[num++] = val - 1; 801 return lola_mixer_set_dest_gains(chip, dst, mask, gains);
|
/linux-6.12.1/Documentation/userspace-api/media/v4l/ |
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,
|
D | vidioc-reqbufs.rst | 183 latter can provide performance gains, for instance the CPU cache
|
/linux-6.12.1/Documentation/ABI/testing/ |
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.12.1/drivers/iio/ |
D | industrialio-gts-helper.c | 168 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()
|
/linux-6.12.1/sound/pci/au88x0/ |
D | au88x0_xtalk.h | 37 xtalk_gains_t const gains);
|
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);
|
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.12.1/drivers/staging/vc04_services/bcm2835-camera/ |
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.12.1/sound/soc/codecs/ |
D | madera.c | 3603 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-6.12.1/fs/ext4/ |
D | Kconfig | 51 are some performance gains from the delayed allocation and inode 52 table readahead, the best performance gains require enabling ext4
|
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
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 …]
|
D | phy_n.c | 187 struct nphy_txgains gains; member 24702 (txgains->gains.pad[core] << 3) | in wlc_phy_a2_nphy() 24707 (txgains->gains.pga[core] << 8) | in wlc_phy_a2_nphy() 25017 phy_a4.gains.pad[core] = in wlc_phy_a3_nphy() 25020 phy_a4.gains.pga[core] = in wlc_phy_a3_nphy() 25208 phy_b1[phy_b5].gains.pad[phy_b5] = in wlc_phy_a4() 25219 phy_b1[phy_b5].gains.pga[phy_b5] = in wlc_phy_a4() 25265 phy_b8 = phy_b1[phy_b5].gains.pad[phy_b5]; in wlc_phy_a4() 25285 phy_b7 = phy_b1[phy_b5].gains.pga[phy_b5]; in wlc_phy_a4()
|
/linux-6.12.1/Documentation/filesystems/ |
D | ocfs2.rst | 111 nodes, which gains high performance at risk of getting
|
/linux-6.12.1/Documentation/kernel-hacking/ |
D | false-sharing.rst | 135 mitigations should balance performance gains with complexity and
|
/linux-6.12.1/sound/soc/intel/atom/ |
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.12.1/Documentation/sound/soc/ |
D | dpcm.rst | 290 4. Mixers for gains, routing, etc.
|
/linux-6.12.1/Documentation/admin-guide/thermal/ |
D | intel_powerclamp.rst | 138 derivative gains of the past samples.
|
/linux-6.12.1/Documentation/locking/ |
D | locktypes.rst | 183 - If lockdep is enabled the local_lock gains a lockmap which allows to
|
/linux-6.12.1/Documentation/networking/devlink/ |
D | ice.rst | 370 user gains an ability to control how much bandwidth is allocated for each
|