Lines Matching refs:pull
224 return of_property_present(node, "bias-pull-up") ||
225 of_property_present(node, "bias-pull-down") ||
227 of_property_present(node, "allwinner,pull");
241 if (of_property_present(node, "bias-pull-up"))
244 if (of_property_present(node, "bias-pull-down"))
251 if (of_property_read_u32(node, "allwinner,pull", &val))
365 int pull = sunxi_pctrl_parse_bias_prop(node);
367 if (pull < 0) {
368 ret = pull;
372 if (pull != PIN_CONFIG_BIAS_DISABLE)
373 arg = 1; /* hardware uses weak pull resistors */
375 pinconfig[idx++] = pinconf_to_config_packed(pull, arg);
561 arg = 1; /* hardware is weak pull-up */
567 arg = 1; /* hardware is weak pull-down */