Home
last modified time | relevance | path

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

/drivers/pinctrl/qcom/
Dpinctrl-ssbi-gpio.c86 u8 bias; member
263 arg = pin->bias == PM8XXX_GPIO_BIAS_NP; in pm8xxx_pin_config_get()
266 arg = pin->bias == PM8XXX_GPIO_BIAS_PD; in pm8xxx_pin_config_get()
269 arg = pin->bias <= PM8XXX_GPIO_BIAS_PU_1P5_30; in pm8xxx_pin_config_get()
326 pin->bias = PM8XXX_GPIO_BIAS_NP; in pm8xxx_pin_config_set()
332 pin->bias = PM8XXX_GPIO_BIAS_PD; in pm8xxx_pin_config_set()
345 pin->bias = pin->pull_up_strength; in pm8xxx_pin_config_set()
405 val = pin->bias << 1; in pm8xxx_pin_config_set()
567 seq_printf(s, " %-27s", biases[pin->bias]); in pm8xxx_gpio_dbg_show_one()
625 pin->bias = (val >> 1) & 0x7; in pm8xxx_pin_populate()
[all …]
/drivers/iio/imu/
Dadis16480.c338 const struct iio_chan_spec *chan, int bias) in adis16480_set_calibbias() argument
346 if (bias < -0x8000 || bias >= 0x8000) in adis16480_set_calibbias()
348 return adis_write_reg_16(&st->adis, reg, bias); in adis16480_set_calibbias()
351 return adis_write_reg_32(&st->adis, reg, bias); in adis16480_set_calibbias()
360 const struct iio_chan_spec *chan, int *bias) in adis16480_get_calibbias() argument
372 *bias = sign_extend32(val16, 15); in adis16480_get_calibbias()
377 *bias = sign_extend32(val32, 31); in adis16480_get_calibbias()
/drivers/power/supply/
Dds2760_battery.c362 char bias; in ds2760_battery_set_charged_work() local
381 bias = (signed char) di->current_raw + in ds2760_battery_set_charged_work()
384 dev_dbg(di->dev, "%s: bias = %d\n", __func__, bias); in ds2760_battery_set_charged_work()
386 w1_ds2760_write(di->w1_dev, &bias, DS2760_CURRENT_OFFSET_BIAS, 1); in ds2760_battery_set_charged_work()
392 di->raw[DS2760_CURRENT_OFFSET_BIAS] = bias; in ds2760_battery_set_charged_work()
/drivers/pinctrl/stm32/
Dpinctrl-stm32.c711 unsigned offset, u32 bias) in stm32_pconf_set_bias() argument
721 val |= bias << (offset * 2); in stm32_pconf_set_bias()
848 u32 mode, alt, drive, speed, bias; in stm32_pconf_dbg_show() local
862 bias = stm32_pconf_get_bias(bank, offset); in stm32_pconf_dbg_show()
872 biasing[bias]); in stm32_pconf_dbg_show()
883 biasing[bias], in stm32_pconf_dbg_show()
893 biasing[bias], in stm32_pconf_dbg_show()
/drivers/pinctrl/bcm/
DKconfig52 as bias pull up, pull down, and drive strength configurations, when
88 as bias pull up, pull down, and drive strength configurations, when
/drivers/video/fbdev/
Dpxa168fb.h367 #define CFG_BIAS_OUT(bias) ((bias) << 8) argument
/drivers/input/touchscreen/
Dintel-mid-touch.c172 static int mrstouch_ts_bias_set(uint offset, uint bias) in mrstouch_ts_bias_set() argument
184 data[count] = bias | (start + count); in mrstouch_ts_bias_set()
/drivers/pinctrl/sh-pfc/
Dpinctrl.c609 unsigned int bias; in sh_pfc_pinconf_get() local
615 bias = pfc->info->ops->get_bias(pfc, _pin); in sh_pfc_pinconf_get()
618 if (bias != param) in sh_pfc_pinconf_get()
Dsh_pfc.h222 unsigned int bias);
Dpfc-r8a73a4.c2695 unsigned int bias) in r8a73a4_pinmux_set_bias() argument
2703 switch (bias) { in r8a73a4_pinmux_set_bias()
Dpfc-r8a7740.c3733 unsigned int bias) in r8a7740_pinmux_set_bias() argument
3738 switch (bias) { in r8a7740_pinmux_set_bias()
Dpfc-sh73a0.c4347 unsigned int bias) in sh73a0_pinmux_set_bias() argument
4353 switch (bias) { in sh73a0_pinmux_set_bias()
Dpfc-r8a7778.c3104 unsigned int bias) in r8a7778_pinmux_set_bias() argument
3117 if (bias == PIN_CONFIG_BIAS_PULL_UP) in r8a7778_pinmux_set_bias()
Dpfc-r8a7795.c5379 unsigned int bias) in r8a7795_pinmux_set_bias() argument
5394 if (bias != PIN_CONFIG_BIAS_DISABLE) in r8a7795_pinmux_set_bias()
5398 if (bias == PIN_CONFIG_BIAS_PULL_UP) in r8a7795_pinmux_set_bias()
/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c3537 int bias = ar9003_modal_header(ah, is2ghz)->xpaBiasLvl; in ar9003_hw_xpa_bias_level_apply() local
3541 REG_RMW_FIELD(ah, AR_CH0_TOP2, AR_CH0_TOP2_XPABIASLVL, bias); in ar9003_hw_xpa_bias_level_apply()
3543 REG_RMW_FIELD(ah, AR_CH0_TOP, AR_CH0_TOP_XPABIASLVL, bias); in ar9003_hw_xpa_bias_level_apply()
3545 REG_RMW_FIELD(ah, AR_CH0_TOP, AR_CH0_TOP_XPABIASLVL, bias); in ar9003_hw_xpa_bias_level_apply()
3548 bias >> 2); in ar9003_hw_xpa_bias_level_apply()
4058 u8 bias; in ar9003_hw_xlna_bias_strength_apply() local
4066 bias = ar9003_modal_header(ah, is2ghz)->xlna_bias_strength; in ar9003_hw_xlna_bias_strength_apply()
4068 bias & 0x3); in ar9003_hw_xlna_bias_strength_apply()
4069 bias >>= 2; in ar9003_hw_xlna_bias_strength_apply()
4071 bias & 0x3); in ar9003_hw_xlna_bias_strength_apply()
[all …]
/drivers/cpufreq/
DKconfig.x86138 tristate "AMD frequency sensitivity feedback powersave bias"
141 This adds AMD-specific powersave bias function to the ondemand
/drivers/media/dvb-frontends/
Ddib0090.c189 u16 bias; member
2202 state->bias = dib0090_read_reg(state, 0x13); in dib0090_get_temperature()
2203 dib0090_write_reg(state, 0x13, state->bias | (0x3 << 8)); in dib0090_get_temperature()
2211 dib0090_write_reg(state, 0x13, (state->bias & ~(0x3 << 8)) | (0x2 << 8)); in dib0090_get_temperature()
2225 dib0090_write_reg(state, 0x13, state->bias); in dib0090_get_temperature()
/drivers/extcon/
Dextcon-arizona.c248 info->micd_modes[mode].bias << in arizona_extcon_set_mode()
260 switch (info->micd_modes[0].bias) { in arizona_extcon_get_micbias()
1241 micd_configs[i].bias = vals[j++]; in arizona_extcon_get_micd_configs()
/drivers/net/wireless/broadcom/b43/
Dphy_n.c1141 u16 bias, cbias; in b43_radio_2056_setup() local
1194 bias = 0x40; in b43_radio_2056_setup()
1200 bias = 0x25; in b43_radio_2056_setup()
1203 bias = 0x2a; in b43_radio_2056_setup()
1214 bias); in b43_radio_2056_setup()
1217 bias); in b43_radio_2056_setup()
1234 bias = b43_is_40mhz(dev) ? 0x40 : 0x20; in b43_radio_2056_setup()
1237 bias); in b43_radio_2056_setup()
1240 bias); in b43_radio_2056_setup()
2732 u16 bias, conv, filt; in b43_nphy_workarounds_rev7plus() local
[all …]
/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h612 #define CFG_BIAS_OUT(bias) ((bias)<<8) argument
/drivers/net/wireless/ath/ath6kl/
Dwmi.h1635 s8 bias; member
1913 s8 bias; member
Ddebug.c1210 info->util, info->bias); in ath6kl_roam_table_read()
/drivers/net/ethernet/brocade/bna/
Dbna_tx_rx.c2706 u32 load, bias; in bna_rx_dim_update() local
2739 bias = 0; in bna_rx_dim_update()
2741 bias = 1; in bna_rx_dim_update()
2746 coalescing_timeo = bna->rx_mod.dim_vector[load][bias]; in bna_rx_dim_update()
/drivers/regulator/
DKconfig299 the LCD bias.
713 device specific optimized bias to allow/optimize functionality.
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_n.c20758 u16 bias, cascbias; in wlc_phy_chanspec_radio2056_setup() local
20770 bias = 0x40; in wlc_phy_chanspec_radio2056_setup()
20777 bias = 0x25; in wlc_phy_chanspec_radio2056_setup()
20783 bias = 0x2a; in wlc_phy_chanspec_radio2056_setup()
20794 INTPAG_IMAIN_STAT, bias); in wlc_phy_chanspec_radio2056_setup()
20796 INTPAG_IAUX_STAT, bias); in wlc_phy_chanspec_radio2056_setup()
20814 bias = (pi->bw == WL_CHANSPEC_BW_40) ? in wlc_phy_chanspec_radio2056_setup()
20818 INTPAG_IMAIN_STAT, bias); in wlc_phy_chanspec_radio2056_setup()
20820 INTPAG_IAUX_STAT, bias); in wlc_phy_chanspec_radio2056_setup()