Searched refs:pull_dir (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/pinctrl/uniphier/
H A Dpinctrl-uniphier-core.c67 const char *pull_dir, *drv_str; uniphier_pctl_pin_dbg_show() local
71 pull_dir = "UP"; uniphier_pctl_pin_dbg_show()
74 pull_dir = "DOWN"; uniphier_pctl_pin_dbg_show()
77 pull_dir = "NONE"; uniphier_pctl_pin_dbg_show()
106 seq_printf(s, " PULL_DIR=%s DRV_STR=%s", pull_dir, drv_str); uniphier_pctl_pin_dbg_show()
126 enum uniphier_pin_pull_dir pull_dir = uniphier_conf_pin_bias_get() local
134 if (pull_dir == UNIPHIER_PIN_PULL_NONE) uniphier_conf_pin_bias_get()
136 if (pull_dir == UNIPHIER_PIN_PULL_UP_FIXED || uniphier_conf_pin_bias_get()
137 pull_dir == UNIPHIER_PIN_PULL_DOWN_FIXED) uniphier_conf_pin_bias_get()
142 if (pull_dir == UNIPHIER_PIN_PULL_UP_FIXED) uniphier_conf_pin_bias_get()
144 if (pull_dir != UNIPHIER_PIN_PULL_UP) uniphier_conf_pin_bias_get()
148 if (pull_dir == UNIPHIER_PIN_PULL_DOWN_FIXED) uniphier_conf_pin_bias_get()
150 if (pull_dir != UNIPHIER_PIN_PULL_DOWN) uniphier_conf_pin_bias_get()
286 enum uniphier_pin_pull_dir pull_dir = uniphier_conf_pin_bias_set() local
293 if (pull_dir == UNIPHIER_PIN_PULL_NONE) uniphier_conf_pin_bias_set()
295 if (pull_dir == UNIPHIER_PIN_PULL_UP_FIXED || uniphier_conf_pin_bias_set()
296 pull_dir == UNIPHIER_PIN_PULL_DOWN_FIXED) { uniphier_conf_pin_bias_set()
305 if (pull_dir == UNIPHIER_PIN_PULL_UP_FIXED && arg != 0) uniphier_conf_pin_bias_set()
307 if (pull_dir != UNIPHIER_PIN_PULL_UP) { uniphier_conf_pin_bias_set()
319 if (pull_dir == UNIPHIER_PIN_PULL_DOWN_FIXED && arg != 0) uniphier_conf_pin_bias_set()
321 if (pull_dir != UNIPHIER_PIN_PULL_DOWN) { uniphier_conf_pin_bias_set()
333 if (pull_dir == UNIPHIER_PIN_PULL_NONE) { uniphier_conf_pin_bias_set()
H A Dpinctrl-uniphier.h99 #define UNIPHIER_PIN_ATTR_PACKED(iectrl, drvctrl, drv_str, pupdctrl, pull_dir)\
104 UNIPHIER_PIN_PULL_DIR(pull_dir))

Completed in 67 milliseconds