/openbmc/linux/drivers/pinctrl/ |
H A D | core.c | 113 return pctldev; in get_pinctrl_dev_from_devname() 222 pindesc->pctldev = pctldev; in pinctrl_register_one_pin() 980 if (pctldev) in add_setting() 981 setting->pctldev = pctldev; in add_setting() 1518 if (!IS_ERR(pctldev->p) && !IS_ERR(pctldev->hog_sleep)) in pinctrl_force_sleep() 1530 if (!IS_ERR(pctldev->p) && !IS_ERR(pctldev->hog_default)) in pinctrl_force_default() 1880 struct pinctrl_dev *pctldev = setting->pctldev; in pinctrl_show() local 1915 strcmp(dev_name(pctldev->dev), pctldev->desc->name)) { in pinctrl_init_device_debugfs() 2016 pctldev = kzalloc(sizeof(*pctldev), GFP_KERNEL); in pinctrl_init_controller() 2085 pctldev->p = create_pinctrl(pctldev->dev, pctldev); in pinctrl_claim_hogs() [all …]
|
H A D | pinconf.c | 31 dev_err(pctldev->dev, in pinconf_check_ops() 62 dev_dbg(pctldev->dev, in pin_config_get_for_pin() 78 if (!pctldev) { in pin_config_group_get() 88 dev_dbg(pctldev->dev, in pin_config_group_get() 110 struct pinctrl_dev *pctldev = setting->pctldev; in pinconf_map_to_setting() local 150 struct pinctrl_dev *pctldev = setting->pctldev; in pinconf_apply_setting() local 170 dev_err(pctldev->dev, in pinconf_apply_setting() 178 dev_err(pctldev->dev, in pinconf_apply_setting() 187 dev_err(pctldev->dev, in pinconf_apply_setting() 220 if (pctldev) in pinconf_show_config() [all …]
|
H A D | pinmux.c | 121 dev_err(pctldev->dev, in pin_request() 132 dev_err(pctldev->dev, in pin_request() 139 dev_err(pctldev->dev, in pin_request() 157 dev_err(pctldev->dev, in pin_request() 219 dev_err(pctldev->dev, in pin_free() 346 struct pinctrl_dev *pctldev = setting->pctldev; in pinmux_map_to_setting() local 374 dev_err(pctldev->dev, in pinmux_map_to_setting() 383 dev_err(pctldev->dev, in pinmux_map_to_setting() 410 struct pinctrl_dev *pctldev = setting->pctldev; in pinmux_enable_setting() local 491 struct pinctrl_dev *pctldev = setting->pctldev; in pinmux_disable_setting() local [all …]
|
H A D | pinmux.h | 25 int pinmux_check_ops(struct pinctrl_dev *pctldev); 31 int pinmux_request_gpio(struct pinctrl_dev *pctldev, 34 void pinmux_free_gpio(struct pinctrl_dev *pctldev, unsigned pin, 36 int pinmux_gpio_direction(struct pinctrl_dev *pctldev, 48 static inline int pinmux_check_ops(struct pinctrl_dev *pctldev) in pinmux_check_ops() argument 71 static inline void pinmux_free_gpio(struct pinctrl_dev *pctldev, in pinmux_free_gpio() argument 111 struct pinctrl_dev *pctldev); 126 struct pinctrl_dev *pctldev) in pinmux_init_device_debugfs() argument 151 pinmux_generic_get_function_name(struct pinctrl_dev *pctldev, 162 int pinmux_generic_add_function(struct pinctrl_dev *pctldev, [all …]
|
H A D | pinconf-generic.c | 123 if (pctldev->desc->num_custom_params && in pinconf_generic_dump_pins() 124 pctldev->desc->custom_conf_items) in pinconf_generic_dump_pins() 126 pctldev->desc->custom_conf_items, in pinconf_generic_dump_pins() 127 pctldev->desc->num_custom_params, in pinconf_generic_dump_pins() 143 if (!pctldev->desc->num_custom_params || in pinconf_generic_dump_config() 144 !pctldev->desc->custom_conf_items) in pinconf_generic_dump_config() 242 struct pinctrl_dev *pctldev, in pinconf_generic_parse_dt_config() argument 255 if (pctldev) in pinconf_generic_parse_dt_config() 262 if (pctldev && pctldev->desc->num_custom_params && in pinconf_generic_parse_dt_config() 263 pctldev->desc->custom_params) in pinconf_generic_parse_dt_config() [all …]
|
H A D | core.h | 144 struct pinctrl_dev *pctldev; member 170 struct pinctrl_dev *pctldev; member 211 int pinctrl_generic_get_group_count(struct pinctrl_dev *pctldev); 216 int pinctrl_generic_get_group_pins(struct pinctrl_dev *pctldev, 227 int pinctrl_generic_remove_group(struct pinctrl_dev *pctldev, 234 int pin_get_from_name(struct pinctrl_dev *pctldev, const char *name); 236 int pinctrl_get_group_selector(struct pinctrl_dev *pctldev, 242 return radix_tree_lookup(&pctldev->pin_desc_tree, pin); in pin_desc_get() 246 pinctrl_find_gpio_range_from_pin_nolock(struct pinctrl_dev *pctldev, 249 extern int pinctrl_force_sleep(struct pinctrl_dev *pctldev); [all …]
|
H A D | pinconf.h | 25 int pinconf_check_ops(struct pinctrl_dev *pctldev); 32 int pinconf_set_config(struct pinctrl_dev *pctldev, unsigned pin, 39 int pin_config_get_for_pin(struct pinctrl_dev *pctldev, unsigned pin, 46 static inline int pinconf_check_ops(struct pinctrl_dev *pctldev) in pinconf_check_ops() argument 85 struct pinctrl_dev *pctldev); 100 struct pinctrl_dev *pctldev) in pinconf_init_device_debugfs() argument 113 void pinconf_generic_dump_pins(struct pinctrl_dev *pctldev, 117 void pinconf_generic_dump_config(struct pinctrl_dev *pctldev, 121 static inline void pinconf_generic_dump_pins(struct pinctrl_dev *pctldev, in pinconf_generic_dump_pins() argument 128 static inline void pinconf_generic_dump_config(struct pinctrl_dev *pctldev, in pinconf_generic_dump_config() argument [all …]
|
H A D | devicetree.c | 25 struct pinctrl_dev *pctldev; member 40 if (pctldev) { in dt_free_map() 66 struct pinctrl_dev *pctldev, in dt_remember_or_free_map() argument 82 if (pctldev) in dt_remember_or_free_map() 91 dt_map->pctldev = pctldev; in dt_remember_or_free_map() 99 dt_free_map(pctldev, map, num_maps); in dt_remember_or_free_map() 114 struct pinctrl_dev *pctldev = NULL; in dt_to_map_one_config() local 140 pctldev = hog_pctldev; in dt_to_map_one_config() 144 if (pctldev) in dt_to_map_one_config() 158 ops = pctldev->desc->pctlops; in dt_to_map_one_config() [all …]
|
H A D | pinctrl-rk805.c | 343 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_groups_count() 351 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_group_name() 361 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_group_pins() 379 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_funcs_count() 405 static int _rk805_pinctrl_set_mux(struct pinctrl_dev *pctldev, in _rk805_pinctrl_set_mux() argument 426 static int rk805_pinctrl_set_mux(struct pinctrl_dev *pctldev, in rk805_pinctrl_set_mux() argument 434 return _rk805_pinctrl_set_mux(pctldev, offset, mux); in rk805_pinctrl_set_mux() 485 static int rk805_pinconf_get(struct pinctrl_dev *pctldev, in rk805_pinconf_get() argument 507 static int rk805_pinconf_set(struct pinctrl_dev *pctldev, in rk805_pinconf_set() argument 522 rk805_pmx_gpio_set_direction(pctldev, NULL, pin, false); in rk805_pinconf_set() [all …]
|
H A D | pinctrl-at91-pio4.c | 540 grp = atmel_pctl_find_group_by_pin(pctldev, pin_id); in atmel_pctl_xlate_pinfunc() 616 ret = pinctrl_utils_add_map_configs(pctldev, map, in atmel_pctl_dt_subnode_to_map() 662 pinctrl_utils_free_map(pctldev, *map, *num_maps); in atmel_pctl_dt_node_to_map() 714 conf = atmel_pin_config_read(pctldev, pin); in atmel_pmx_set_mux() 718 atmel_pin_config_write(pctldev, pin, conf); in atmel_pmx_set_mux() 740 res = atmel_pin_config_read(pctldev, pin_id); in atmel_conf_pin_config_group_get() 808 conf = atmel_pin_config_read(pctldev, pin_id); in atmel_conf_pin_config_group_set() 818 dev_dbg(pctldev->dev, "%s: pin=%u, config=0x%lx\n", in atmel_conf_pin_config_group_set() 900 dev_warn(pctldev->dev, in atmel_conf_pin_config_group_set() 908 atmel_pin_config_write(pctldev, pin_id, conf); in atmel_conf_pin_config_group_set() [all …]
|
H A D | pinctrl-zynqmp.c | 139 dev_err(pctldev->dev, "request failed for pin %u\n", pin); in zynqmp_pinmux_request_pin() 196 static int zynqmp_pinmux_set_mux(struct pinctrl_dev *pctldev, in zynqmp_pinmux_set_mux() argument 209 dev_err(pctldev->dev, "set mux failed for pin %u\n", in zynqmp_pinmux_set_mux() 225 dev_err(pctldev->dev, "free pin failed for pin %u\n", in zynqmp_pinmux_release_pin() 253 static int zynqmp_pinconf_cfg_get(struct pinctrl_dev *pctldev, in zynqmp_pinconf_cfg_get() argument 315 dev_warn(pctldev->dev, in zynqmp_pinconf_cfg_get() 347 static int zynqmp_pinconf_cfg_set(struct pinctrl_dev *pctldev, in zynqmp_pinconf_cfg_set() argument 398 dev_warn(pctldev->dev, in zynqmp_pinconf_cfg_set() 412 dev_warn(pctldev->dev, in zynqmp_pinconf_cfg_set() 436 dev_warn(pctldev->dev, in zynqmp_pinconf_cfg_set() [all …]
|
/openbmc/linux/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier-core.c | 39 struct pinctrl_dev *pctldev; member 360 dev_err(pctldev->dev, in uniphier_conf_pin_bias_set() 371 dev_err(pctldev->dev, in uniphier_conf_pin_bias_set() 385 dev_err(pctldev->dev, in uniphier_conf_pin_bias_set() 397 dev_err(pctldev->dev, in uniphier_conf_pin_bias_set() 441 dev_err(pctldev->dev, in uniphier_conf_pin_drive_set() 502 ret = uniphier_conf_pin_bias_set(pctldev, pin, in uniphier_conf_pin_config_set() 512 dev_err(pctldev->dev, in uniphier_conf_pin_config_set() 536 ret = uniphier_conf_pin_config_set(pctldev, pins[i], in uniphier_conf_pin_config_group_set() 906 if (IS_ERR(priv->pctldev)) { in uniphier_pinctrl_probe() [all …]
|
/openbmc/linux/include/linux/pinctrl/ |
H A D | pinctrl.h | 109 int (*get_groups_count) (struct pinctrl_dev *pctldev); 110 const char *(*get_group_name) (struct pinctrl_dev *pctldev, 112 int (*get_group_pins) (struct pinctrl_dev *pctldev, 118 int (*dt_node_to_map) (struct pinctrl_dev *pctldev, 121 void (*dt_free_map) (struct pinctrl_dev *pctldev, 170 struct pinctrl_dev **pctldev); 171 extern int pinctrl_enable(struct pinctrl_dev *pctldev); 177 extern void pinctrl_unregister(struct pinctrl_dev *pctldev); 182 struct pinctrl_dev **pctldev); 190 struct pinctrl_dev *pctldev); [all …]
|
H A D | pinmux.h | 60 int (*request) (struct pinctrl_dev *pctldev, unsigned offset); 61 int (*free) (struct pinctrl_dev *pctldev, unsigned offset); 62 int (*get_functions_count) (struct pinctrl_dev *pctldev); 63 const char *(*get_function_name) (struct pinctrl_dev *pctldev, 65 int (*get_function_groups) (struct pinctrl_dev *pctldev, 69 int (*set_mux) (struct pinctrl_dev *pctldev, unsigned func_selector, 71 int (*gpio_request_enable) (struct pinctrl_dev *pctldev, 74 void (*gpio_disable_free) (struct pinctrl_dev *pctldev, 77 int (*gpio_set_direction) (struct pinctrl_dev *pctldev,
|
H A D | pinconf.h | 42 int (*pin_config_get) (struct pinctrl_dev *pctldev, 45 int (*pin_config_set) (struct pinctrl_dev *pctldev, 49 int (*pin_config_group_get) (struct pinctrl_dev *pctldev, 52 int (*pin_config_group_set) (struct pinctrl_dev *pctldev, 56 void (*pin_config_dbg_show) (struct pinctrl_dev *pctldev, 59 void (*pin_config_group_dbg_show) (struct pinctrl_dev *pctldev, 62 void (*pin_config_config_dbg_show) (struct pinctrl_dev *pctldev,
|
H A D | pinconf-generic.h | 194 int pinconf_generic_dt_subnode_to_map(struct pinctrl_dev *pctldev, 198 int pinconf_generic_dt_node_to_map(struct pinctrl_dev *pctldev, 201 void pinconf_generic_dt_free_map(struct pinctrl_dev *pctldev, 204 static inline int pinconf_generic_dt_node_to_map_group(struct pinctrl_dev *pctldev, in pinconf_generic_dt_node_to_map_group() argument 208 return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps, in pinconf_generic_dt_node_to_map_group() 212 static inline int pinconf_generic_dt_node_to_map_pin(struct pinctrl_dev *pctldev, in pinconf_generic_dt_node_to_map_pin() argument 216 return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps, in pinconf_generic_dt_node_to_map_pin() 220 static inline int pinconf_generic_dt_node_to_map_all(struct pinctrl_dev *pctldev, in pinconf_generic_dt_node_to_map_all() argument 228 return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps, in pinconf_generic_dt_node_to_map_all()
|
/openbmc/linux/drivers/pinctrl/aspeed/ |
H A D | pinctrl-aspeed.h | 85 int aspeed_pinctrl_get_groups_count(struct pinctrl_dev *pctldev); 86 const char *aspeed_pinctrl_get_group_name(struct pinctrl_dev *pctldev, 88 int aspeed_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, 91 void aspeed_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, 93 int aspeed_pinmux_get_fn_count(struct pinctrl_dev *pctldev); 94 const char *aspeed_pinmux_get_fn_name(struct pinctrl_dev *pctldev, 96 int aspeed_pinmux_get_fn_groups(struct pinctrl_dev *pctldev, 101 int aspeed_gpio_request_enable(struct pinctrl_dev *pctldev, 107 int aspeed_pin_config_get(struct pinctrl_dev *pctldev, unsigned int offset, 111 int aspeed_pin_config_group_get(struct pinctrl_dev *pctldev, [all …]
|
H A D | pinctrl-aspeed.c | 14 int aspeed_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) in aspeed_pinctrl_get_groups_count() argument 29 int aspeed_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, in aspeed_pinctrl_get_group_pins() argument 41 void aspeed_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, in aspeed_pinctrl_pin_dbg_show() argument 44 seq_printf(s, " %s", dev_name(pctldev->dev)); in aspeed_pinctrl_pin_dbg_show() 47 int aspeed_pinmux_get_fn_count(struct pinctrl_dev *pctldev) in aspeed_pinmux_get_fn_count() argument 62 int aspeed_pinmux_get_fn_groups(struct pinctrl_dev *pctldev, in aspeed_pinmux_get_fn_groups() argument 377 int aspeed_gpio_request_enable(struct pinctrl_dev *pctldev, in aspeed_gpio_request_enable() argument 541 pdata = pinctrl_dev_get_drvdata(pctldev); in aspeed_pin_config_get() 578 pdata = pinctrl_dev_get_drvdata(pctldev); in aspeed_pin_config_set() 630 rc = aspeed_pin_config_get(pctldev, pins[0], config); in aspeed_pin_config_group_get() [all …]
|
/openbmc/linux/drivers/pinctrl/nxp/ |
H A D | pinctrl-s32cc.c | 124 return s32_get_region(pctldev, pin) ? 0 : -EINVAL; in s32_check_pin() 133 region = s32_get_region(pctldev, pin); in s32_regmap_read() 150 region = s32_get_region(pctldev, pin); in s32_regmap_write() 167 region = s32_get_region(pctldev, pin); in s32_regmap_update() 210 seq_printf(s, "%s", dev_name(pctldev->dev)); in s32_pin_dbg_show() 279 ret = s32_dt_group_node_to_map(pctldev, np, map, in s32_dt_node_to_map() 384 ret = s32_regmap_read(pctldev, offset, &config); in s32_pmx_gpio_request_enable() 403 return s32_regmap_write(pctldev, offset, config); in s32_pmx_gpio_request_enable() 566 ret = s32_check_pin(pctldev, pin_id); in s32_pinconf_mscr_update() 571 pin_get_name(pctldev, pin_id), num_configs); in s32_pinconf_mscr_update() [all …]
|
/openbmc/linux/drivers/pinctrl/spear/ |
H A D | pinctrl-spear.c | 118 struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in spear_pinctrl_get_groups_cnt() 126 struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in spear_pinctrl_get_group_name() 134 struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in spear_pinctrl_get_group_pins() 153 struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in spear_pinctrl_dt_node_to_map() 218 struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in spear_pinctrl_get_funcs_count() 226 struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in spear_pinctrl_get_func_name() 235 struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in spear_pinctrl_get_func_groups() 246 struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in spear_pinctrl_endisable() 308 struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in gpio_request_endisable() 337 static void gpio_disable_free(struct pinctrl_dev *pctldev, in gpio_disable_free() argument [all …]
|
/openbmc/linux/drivers/pinctrl/intel/ |
H A D | pinctrl-tangier.c | 136 struct tng_pinctrl *tp = pinctrl_dev_get_drvdata(pctldev); in tng_get_groups_count() 144 struct tng_pinctrl *tp = pinctrl_dev_get_drvdata(pctldev); in tng_get_group_name() 152 struct tng_pinctrl *tp = pinctrl_dev_get_drvdata(pctldev); in tng_get_group_pins() 162 struct tng_pinctrl *tp = pinctrl_dev_get_drvdata(pctldev); in tng_pin_dbg_show() 190 struct tng_pinctrl *tp = pinctrl_dev_get_drvdata(pctldev); in tng_get_functions_count() 215 static int tng_pinmux_set_mux(struct pinctrl_dev *pctldev, in tng_pinmux_set_mux() argument 480 ret = tng_get_group_pins(pctldev, group, &pins, &npins); in tng_config_group_get() 484 return tng_config_get(pctldev, pins[0], config); in tng_config_group_get() 495 ret = tng_get_group_pins(pctldev, group, &pins, &npins); in tng_config_group_set() 567 if (IS_ERR(tp->pctldev)) in tng_pinctrl_probe() [all …]
|
/openbmc/linux/drivers/pinctrl/tegra/ |
H A D | pinctrl-tegra.c | 44 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in tegra_pinctrl_get_groups_count() 52 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in tegra_pinctrl_get_group_name() 75 seq_printf(s, " %s", dev_name(pctldev->dev)); in tegra_pinctrl_pin_dbg_show() 107 struct device *dev = pctldev->dev; in tegra_pinctrl_dt_subnode_to_map() 131 ret = pinctrl_utils_add_config(pctldev, &configs, in tegra_pinctrl_dt_subnode_to_map() 161 ret = pinctrl_utils_add_map_mux(pctldev, map, in tegra_pinctrl_dt_subnode_to_map() 169 ret = pinctrl_utils_add_map_configs(pctldev, map, in tegra_pinctrl_dt_subnode_to_map() 202 pinctrl_utils_free_map(pctldev, *map, in tegra_pinctrl_dt_node_to_map() 313 group = tegra_pinctrl_get_group(pctldev, offset); in tegra_pinctrl_gpio_request_enable() 339 group = tegra_pinctrl_get_group(pctldev, offset); in tegra_pinctrl_gpio_disable_free() [all …]
|
/openbmc/linux/drivers/pinctrl/visconti/ |
H A D | pinctrl-common.c | 36 static int visconti_pin_config_set(struct pinctrl_dev *pctldev, in visconti_pin_config_set() argument 41 struct visconti_pinctrl *priv = pinctrl_dev_get_drvdata(pctldev); in visconti_pin_config_set() 127 struct visconti_pinctrl *priv = pinctrl_dev_get_drvdata(pctldev); in visconti_pin_config_group_set() 139 ret = visconti_pin_config_set(pctldev, pins[i], in visconti_pin_config_group_set() 155 static int visconti_get_groups_count(struct pinctrl_dev *pctldev) in visconti_get_groups_count() argument 157 struct visconti_pinctrl *priv = pinctrl_dev_get_drvdata(pctldev); in visconti_get_groups_count() 165 struct visconti_pinctrl *priv = pinctrl_dev_get_drvdata(pctldev); in visconti_get_group_name() 170 static int visconti_get_group_pins(struct pinctrl_dev *pctldev, in visconti_get_group_pins() argument 175 struct visconti_pinctrl *priv = pinctrl_dev_get_drvdata(pctldev); in visconti_get_group_pins() 194 struct visconti_pinctrl *priv = pinctrl_dev_get_drvdata(pctldev); in visconti_get_functions_count() [all …]
|
/openbmc/linux/drivers/pinctrl/nomadik/ |
H A D | pinctrl-abx500.c | 86 struct pinctrl_dev *pctldev; member 451 struct pinctrl_dev *pctldev, in abx500_gpio_dbg_show_one() argument 496 mode = abx500_get_mode(pctldev, chip, offset); in abx500_gpio_dbg_show_one() 510 struct pinctrl_dev *pctldev = pct->pctldev; in abx500_gpio_dbg_show() local 521 struct pinctrl_dev *pctldev, in abx500_gpio_dbg_show_one() argument 627 ret = abx500_set_mode(pct->pctldev, &pct->chip, in abx500_gpio_request_enable() 784 ret = pinctrl_utils_reserve_map(pctldev, map, in abx500_dt_subnode_to_map() 791 gpio_name = abx500_find_pin_name(pctldev, pin); in abx500_dt_subnode_to_map() 817 ret = abx500_dt_subnode_to_map(pctldev, np, map, in abx500_dt_node_to_map() 1044 if (IS_ERR(pct->pctldev)) { in abx500_gpio_probe() [all …]
|
/openbmc/linux/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx1-core.c | 174 static int imx1_get_groups_count(struct pinctrl_dev *pctldev) in imx1_get_groups_count() argument 176 struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); in imx1_get_groups_count() 221 static int imx1_dt_node_to_map(struct pinctrl_dev *pctldev, in imx1_dt_node_to_map() argument 271 pin_get_name(pctldev, grp->pins[i].pin_id); in imx1_dt_node_to_map() 277 dev_dbg(pctldev->dev, "maps: function %s group %s num %d\n", in imx1_dt_node_to_map() 283 static void imx1_dt_free_map(struct pinctrl_dev *pctldev, in imx1_dt_free_map() argument 388 static int imx1_pinconf_get(struct pinctrl_dev *pctldev, in imx1_pinconf_get() argument 398 static int imx1_pinconf_set(struct pinctrl_dev *pctldev, in imx1_pinconf_set() argument 409 pin_desc_get(pctldev, pin_id)->name); in imx1_pinconf_set() 420 imx1_pinconf_get(pctldev, pin_id, &config); in imx1_pinconf_dbg_show() [all …]
|