Searched refs:bias (Results 26 - 50 of 69) sorted by relevance

123

/linux-master/drivers/power/supply/
H A Dds2760_battery.c494 char bias; local
506 * Hence, we use the current offset bias register to compensate
513 bias = (signed char) di->current_raw +
516 dev_dbg(di->dev, "%s: bias = %d\n", __func__, bias);
518 w1_ds2760_write(di->dev, &bias, DS2760_CURRENT_OFFSET_BIAS, 1);
524 di->raw[DS2760_CURRENT_OFFSET_BIAS] = bias;
/linux-master/drivers/hid/
H A Dhid-playstation.c60 short bias; member in struct:ps_calibration_data
1003 ds->gyro_calib_data[0].bias = 0;
1009 ds->gyro_calib_data[1].bias = 0;
1015 ds->gyro_calib_data[2].bias = 0;
1029 ds->gyro_calib_data[i].bias = 0;
1041 ds->accel_calib_data[0].bias = acc_x_plus - range_2g / 2;
1047 ds->accel_calib_data[1].bias = acc_y_plus - range_2g / 2;
1053 ds->accel_calib_data[2].bias = acc_z_plus - range_2g / 2;
1066 ds->accel_calib_data[i].bias = 0;
1410 raw_data - ds->accel_calib_data[i].bias,
[all...]
/linux-master/arch/m68k/fpsp040/
H A Dsrem_mod.S134 | ...with bias $7FFD
148 | ...with bias $7FFD
153 | ...with bias $7FFD
179 | ...with bias $7FFD
193 | ...with bias $7FFD
198 | ...with bias $7FFD
278 | ...with bias $7FFD
H A Dx_ovfl.S31 | with a bias of $6000 subtracted from the exponent.
H A Dx_unfl.S17 | operand needs to made available to the user with a bias of $6000
228 subqw #1,LOCAL_EX(%a0) |account for denorm bias vs.
229 | ;normalized bias
/linux-master/include/linux/
H A Dregset.h152 * @bias: Bias from natural indexing.
184 * When there is a natural value to use as an index, @bias gives the
189 * @bias from a segment selector index value computes the regset slot.
208 unsigned int bias; member in struct:user_regset
/linux-master/arch/sparc/kernel/
H A Dprocess_64.c659 unsigned long pc, fp, bias = 0; local
666 bias = STACK_BIAS;
667 fp = task_thread_info(task)->ksp + bias;
678 fp = rw->ins[6] + bias;
/linux-master/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_gyro.c363 * Calibration bias values, IIO range format int + nano.
378 int32_t bias; local
441 bias = div_s64(val64, 2048 * 180);
442 *val = bias / 1000000000L;
443 *val2 = bias % 1000000000L;
H A Dinv_icm42600_accel.c351 * Calibration bias values, IIO range format int + micro.
366 int32_t bias; local
429 bias = div_s64(val64, 10000L);
430 *val = bias / 1000000L;
431 *val2 = bias % 1000000L;
/linux-master/drivers/iio/imu/
H A Dadis16480.c475 const struct iio_chan_spec *chan, int bias)
483 if (bias < -0x8000 || bias >= 0x8000)
485 return adis_write_reg_16(&st->adis, reg, bias);
488 return adis_write_reg_32(&st->adis, reg, bias);
497 const struct iio_chan_spec *chan, int *bias)
510 *bias = sign_extend32(val16, 15);
516 *bias = sign_extend32(val32, 31);
474 adis16480_set_calibbias(struct iio_dev *indio_dev, const struct iio_chan_spec *chan, int bias) argument
496 adis16480_get_calibbias(struct iio_dev *indio_dev, const struct iio_chan_spec *chan, int *bias) argument
/linux-master/drivers/pinctrl/stm32/
H A Dpinctrl-stm32.c188 u32 bias)
191 bank->pin_backup[offset] |= bias << STM32_GPIO_BKP_PUPD_SHIFT;
995 unsigned offset, u32 bias)
1015 val |= bias << (offset * 2);
1021 stm32_gpio_backup_bias(bank, offset, bias);
1191 u32 mode, alt, drive, speed, bias; local
1213 bias = stm32_pconf_get_bias(bank, offset);
1223 biasing[bias]);
1234 biasing[bias],
1249 biasing[bias],
187 stm32_gpio_backup_bias(struct stm32_gpio_bank *bank, u32 offset, u32 bias) argument
994 stm32_pconf_set_bias(struct stm32_gpio_bank *bank, unsigned offset, u32 bias) argument
[all...]
/linux-master/drivers/pinctrl/renesas/
H A Dpinctrl-rzv2m.c491 enum pin_config_param bias; local
501 bias = PIN_CONFIG_BIAS_PULL_DOWN;
504 bias = PIN_CONFIG_BIAS_PULL_UP;
507 bias = PIN_CONFIG_BIAS_DISABLE;
510 if (bias != param)
H A Dsh_pfc.h253 unsigned int bias);
771 unsigned int bias);
775 unsigned int bias);
/linux-master/arch/alpha/lib/
H A Dev6-memset.S121 subq $2, 0x40, $1 # E : bias counter (aligning stuff 0mod64)
299 subq $2, 0x40, $1 # E : bias counter (aligning stuff 0mod64)
487 subq $2, 0x40, $1 # E : bias counter (aligning stuff 0mod64)
/linux-master/drivers/video/fbdev/
H A Dpxa168fb.h368 #define CFG_BIAS_OUT(bias) ((bias) << 8)
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_context.c118 unsigned int bias = i915_ggtt_pin_bias(vma) | PIN_OFFSET_BIAS; local
121 err = i915_ggtt_pin(vma, ww, 0, bias | PIN_HIGH);
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dar9003_eeprom.c3606 int bias = ar9003_modal_header(ah, is2ghz)->xpaBiasLvl; local
3610 REG_RMW_FIELD(ah, AR_CH0_TOP2(ah), AR_CH0_TOP2_XPABIASLVL, bias);
3612 REG_RMW_FIELD(ah, AR_CH0_TOP(ah), AR_CH0_TOP_XPABIASLVL, bias);
3614 REG_RMW_FIELD(ah, AR_CH0_TOP(ah), AR_CH0_TOP_XPABIASLVL, bias);
3617 bias >> 2);
4127 u8 bias; local
4135 bias = ar9003_modal_header(ah, is2ghz)->xlna_bias_strength;
4137 bias & 0x3);
4138 bias >>= 2;
4140 bias
[all...]
/linux-master/drivers/pinctrl/
H A Dpinctrl-ingenic.c3830 unsigned int bias, reg; local
3847 X1830_GPIO_PEL, &bias);
3850 X1830_GPIO_PEH, &bias);
3852 bias = (bias >> idxh) & (GPIO_PULL_UP | GPIO_PULL_DOWN);
3854 pullup = (bias == GPIO_PULL_UP) && (jzpc->info->pull_ups[offt] & BIT(idx));
3855 pulldown = (bias == GPIO_PULL_DOWN) && (jzpc->info->pull_downs[offt] & BIT(idx));
3919 unsigned int pin, unsigned int bias)
3922 switch (bias) {
3949 REG_SET(X1830_GPIO_PEL), bias << idx
3918 ingenic_set_bias(struct ingenic_pinctrl *jzpc, unsigned int pin, unsigned int bias) argument
[all...]
/linux-master/sound/soc/codecs/
H A Darizona-jack.c186 info->micd_modes[mode].bias <<
198 switch (info->micd_modes[0].bias) {
1188 micd_configs[i].bias = vals[j++];
1221 device_property_read_u32(arizona->dev, "wlf,micd-bias-start-time",
/linux-master/drivers/cpufreq/
H A DKconfig.x86181 tristate "AMD frequency sensitivity feedback powersave bias"
184 This adds AMD-specific powersave bias function to the ondemand
/linux-master/drivers/gpu/drm/amd/display/dc/
H A Ddc_hw_types.h599 int bias; member in struct:dpp_cursor_attributes
/linux-master/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
H A Ddcn10_dpp.c496 REG_UPDATE(CURSOR0_FP_SCALE_BIAS, CUR0_FP_BIAS, attr->bias);
/linux-master/drivers/net/wireless/broadcom/b43/
H A Dphy_n.c1129 u16 bias, cbias; local
1182 bias = 0x40;
1188 bias = 0x25;
1191 bias = 0x2a;
1202 bias);
1205 bias);
1222 bias = b43_is_40mhz(dev) ? 0x40 : 0x20;
1225 bias);
1228 bias);
2716 u16 bias, con local
[all...]
/linux-master/drivers/media/dvb-frontends/
H A Ddib0090.c173 u16 bias; member in struct:dib0090_state
2191 state->bias = dib0090_read_reg(state, 0x13);
2192 dib0090_write_reg(state, 0x13, state->bias | (0x3 << 8));
2200 dib0090_write_reg(state, 0x13, (state->bias & ~(0x3 << 8)) | (0x2 << 8));
2214 dib0090_write_reg(state, 0x13, state->bias);
/linux-master/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c1981 * smartshift(SS2.0) bias level. The value ranges from -100 to 100
2004 int bias = 0; local
2017 r = kstrtoint(buf, 10, &bias);
2021 if (bias > AMDGPU_SMARTSHIFT_MAX_BIAS)
2022 bias = AMDGPU_SMARTSHIFT_MAX_BIAS;
2023 else if (bias < AMDGPU_SMARTSHIFT_MIN_BIAS)
2024 bias = AMDGPU_SMARTSHIFT_MIN_BIAS;
2026 amdgpu_smartshift_bias = bias;
2029 /* TODO: update bias level with SMU message */

Completed in 260 milliseconds

123