Searched refs:bias (Results 1 - 10 of 10) sorted by last modified time

/u-boot/drivers/pinctrl/
H A Dpinctrl-zynqmp.c53 * @bias: Bias enabled or disabled
65 u32 bias; member in struct:zynqmp_pinctrl_config
541 &pinmux.bias);
575 pinmux.bias ? "enabled" : "disabled",
601 { "bias-bus-hold", PIN_CONFIG_BIAS_BUS_HOLD, 0 },
602 { "bias-disable", PIN_CONFIG_BIAS_DISABLE, 0 },
603 { "bias-high-impedance", PIN_CONFIG_BIAS_HIGH_IMPEDANCE, 0 },
604 { "bias-pull-up", PIN_CONFIG_BIAS_PULL_UP, 1 },
605 { "bias-pull-pin-default", PIN_CONFIG_BIAS_PULL_PIN_DEFAULT, 1 },
606 { "bias
[all...]
/u-boot/drivers/pinctrl/renesas/
H A Dsh_pfc.h245 unsigned int bias);
743 unsigned int bias);
H A Dpfc.c372 WARN_ONCE(1, "Pin %u is not in bias info list\n", pin);
402 unsigned int bias)
414 if (bias != PIN_CONFIG_BIAS_DISABLE) {
419 if (bias == PIN_CONFIG_BIAS_PULL_UP)
428 if (bias == PIN_CONFIG_BIAS_PULL_DOWN)
715 { "bias-disable", PIN_CONFIG_BIAS_DISABLE, 0 },
716 { "bias-pull-up", PIN_CONFIG_BIAS_PULL_UP, 1 },
717 { "bias-pull-down", PIN_CONFIG_BIAS_PULL_DOWN, 1 },
401 rcar_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, unsigned int bias) argument
H A Dpfc-r8a77995.c3148 unsigned int bias)
3159 if (bias != PIN_CONFIG_BIAS_DISABLE) {
3163 if (bias == PIN_CONFIG_BIAS_PULL_UP)
3147 r8a77995_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, unsigned int bias) argument
H A Dpinctrl-rzn1.c246 unsigned int bias, unsigned int strength)
254 switch (bias) {
266 debug("set pin %d bias off\n", pin);
304 u32 bias; local
306 /* Pullup/down bias, common to all pins in group */
307 bias = PIN_CONFIG_BIAS_PULL_UP;
308 if (dev_read_bool(config, "bias-disable"))
309 bias = PIN_CONFIG_BIAS_DISABLE;
310 else if (dev_read_bool(config, "bias-pull-up"))
311 bias
245 rzn1_pinconf_set(struct rzn1_pinctrl_priv *priv, unsigned int pin, unsigned int bias, unsigned int strength) argument
[all...]
/u-boot/drivers/pinctrl/sunxi/
H A Dpinctrl-sunxi.c97 { "bias-disable", PIN_CONFIG_BIAS_DISABLE, 0 },
98 { "bias-pull-down", PIN_CONFIG_BIAS_PULL_DOWN, 2 },
99 { "bias-pull-up", PIN_CONFIG_BIAS_PULL_UP, 1 },
104 uint bank, uint pin, uint bias)
108 sunxi_gpio_set_pull_bank(regs, pin, bias);
103 sunxi_pinctrl_pinconf_set_pull(struct sunxi_pinctrl_plat *plat, uint bank, uint pin, uint bias) argument
/u-boot/arch/mips/mach-mtmips/
H A Dddr_cal.c36 u32 bias)
53 nca[i] = (u32)nca + i + bias;
66 if (ca[i] != (u32)nca + i + bias)
35 dqs_test_error(void __iomem *memc, u32 memsize, u32 dqsval, u32 bias) argument
/u-boot/drivers/video/
H A Dstb_truetype.h965 // pixel_dist_scale & onedge_value are a scale & bias that allows you to make
1534 // now decrement to bias correctly to find smallest
1971 int bias = 107; local
1973 bias = 32768;
1975 bias = 1131;
1976 n += bias;
/u-boot/include/
H A Ddiv64.h96 * We can't get away without a bias to compensate \
129 /* No bias needed. */ \
136 * 1) whether or not we need to apply a bias, and \
153 * Prototype: u64 __arch_xprod_64(const u64 m, u64 n, bool bias)
154 * Semantic: retval = ((bias ? m : 0) + m * n) >> 64
160 static inline u64 __arch_xprod_64(const u64 m, u64 n, bool bias) argument
168 if (!bias) {
/u-boot/include/zfs/
H A Dspa.h30 #define BF32_GET_SB(x, low, len, shift, bias) \
31 ((BF32_GET(x, low, len) + (bias)) << (shift))
32 #define BF64_GET_SB(x, low, len, shift, bias) \
33 ((BF64_GET(x, low, len) + (bias)) << (shift))
35 #define BF32_SET_SB(x, low, len, shift, bias, val) \
36 BF32_SET(x, low, len, ((val) >> (shift)) - (bias))
37 #define BF64_SET_SB(x, low, len, shift, bias, val) \
38 BF64_SET(x, low, len, ((val) >> (shift)) - (bias))

Completed in 181 milliseconds