Lines Matching refs:bias
246 unsigned int bias, unsigned int strength)
254 switch (bias) {
266 debug("set pin %d bias off\n", pin);
304 u32 bias;
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 = PIN_CONFIG_BIAS_PULL_UP;
312 else if (dev_read_bool(config, "bias-pull-down"))
313 bias = PIN_CONFIG_BIAS_PULL_DOWN;
332 debug("%s pin %d func %d bias %d strength %d\n",
333 config->name, pin, func, bias, strength);
337 rzn1_pinconf_set(priv, pin, bias, strength);