/linux-master/drivers/gpio/ |
H A D | gpiolib.c | 2550 enum pin_config_param bias; local 2557 bias = PIN_CONFIG_BIAS_DISABLE; 2559 bias = PIN_CONFIG_BIAS_PULL_UP; 2561 bias = PIN_CONFIG_BIAS_PULL_DOWN; 2565 switch (bias) { 2576 return gpio_set_config_with_argument_optional(desc, bias, arg);
|
/linux-master/include/linux/ |
H A D | skbuff.h | 1238 int bias; local 1243 bias = skb->nohdr ? (1 << SKB_DATAREF_SHIFT) + 1 : 1; 1245 if (atomic_read(&shinfo->dataref) == bias) 1247 else if (atomic_sub_return(bias, &shinfo->dataref))
|
/linux-master/drivers/net/phy/ |
H A D | mediatek-ge-soc.c | 412 int bias[16] = {}; local 427 memcpy(bias, (const void *)vals_9461, sizeof(bias)); 430 memcpy(bias, (const void *)vals_9481, sizeof(bias)); 436 if (buf[i >> 2] + bias[i] > 63) { 438 bias[i] = 0; 443 MTK_PHY_DA_TX_I2MPB_A_GBE_MASK, (buf[0] + bias[0]) << 10); 445 MTK_PHY_DA_TX_I2MPB_A_TBT_MASK, buf[0] + bias[1]); 447 MTK_PHY_DA_TX_I2MPB_A_HBT_MASK, (buf[0] + bias[ 497 int bias = 0; local [all...] |
/linux-master/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_pm.c | 1955 * smartshift(SS2.0) bias level. The value ranges from -100 to 100 1978 int bias = 0; local 1991 r = kstrtoint(buf, 10, &bias); 1995 if (bias > AMDGPU_SMARTSHIFT_MAX_BIAS) 1996 bias = AMDGPU_SMARTSHIFT_MAX_BIAS; 1997 else if (bias < AMDGPU_SMARTSHIFT_MIN_BIAS) 1998 bias = AMDGPU_SMARTSHIFT_MIN_BIAS; 2000 amdgpu_smartshift_bias = bias; 2003 /* TODO: update bias level with SMU message */
|
/linux-master/drivers/iio/proximity/ |
H A D | isl29501.c | 715 int *bias) 721 bias); 725 bias); 848 int bias) 854 bias); 858 bias); 713 isl29501_get_calibbias(struct isl29501_private *isl29501, const struct iio_chan_spec *chan, int *bias) argument 846 isl29501_set_calibbias(struct isl29501_private *isl29501, const struct iio_chan_spec *chan, int bias) argument
|
/linux-master/drivers/iio/imu/ |
H A D | adis16480.c | 475 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/scsi/mpt3sas/ |
H A D | mpt3sas_base.c | 5530 union ATTO_SAS_ADDRESS bias; local 5558 bias.q = sas_addr.q; 5559 bias.b[7] += ATTO_SAS_ADDR_DEVNAME_BIAS; 5565 bios_pg4->Phy[ix].ReassignmentDeviceName = bias.q;
|
/linux-master/tools/testing/selftests/gpio/ |
H A D | gpio-mockup.sh | 130 bias-none) 200 # Setting the mockup pull using the userspace interface bias settings is 234 set_line bias-none
|
/linux-master/sound/soc/ |
H A D | soc-dapm.c | 682 * snd_soc_dapm_force_bias_level() - Sets the DAPM bias level 686 * Forces the DAPM bias level to a specific state. It will call the bias level 689 * the normal bias level sequencing, meaning any intermediate states between the 692 * Note that the change in bias level is only temporary and the next time 714 * snd_soc_dapm_set_bias_level - set the bias level for the system 718 * Configure the bias (power) levels for the SoC audio device. 1813 "ASoC: Failed to turn on bias: %d\n", ret); 1824 "ASoC: Failed to prepare bias: %d\n", ret); 1836 /* If we just powered the last thing off drop to standby bias */ 1961 enum snd_soc_bias_level bias; local [all...] |
/linux-master/drivers/power/supply/ |
H A D | ds2760_battery.c | 494 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/pinctrl/renesas/ |
H A D | sh_pfc.h | 253 unsigned int bias); 771 unsigned int bias); 775 unsigned int bias);
|
H A D | core.c | 953 const struct pinmux_bias_reg *bias) 960 for (i = 0, bits = 0; i < ARRAY_SIZE(bias->pins); i++) 961 if (bias->pins[i] != SH_PFC_PIN_NONE) 964 if (bias->puen) 965 sh_pfc_check_reg(info->name, bias->puen, bits); 966 if (bias->pud) 967 sh_pfc_check_reg(info->name, bias->pud, bits); 968 for (i = 0; i < ARRAY_SIZE(bias->pins); i++) { 969 pin = sh_pfc_find_pin(info, bias->puen, bias 952 sh_pfc_check_bias_reg(const struct sh_pfc_soc_info *info, const struct pinmux_bias_reg *bias) argument [all...] |
H A D | pinctrl-rzv2m.c | 491 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)
|
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
H A D | dcn10_hwseq.c | 2596 // Override rear plane RGB bias to fix MPO brightness 2621 * Fix is to set RGB bias to 0 on rear plane, top plane 2652 //set scale and bias registers 3739 opt_attr.bias = 0;
|
/linux-master/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_dpp.c | 496 REG_UPDATE(CURSOR0_FP_SCALE_BIAS, CUR0_FP_BIAS, attr->bias);
|
/linux-master/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_hw_types.h | 599 int bias; member in struct:dpp_cursor_attributes
|
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
H A D | phy_n.c | 20654 u16 bias, cascbias; local 20666 bias = 0x40; 20673 bias = 0x25; 20679 bias = 0x2a; 20690 INTPAG_IMAIN_STAT, bias); 20692 INTPAG_IAUX_STAT, bias); 20710 bias = (pi->bw == WL_CHANSPEC_BW_40) ? 20714 INTPAG_IMAIN_STAT, bias); 20716 INTPAG_IAUX_STAT, bias);
|
/linux-master/drivers/net/wireless/broadcom/b43/ |
H A D | phy_n.c | 1129 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/tools/perf/util/ |
H A D | debuginfo.c | 59 dbg->dbg = dwfl_module_getdwarf(dbg->mod, &dbg->bias); 152 elf = dwfl_module_getelf(dbg->mod, &dbg->bias);
|
H A D | debuginfo.h | 17 Dwarf_Addr bias; member in struct:debuginfo
|
/linux-master/drivers/pinctrl/stm32/ |
H A D | pinctrl-stm32.c | 188 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/ |
H A D | pinctrl-ingenic.c | 3830 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/drivers/iio/imu/inv_icm42600/ |
H A D | inv_icm42600_gyro.c | 363 * 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 D | inv_icm42600_accel.c | 351 * 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/sound/soc/codecs/ |
H A D | wm5100.c | 1984 (mode->bias << WM5100_ACCDET_BIAS_SRC_SHIFT) |
|