/drivers/pinctrl/ |
H A D | core.c | 75 const char *pinctrl_dev_get_name(struct pinctrl_dev *pctldev) argument 78 return pctldev->desc->name; 82 const char *pinctrl_dev_get_devname(struct pinctrl_dev *pctldev) argument 84 return dev_name(pctldev->dev); 88 void *pinctrl_dev_get_drvdata(struct pinctrl_dev *pctldev) argument 90 return pctldev->driver_data; 103 struct pinctrl_dev *pctldev = NULL; local 110 list_for_each_entry(pctldev, &pinctrldev_list, node) { 111 if (!strcmp(dev_name(pctldev->dev), devname)) { 114 return pctldev; 125 struct pinctrl_dev *pctldev; local 145 pin_get_from_name(struct pinctrl_dev *pctldev, const char *name) argument 168 pin_get_name(struct pinctrl_dev *pctldev, const unsigned pin) argument 190 pin_is_valid(struct pinctrl_dev *pctldev, int pin) argument 206 pinctrl_free_pindescs(struct pinctrl_dev *pctldev, const struct pinctrl_pin_desc *pins, unsigned num_pins) argument 227 pinctrl_register_one_pin(struct pinctrl_dev *pctldev, unsigned number, const char *name) argument 266 pinctrl_register_pins(struct pinctrl_dev *pctldev, struct pinctrl_pin_desc const *pins, unsigned num_descs) argument 315 pinctrl_match_gpio_range(struct pinctrl_dev *pctldev, unsigned gpio) argument 349 struct pinctrl_dev *pctldev; local 394 struct pinctrl_dev *pctldev = NULL; local 424 pinctrl_add_gpio_range(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range) argument 433 pinctrl_add_gpio_ranges(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *ranges, unsigned nranges) argument 447 struct pinctrl_dev *pctldev; local 465 pinctrl_get_group_pins(struct pinctrl_dev *pctldev, const char *pin_group, const unsigned **pins, unsigned *num_pins) argument 488 pinctrl_find_gpio_range_from_pin(struct pinctrl_dev *pctldev, unsigned int pin) argument 519 pinctrl_remove_gpio_range(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range) argument 533 pinctrl_get_group_selector(struct pinctrl_dev *pctldev, const char *pin_group) argument 570 struct pinctrl_dev *pctldev; local 605 struct pinctrl_dev *pctldev; local 627 struct pinctrl_dev *pctldev; local 1223 pinctrl_force_sleep(struct pinctrl_dev *pctldev) argument 1235 pinctrl_force_default(struct pinctrl_dev *pctldev) argument 1309 struct pinctrl_dev *pctldev = s->private; local 1344 struct pinctrl_dev *pctldev = s->private; local 1389 struct pinctrl_dev *pctldev = s->private; local 1422 struct pinctrl_dev *pctldev; local 1518 struct pinctrl_dev *pctldev = setting->pctldev; local 1618 pinctrl_init_device_debugfs(struct pinctrl_dev *pctldev) argument 1643 pinctrl_remove_device_debugfs(struct pinctrl_dev *pctldev) argument 1667 pinctrl_init_device_debugfs(struct pinctrl_dev *pctldev) argument 1675 pinctrl_remove_device_debugfs(struct pinctrl_dev *pctldev) argument 1681 pinctrl_check_ops(struct pinctrl_dev *pctldev) argument 1705 struct pinctrl_dev *pctldev; local 1798 pinctrl_unregister(struct pinctrl_dev *pctldev) argument [all...] |
H A D | core.h | 115 * @pctldev: pin control device handling to be programmed. Not used for 123 struct pinctrl_dev *pctldev; member in struct:pinctrl_setting 133 * @pctldev: corresponding pin control device 148 struct pinctrl_dev *pctldev; member in struct:pin_desc 174 int pin_get_from_name(struct pinctrl_dev *pctldev, const char *name); 175 const char *pin_get_name(struct pinctrl_dev *pctldev, const unsigned pin); 176 int pinctrl_get_group_selector(struct pinctrl_dev *pctldev, 179 static inline struct pin_desc *pin_desc_get(struct pinctrl_dev *pctldev, argument 182 return radix_tree_lookup(&pctldev->pin_desc_tree, pin); 189 extern int pinctrl_force_sleep(struct pinctrl_dev *pctldev); [all...] |
H A D | devicetree.c | 30 * @pctldev: the pin controller that allocated this struct, and will free it 35 struct pinctrl_dev *pctldev; member in struct:pinctrl_dt_map 40 static void dt_free_map(struct pinctrl_dev *pctldev, argument 43 if (pctldev) { 44 const struct pinctrl_ops *ops = pctldev->desc->pctlops; 45 ops->dt_free_map(pctldev, map, num_maps); 47 /* There is no pctldev for PIN_MAP_TYPE_DUMMY_STATE */ 59 dt_free_map(dt_map->pctldev, dt_map->map, 68 struct pinctrl_dev *pctldev, 78 if (pctldev) 67 dt_remember_or_free_map(struct pinctrl *p, const char *statename, struct pinctrl_dev *pctldev, struct pinctrl_map *map, unsigned num_maps) argument 100 struct pinctrl_dev *pctldev; local 113 struct pinctrl_dev *pctldev; local [all...] |
H A D | pinconf-generic.c | 61 void pinconf_generic_dump_pin(struct pinctrl_dev *pctldev, argument 64 const struct pinconf_ops *ops = pctldev->desc->confops; 76 ret = pin_config_get_for_pin(pctldev, pin, &config); 96 void pinconf_generic_dump_group(struct pinctrl_dev *pctldev, argument 99 const struct pinconf_ops *ops = pctldev->desc->confops; 111 ret = pin_config_group_get(dev_name(pctldev->dev), gname, 131 void pinconf_generic_dump_config(struct pinctrl_dev *pctldev, argument 245 int pinconf_generic_dt_subnode_to_map(struct pinctrl_dev *pctldev, argument 252 struct device *dev = pctldev->dev; 285 ret = pinctrl_utils_reserve_map(pctldev, ma 315 pinconf_generic_dt_node_to_map(struct pinctrl_dev *pctldev, struct device_node *np_config, struct pinctrl_map **map, unsigned *num_maps, enum pinctrl_map_type type) argument [all...] |
H A D | pinconf.c | 27 int pinconf_check_ops(struct pinctrl_dev *pctldev) argument 29 const struct pinconf_ops *ops = pctldev->desc->confops; 33 dev_err(pctldev->dev, 58 int pin_config_get_for_pin(struct pinctrl_dev *pctldev, unsigned pin, argument 61 const struct pinconf_ops *ops = pctldev->desc->confops; 64 dev_dbg(pctldev->dev, "cannot get pin configuration, missing " 69 return ops->pin_config_get(pctldev, pin, config); 75 struct pinctrl_dev *pctldev; local 79 pctldev = get_pinctrl_dev_from_devname(dev_name); 80 if (!pctldev) { 113 struct pinctrl_dev *pctldev = setting->pctldev; local 153 struct pinctrl_dev *pctldev = setting->pctldev; local 207 struct pinctrl_dev *pctldev; local 244 struct pinctrl_dev *pctldev = setting->pctldev; local 285 pinconf_dump_pin(struct pinctrl_dev *pctldev, struct seq_file *s, int pin) argument 298 struct pinctrl_dev *pctldev = s->private; local 329 pinconf_dump_group(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned selector, const char *gname) argument 343 struct pinctrl_dev *pctldev = s->private; local 414 struct pinctrl_dev *pctldev; local 485 struct pinctrl_dev *pctldev; local 610 pinconf_init_device_debugfs(struct dentry *devroot, struct pinctrl_dev *pctldev) argument [all...] |
H A D | pinconf.h | 16 int pinconf_check_ops(struct pinctrl_dev *pctldev); 27 int pin_config_get_for_pin(struct pinctrl_dev *pctldev, unsigned pin, 34 static inline int pinconf_check_ops(struct pinctrl_dev *pctldev) argument 67 struct pinctrl_dev *pctldev); 82 struct pinctrl_dev *pctldev) 95 void pinconf_generic_dump_pin(struct pinctrl_dev *pctldev, 98 void pinconf_generic_dump_group(struct pinctrl_dev *pctldev, 101 void pinconf_generic_dump_config(struct pinctrl_dev *pctldev, 105 static inline void pinconf_generic_dump_pin(struct pinctrl_dev *pctldev, argument 112 static inline void pinconf_generic_dump_group(struct pinctrl_dev *pctldev, argument 81 pinconf_init_device_debugfs(struct dentry *devroot, struct pinctrl_dev *pctldev) argument 119 pinconf_generic_dump_config(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned long config) argument [all...] |
H A D | pinctrl-adi2.c | 590 static int adi_get_groups_count(struct pinctrl_dev *pctldev) argument 592 struct adi_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctldev); 597 static const char *adi_get_group_name(struct pinctrl_dev *pctldev, argument 600 struct adi_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctldev); 605 static int adi_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, argument 609 struct adi_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctldev); 622 static int adi_pinmux_set(struct pinctrl_dev *pctldev, unsigned func_id, argument 625 struct adi_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctldev); 636 range = pinctrl_find_gpio_range_from_pin(pctldev, pin); 655 static int adi_pinmux_get_funcs_count(struct pinctrl_dev *pctldev) argument 662 adi_pinmux_get_func_name(struct pinctrl_dev *pctldev, unsigned selector) argument 670 adi_pinmux_get_groups(struct pinctrl_dev *pctldev, unsigned selector, const char * const **groups, unsigned * const num_groups) argument 681 adi_pinmux_request_gpio(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned pin) argument [all...] |
H A D | pinctrl-as3722.c | 174 static int as3722_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) argument 176 struct as3722_pctrl_info *as_pci = pinctrl_dev_get_drvdata(pctldev); 181 static const char *as3722_pinctrl_get_group_name(struct pinctrl_dev *pctldev, argument 184 struct as3722_pctrl_info *as_pci = pinctrl_dev_get_drvdata(pctldev); 189 static int as3722_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, argument 192 struct as3722_pctrl_info *as_pci = pinctrl_dev_get_drvdata(pctldev); 207 static int as3722_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev) argument 209 struct as3722_pctrl_info *as_pci = pinctrl_dev_get_drvdata(pctldev); 214 static const char *as3722_pinctrl_get_func_name(struct pinctrl_dev *pctldev, argument 217 struct as3722_pctrl_info *as_pci = pinctrl_dev_get_drvdata(pctldev); 222 as3722_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, unsigned function, const char * const **groups, unsigned * const num_groups) argument 233 as3722_pinctrl_set(struct pinctrl_dev *pctldev, unsigned function, unsigned group) argument 297 as3722_pinctrl_gpio_request_enable(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned offset) argument 307 as3722_pinctrl_gpio_set_direction(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned offset, bool input) argument 335 as3722_pinconf_get(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *config) argument 380 as3722_pinconf_set(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs) argument [all...] |
H A D | pinctrl-at91.c | 215 static int at91_get_groups_count(struct pinctrl_dev *pctldev) argument 217 struct at91_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); 222 static const char *at91_get_group_name(struct pinctrl_dev *pctldev, argument 225 struct at91_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); 230 static int at91_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, argument 234 struct at91_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); 245 static void at91_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, argument 248 seq_printf(s, "%s", dev_name(pctldev->dev)); 251 static int at91_dt_node_to_map(struct pinctrl_dev *pctldev, argument 255 struct at91_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); 308 at91_dt_free_map(struct pinctrl_dev *pctldev, struct pinctrl_map *map, unsigned num_maps) argument 701 at91_pmx_set(struct pinctrl_dev *pctldev, unsigned selector, unsigned group) argument 758 at91_pmx_get_funcs_count(struct pinctrl_dev *pctldev) argument 765 at91_pmx_get_func_name(struct pinctrl_dev *pctldev, unsigned selector) argument 773 at91_pmx_get_groups(struct pinctrl_dev *pctldev, unsigned selector, const char * const **groups, unsigned * const num_groups) argument 785 at91_gpio_request_enable(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned offset) argument 817 at91_gpio_disable_free(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned offset) argument 836 at91_pinconf_get(struct pinctrl_dev *pctldev, unsigned pin_id, unsigned long *config) argument 870 at91_pinconf_set(struct pinctrl_dev *pctldev, unsigned pin_id, unsigned long *configs, unsigned num_configs) argument 933 at91_pinconf_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned pin_id) argument 958 at91_pinconf_group_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned group) argument [all...] |
H A D | pinctrl-bcm281xx.c | 949 static inline enum bcm281xx_pin_type pin_type_get(struct pinctrl_dev *pctldev, argument 952 struct bcm281xx_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); 986 static int bcm281xx_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) argument 988 struct bcm281xx_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); 993 static const char *bcm281xx_pinctrl_get_group_name(struct pinctrl_dev *pctldev, argument 996 struct bcm281xx_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); 1001 static int bcm281xx_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, argument 1006 struct bcm281xx_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); 1014 static void bcm281xx_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, argument 1018 seq_printf(s, " %s", dev_name(pctldev 1030 bcm281xx_pinctrl_get_fcns_count(struct pinctrl_dev *pctldev) argument 1037 bcm281xx_pinctrl_get_fcn_name(struct pinctrl_dev *pctldev, unsigned function) argument 1045 bcm281xx_pinctrl_get_fcn_groups(struct pinctrl_dev *pctldev, unsigned function, const char * const **groups, unsigned * const num_groups) argument 1058 bcm281xx_pinmux_set(struct pinctrl_dev *pctldev, unsigned function, unsigned group) argument 1090 bcm281xx_pinctrl_pin_config_get(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *config) argument 1099 bcm281xx_std_pin_update(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs, u32 *val, u32 *mask) argument 1215 bcm281xx_i2c_pin_update(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs, u32 *val, u32 *mask) argument 1285 bcm281xx_hdmi_pin_update(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs, u32 *val, u32 *mask) argument 1329 bcm281xx_pinctrl_pin_config_set(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs) argument [all...] |
H A D | pinctrl-bcm2835.c | 606 static int bcm2835_pctl_get_groups_count(struct pinctrl_dev *pctldev) argument 611 static const char *bcm2835_pctl_get_group_name(struct pinctrl_dev *pctldev, argument 617 static int bcm2835_pctl_get_group_pins(struct pinctrl_dev *pctldev, argument 628 static void bcm2835_pctl_pin_dbg_show(struct pinctrl_dev *pctldev, argument 632 struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); 643 static void bcm2835_pctl_dt_free_map(struct pinctrl_dev *pctldev, argument 702 static int bcm2835_pctl_dt_node_to_map(struct pinctrl_dev *pctldev, argument 706 struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); 810 static int bcm2835_pmx_get_functions_count(struct pinctrl_dev *pctldev) argument 815 static const char *bcm2835_pmx_get_function_name(struct pinctrl_dev *pctldev, argument 821 bcm2835_pmx_get_function_groups(struct pinctrl_dev *pctldev, unsigned selector, const char * const **groups, unsigned * const num_groups) argument 833 bcm2835_pmx_set(struct pinctrl_dev *pctldev, unsigned func_selector, unsigned group_selector) argument 844 bcm2835_pmx_gpio_disable_free(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned offset) argument 854 bcm2835_pmx_gpio_set_direction(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned offset, bool input) argument 877 bcm2835_pinconf_get(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *config) argument 884 bcm2835_pinconf_set(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs) argument [all...] |
H A D | pinctrl-lantiq.c | 49 static void ltq_pinctrl_dt_free_map(struct pinctrl_dev *pctldev, argument 61 static void ltq_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, argument 65 seq_printf(s, " %s", dev_name(pctldev->dev)); 68 static void ltq_pinctrl_dt_subnode_to_map(struct pinctrl_dev *pctldev, argument 72 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctldev); 83 dev_err(pctldev->dev, "%s defines neither pins nor groups\n", 89 dev_err(pctldev->dev, "%s defines both pins and groups\n", 150 static int ltq_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, argument 167 ltq_pinctrl_dt_subnode_to_map(pctldev, np, &tmp);
|
H A D | pinctrl-palmas.c | 629 static int palmas_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) argument 631 struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); 636 static const char *palmas_pinctrl_get_group_name(struct pinctrl_dev *pctldev, argument 639 struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); 644 static int palmas_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, argument 647 struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); 662 static int palmas_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev) argument 664 struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); 669 static const char *palmas_pinctrl_get_func_name(struct pinctrl_dev *pctldev, argument 672 struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); 677 palmas_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, unsigned function, const char * const **groups, unsigned * const num_groups) argument 688 palmas_pinctrl_set_mux(struct pinctrl_dev *pctldev, unsigned function, unsigned group) argument 749 palmas_pinconf_get(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *config) argument 857 palmas_pinconf_set(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs) argument [all...] |
H A D | pinctrl-rockchip.c | 274 static int rockchip_get_groups_count(struct pinctrl_dev *pctldev) argument 276 struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); 281 static const char *rockchip_get_group_name(struct pinctrl_dev *pctldev, argument 284 struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); 289 static int rockchip_get_group_pins(struct pinctrl_dev *pctldev, argument 293 struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); 304 static int rockchip_dt_node_to_map(struct pinctrl_dev *pctldev, argument 308 struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); 327 new_map = devm_kzalloc(pctldev->dev, sizeof(*new_map) * map_num, 338 devm_kfree(pctldev 362 rockchip_dt_free_map(struct pinctrl_dev *pctldev, struct pinctrl_map *map, unsigned num_maps) argument 792 rockchip_pmx_get_funcs_count(struct pinctrl_dev *pctldev) argument 799 rockchip_pmx_get_func_name(struct pinctrl_dev *pctldev, unsigned selector) argument 807 rockchip_pmx_get_groups(struct pinctrl_dev *pctldev, unsigned selector, const char * const **groups, unsigned * const num_groups) argument 819 rockchip_pmx_set(struct pinctrl_dev *pctldev, unsigned selector, unsigned group) argument 859 rockchip_pmx_gpio_set_direction(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned offset, bool input) argument 925 rockchip_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, unsigned long *configs, unsigned num_configs) argument 987 rockchip_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin, unsigned long *config) argument [all...] |
H A D | pinctrl-single.c | 247 static int pcs_pinconf_get(struct pinctrl_dev *pctldev, unsigned pin, 249 static int pcs_pinconf_set(struct pinctrl_dev *pctldev, unsigned pin, 296 static int pcs_get_groups_count(struct pinctrl_dev *pctldev) argument 300 pcs = pinctrl_dev_get_drvdata(pctldev); 305 static const char *pcs_get_group_name(struct pinctrl_dev *pctldev, argument 311 pcs = pinctrl_dev_get_drvdata(pctldev); 322 static int pcs_get_group_pins(struct pinctrl_dev *pctldev, argument 330 pcs = pinctrl_dev_get_drvdata(pctldev); 344 static void pcs_pin_dbg_show(struct pinctrl_dev *pctldev, argument 351 pcs = pinctrl_dev_get_drvdata(pctldev); 359 pcs_dt_free_map(struct pinctrl_dev *pctldev, struct pinctrl_map *map, unsigned num_maps) argument 381 pcs_get_functions_count(struct pinctrl_dev *pctldev) argument 390 pcs_get_function_name(struct pinctrl_dev *pctldev, unsigned fselector) argument 407 pcs_get_function_groups(struct pinctrl_dev *pctldev, unsigned fselector, const char * const **groups, unsigned * const ngroups) argument 428 pcs_get_function(struct pinctrl_dev *pctldev, unsigned pin, struct pcs_function **func) argument 450 pcs_set_mux(struct pinctrl_dev *pctldev, unsigned fselector, unsigned group) argument 491 pcs_request_gpio(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned pin) argument 527 pcs_pinconf_clear_bias(struct pinctrl_dev *pctldev, unsigned pin) argument 541 pcs_pinconf_bias_disable(struct pinctrl_dev *pctldev, unsigned pin) argument 556 pcs_pinconf_get(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *config) argument 619 pcs_pinconf_set(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs) argument 682 pcs_pinconf_group_get(struct pinctrl_dev *pctldev, unsigned group, unsigned long *config) argument 703 pcs_pinconf_group_set(struct pinctrl_dev *pctldev, unsigned group, unsigned long *configs, unsigned num_configs) argument 721 pcs_pinconf_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned pin) argument 726 pcs_pinconf_group_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned selector) argument 731 pcs_pinconf_config_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned long config) argument 1355 pcs_dt_node_to_map(struct pinctrl_dev *pctldev, struct device_node *np_config, struct pinctrl_map **map, unsigned *num_maps) argument [all...] |
H A D | pinctrl-st.c | 776 static int st_pctl_get_groups_count(struct pinctrl_dev *pctldev) argument 778 struct st_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); 783 static const char *st_pctl_get_group_name(struct pinctrl_dev *pctldev, argument 786 struct st_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); 791 static int st_pctl_get_group_pins(struct pinctrl_dev *pctldev, argument 794 struct st_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); 818 static int st_pctl_dt_node_to_map(struct pinctrl_dev *pctldev, argument 821 struct st_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); 835 new_map = devm_kzalloc(pctldev->dev, 842 devm_kfree(pctldev 868 st_pctl_dt_free_map(struct pinctrl_dev *pctldev, struct pinctrl_map *map, unsigned num_maps) argument 882 st_pmx_get_funcs_count(struct pinctrl_dev *pctldev) argument 889 st_pmx_get_fname(struct pinctrl_dev *pctldev, unsigned selector) argument 897 st_pmx_get_groups(struct pinctrl_dev *pctldev, unsigned selector, const char * const **grps, unsigned * const ngrps) argument 907 st_get_pio_control( struct pinctrl_dev *pctldev, int pin) argument 917 st_pmx_set_mux(struct pinctrl_dev *pctldev, unsigned fselector, unsigned group) argument 933 st_pmx_set_gpio_direction(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned gpio, bool input) argument 981 st_pinconf_set(struct pinctrl_dev *pctldev, unsigned pin_id, unsigned long *configs, unsigned num_configs) argument 997 st_pinconf_get(struct pinctrl_dev *pctldev, unsigned pin_id, unsigned long *config) argument 1011 st_pinconf_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned pin_id) argument [all...] |
H A D | pinctrl-tegra.c | 58 static int tegra_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) argument 60 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); 65 static const char *tegra_pinctrl_get_group_name(struct pinctrl_dev *pctldev, argument 68 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); 73 static int tegra_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, argument 78 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); 87 static void tegra_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, argument 91 seq_printf(s, " %s", dev_name(pctldev->dev)); 116 static int tegra_pinctrl_dt_subnode_to_map(struct pinctrl_dev *pctldev, argument 122 struct device *dev = pctldev 200 tegra_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, struct device_node *np_config, struct pinctrl_map **map, unsigned *num_maps) argument 237 tegra_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev) argument 244 tegra_pinctrl_get_func_name(struct pinctrl_dev *pctldev, unsigned function) argument 252 tegra_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, unsigned function, const char * const **groups, unsigned * const num_groups) argument 265 tegra_pinctrl_set_mux(struct pinctrl_dev *pctldev, unsigned function, unsigned group) argument 425 tegra_pinconf_get(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *config) argument 432 tegra_pinconf_set(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs) argument 440 tegra_pinconf_group_get(struct pinctrl_dev *pctldev, unsigned group, unsigned long *config) argument 468 tegra_pinconf_group_set(struct pinctrl_dev *pctldev, unsigned group, unsigned long *configs, unsigned num_configs) argument 525 tegra_pinconf_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned offset) argument 539 tegra_pinconf_group_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned group) argument 566 tegra_pinconf_config_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned long config) argument [all...] |
H A D | pinctrl-tz1090-pdc.c | 257 static int tz1090_pdc_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) argument 268 static int tz1090_pdc_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, argument 280 static void tz1090_pdc_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, argument 284 seq_printf(s, " %s", dev_name(pctldev->dev)); 382 static void tz1090_pdc_pinctrl_dt_free_map(struct pinctrl_dev *pctldev, argument 462 static int tz1090_pdc_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, argument 476 ret = tz1090_pdc_pinctrl_dt_subnode_to_map(pctldev->dev, np, 480 tz1090_pdc_pinctrl_dt_free_map(pctldev, *map, 504 static int tz1090_pdc_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev) argument 509 static const char *tz1090_pdc_pinctrl_get_func_name(struct pinctrl_dev *pctldev, argument 515 tz1090_pdc_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, unsigned int function, const char * const **groups, unsigned int * const num_groups) argument 550 tz1090_pdc_pinctrl_set_mux(struct pinctrl_dev *pctldev, unsigned int function, unsigned int group) argument 599 tz1090_pdc_pinctrl_gpio_request_enable( struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned int pin) argument 617 tz1090_pdc_pinctrl_gpio_disable_free( struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned int pin) argument 647 tz1090_pdc_pinconf_reg(struct pinctrl_dev *pctldev, unsigned int pin, enum pin_config_param param, bool report_err, u32 *reg, u32 *width, u32 *mask, u32 *shift, u32 *val) argument 684 tz1090_pdc_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin, unsigned long *config) argument 712 tz1090_pdc_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, unsigned long *configs, unsigned num_configs) argument 769 tz1090_pdc_pinconf_group_reg(struct pinctrl_dev *pctldev, const struct tz1090_pdc_pingroup *g, enum pin_config_param param, bool report_err, u32 *reg, u32 *width, u32 *mask, u32 *shift, const int **map) argument 812 tz1090_pdc_pinconf_group_get(struct pinctrl_dev *pctldev, unsigned int group, unsigned long *config) argument 841 tz1090_pdc_pinconf_group_set(struct pinctrl_dev *pctldev, unsigned int group, unsigned long *configs, unsigned num_configs) argument [all...] |
H A D | pinctrl-tz1090.c | 986 static int tz1090_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) argument 991 static const char *tz1090_pinctrl_get_group_name(struct pinctrl_dev *pctldev, argument 1004 static int tz1090_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, argument 1024 static void tz1090_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, argument 1028 seq_printf(s, " %s", dev_name(pctldev->dev)); 1099 static void tz1090_pinctrl_dt_free_map(struct pinctrl_dev *pctldev, argument 1178 static int tz1090_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, argument 1192 ret = tz1090_pinctrl_dt_subnode_to_map(pctldev->dev, np, map, 1196 tz1090_pinctrl_dt_free_map(pctldev, *map, *num_maps); 1219 static int tz1090_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev) argument 1224 tz1090_pinctrl_get_func_name(struct pinctrl_dev *pctldev, unsigned int function) argument 1230 tz1090_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, unsigned int function, const char * const **groups, unsigned int * const num_groups) argument 1418 tz1090_pinctrl_set_mux(struct pinctrl_dev *pctldev, unsigned int function, unsigned int group) argument 1490 tz1090_pinctrl_gpio_request_enable(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned int pin) argument 1508 tz1090_pinctrl_gpio_disable_free(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned int pin) argument 1638 tz1090_pinconf_reg(struct pinctrl_dev *pctldev, unsigned int pin, enum pin_config_param param, bool report_err, u32 *reg, u32 *width, u32 *mask, u32 *shift, u32 *val) argument 1678 tz1090_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin, unsigned long *config) argument 1706 tz1090_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, unsigned long *configs, unsigned num_configs) argument 1763 tz1090_pinconf_group_reg(struct pinctrl_dev *pctldev, const struct tz1090_pingroup *g, enum pin_config_param param, bool report_err, u32 *reg, u32 *width, u32 *mask, u32 *shift, const int **map) argument 1802 tz1090_pinconf_group_get(struct pinctrl_dev *pctldev, unsigned int group, unsigned long *config) argument 1845 tz1090_pinconf_group_set(struct pinctrl_dev *pctldev, unsigned int group, unsigned long *configs, unsigned num_configs) argument [all...] |
/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx.c | 62 static int imx_get_groups_count(struct pinctrl_dev *pctldev) argument 64 struct imx_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); 70 static const char *imx_get_group_name(struct pinctrl_dev *pctldev, argument 73 struct imx_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); 79 static int imx_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, argument 83 struct imx_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); 95 static void imx_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, argument 98 seq_printf(s, "%s", dev_name(pctldev->dev)); 101 static int imx_dt_node_to_map(struct pinctrl_dev *pctldev, argument 105 struct imx_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); 166 imx_dt_free_map(struct pinctrl_dev *pctldev, struct pinctrl_map *map, unsigned num_maps) argument 182 imx_pmx_set(struct pinctrl_dev *pctldev, unsigned selector, unsigned group) argument 267 imx_pmx_get_funcs_count(struct pinctrl_dev *pctldev) argument 275 imx_pmx_get_func_name(struct pinctrl_dev *pctldev, unsigned selector) argument 284 imx_pmx_get_groups(struct pinctrl_dev *pctldev, unsigned selector, const char * const **groups, unsigned * const num_groups) argument 304 imx_pinconf_get(struct pinctrl_dev *pctldev, unsigned pin_id, unsigned long *config) argument 325 imx_pinconf_set(struct pinctrl_dev *pctldev, unsigned pin_id, unsigned long *configs, unsigned num_configs) argument 360 imx_pinconf_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned pin_id) argument 377 imx_pinconf_group_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned group) argument [all...] |
H A D | pinctrl-imx1-core.c | 177 static int imx1_get_groups_count(struct pinctrl_dev *pctldev) argument 179 struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); 185 static const char *imx1_get_group_name(struct pinctrl_dev *pctldev, argument 188 struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); 194 static int imx1_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, argument 198 struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); 210 static void imx1_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, argument 213 struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); 224 static int imx1_dt_node_to_map(struct pinctrl_dev *pctldev, argument 228 struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); 285 imx1_dt_free_map(struct pinctrl_dev *pctldev, struct pinctrl_map *map, unsigned num_maps) argument 301 imx1_pmx_set(struct pinctrl_dev *pctldev, unsigned selector, unsigned group) argument 354 imx1_pmx_get_funcs_count(struct pinctrl_dev *pctldev) argument 362 imx1_pmx_get_func_name(struct pinctrl_dev *pctldev, unsigned selector) argument 371 imx1_pmx_get_groups(struct pinctrl_dev *pctldev, unsigned selector, const char * const **groups, unsigned * const num_groups) argument 391 imx1_pinconf_get(struct pinctrl_dev *pctldev, unsigned pin_id, unsigned long *config) argument 401 imx1_pinconf_set(struct pinctrl_dev *pctldev, unsigned pin_id, unsigned long *configs, unsigned num_configs) argument 419 imx1_pinconf_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned pin_id) argument 428 imx1_pinconf_group_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned group) argument [all...] |
H A D | pinctrl-mxs.c | 36 static int mxs_get_groups_count(struct pinctrl_dev *pctldev) argument 38 struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); 43 static const char *mxs_get_group_name(struct pinctrl_dev *pctldev, argument 46 struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); 51 static int mxs_get_group_pins(struct pinctrl_dev *pctldev, unsigned group, argument 54 struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); 62 static void mxs_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, argument 65 seq_printf(s, " %s", dev_name(pctldev->dev)); 68 static int mxs_dt_node_to_map(struct pinctrl_dev *pctldev, argument 146 static void mxs_dt_free_map(struct pinctrl_dev *pctldev, argument 170 mxs_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev) argument 177 mxs_pinctrl_get_func_name(struct pinctrl_dev *pctldev, unsigned function) argument 185 mxs_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, unsigned group, const char * const **groups, unsigned * const num_groups) argument 198 mxs_pinctrl_set_mux(struct pinctrl_dev *pctldev, unsigned selector, unsigned group) argument 229 mxs_pinconf_get(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *config) argument 235 mxs_pinconf_set(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs) argument 242 mxs_pinconf_group_get(struct pinctrl_dev *pctldev, unsigned group, unsigned long *config) argument 252 mxs_pinconf_group_set(struct pinctrl_dev *pctldev, unsigned group, unsigned long *configs, unsigned num_configs) argument 316 mxs_pinconf_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned pin) argument 322 mxs_pinconf_group_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned group) argument [all...] |
/drivers/pinctrl/mvebu/ |
H A D | pinctrl-mvebu.c | 51 struct pinctrl_dev *pctldev; member in struct:mvebu_pinctrl 140 static int mvebu_pinconf_group_get(struct pinctrl_dev *pctldev, argument 143 struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); 152 static int mvebu_pinconf_group_set(struct pinctrl_dev *pctldev, argument 156 struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); 172 static void mvebu_pinconf_group_dbg_show(struct pinctrl_dev *pctldev, argument 175 struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); 181 if (mvebu_pinconf_group_get(pctldev, gid, &config)) 236 static int mvebu_pinmux_get_funcs_count(struct pinctrl_dev *pctldev) argument 238 struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); 243 mvebu_pinmux_get_func_name(struct pinctrl_dev *pctldev, unsigned fid) argument 251 mvebu_pinmux_get_groups(struct pinctrl_dev *pctldev, unsigned fid, const char * const **groups, unsigned * const num_groups) argument 262 mvebu_pinmux_set(struct pinctrl_dev *pctldev, unsigned fid, unsigned gid) argument 292 mvebu_pinmux_gpio_request_enable(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned offset) argument 316 mvebu_pinmux_gpio_set_direction(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned offset, bool input) argument 350 mvebu_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) argument 356 mvebu_pinctrl_get_group_name(struct pinctrl_dev *pctldev, unsigned gid) argument 363 mvebu_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, unsigned gid, const unsigned **pins, unsigned *num_pins) argument 373 mvebu_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, struct device_node *np, struct pinctrl_map **map, unsigned *num_maps) argument 436 mvebu_pinctrl_dt_free_map(struct pinctrl_dev *pctldev, struct pinctrl_map *map, unsigned num_maps) argument [all...] |
/drivers/pinctrl/nomadik/ |
H A D | pinctrl-abx500.c | 104 struct pinctrl_dev *pctldev; member in struct:abx500_pinctrl 360 static int abx500_set_mode(struct pinctrl_dev *pctldev, struct gpio_chip *chip, argument 363 struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); 480 static int abx500_get_mode(struct pinctrl_dev *pctldev, struct gpio_chip *chip, argument 487 struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); 570 struct pinctrl_dev *pctldev, 574 struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); 624 mode = abx500_get_mode(pctldev, chip, offset); 638 struct pinctrl_dev *pctldev = pct->pctldev; local 569 abx500_gpio_dbg_show_one(struct seq_file *s, struct pinctrl_dev *pctldev, struct gpio_chip *chip, unsigned offset, unsigned gpio) argument 648 abx500_gpio_dbg_show_one(struct seq_file *s, struct pinctrl_dev *pctldev, struct gpio_chip *chip, unsigned offset, unsigned gpio) argument 684 abx500_pmx_get_funcs_cnt(struct pinctrl_dev *pctldev) argument 691 abx500_pmx_get_func_name(struct pinctrl_dev *pctldev, unsigned function) argument 699 abx500_pmx_get_func_groups(struct pinctrl_dev *pctldev, unsigned function, const char * const **groups, unsigned * const num_groups) argument 712 abx500_pmx_set(struct pinctrl_dev *pctldev, unsigned function, unsigned group) argument 740 abx500_gpio_request_enable(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned offset) argument 777 abx500_gpio_disable_free(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned offset) argument 792 abx500_get_groups_cnt(struct pinctrl_dev *pctldev) argument 799 abx500_get_group_name(struct pinctrl_dev *pctldev, unsigned selector) argument 807 abx500_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, const unsigned **pins, unsigned *num_pins) argument 820 abx500_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned offset) argument 871 abx500_find_pin_name(struct pinctrl_dev *pctldev, const char *pin_name) argument 884 abx500_dt_subnode_to_map(struct pinctrl_dev *pctldev, struct device_node *np, struct pinctrl_map **map, unsigned *reserved_maps, unsigned *num_maps) argument 954 abx500_dt_node_to_map(struct pinctrl_dev *pctldev, struct device_node *np_config, struct pinctrl_map **map, unsigned *num_maps) argument 987 abx500_pin_config_get(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *config) argument 994 abx500_pin_config_set(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs) argument [all...] |
H A D | pinctrl-nomadik.c | 584 static int __maybe_unused nmk_prcm_gpiocr_get_mode(struct pinctrl_dev *pctldev, int gpio) argument 589 struct nmk_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); 981 struct pinctrl_dev *pctldev, struct gpio_chip *chip, 1013 if ((mode == NMK_GPIO_ALT_C) && pctldev) 1014 mode = nmk_prcm_gpiocr_get_mode(pctldev, gpio); 1072 struct pinctrl_dev *pctldev, 1298 static int nmk_get_groups_cnt(struct pinctrl_dev *pctldev) argument 1300 struct nmk_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); 1305 static const char *nmk_get_group_name(struct pinctrl_dev *pctldev, argument 1308 struct nmk_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); 980 nmk_gpio_dbg_show_one(struct seq_file *s, struct pinctrl_dev *pctldev, struct gpio_chip *chip, unsigned offset, unsigned gpio) argument 1071 nmk_gpio_dbg_show_one(struct seq_file *s, struct pinctrl_dev *pctldev, struct gpio_chip *chip, unsigned offset, unsigned gpio) argument 1313 nmk_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, const unsigned **pins, unsigned *num_pins) argument 1325 nmk_match_gpio_range(struct pinctrl_dev *pctldev, unsigned offset) argument 1341 nmk_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned offset) argument 1479 nmk_find_pin_name(struct pinctrl_dev *pctldev, const char *pin_name) argument 1512 nmk_pinctrl_dt_subnode_to_map(struct pinctrl_dev *pctldev, struct device_node *np, struct pinctrl_map **map, unsigned *reserved_maps, unsigned *num_maps) argument 1575 nmk_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, struct device_node *np_config, struct pinctrl_map **map, unsigned *num_maps) argument 1608 nmk_pmx_get_funcs_cnt(struct pinctrl_dev *pctldev) argument 1615 nmk_pmx_get_func_name(struct pinctrl_dev *pctldev, unsigned function) argument 1623 nmk_pmx_get_func_groups(struct pinctrl_dev *pctldev, unsigned function, const char * const **groups, unsigned * const num_groups) argument 1636 nmk_pmx_set(struct pinctrl_dev *pctldev, unsigned function, unsigned group) argument 1754 nmk_gpio_request_enable(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned offset) argument 1785 nmk_gpio_disable_free(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned offset) argument 1804 nmk_pin_config_get(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *config) argument 1811 nmk_pin_config_set(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs) argument [all...] |