pctldev 798 drivers/gpio/gpiolib-of.c struct pinctrl_dev *pctldev; pctldev 815 drivers/gpio/gpiolib-of.c pctldev = of_pinctrl_get(pinspec.np); pctldev 817 drivers/gpio/gpiolib-of.c if (!pctldev) pctldev 833 drivers/gpio/gpiolib-of.c pinctrl_dev_get_devname(pctldev), pctldev 865 drivers/gpio/gpiolib-of.c ret = gpiochip_add_pingroup_range(chip, pctldev, pctldev 2547 drivers/gpio/gpiolib.c struct pinctrl_dev *pctldev, pctldev 2565 drivers/gpio/gpiolib.c pin_range->pctldev = pctldev; pctldev 2567 drivers/gpio/gpiolib.c ret = pinctrl_get_group_pins(pctldev, pin_group, pctldev 2575 drivers/gpio/gpiolib.c pinctrl_add_gpio_range(pctldev, &pin_range->range); pctldev 2579 drivers/gpio/gpiolib.c pinctrl_dev_get_devname(pctldev), pin_group); pctldev 2625 drivers/gpio/gpiolib.c pin_range->pctldev = pinctrl_find_and_add_gpio_range(pinctl_name, pctldev 2627 drivers/gpio/gpiolib.c if (IS_ERR(pin_range->pctldev)) { pctldev 2628 drivers/gpio/gpiolib.c ret = PTR_ERR(pin_range->pctldev); pctldev 2655 drivers/gpio/gpiolib.c pinctrl_remove_gpio_range(pin_range->pctldev, pctldev 42 drivers/i2c/muxes/i2c-mux-pinctrl.c pin_root = i2c_root_adapter(setting->pctldev->dev); pctldev 13 drivers/pinctrl/aspeed/pinctrl-aspeed.c int aspeed_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 15 drivers/pinctrl/aspeed/pinctrl-aspeed.c struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 20 drivers/pinctrl/aspeed/pinctrl-aspeed.c const char *aspeed_pinctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 23 drivers/pinctrl/aspeed/pinctrl-aspeed.c struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 28 drivers/pinctrl/aspeed/pinctrl-aspeed.c int aspeed_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 32 drivers/pinctrl/aspeed/pinctrl-aspeed.c struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 40 drivers/pinctrl/aspeed/pinctrl-aspeed.c void aspeed_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, pctldev 43 drivers/pinctrl/aspeed/pinctrl-aspeed.c seq_printf(s, " %s", dev_name(pctldev->dev)); pctldev 46 drivers/pinctrl/aspeed/pinctrl-aspeed.c int aspeed_pinmux_get_fn_count(struct pinctrl_dev *pctldev) pctldev 48 drivers/pinctrl/aspeed/pinctrl-aspeed.c struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 53 drivers/pinctrl/aspeed/pinctrl-aspeed.c const char *aspeed_pinmux_get_fn_name(struct pinctrl_dev *pctldev, pctldev 56 drivers/pinctrl/aspeed/pinctrl-aspeed.c struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 61 drivers/pinctrl/aspeed/pinctrl-aspeed.c int aspeed_pinmux_get_fn_groups(struct pinctrl_dev *pctldev, pctldev 66 drivers/pinctrl/aspeed/pinctrl-aspeed.c struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 215 drivers/pinctrl/aspeed/pinctrl-aspeed.c int aspeed_pinmux_set_mux(struct pinctrl_dev *pctldev, unsigned int function, pctldev 220 drivers/pinctrl/aspeed/pinctrl-aspeed.c struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 303 drivers/pinctrl/aspeed/pinctrl-aspeed.c int aspeed_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 308 drivers/pinctrl/aspeed/pinctrl-aspeed.c struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 474 drivers/pinctrl/aspeed/pinctrl-aspeed.c int aspeed_pin_config_get(struct pinctrl_dev *pctldev, unsigned int offset, pctldev 485 drivers/pinctrl/aspeed/pinctrl-aspeed.c pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 515 drivers/pinctrl/aspeed/pinctrl-aspeed.c int aspeed_pin_config_set(struct pinctrl_dev *pctldev, unsigned int offset, pctldev 522 drivers/pinctrl/aspeed/pinctrl-aspeed.c pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 559 drivers/pinctrl/aspeed/pinctrl-aspeed.c int aspeed_pin_config_group_get(struct pinctrl_dev *pctldev, pctldev 567 drivers/pinctrl/aspeed/pinctrl-aspeed.c rc = aspeed_pinctrl_get_group_pins(pctldev, selector, &pins, &npins); pctldev 574 drivers/pinctrl/aspeed/pinctrl-aspeed.c rc = aspeed_pin_config_get(pctldev, pins[0], config); pctldev 579 drivers/pinctrl/aspeed/pinctrl-aspeed.c int aspeed_pin_config_group_set(struct pinctrl_dev *pctldev, pctldev 591 drivers/pinctrl/aspeed/pinctrl-aspeed.c rc = aspeed_pinctrl_get_group_pins(pctldev, selector, &pins, &npins); pctldev 596 drivers/pinctrl/aspeed/pinctrl-aspeed.c rc = aspeed_pin_config_set(pctldev, pins[i], configs, pctldev 51 drivers/pinctrl/aspeed/pinctrl-aspeed.h int aspeed_pinctrl_get_groups_count(struct pinctrl_dev *pctldev); pctldev 52 drivers/pinctrl/aspeed/pinctrl-aspeed.h const char *aspeed_pinctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 54 drivers/pinctrl/aspeed/pinctrl-aspeed.h int aspeed_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 57 drivers/pinctrl/aspeed/pinctrl-aspeed.h void aspeed_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, pctldev 59 drivers/pinctrl/aspeed/pinctrl-aspeed.h int aspeed_pinmux_get_fn_count(struct pinctrl_dev *pctldev); pctldev 60 drivers/pinctrl/aspeed/pinctrl-aspeed.h const char *aspeed_pinmux_get_fn_name(struct pinctrl_dev *pctldev, pctldev 62 drivers/pinctrl/aspeed/pinctrl-aspeed.h int aspeed_pinmux_get_fn_groups(struct pinctrl_dev *pctldev, pctldev 65 drivers/pinctrl/aspeed/pinctrl-aspeed.h int aspeed_pinmux_set_mux(struct pinctrl_dev *pctldev, unsigned int function, pctldev 67 drivers/pinctrl/aspeed/pinctrl-aspeed.h int aspeed_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 73 drivers/pinctrl/aspeed/pinctrl-aspeed.h int aspeed_pin_config_get(struct pinctrl_dev *pctldev, unsigned int offset, pctldev 75 drivers/pinctrl/aspeed/pinctrl-aspeed.h int aspeed_pin_config_set(struct pinctrl_dev *pctldev, unsigned int offset, pctldev 77 drivers/pinctrl/aspeed/pinctrl-aspeed.h int aspeed_pin_config_group_get(struct pinctrl_dev *pctldev, pctldev 80 drivers/pinctrl/aspeed/pinctrl-aspeed.h int aspeed_pin_config_group_set(struct pinctrl_dev *pctldev, pctldev 950 drivers/pinctrl/bcm/pinctrl-bcm281xx.c static inline enum bcm281xx_pin_type pin_type_get(struct pinctrl_dev *pctldev, pctldev 953 drivers/pinctrl/bcm/pinctrl-bcm281xx.c struct bcm281xx_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 987 drivers/pinctrl/bcm/pinctrl-bcm281xx.c static int bcm281xx_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 989 drivers/pinctrl/bcm/pinctrl-bcm281xx.c struct bcm281xx_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 994 drivers/pinctrl/bcm/pinctrl-bcm281xx.c static const char *bcm281xx_pinctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 997 drivers/pinctrl/bcm/pinctrl-bcm281xx.c struct bcm281xx_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 1002 drivers/pinctrl/bcm/pinctrl-bcm281xx.c static int bcm281xx_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 1007 drivers/pinctrl/bcm/pinctrl-bcm281xx.c struct bcm281xx_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 1015 drivers/pinctrl/bcm/pinctrl-bcm281xx.c static void bcm281xx_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, pctldev 1019 drivers/pinctrl/bcm/pinctrl-bcm281xx.c seq_printf(s, " %s", dev_name(pctldev->dev)); pctldev 1031 drivers/pinctrl/bcm/pinctrl-bcm281xx.c static int bcm281xx_pinctrl_get_fcns_count(struct pinctrl_dev *pctldev) pctldev 1033 drivers/pinctrl/bcm/pinctrl-bcm281xx.c struct bcm281xx_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 1038 drivers/pinctrl/bcm/pinctrl-bcm281xx.c static const char *bcm281xx_pinctrl_get_fcn_name(struct pinctrl_dev *pctldev, pctldev 1041 drivers/pinctrl/bcm/pinctrl-bcm281xx.c struct bcm281xx_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 1046 drivers/pinctrl/bcm/pinctrl-bcm281xx.c static int bcm281xx_pinctrl_get_fcn_groups(struct pinctrl_dev *pctldev, pctldev 1051 drivers/pinctrl/bcm/pinctrl-bcm281xx.c struct bcm281xx_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 1059 drivers/pinctrl/bcm/pinctrl-bcm281xx.c static int bcm281xx_pinmux_set(struct pinctrl_dev *pctldev, pctldev 1063 drivers/pinctrl/bcm/pinctrl-bcm281xx.c struct bcm281xx_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 1068 drivers/pinctrl/bcm/pinctrl-bcm281xx.c dev_dbg(pctldev->dev, pctldev 1077 drivers/pinctrl/bcm/pinctrl-bcm281xx.c dev_err(pctldev->dev, pctldev 1091 drivers/pinctrl/bcm/pinctrl-bcm281xx.c static int bcm281xx_pinctrl_pin_config_get(struct pinctrl_dev *pctldev, pctldev 1100 drivers/pinctrl/bcm/pinctrl-bcm281xx.c static int bcm281xx_std_pin_update(struct pinctrl_dev *pctldev, pctldev 1107 drivers/pinctrl/bcm/pinctrl-bcm281xx.c struct bcm281xx_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 1174 drivers/pinctrl/bcm/pinctrl-bcm281xx.c dev_err(pctldev->dev, pctldev 1187 drivers/pinctrl/bcm/pinctrl-bcm281xx.c dev_err(pctldev->dev, pctldev 1216 drivers/pinctrl/bcm/pinctrl-bcm281xx.c static int bcm281xx_i2c_pin_update(struct pinctrl_dev *pctldev, pctldev 1223 drivers/pinctrl/bcm/pinctrl-bcm281xx.c struct bcm281xx_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 1239 drivers/pinctrl/bcm/pinctrl-bcm281xx.c dev_err(pctldev->dev, pctldev 1274 drivers/pinctrl/bcm/pinctrl-bcm281xx.c dev_err(pctldev->dev, pctldev 1286 drivers/pinctrl/bcm/pinctrl-bcm281xx.c static int bcm281xx_hdmi_pin_update(struct pinctrl_dev *pctldev, pctldev 1293 drivers/pinctrl/bcm/pinctrl-bcm281xx.c struct bcm281xx_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 1319 drivers/pinctrl/bcm/pinctrl-bcm281xx.c dev_err(pctldev->dev, pctldev 1330 drivers/pinctrl/bcm/pinctrl-bcm281xx.c static int bcm281xx_pinctrl_pin_config_set(struct pinctrl_dev *pctldev, pctldev 1335 drivers/pinctrl/bcm/pinctrl-bcm281xx.c struct bcm281xx_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); pctldev 1343 drivers/pinctrl/bcm/pinctrl-bcm281xx.c pin_type = pin_type_get(pctldev, pin); pctldev 1348 drivers/pinctrl/bcm/pinctrl-bcm281xx.c rc = bcm281xx_std_pin_update(pctldev, pin, configs, pctldev 1353 drivers/pinctrl/bcm/pinctrl-bcm281xx.c rc = bcm281xx_i2c_pin_update(pctldev, pin, configs, pctldev 1358 drivers/pinctrl/bcm/pinctrl-bcm281xx.c rc = bcm281xx_hdmi_pin_update(pctldev, pin, configs, pctldev 1363 drivers/pinctrl/bcm/pinctrl-bcm281xx.c dev_err(pctldev->dev, "Unknown pin type for pin %s (%d).\n", pctldev 1372 drivers/pinctrl/bcm/pinctrl-bcm281xx.c dev_dbg(pctldev->dev, pctldev 1378 drivers/pinctrl/bcm/pinctrl-bcm281xx.c dev_err(pctldev->dev, pctldev 621 drivers/pinctrl/bcm/pinctrl-bcm2835.c static int bcm2835_pctl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 626 drivers/pinctrl/bcm/pinctrl-bcm2835.c static const char *bcm2835_pctl_get_group_name(struct pinctrl_dev *pctldev, pctldev 632 drivers/pinctrl/bcm/pinctrl-bcm2835.c static int bcm2835_pctl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 643 drivers/pinctrl/bcm/pinctrl-bcm2835.c static void bcm2835_pctl_pin_dbg_show(struct pinctrl_dev *pctldev, pctldev 647 drivers/pinctrl/bcm/pinctrl-bcm2835.c struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); pctldev 659 drivers/pinctrl/bcm/pinctrl-bcm2835.c static void bcm2835_pctl_dt_free_map(struct pinctrl_dev *pctldev, pctldev 716 drivers/pinctrl/bcm/pinctrl-bcm2835.c static int bcm2835_pctl_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 720 drivers/pinctrl/bcm/pinctrl-bcm2835.c struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); pctldev 728 drivers/pinctrl/bcm/pinctrl-bcm2835.c err = pinconf_generic_dt_node_to_map_all(pctldev, np, map, num_maps); pctldev 816 drivers/pinctrl/bcm/pinctrl-bcm2835.c bcm2835_pctl_dt_free_map(pctldev, maps, num_pins * maps_per_pin); pctldev 829 drivers/pinctrl/bcm/pinctrl-bcm2835.c static int bcm2835_pmx_free(struct pinctrl_dev *pctldev, pctldev 832 drivers/pinctrl/bcm/pinctrl-bcm2835.c struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); pctldev 839 drivers/pinctrl/bcm/pinctrl-bcm2835.c static int bcm2835_pmx_get_functions_count(struct pinctrl_dev *pctldev) pctldev 844 drivers/pinctrl/bcm/pinctrl-bcm2835.c static const char *bcm2835_pmx_get_function_name(struct pinctrl_dev *pctldev, pctldev 850 drivers/pinctrl/bcm/pinctrl-bcm2835.c static int bcm2835_pmx_get_function_groups(struct pinctrl_dev *pctldev, pctldev 862 drivers/pinctrl/bcm/pinctrl-bcm2835.c static int bcm2835_pmx_set(struct pinctrl_dev *pctldev, pctldev 866 drivers/pinctrl/bcm/pinctrl-bcm2835.c struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); pctldev 873 drivers/pinctrl/bcm/pinctrl-bcm2835.c static void bcm2835_pmx_gpio_disable_free(struct pinctrl_dev *pctldev, pctldev 877 drivers/pinctrl/bcm/pinctrl-bcm2835.c struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); pctldev 883 drivers/pinctrl/bcm/pinctrl-bcm2835.c static int bcm2835_pmx_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 888 drivers/pinctrl/bcm/pinctrl-bcm2835.c struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); pctldev 907 drivers/pinctrl/bcm/pinctrl-bcm2835.c static int bcm2835_pinconf_get(struct pinctrl_dev *pctldev, pctldev 935 drivers/pinctrl/bcm/pinctrl-bcm2835.c static int bcm2835_pinconf_set(struct pinctrl_dev *pctldev, pctldev 939 drivers/pinctrl/bcm/pinctrl-bcm2835.c struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); pctldev 1002 drivers/pinctrl/bcm/pinctrl-bcm2835.c static int bcm2711_pinconf_set(struct pinctrl_dev *pctldev, pctldev 1006 drivers/pinctrl/bcm/pinctrl-bcm2835.c struct bcm2835_pinctrl *pc = pinctrl_dev_get_drvdata(pctldev); pctldev 444 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c static int iproc_get_groups_count(struct pinctrl_dev *pctldev) pctldev 453 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c static const char *iproc_get_group_name(struct pinctrl_dev *pctldev, pctldev 613 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c static int iproc_pin_config_get(struct pinctrl_dev *pctldev, unsigned pin, pctldev 616 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c struct iproc_gpio *chip = pinctrl_dev_get_drvdata(pctldev); pctldev 663 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c static int iproc_pin_config_set(struct pinctrl_dev *pctldev, unsigned pin, pctldev 666 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c struct iproc_gpio *chip = pinctrl_dev_get_drvdata(pctldev); pctldev 26 drivers/pinctrl/bcm/pinctrl-ns.c struct pinctrl_dev *pctldev; pctldev 360 drivers/pinctrl/bcm/pinctrl-ns.c ns_pinctrl->pctldev = devm_pinctrl_register(dev, pctldesc, ns_pinctrl); pctldev 361 drivers/pinctrl/bcm/pinctrl-ns.c if (IS_ERR(ns_pinctrl->pctldev)) { pctldev 363 drivers/pinctrl/bcm/pinctrl-ns.c return PTR_ERR(ns_pinctrl->pctldev); pctldev 841 drivers/pinctrl/bcm/pinctrl-ns2-mux.c static int ns2_pin_config_get(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 844 drivers/pinctrl/bcm/pinctrl-ns2-mux.c struct ns2_pin *pin_data = pctldev->desc->pins[pin].drv_data; pctldev 855 drivers/pinctrl/bcm/pinctrl-ns2-mux.c ns2_pin_get_pull(pctldev, pin, &pull_up, &pull_down); pctldev 862 drivers/pinctrl/bcm/pinctrl-ns2-mux.c ns2_pin_get_pull(pctldev, pin, &pull_up, &pull_down); pctldev 869 drivers/pinctrl/bcm/pinctrl-ns2-mux.c ns2_pin_get_pull(pctldev, pin, &pull_up, &pull_down); pctldev 876 drivers/pinctrl/bcm/pinctrl-ns2-mux.c ret = ns2_pin_get_strength(pctldev, pin, &arg); pctldev 883 drivers/pinctrl/bcm/pinctrl-ns2-mux.c ret = ns2_pin_get_slew(pctldev, pin, &arg); pctldev 890 drivers/pinctrl/bcm/pinctrl-ns2-mux.c ret = ns2_pin_get_enable(pctldev, pin); pctldev 332 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c static int nsp_get_groups_count(struct pinctrl_dev *pctldev) pctldev 341 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c static const char *nsp_get_group_name(struct pinctrl_dev *pctldev, pctldev 446 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c static int nsp_pin_config_group_get(struct pinctrl_dev *pctldev, pctldev 453 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c static int nsp_pin_config_group_set(struct pinctrl_dev *pctldev, pctldev 460 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c static int nsp_pin_config_get(struct pinctrl_dev *pctldev, unsigned pin, pctldev 463 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c struct nsp_gpio *chip = pinctrl_dev_get_drvdata(pctldev); pctldev 505 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c static int nsp_pin_config_set(struct pinctrl_dev *pctldev, unsigned pin, pctldev 508 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c struct nsp_gpio *chip = pinctrl_dev_get_drvdata(pctldev); pctldev 725 drivers/pinctrl/cirrus/pinctrl-lochnagar.c static int lochnagar_get_groups_count(struct pinctrl_dev *pctldev) pctldev 727 drivers/pinctrl/cirrus/pinctrl-lochnagar.c struct lochnagar_pin_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 732 drivers/pinctrl/cirrus/pinctrl-lochnagar.c static const char *lochnagar_get_group_name(struct pinctrl_dev *pctldev, pctldev 735 drivers/pinctrl/cirrus/pinctrl-lochnagar.c struct lochnagar_pin_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 740 drivers/pinctrl/cirrus/pinctrl-lochnagar.c static int lochnagar_get_group_pins(struct pinctrl_dev *pctldev, pctldev 745 drivers/pinctrl/cirrus/pinctrl-lochnagar.c struct lochnagar_pin_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 761 drivers/pinctrl/cirrus/pinctrl-lochnagar.c static int lochnagar_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 763 drivers/pinctrl/cirrus/pinctrl-lochnagar.c struct lochnagar_pin_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 768 drivers/pinctrl/cirrus/pinctrl-lochnagar.c static const char *lochnagar_get_func_name(struct pinctrl_dev *pctldev, pctldev 771 drivers/pinctrl/cirrus/pinctrl-lochnagar.c struct lochnagar_pin_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 776 drivers/pinctrl/cirrus/pinctrl-lochnagar.c static int lochnagar_get_func_groups(struct pinctrl_dev *pctldev, pctldev 781 drivers/pinctrl/cirrus/pinctrl-lochnagar.c struct lochnagar_pin_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 907 drivers/pinctrl/cirrus/pinctrl-lochnagar.c static int lochnagar_set_mux(struct pinctrl_dev *pctldev, pctldev 910 drivers/pinctrl/cirrus/pinctrl-lochnagar.c struct lochnagar_pin_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 932 drivers/pinctrl/cirrus/pinctrl-lochnagar.c static int lochnagar_gpio_request(struct pinctrl_dev *pctldev, pctldev 936 drivers/pinctrl/cirrus/pinctrl-lochnagar.c struct lochnagar_pin_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 961 drivers/pinctrl/cirrus/pinctrl-lochnagar.c static int lochnagar_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 1013 drivers/pinctrl/cirrus/pinctrl-lochnagar.c static int lochnagar_conf_group_set(struct pinctrl_dev *pctldev, pctldev 1018 drivers/pinctrl/cirrus/pinctrl-lochnagar.c struct lochnagar_pin_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 443 drivers/pinctrl/cirrus/pinctrl-madera-core.c static int madera_get_groups_count(struct pinctrl_dev *pctldev) pctldev 445 drivers/pinctrl/cirrus/pinctrl-madera-core.c struct madera_pin_private *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 451 drivers/pinctrl/cirrus/pinctrl-madera-core.c static const char *madera_get_group_name(struct pinctrl_dev *pctldev, pctldev 454 drivers/pinctrl/cirrus/pinctrl-madera-core.c struct madera_pin_private *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 463 drivers/pinctrl/cirrus/pinctrl-madera-core.c static int madera_get_group_pins(struct pinctrl_dev *pctldev, pctldev 468 drivers/pinctrl/cirrus/pinctrl-madera-core.c struct madera_pin_private *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 512 drivers/pinctrl/cirrus/pinctrl-madera-core.c static void __maybe_unused madera_pin_dbg_show(struct pinctrl_dev *pctldev, pctldev 516 drivers/pinctrl/cirrus/pinctrl-madera-core.c struct madera_pin_private *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 577 drivers/pinctrl/cirrus/pinctrl-madera-core.c static int madera_mux_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 582 drivers/pinctrl/cirrus/pinctrl-madera-core.c static const char *madera_mux_get_func_name(struct pinctrl_dev *pctldev, pctldev 588 drivers/pinctrl/cirrus/pinctrl-madera-core.c static int madera_mux_get_groups(struct pinctrl_dev *pctldev, pctldev 593 drivers/pinctrl/cirrus/pinctrl-madera-core.c struct madera_pin_private *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 608 drivers/pinctrl/cirrus/pinctrl-madera-core.c static int madera_mux_set_mux(struct pinctrl_dev *pctldev, pctldev 612 drivers/pinctrl/cirrus/pinctrl-madera-core.c struct madera_pin_private *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 622 drivers/pinctrl/cirrus/pinctrl-madera-core.c madera_get_group_name(pctldev, group)); pctldev 672 drivers/pinctrl/cirrus/pinctrl-madera-core.c static int madera_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 677 drivers/pinctrl/cirrus/pinctrl-madera-core.c struct madera_pin_private *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 695 drivers/pinctrl/cirrus/pinctrl-madera-core.c static int madera_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 699 drivers/pinctrl/cirrus/pinctrl-madera-core.c struct madera_pin_private *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 712 drivers/pinctrl/cirrus/pinctrl-madera-core.c static void madera_gpio_disable_free(struct pinctrl_dev *pctldev, pctldev 716 drivers/pinctrl/cirrus/pinctrl-madera-core.c struct madera_pin_private *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 722 drivers/pinctrl/cirrus/pinctrl-madera-core.c madera_gpio_set_direction(pctldev, range, offset, true); pctldev 740 drivers/pinctrl/cirrus/pinctrl-madera-core.c static int madera_pin_conf_get(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 743 drivers/pinctrl/cirrus/pinctrl-madera-core.c struct madera_pin_private *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 819 drivers/pinctrl/cirrus/pinctrl-madera-core.c static int madera_pin_conf_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 822 drivers/pinctrl/cirrus/pinctrl-madera-core.c struct madera_pin_private *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 945 drivers/pinctrl/cirrus/pinctrl-madera-core.c static int madera_pin_conf_group_set(struct pinctrl_dev *pctldev, pctldev 950 drivers/pinctrl/cirrus/pinctrl-madera-core.c struct madera_pin_private *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 956 drivers/pinctrl/cirrus/pinctrl-madera-core.c madera_get_group_name(pctldev, selector)); pctldev 960 drivers/pinctrl/cirrus/pinctrl-madera-core.c return madera_pin_conf_set(pctldev, pctldev 968 drivers/pinctrl/cirrus/pinctrl-madera-core.c ret = madera_pin_conf_set(pctldev, pctldev 73 drivers/pinctrl/core.c const char *pinctrl_dev_get_name(struct pinctrl_dev *pctldev) pctldev 76 drivers/pinctrl/core.c return pctldev->desc->name; pctldev 80 drivers/pinctrl/core.c const char *pinctrl_dev_get_devname(struct pinctrl_dev *pctldev) pctldev 82 drivers/pinctrl/core.c return dev_name(pctldev->dev); pctldev 86 drivers/pinctrl/core.c void *pinctrl_dev_get_drvdata(struct pinctrl_dev *pctldev) pctldev 88 drivers/pinctrl/core.c return pctldev->driver_data; pctldev 101 drivers/pinctrl/core.c struct pinctrl_dev *pctldev; pctldev 108 drivers/pinctrl/core.c list_for_each_entry(pctldev, &pinctrldev_list, node) { pctldev 109 drivers/pinctrl/core.c if (!strcmp(dev_name(pctldev->dev), devname)) { pctldev 112 drivers/pinctrl/core.c return pctldev; pctldev 123 drivers/pinctrl/core.c struct pinctrl_dev *pctldev; pctldev 127 drivers/pinctrl/core.c list_for_each_entry(pctldev, &pinctrldev_list, node) pctldev 128 drivers/pinctrl/core.c if (pctldev->dev->of_node == np) { pctldev 130 drivers/pinctrl/core.c return pctldev; pctldev 143 drivers/pinctrl/core.c int pin_get_from_name(struct pinctrl_dev *pctldev, const char *name) pctldev 148 drivers/pinctrl/core.c for (i = 0; i < pctldev->desc->npins; i++) { pctldev 151 drivers/pinctrl/core.c pin = pctldev->desc->pins[i].number; pctldev 152 drivers/pinctrl/core.c desc = pin_desc_get(pctldev, pin); pctldev 166 drivers/pinctrl/core.c const char *pin_get_name(struct pinctrl_dev *pctldev, const unsigned pin) pctldev 170 drivers/pinctrl/core.c desc = pin_desc_get(pctldev, pin); pctldev 172 drivers/pinctrl/core.c dev_err(pctldev->dev, "failed to get pin(%d) name\n", pctldev 181 drivers/pinctrl/core.c static void pinctrl_free_pindescs(struct pinctrl_dev *pctldev, pctldev 190 drivers/pinctrl/core.c pindesc = radix_tree_lookup(&pctldev->pin_desc_tree, pctldev 193 drivers/pinctrl/core.c radix_tree_delete(&pctldev->pin_desc_tree, pctldev 202 drivers/pinctrl/core.c static int pinctrl_register_one_pin(struct pinctrl_dev *pctldev, pctldev 207 drivers/pinctrl/core.c pindesc = pin_desc_get(pctldev, pin->number); pctldev 209 drivers/pinctrl/core.c dev_err(pctldev->dev, "pin %d already registered\n", pctldev 219 drivers/pinctrl/core.c pindesc->pctldev = pctldev; pctldev 235 drivers/pinctrl/core.c radix_tree_insert(&pctldev->pin_desc_tree, pin->number, pindesc); pctldev 237 drivers/pinctrl/core.c pin->number, pindesc->name, pctldev->desc->name); pctldev 241 drivers/pinctrl/core.c static int pinctrl_register_pins(struct pinctrl_dev *pctldev, pctldev 249 drivers/pinctrl/core.c ret = pinctrl_register_one_pin(pctldev, &pins[i]); pctldev 289 drivers/pinctrl/core.c pinctrl_match_gpio_range(struct pinctrl_dev *pctldev, unsigned gpio) pctldev 293 drivers/pinctrl/core.c mutex_lock(&pctldev->mutex); pctldev 295 drivers/pinctrl/core.c list_for_each_entry(range, &pctldev->gpio_ranges, node) { pctldev 299 drivers/pinctrl/core.c mutex_unlock(&pctldev->mutex); pctldev 303 drivers/pinctrl/core.c mutex_unlock(&pctldev->mutex); pctldev 323 drivers/pinctrl/core.c struct pinctrl_dev *pctldev; pctldev 333 drivers/pinctrl/core.c list_for_each_entry(pctldev, &pinctrldev_list, node) { pctldev 335 drivers/pinctrl/core.c mutex_lock(&pctldev->mutex); pctldev 336 drivers/pinctrl/core.c list_for_each_entry(range, &pctldev->gpio_ranges, node) { pctldev 341 drivers/pinctrl/core.c mutex_unlock(&pctldev->mutex); pctldev 345 drivers/pinctrl/core.c mutex_unlock(&pctldev->mutex); pctldev 371 drivers/pinctrl/core.c struct pinctrl_dev *pctldev; pctldev 376 drivers/pinctrl/core.c list_for_each_entry(pctldev, &pinctrldev_list, node) { pctldev 379 drivers/pinctrl/core.c range = pinctrl_match_gpio_range(pctldev, gpio); pctldev 381 drivers/pinctrl/core.c *outdev = pctldev; pctldev 401 drivers/pinctrl/core.c void pinctrl_add_gpio_range(struct pinctrl_dev *pctldev, pctldev 404 drivers/pinctrl/core.c mutex_lock(&pctldev->mutex); pctldev 405 drivers/pinctrl/core.c list_add_tail(&range->node, &pctldev->gpio_ranges); pctldev 406 drivers/pinctrl/core.c mutex_unlock(&pctldev->mutex); pctldev 410 drivers/pinctrl/core.c void pinctrl_add_gpio_ranges(struct pinctrl_dev *pctldev, pctldev 417 drivers/pinctrl/core.c pinctrl_add_gpio_range(pctldev, &ranges[i]); pctldev 424 drivers/pinctrl/core.c struct pinctrl_dev *pctldev; pctldev 426 drivers/pinctrl/core.c pctldev = get_pinctrl_dev_from_devname(devname); pctldev 433 drivers/pinctrl/core.c if (!pctldev) { pctldev 436 drivers/pinctrl/core.c pinctrl_add_gpio_range(pctldev, range); pctldev 438 drivers/pinctrl/core.c return pctldev; pctldev 442 drivers/pinctrl/core.c int pinctrl_get_group_pins(struct pinctrl_dev *pctldev, const char *pin_group, pctldev 445 drivers/pinctrl/core.c const struct pinctrl_ops *pctlops = pctldev->desc->pctlops; pctldev 451 drivers/pinctrl/core.c gs = pinctrl_get_group_selector(pctldev, pin_group); pctldev 455 drivers/pinctrl/core.c return pctlops->get_group_pins(pctldev, gs, pins, num_pins); pctldev 460 drivers/pinctrl/core.c pinctrl_find_gpio_range_from_pin_nolock(struct pinctrl_dev *pctldev, pctldev 466 drivers/pinctrl/core.c list_for_each_entry(range, &pctldev->gpio_ranges, node) { pctldev 489 drivers/pinctrl/core.c pinctrl_find_gpio_range_from_pin(struct pinctrl_dev *pctldev, pctldev 494 drivers/pinctrl/core.c mutex_lock(&pctldev->mutex); pctldev 495 drivers/pinctrl/core.c range = pinctrl_find_gpio_range_from_pin_nolock(pctldev, pin); pctldev 496 drivers/pinctrl/core.c mutex_unlock(&pctldev->mutex); pctldev 507 drivers/pinctrl/core.c void pinctrl_remove_gpio_range(struct pinctrl_dev *pctldev, pctldev 510 drivers/pinctrl/core.c mutex_lock(&pctldev->mutex); pctldev 512 drivers/pinctrl/core.c mutex_unlock(&pctldev->mutex); pctldev 522 drivers/pinctrl/core.c int pinctrl_generic_get_group_count(struct pinctrl_dev *pctldev) pctldev 524 drivers/pinctrl/core.c return pctldev->num_groups; pctldev 533 drivers/pinctrl/core.c const char *pinctrl_generic_get_group_name(struct pinctrl_dev *pctldev, pctldev 538 drivers/pinctrl/core.c group = radix_tree_lookup(&pctldev->pin_group_tree, pctldev 554 drivers/pinctrl/core.c int pinctrl_generic_get_group_pins(struct pinctrl_dev *pctldev, pctldev 561 drivers/pinctrl/core.c group = radix_tree_lookup(&pctldev->pin_group_tree, pctldev 564 drivers/pinctrl/core.c dev_err(pctldev->dev, "%s could not find pingroup%i\n", pctldev 581 drivers/pinctrl/core.c struct group_desc *pinctrl_generic_get_group(struct pinctrl_dev *pctldev, pctldev 586 drivers/pinctrl/core.c group = radix_tree_lookup(&pctldev->pin_group_tree, pctldev 595 drivers/pinctrl/core.c static int pinctrl_generic_group_name_to_selector(struct pinctrl_dev *pctldev, pctldev 598 drivers/pinctrl/core.c const struct pinctrl_ops *ops = pctldev->desc->pctlops; pctldev 599 drivers/pinctrl/core.c int ngroups = ops->get_groups_count(pctldev); pctldev 604 drivers/pinctrl/core.c const char *gname = ops->get_group_name(pctldev, selector); pctldev 625 drivers/pinctrl/core.c int pinctrl_generic_add_group(struct pinctrl_dev *pctldev, const char *name, pctldev 634 drivers/pinctrl/core.c selector = pinctrl_generic_group_name_to_selector(pctldev, name); pctldev 638 drivers/pinctrl/core.c selector = pctldev->num_groups; pctldev 640 drivers/pinctrl/core.c group = devm_kzalloc(pctldev->dev, sizeof(*group), GFP_KERNEL); pctldev 649 drivers/pinctrl/core.c radix_tree_insert(&pctldev->pin_group_tree, selector, group); pctldev 651 drivers/pinctrl/core.c pctldev->num_groups++; pctldev 664 drivers/pinctrl/core.c int pinctrl_generic_remove_group(struct pinctrl_dev *pctldev, pctldev 669 drivers/pinctrl/core.c group = radix_tree_lookup(&pctldev->pin_group_tree, pctldev 674 drivers/pinctrl/core.c radix_tree_delete(&pctldev->pin_group_tree, selector); pctldev 675 drivers/pinctrl/core.c devm_kfree(pctldev->dev, group); pctldev 677 drivers/pinctrl/core.c pctldev->num_groups--; pctldev 690 drivers/pinctrl/core.c static void pinctrl_generic_free_groups(struct pinctrl_dev *pctldev) pctldev 695 drivers/pinctrl/core.c radix_tree_for_each_slot(slot, &pctldev->pin_group_tree, &iter, 0) pctldev 696 drivers/pinctrl/core.c radix_tree_delete(&pctldev->pin_group_tree, iter.index); pctldev 698 drivers/pinctrl/core.c pctldev->num_groups = 0; pctldev 702 drivers/pinctrl/core.c static inline void pinctrl_generic_free_groups(struct pinctrl_dev *pctldev) pctldev 712 drivers/pinctrl/core.c int pinctrl_get_group_selector(struct pinctrl_dev *pctldev, pctldev 715 drivers/pinctrl/core.c const struct pinctrl_ops *pctlops = pctldev->desc->pctlops; pctldev 716 drivers/pinctrl/core.c unsigned ngroups = pctlops->get_groups_count(pctldev); pctldev 720 drivers/pinctrl/core.c const char *gname = pctlops->get_group_name(pctldev, pctldev 723 drivers/pinctrl/core.c dev_dbg(pctldev->dev, pctldev 733 drivers/pinctrl/core.c dev_err(pctldev->dev, "does not have pin group %s\n", pctldev 741 drivers/pinctrl/core.c struct pinctrl_dev *pctldev; pctldev 751 drivers/pinctrl/core.c if (pinctrl_get_device_gpio_range(gpio, &pctldev, &range)) pctldev 754 drivers/pinctrl/core.c mutex_lock(&pctldev->mutex); pctldev 759 drivers/pinctrl/core.c result = pinmux_can_be_used_for_gpio(pctldev, pin); pctldev 761 drivers/pinctrl/core.c mutex_unlock(&pctldev->mutex); pctldev 777 drivers/pinctrl/core.c struct pinctrl_dev *pctldev; pctldev 782 drivers/pinctrl/core.c ret = pinctrl_get_device_gpio_range(gpio, &pctldev, &range); pctldev 789 drivers/pinctrl/core.c mutex_lock(&pctldev->mutex); pctldev 794 drivers/pinctrl/core.c ret = pinmux_request_gpio(pctldev, range, pin, gpio); pctldev 796 drivers/pinctrl/core.c mutex_unlock(&pctldev->mutex); pctldev 812 drivers/pinctrl/core.c struct pinctrl_dev *pctldev; pctldev 817 drivers/pinctrl/core.c ret = pinctrl_get_device_gpio_range(gpio, &pctldev, &range); pctldev 821 drivers/pinctrl/core.c mutex_lock(&pctldev->mutex); pctldev 826 drivers/pinctrl/core.c pinmux_free_gpio(pctldev, pin, range); pctldev 828 drivers/pinctrl/core.c mutex_unlock(&pctldev->mutex); pctldev 834 drivers/pinctrl/core.c struct pinctrl_dev *pctldev; pctldev 839 drivers/pinctrl/core.c ret = pinctrl_get_device_gpio_range(gpio, &pctldev, &range); pctldev 844 drivers/pinctrl/core.c mutex_lock(&pctldev->mutex); pctldev 848 drivers/pinctrl/core.c ret = pinmux_gpio_direction(pctldev, range, pin, input); pctldev 850 drivers/pinctrl/core.c mutex_unlock(&pctldev->mutex); pctldev 896 drivers/pinctrl/core.c struct pinctrl_dev *pctldev; pctldev 899 drivers/pinctrl/core.c ret = pinctrl_get_device_gpio_range(gpio, &pctldev, &range); pctldev 903 drivers/pinctrl/core.c mutex_lock(&pctldev->mutex); pctldev 905 drivers/pinctrl/core.c ret = pinconf_set_config(pctldev, pin, configs, ARRAY_SIZE(configs)); pctldev 906 drivers/pinctrl/core.c mutex_unlock(&pctldev->mutex); pctldev 941 drivers/pinctrl/core.c static int add_setting(struct pinctrl *p, struct pinctrl_dev *pctldev, pctldev 963 drivers/pinctrl/core.c if (pctldev) pctldev 964 drivers/pinctrl/core.c setting->pctldev = pctldev; pctldev 966 drivers/pinctrl/core.c setting->pctldev = pctldev 968 drivers/pinctrl/core.c if (!setting->pctldev) { pctldev 1024 drivers/pinctrl/core.c struct pinctrl_dev *pctldev) pctldev 1045 drivers/pinctrl/core.c ret = pinctrl_dt_to_map(p, pctldev); pctldev 1066 drivers/pinctrl/core.c if (pctldev && pctldev 1067 drivers/pinctrl/core.c strcmp(dev_name(pctldev->dev), map->ctrl_dev_name)) pctldev 1070 drivers/pinctrl/core.c ret = add_setting(p, pctldev, map); pctldev 1223 drivers/pinctrl/core.c static void pinctrl_link_add(struct pinctrl_dev *pctldev, pctldev 1226 drivers/pinctrl/core.c if (pctldev->desc->link_consumers) pctldev 1227 drivers/pinctrl/core.c device_link_add(consumer, pctldev->dev, pctldev 1279 drivers/pinctrl/core.c if (p != setting->pctldev->p) pctldev 1280 drivers/pinctrl/core.c pinctrl_link_add(setting->pctldev, p->dev); pctldev 1486 drivers/pinctrl/core.c int pinctrl_force_sleep(struct pinctrl_dev *pctldev) pctldev 1488 drivers/pinctrl/core.c if (!IS_ERR(pctldev->p) && !IS_ERR(pctldev->hog_sleep)) pctldev 1489 drivers/pinctrl/core.c return pinctrl_commit_state(pctldev->p, pctldev->hog_sleep); pctldev 1498 drivers/pinctrl/core.c int pinctrl_force_default(struct pinctrl_dev *pctldev) pctldev 1500 drivers/pinctrl/core.c if (!IS_ERR(pctldev->p) && !IS_ERR(pctldev->hog_default)) pctldev 1501 drivers/pinctrl/core.c return pinctrl_commit_state(pctldev->p, pctldev->hog_default); pctldev 1604 drivers/pinctrl/core.c struct pinctrl_dev *pctldev = s->private; pctldev 1605 drivers/pinctrl/core.c const struct pinctrl_ops *ops = pctldev->desc->pctlops; pctldev 1608 drivers/pinctrl/core.c seq_printf(s, "registered pins: %d\n", pctldev->desc->npins); pctldev 1610 drivers/pinctrl/core.c mutex_lock(&pctldev->mutex); pctldev 1613 drivers/pinctrl/core.c for (i = 0; i < pctldev->desc->npins; i++) { pctldev 1616 drivers/pinctrl/core.c pin = pctldev->desc->pins[i].number; pctldev 1617 drivers/pinctrl/core.c desc = pin_desc_get(pctldev, pin); pctldev 1626 drivers/pinctrl/core.c ops->pin_dbg_show(pctldev, s, pin); pctldev 1631 drivers/pinctrl/core.c mutex_unlock(&pctldev->mutex); pctldev 1639 drivers/pinctrl/core.c struct pinctrl_dev *pctldev = s->private; pctldev 1640 drivers/pinctrl/core.c const struct pinctrl_ops *ops = pctldev->desc->pctlops; pctldev 1643 drivers/pinctrl/core.c mutex_lock(&pctldev->mutex); pctldev 1645 drivers/pinctrl/core.c ngroups = ops->get_groups_count(pctldev); pctldev 1651 drivers/pinctrl/core.c const char *gname = ops->get_group_name(pctldev, selector); pctldev 1657 drivers/pinctrl/core.c ret = ops->get_group_pins(pctldev, selector, pctldev 1665 drivers/pinctrl/core.c pname = pin_get_name(pctldev, pins[i]); pctldev 1667 drivers/pinctrl/core.c mutex_unlock(&pctldev->mutex); pctldev 1677 drivers/pinctrl/core.c mutex_unlock(&pctldev->mutex); pctldev 1685 drivers/pinctrl/core.c struct pinctrl_dev *pctldev = s->private; pctldev 1690 drivers/pinctrl/core.c mutex_lock(&pctldev->mutex); pctldev 1693 drivers/pinctrl/core.c list_for_each_entry(range, &pctldev->gpio_ranges, node) { pctldev 1711 drivers/pinctrl/core.c mutex_unlock(&pctldev->mutex); pctldev 1719 drivers/pinctrl/core.c struct pinctrl_dev *pctldev; pctldev 1725 drivers/pinctrl/core.c list_for_each_entry(pctldev, &pinctrldev_list, node) { pctldev 1726 drivers/pinctrl/core.c seq_printf(s, "%s ", pctldev->desc->name); pctldev 1727 drivers/pinctrl/core.c if (pctldev->desc->pmxops) pctldev 1731 drivers/pinctrl/core.c if (pctldev->desc->confops) pctldev 1817 drivers/pinctrl/core.c struct pinctrl_dev *pctldev = setting->pctldev; pctldev 1821 drivers/pinctrl/core.c pinctrl_dev_get_name(pctldev)); pctldev 1846 drivers/pinctrl/core.c static void pinctrl_init_device_debugfs(struct pinctrl_dev *pctldev) pctldev 1851 drivers/pinctrl/core.c if (pctldev->desc->name && pctldev 1852 drivers/pinctrl/core.c strcmp(dev_name(pctldev->dev), pctldev->desc->name)) { pctldev 1853 drivers/pinctrl/core.c debugfs_name = devm_kasprintf(pctldev->dev, GFP_KERNEL, pctldev 1854 drivers/pinctrl/core.c "%s-%s", dev_name(pctldev->dev), pctldev 1855 drivers/pinctrl/core.c pctldev->desc->name); pctldev 1858 drivers/pinctrl/core.c dev_name(pctldev->dev)); pctldev 1862 drivers/pinctrl/core.c debugfs_name = dev_name(pctldev->dev); pctldev 1866 drivers/pinctrl/core.c pctldev->device_root = device_root; pctldev 1870 drivers/pinctrl/core.c dev_name(pctldev->dev)); pctldev 1874 drivers/pinctrl/core.c device_root, pctldev, &pinctrl_pins_fops); pctldev 1876 drivers/pinctrl/core.c device_root, pctldev, &pinctrl_groups_fops); pctldev 1878 drivers/pinctrl/core.c device_root, pctldev, &pinctrl_gpioranges_fops); pctldev 1879 drivers/pinctrl/core.c if (pctldev->desc->pmxops) pctldev 1880 drivers/pinctrl/core.c pinmux_init_device_debugfs(device_root, pctldev); pctldev 1881 drivers/pinctrl/core.c if (pctldev->desc->confops) pctldev 1882 drivers/pinctrl/core.c pinconf_init_device_debugfs(device_root, pctldev); pctldev 1885 drivers/pinctrl/core.c static void pinctrl_remove_device_debugfs(struct pinctrl_dev *pctldev) pctldev 1887 drivers/pinctrl/core.c debugfs_remove_recursive(pctldev->device_root); pctldev 1909 drivers/pinctrl/core.c static void pinctrl_init_device_debugfs(struct pinctrl_dev *pctldev) pctldev 1917 drivers/pinctrl/core.c static void pinctrl_remove_device_debugfs(struct pinctrl_dev *pctldev) pctldev 1923 drivers/pinctrl/core.c static int pinctrl_check_ops(struct pinctrl_dev *pctldev) pctldev 1925 drivers/pinctrl/core.c const struct pinctrl_ops *ops = pctldev->desc->pctlops; pctldev 1945 drivers/pinctrl/core.c struct pinctrl_dev *pctldev; pctldev 1953 drivers/pinctrl/core.c pctldev = kzalloc(sizeof(*pctldev), GFP_KERNEL); pctldev 1954 drivers/pinctrl/core.c if (!pctldev) pctldev 1958 drivers/pinctrl/core.c pctldev->owner = pctldesc->owner; pctldev 1959 drivers/pinctrl/core.c pctldev->desc = pctldesc; pctldev 1960 drivers/pinctrl/core.c pctldev->driver_data = driver_data; pctldev 1961 drivers/pinctrl/core.c INIT_RADIX_TREE(&pctldev->pin_desc_tree, GFP_KERNEL); pctldev 1963 drivers/pinctrl/core.c INIT_RADIX_TREE(&pctldev->pin_group_tree, GFP_KERNEL); pctldev 1966 drivers/pinctrl/core.c INIT_RADIX_TREE(&pctldev->pin_function_tree, GFP_KERNEL); pctldev 1968 drivers/pinctrl/core.c INIT_LIST_HEAD(&pctldev->gpio_ranges); pctldev 1969 drivers/pinctrl/core.c INIT_LIST_HEAD(&pctldev->node); pctldev 1970 drivers/pinctrl/core.c pctldev->dev = dev; pctldev 1971 drivers/pinctrl/core.c mutex_init(&pctldev->mutex); pctldev 1974 drivers/pinctrl/core.c ret = pinctrl_check_ops(pctldev); pctldev 1982 drivers/pinctrl/core.c ret = pinmux_check_ops(pctldev); pctldev 1989 drivers/pinctrl/core.c ret = pinconf_check_ops(pctldev); pctldev 1996 drivers/pinctrl/core.c ret = pinctrl_register_pins(pctldev, pctldesc->pins, pctldesc->npins); pctldev 1999 drivers/pinctrl/core.c pinctrl_free_pindescs(pctldev, pctldesc->pins, pctldev 2004 drivers/pinctrl/core.c return pctldev; pctldev 2007 drivers/pinctrl/core.c mutex_destroy(&pctldev->mutex); pctldev 2008 drivers/pinctrl/core.c kfree(pctldev); pctldev 2012 drivers/pinctrl/core.c static int pinctrl_claim_hogs(struct pinctrl_dev *pctldev) pctldev 2014 drivers/pinctrl/core.c pctldev->p = create_pinctrl(pctldev->dev, pctldev); pctldev 2015 drivers/pinctrl/core.c if (PTR_ERR(pctldev->p) == -ENODEV) { pctldev 2016 drivers/pinctrl/core.c dev_dbg(pctldev->dev, "no hogs found\n"); pctldev 2021 drivers/pinctrl/core.c if (IS_ERR(pctldev->p)) { pctldev 2022 drivers/pinctrl/core.c dev_err(pctldev->dev, "error claiming hogs: %li\n", pctldev 2023 drivers/pinctrl/core.c PTR_ERR(pctldev->p)); pctldev 2025 drivers/pinctrl/core.c return PTR_ERR(pctldev->p); pctldev 2028 drivers/pinctrl/core.c pctldev->hog_default = pctldev 2029 drivers/pinctrl/core.c pinctrl_lookup_state(pctldev->p, PINCTRL_STATE_DEFAULT); pctldev 2030 drivers/pinctrl/core.c if (IS_ERR(pctldev->hog_default)) { pctldev 2031 drivers/pinctrl/core.c dev_dbg(pctldev->dev, pctldev 2034 drivers/pinctrl/core.c if (pinctrl_select_state(pctldev->p, pctldev 2035 drivers/pinctrl/core.c pctldev->hog_default)) pctldev 2036 drivers/pinctrl/core.c dev_err(pctldev->dev, pctldev 2040 drivers/pinctrl/core.c pctldev->hog_sleep = pctldev 2041 drivers/pinctrl/core.c pinctrl_lookup_state(pctldev->p, pctldev 2043 drivers/pinctrl/core.c if (IS_ERR(pctldev->hog_sleep)) pctldev 2044 drivers/pinctrl/core.c dev_dbg(pctldev->dev, pctldev 2050 drivers/pinctrl/core.c int pinctrl_enable(struct pinctrl_dev *pctldev) pctldev 2054 drivers/pinctrl/core.c error = pinctrl_claim_hogs(pctldev); pctldev 2056 drivers/pinctrl/core.c dev_err(pctldev->dev, "could not claim hogs: %i\n", pctldev 2058 drivers/pinctrl/core.c mutex_destroy(&pctldev->mutex); pctldev 2059 drivers/pinctrl/core.c kfree(pctldev); pctldev 2065 drivers/pinctrl/core.c list_add_tail(&pctldev->node, &pinctrldev_list); pctldev 2068 drivers/pinctrl/core.c pinctrl_init_device_debugfs(pctldev); pctldev 2088 drivers/pinctrl/core.c struct pinctrl_dev *pctldev; pctldev 2091 drivers/pinctrl/core.c pctldev = pinctrl_init_controller(pctldesc, dev, driver_data); pctldev 2092 drivers/pinctrl/core.c if (IS_ERR(pctldev)) pctldev 2093 drivers/pinctrl/core.c return pctldev; pctldev 2095 drivers/pinctrl/core.c error = pinctrl_enable(pctldev); pctldev 2099 drivers/pinctrl/core.c return pctldev; pctldev 2116 drivers/pinctrl/core.c struct pinctrl_dev **pctldev) pctldev 2130 drivers/pinctrl/core.c *pctldev = p; pctldev 2142 drivers/pinctrl/core.c void pinctrl_unregister(struct pinctrl_dev *pctldev) pctldev 2146 drivers/pinctrl/core.c if (!pctldev) pctldev 2149 drivers/pinctrl/core.c mutex_lock(&pctldev->mutex); pctldev 2150 drivers/pinctrl/core.c pinctrl_remove_device_debugfs(pctldev); pctldev 2151 drivers/pinctrl/core.c mutex_unlock(&pctldev->mutex); pctldev 2153 drivers/pinctrl/core.c if (!IS_ERR_OR_NULL(pctldev->p)) pctldev 2154 drivers/pinctrl/core.c pinctrl_put(pctldev->p); pctldev 2157 drivers/pinctrl/core.c mutex_lock(&pctldev->mutex); pctldev 2159 drivers/pinctrl/core.c list_del(&pctldev->node); pctldev 2160 drivers/pinctrl/core.c pinmux_generic_free_functions(pctldev); pctldev 2161 drivers/pinctrl/core.c pinctrl_generic_free_groups(pctldev); pctldev 2163 drivers/pinctrl/core.c pinctrl_free_pindescs(pctldev, pctldev->desc->pins, pctldev 2164 drivers/pinctrl/core.c pctldev->desc->npins); pctldev 2166 drivers/pinctrl/core.c list_for_each_entry_safe(range, n, &pctldev->gpio_ranges, node) pctldev 2169 drivers/pinctrl/core.c mutex_unlock(&pctldev->mutex); pctldev 2170 drivers/pinctrl/core.c mutex_destroy(&pctldev->mutex); pctldev 2171 drivers/pinctrl/core.c kfree(pctldev); pctldev 2178 drivers/pinctrl/core.c struct pinctrl_dev *pctldev = *(struct pinctrl_dev **)res; pctldev 2180 drivers/pinctrl/core.c pinctrl_unregister(pctldev); pctldev 2185 drivers/pinctrl/core.c struct pctldev **r = res; pctldev 2208 drivers/pinctrl/core.c struct pinctrl_dev **ptr, *pctldev; pctldev 2214 drivers/pinctrl/core.c pctldev = pinctrl_register(pctldesc, dev, driver_data); pctldev 2215 drivers/pinctrl/core.c if (IS_ERR(pctldev)) { pctldev 2217 drivers/pinctrl/core.c return pctldev; pctldev 2220 drivers/pinctrl/core.c *ptr = pctldev; pctldev 2223 drivers/pinctrl/core.c return pctldev; pctldev 2241 drivers/pinctrl/core.c struct pinctrl_dev **pctldev) pctldev 2250 drivers/pinctrl/core.c error = pinctrl_register_and_init(pctldesc, dev, driver_data, pctldev); pctldev 2256 drivers/pinctrl/core.c *ptr = *pctldev; pctldev 2268 drivers/pinctrl/core.c void devm_pinctrl_unregister(struct device *dev, struct pinctrl_dev *pctldev) pctldev 2271 drivers/pinctrl/core.c devm_pinctrl_dev_match, pctldev)); pctldev 134 drivers/pinctrl/core.h struct pinctrl_dev *pctldev; pctldev 160 drivers/pinctrl/core.h struct pinctrl_dev *pctldev; pctldev 201 drivers/pinctrl/core.h int pinctrl_generic_get_group_count(struct pinctrl_dev *pctldev); pctldev 203 drivers/pinctrl/core.h const char *pinctrl_generic_get_group_name(struct pinctrl_dev *pctldev, pctldev 206 drivers/pinctrl/core.h int pinctrl_generic_get_group_pins(struct pinctrl_dev *pctldev, pctldev 211 drivers/pinctrl/core.h struct group_desc *pinctrl_generic_get_group(struct pinctrl_dev *pctldev, pctldev 214 drivers/pinctrl/core.h int pinctrl_generic_add_group(struct pinctrl_dev *pctldev, const char *name, pctldev 217 drivers/pinctrl/core.h int pinctrl_generic_remove_group(struct pinctrl_dev *pctldev, pctldev 224 drivers/pinctrl/core.h int pin_get_from_name(struct pinctrl_dev *pctldev, const char *name); pctldev 225 drivers/pinctrl/core.h const char *pin_get_name(struct pinctrl_dev *pctldev, const unsigned pin); pctldev 226 drivers/pinctrl/core.h int pinctrl_get_group_selector(struct pinctrl_dev *pctldev, pctldev 229 drivers/pinctrl/core.h static inline struct pin_desc *pin_desc_get(struct pinctrl_dev *pctldev, pctldev 232 drivers/pinctrl/core.h return radix_tree_lookup(&pctldev->pin_desc_tree, pin); pctldev 236 drivers/pinctrl/core.h pinctrl_find_gpio_range_from_pin_nolock(struct pinctrl_dev *pctldev, pctldev 243 drivers/pinctrl/core.h extern int pinctrl_force_sleep(struct pinctrl_dev *pctldev); pctldev 244 drivers/pinctrl/core.h extern int pinctrl_force_default(struct pinctrl_dev *pctldev); pctldev 24 drivers/pinctrl/devicetree.c struct pinctrl_dev *pctldev; pctldev 29 drivers/pinctrl/devicetree.c static void dt_free_map(struct pinctrl_dev *pctldev, pctldev 39 drivers/pinctrl/devicetree.c if (pctldev) { pctldev 40 drivers/pinctrl/devicetree.c const struct pinctrl_ops *ops = pctldev->desc->pctlops; pctldev 42 drivers/pinctrl/devicetree.c ops->dt_free_map(pctldev, map, num_maps); pctldev 56 drivers/pinctrl/devicetree.c dt_free_map(dt_map->pctldev, dt_map->map, pctldev 65 drivers/pinctrl/devicetree.c struct pinctrl_dev *pctldev, pctldev 81 drivers/pinctrl/devicetree.c if (pctldev) pctldev 82 drivers/pinctrl/devicetree.c map[i].ctrl_dev_name = dev_name(pctldev->dev); pctldev 90 drivers/pinctrl/devicetree.c dt_map->pctldev = pctldev; pctldev 98 drivers/pinctrl/devicetree.c dt_free_map(pctldev, map, num_maps); pctldev 112 drivers/pinctrl/devicetree.c struct pinctrl_dev *pctldev = NULL; pctldev 138 drivers/pinctrl/devicetree.c pctldev = hog_pctldev; pctldev 141 drivers/pinctrl/devicetree.c pctldev = get_pinctrl_dev_from_of_node(np_pctldev); pctldev 142 drivers/pinctrl/devicetree.c if (pctldev) pctldev 156 drivers/pinctrl/devicetree.c ops = pctldev->desc->pctlops; pctldev 159 drivers/pinctrl/devicetree.c dev_name(pctldev->dev)); pctldev 162 drivers/pinctrl/devicetree.c ret = ops->dt_node_to_map(pctldev, np_config, &map, &num_maps); pctldev 167 drivers/pinctrl/devicetree.c return dt_remember_or_free_map(p, statename, pctldev, map, num_maps); pctldev 184 drivers/pinctrl/devicetree.c bool pinctrl_dt_has_hogs(struct pinctrl_dev *pctldev) pctldev 190 drivers/pinctrl/devicetree.c np = pctldev->dev->of_node; pctldev 199 drivers/pinctrl/devicetree.c int pinctrl_dt_to_map(struct pinctrl *p, struct pinctrl_dev *pctldev) pctldev 264 drivers/pinctrl/devicetree.c ret = dt_to_map_one_config(p, pctldev, statename, pctldev 12 drivers/pinctrl/devicetree.h bool pinctrl_dt_has_hogs(struct pinctrl_dev *pctldev); pctldev 15 drivers/pinctrl/devicetree.h int pinctrl_dt_to_map(struct pinctrl *p, struct pinctrl_dev *pctldev); pctldev 26 drivers/pinctrl/devicetree.h static inline bool pinctrl_dt_has_hogs(struct pinctrl_dev *pctldev) pctldev 32 drivers/pinctrl/devicetree.h struct pinctrl_dev *pctldev) pctldev 34 drivers/pinctrl/freescale/pinctrl-imx.c struct pinctrl_dev *pctldev, pctldev 40 drivers/pinctrl/freescale/pinctrl-imx.c for (i = 0; i < pctldev->num_groups; i++) { pctldev 41 drivers/pinctrl/freescale/pinctrl-imx.c grp = pinctrl_generic_get_group(pctldev, i); pctldev 49 drivers/pinctrl/freescale/pinctrl-imx.c static void imx_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, pctldev 52 drivers/pinctrl/freescale/pinctrl-imx.c seq_printf(s, "%s", dev_name(pctldev->dev)); pctldev 55 drivers/pinctrl/freescale/pinctrl-imx.c static int imx_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 59 drivers/pinctrl/freescale/pinctrl-imx.c struct imx_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 72 drivers/pinctrl/freescale/pinctrl-imx.c grp = imx_pinctrl_find_group_by_name(pctldev, np->name); pctldev 122 drivers/pinctrl/freescale/pinctrl-imx.c pin_get_name(pctldev, pin->pin); pctldev 141 drivers/pinctrl/freescale/pinctrl-imx.c dev_dbg(pctldev->dev, "maps: function %s group %s num %d\n", pctldev 147 drivers/pinctrl/freescale/pinctrl-imx.c static void imx_dt_free_map(struct pinctrl_dev *pctldev, pctldev 240 drivers/pinctrl/freescale/pinctrl-imx.c static int imx_pmx_set(struct pinctrl_dev *pctldev, unsigned selector, pctldev 243 drivers/pinctrl/freescale/pinctrl-imx.c struct imx_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 255 drivers/pinctrl/freescale/pinctrl-imx.c grp = pinctrl_generic_get_group(pctldev, group); pctldev 259 drivers/pinctrl/freescale/pinctrl-imx.c func = pinmux_generic_get_function(pctldev, selector); pctldev 348 drivers/pinctrl/freescale/pinctrl-imx.c static int imx_pinconf_get_mmio(struct pinctrl_dev *pctldev, unsigned pin_id, pctldev 351 drivers/pinctrl/freescale/pinctrl-imx.c struct imx_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 369 drivers/pinctrl/freescale/pinctrl-imx.c static int imx_pinconf_get(struct pinctrl_dev *pctldev, pctldev 372 drivers/pinctrl/freescale/pinctrl-imx.c struct imx_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 376 drivers/pinctrl/freescale/pinctrl-imx.c return imx_pinconf_get_scu(pctldev, pin_id, config); pctldev 378 drivers/pinctrl/freescale/pinctrl-imx.c return imx_pinconf_get_mmio(pctldev, pin_id, config); pctldev 381 drivers/pinctrl/freescale/pinctrl-imx.c static int imx_pinconf_set_mmio(struct pinctrl_dev *pctldev, pctldev 385 drivers/pinctrl/freescale/pinctrl-imx.c struct imx_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 418 drivers/pinctrl/freescale/pinctrl-imx.c static int imx_pinconf_set(struct pinctrl_dev *pctldev, pctldev 422 drivers/pinctrl/freescale/pinctrl-imx.c struct imx_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 426 drivers/pinctrl/freescale/pinctrl-imx.c return imx_pinconf_set_scu(pctldev, pin_id, pctldev 429 drivers/pinctrl/freescale/pinctrl-imx.c return imx_pinconf_set_mmio(pctldev, pin_id, pctldev 433 drivers/pinctrl/freescale/pinctrl-imx.c static void imx_pinconf_dbg_show(struct pinctrl_dev *pctldev, pctldev 436 drivers/pinctrl/freescale/pinctrl-imx.c struct imx_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 443 drivers/pinctrl/freescale/pinctrl-imx.c ret = imx_pinconf_get_scu(pctldev, pin_id, &config); pctldev 446 drivers/pinctrl/freescale/pinctrl-imx.c pin_get_name(pctldev, pin_id)); pctldev 463 drivers/pinctrl/freescale/pinctrl-imx.c static void imx_pinconf_group_dbg_show(struct pinctrl_dev *pctldev, pctldev 471 drivers/pinctrl/freescale/pinctrl-imx.c if (group >= pctldev->num_groups) pctldev 475 drivers/pinctrl/freescale/pinctrl-imx.c grp = pinctrl_generic_get_group(pctldev, group); pctldev 482 drivers/pinctrl/freescale/pinctrl-imx.c name = pin_get_name(pctldev, pin->pin); pctldev 483 drivers/pinctrl/freescale/pinctrl-imx.c ret = imx_pinconf_get(pctldev, pin->pin, &config); pctldev 97 drivers/pinctrl/freescale/pinctrl-imx.h int (*gpio_set_direction)(struct pinctrl_dev *pctldev, pctldev 146 drivers/pinctrl/freescale/pinctrl-imx.h int imx_pinconf_get_scu(struct pinctrl_dev *pctldev, unsigned pin_id, pctldev 148 drivers/pinctrl/freescale/pinctrl-imx.h int imx_pinconf_set_scu(struct pinctrl_dev *pctldev, unsigned pin_id, pctldev 154 drivers/pinctrl/freescale/pinctrl-imx.h static inline int imx_pinconf_get_scu(struct pinctrl_dev *pctldev, pctldev 159 drivers/pinctrl/freescale/pinctrl-imx.h static inline int imx_pinconf_set_scu(struct pinctrl_dev *pctldev, pctldev 171 drivers/pinctrl/freescale/pinctrl-imx1-core.c static int imx1_get_groups_count(struct pinctrl_dev *pctldev) pctldev 173 drivers/pinctrl/freescale/pinctrl-imx1-core.c struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 179 drivers/pinctrl/freescale/pinctrl-imx1-core.c static const char *imx1_get_group_name(struct pinctrl_dev *pctldev, pctldev 182 drivers/pinctrl/freescale/pinctrl-imx1-core.c struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 188 drivers/pinctrl/freescale/pinctrl-imx1-core.c static int imx1_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, pctldev 192 drivers/pinctrl/freescale/pinctrl-imx1-core.c struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 204 drivers/pinctrl/freescale/pinctrl-imx1-core.c static void imx1_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, pctldev 207 drivers/pinctrl/freescale/pinctrl-imx1-core.c struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 218 drivers/pinctrl/freescale/pinctrl-imx1-core.c static int imx1_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 222 drivers/pinctrl/freescale/pinctrl-imx1-core.c struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 268 drivers/pinctrl/freescale/pinctrl-imx1-core.c pin_get_name(pctldev, grp->pins[i].pin_id); pctldev 274 drivers/pinctrl/freescale/pinctrl-imx1-core.c dev_dbg(pctldev->dev, "maps: function %s group %s num %d\n", pctldev 280 drivers/pinctrl/freescale/pinctrl-imx1-core.c static void imx1_dt_free_map(struct pinctrl_dev *pctldev, pctldev 296 drivers/pinctrl/freescale/pinctrl-imx1-core.c static int imx1_pmx_set(struct pinctrl_dev *pctldev, unsigned selector, pctldev 299 drivers/pinctrl/freescale/pinctrl-imx1-core.c struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 327 drivers/pinctrl/freescale/pinctrl-imx1-core.c dev_dbg(pctldev->dev, "%s, pin 0x%x, function %d, gpio %d, direction %d, oconf %d, iconfa %d, iconfb %d\n", pctldev 349 drivers/pinctrl/freescale/pinctrl-imx1-core.c static int imx1_pmx_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 351 drivers/pinctrl/freescale/pinctrl-imx1-core.c struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 357 drivers/pinctrl/freescale/pinctrl-imx1-core.c static const char *imx1_pmx_get_func_name(struct pinctrl_dev *pctldev, pctldev 360 drivers/pinctrl/freescale/pinctrl-imx1-core.c struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 366 drivers/pinctrl/freescale/pinctrl-imx1-core.c static int imx1_pmx_get_groups(struct pinctrl_dev *pctldev, unsigned selector, pctldev 370 drivers/pinctrl/freescale/pinctrl-imx1-core.c struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 386 drivers/pinctrl/freescale/pinctrl-imx1-core.c static int imx1_pinconf_get(struct pinctrl_dev *pctldev, pctldev 389 drivers/pinctrl/freescale/pinctrl-imx1-core.c struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 396 drivers/pinctrl/freescale/pinctrl-imx1-core.c static int imx1_pinconf_set(struct pinctrl_dev *pctldev, pctldev 400 drivers/pinctrl/freescale/pinctrl-imx1-core.c struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 407 drivers/pinctrl/freescale/pinctrl-imx1-core.c pin_desc_get(pctldev, pin_id)->name); pctldev 413 drivers/pinctrl/freescale/pinctrl-imx1-core.c static void imx1_pinconf_dbg_show(struct pinctrl_dev *pctldev, pctldev 418 drivers/pinctrl/freescale/pinctrl-imx1-core.c imx1_pinconf_get(pctldev, pin_id, &config); pctldev 422 drivers/pinctrl/freescale/pinctrl-imx1-core.c static void imx1_pinconf_group_dbg_show(struct pinctrl_dev *pctldev, pctldev 425 drivers/pinctrl/freescale/pinctrl-imx1-core.c struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 438 drivers/pinctrl/freescale/pinctrl-imx1-core.c name = pin_get_name(pctldev, grp->pins[i].pin_id); pctldev 439 drivers/pinctrl/freescale/pinctrl-imx1-core.c ret = imx1_pinconf_get(pctldev, grp->pins[i].pin_id, &config); pctldev 262 drivers/pinctrl/freescale/pinctrl-imx7ulp.c static int imx7ulp_pmx_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 266 drivers/pinctrl/freescale/pinctrl-imx7ulp.c struct imx_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 28 drivers/pinctrl/freescale/pinctrl-mxs.c static int mxs_get_groups_count(struct pinctrl_dev *pctldev) pctldev 30 drivers/pinctrl/freescale/pinctrl-mxs.c struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); pctldev 35 drivers/pinctrl/freescale/pinctrl-mxs.c static const char *mxs_get_group_name(struct pinctrl_dev *pctldev, pctldev 38 drivers/pinctrl/freescale/pinctrl-mxs.c struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); pctldev 43 drivers/pinctrl/freescale/pinctrl-mxs.c static int mxs_get_group_pins(struct pinctrl_dev *pctldev, unsigned group, pctldev 46 drivers/pinctrl/freescale/pinctrl-mxs.c struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); pctldev 54 drivers/pinctrl/freescale/pinctrl-mxs.c static void mxs_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, pctldev 57 drivers/pinctrl/freescale/pinctrl-mxs.c seq_printf(s, " %s", dev_name(pctldev->dev)); pctldev 60 drivers/pinctrl/freescale/pinctrl-mxs.c static int mxs_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 138 drivers/pinctrl/freescale/pinctrl-mxs.c static void mxs_dt_free_map(struct pinctrl_dev *pctldev, pctldev 162 drivers/pinctrl/freescale/pinctrl-mxs.c static int mxs_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 164 drivers/pinctrl/freescale/pinctrl-mxs.c struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); pctldev 169 drivers/pinctrl/freescale/pinctrl-mxs.c static const char *mxs_pinctrl_get_func_name(struct pinctrl_dev *pctldev, pctldev 172 drivers/pinctrl/freescale/pinctrl-mxs.c struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); pctldev 177 drivers/pinctrl/freescale/pinctrl-mxs.c static int mxs_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, pctldev 182 drivers/pinctrl/freescale/pinctrl-mxs.c struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); pctldev 200 drivers/pinctrl/freescale/pinctrl-mxs.c static int mxs_pinctrl_set_mux(struct pinctrl_dev *pctldev, unsigned selector, pctldev 203 drivers/pinctrl/freescale/pinctrl-mxs.c struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); pctldev 230 drivers/pinctrl/freescale/pinctrl-mxs.c static int mxs_pinconf_get(struct pinctrl_dev *pctldev, pctldev 236 drivers/pinctrl/freescale/pinctrl-mxs.c static int mxs_pinconf_set(struct pinctrl_dev *pctldev, pctldev 243 drivers/pinctrl/freescale/pinctrl-mxs.c static int mxs_pinconf_group_get(struct pinctrl_dev *pctldev, pctldev 246 drivers/pinctrl/freescale/pinctrl-mxs.c struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); pctldev 253 drivers/pinctrl/freescale/pinctrl-mxs.c static int mxs_pinconf_group_set(struct pinctrl_dev *pctldev, pctldev 257 drivers/pinctrl/freescale/pinctrl-mxs.c struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); pctldev 316 drivers/pinctrl/freescale/pinctrl-mxs.c static void mxs_pinconf_dbg_show(struct pinctrl_dev *pctldev, pctldev 322 drivers/pinctrl/freescale/pinctrl-mxs.c static void mxs_pinconf_group_dbg_show(struct pinctrl_dev *pctldev, pctldev 327 drivers/pinctrl/freescale/pinctrl-mxs.c if (!mxs_pinconf_group_get(pctldev, group, &config)) pctldev 45 drivers/pinctrl/freescale/pinctrl-scu.c int imx_pinconf_get_scu(struct pinctrl_dev *pctldev, unsigned pin_id, pctldev 70 drivers/pinctrl/freescale/pinctrl-scu.c int imx_pinconf_set_scu(struct pinctrl_dev *pctldev, unsigned pin_id, pctldev 73 drivers/pinctrl/freescale/pinctrl-scu.c struct imx_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 293 drivers/pinctrl/freescale/pinctrl-vf610.c static int vf610_pmx_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 297 drivers/pinctrl/freescale/pinctrl-vf610.c struct imx_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 593 drivers/pinctrl/intel/pinctrl-baytrail.c static int byt_get_groups_count(struct pinctrl_dev *pctldev) pctldev 595 drivers/pinctrl/intel/pinctrl-baytrail.c struct byt_gpio *vg = pinctrl_dev_get_drvdata(pctldev); pctldev 600 drivers/pinctrl/intel/pinctrl-baytrail.c static const char *byt_get_group_name(struct pinctrl_dev *pctldev, pctldev 603 drivers/pinctrl/intel/pinctrl-baytrail.c struct byt_gpio *vg = pinctrl_dev_get_drvdata(pctldev); pctldev 608 drivers/pinctrl/intel/pinctrl-baytrail.c static int byt_get_group_pins(struct pinctrl_dev *pctldev, pctldev 613 drivers/pinctrl/intel/pinctrl-baytrail.c struct byt_gpio *vg = pinctrl_dev_get_drvdata(pctldev); pctldev 627 drivers/pinctrl/intel/pinctrl-baytrail.c static int byt_get_functions_count(struct pinctrl_dev *pctldev) pctldev 629 drivers/pinctrl/intel/pinctrl-baytrail.c struct byt_gpio *vg = pinctrl_dev_get_drvdata(pctldev); pctldev 634 drivers/pinctrl/intel/pinctrl-baytrail.c static const char *byt_get_function_name(struct pinctrl_dev *pctldev, pctldev 637 drivers/pinctrl/intel/pinctrl-baytrail.c struct byt_gpio *vg = pinctrl_dev_get_drvdata(pctldev); pctldev 642 drivers/pinctrl/intel/pinctrl-baytrail.c static int byt_get_function_groups(struct pinctrl_dev *pctldev, pctldev 647 drivers/pinctrl/intel/pinctrl-baytrail.c struct byt_gpio *vg = pinctrl_dev_get_drvdata(pctldev); pctldev 715 drivers/pinctrl/intel/pinctrl-baytrail.c static int byt_set_mux(struct pinctrl_dev *pctldev, unsigned int func_selector, pctldev 718 drivers/pinctrl/intel/pinctrl-baytrail.c struct byt_gpio *vg = pinctrl_dev_get_drvdata(pctldev); pctldev 164 drivers/pinctrl/intel/pinctrl-cherryview.c struct pinctrl_dev *pctldev; pctldev 694 drivers/pinctrl/intel/pinctrl-cherryview.c static int chv_get_groups_count(struct pinctrl_dev *pctldev) pctldev 696 drivers/pinctrl/intel/pinctrl-cherryview.c struct chv_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 701 drivers/pinctrl/intel/pinctrl-cherryview.c static const char *chv_get_group_name(struct pinctrl_dev *pctldev, pctldev 704 drivers/pinctrl/intel/pinctrl-cherryview.c struct chv_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 709 drivers/pinctrl/intel/pinctrl-cherryview.c static int chv_get_group_pins(struct pinctrl_dev *pctldev, unsigned int group, pctldev 712 drivers/pinctrl/intel/pinctrl-cherryview.c struct chv_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 719 drivers/pinctrl/intel/pinctrl-cherryview.c static void chv_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, pctldev 722 drivers/pinctrl/intel/pinctrl-cherryview.c struct chv_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 759 drivers/pinctrl/intel/pinctrl-cherryview.c static int chv_get_functions_count(struct pinctrl_dev *pctldev) pctldev 761 drivers/pinctrl/intel/pinctrl-cherryview.c struct chv_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 766 drivers/pinctrl/intel/pinctrl-cherryview.c static const char *chv_get_function_name(struct pinctrl_dev *pctldev, pctldev 769 drivers/pinctrl/intel/pinctrl-cherryview.c struct chv_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 774 drivers/pinctrl/intel/pinctrl-cherryview.c static int chv_get_function_groups(struct pinctrl_dev *pctldev, pctldev 779 drivers/pinctrl/intel/pinctrl-cherryview.c struct chv_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 786 drivers/pinctrl/intel/pinctrl-cherryview.c static int chv_pinmux_set_mux(struct pinctrl_dev *pctldev, pctldev 789 drivers/pinctrl/intel/pinctrl-cherryview.c struct chv_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 864 drivers/pinctrl/intel/pinctrl-cherryview.c static int chv_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 868 drivers/pinctrl/intel/pinctrl-cherryview.c struct chv_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 920 drivers/pinctrl/intel/pinctrl-cherryview.c static void chv_gpio_disable_free(struct pinctrl_dev *pctldev, pctldev 924 drivers/pinctrl/intel/pinctrl-cherryview.c struct chv_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 935 drivers/pinctrl/intel/pinctrl-cherryview.c static int chv_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 939 drivers/pinctrl/intel/pinctrl-cherryview.c struct chv_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 968 drivers/pinctrl/intel/pinctrl-cherryview.c static int chv_config_get(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 971 drivers/pinctrl/intel/pinctrl-cherryview.c struct chv_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 1135 drivers/pinctrl/intel/pinctrl-cherryview.c static int chv_config_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 1138 drivers/pinctrl/intel/pinctrl-cherryview.c struct chv_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 1182 drivers/pinctrl/intel/pinctrl-cherryview.c static int chv_config_group_get(struct pinctrl_dev *pctldev, pctldev 1190 drivers/pinctrl/intel/pinctrl-cherryview.c ret = chv_get_group_pins(pctldev, group, &pins, &npins); pctldev 1194 drivers/pinctrl/intel/pinctrl-cherryview.c ret = chv_config_get(pctldev, pins[0], config); pctldev 1201 drivers/pinctrl/intel/pinctrl-cherryview.c static int chv_config_group_set(struct pinctrl_dev *pctldev, pctldev 1209 drivers/pinctrl/intel/pinctrl-cherryview.c ret = chv_get_group_pins(pctldev, group, &pins, &npins); pctldev 1214 drivers/pinctrl/intel/pinctrl-cherryview.c ret = chv_config_set(pctldev, pins[i], configs, num_configs); pctldev 1722 drivers/pinctrl/intel/pinctrl-cherryview.c pctrl->pctldev = devm_pinctrl_register(&pdev->dev, &pctrl->pctldesc, pctldev 1724 drivers/pinctrl/intel/pinctrl-cherryview.c if (IS_ERR(pctrl->pctldev)) { pctldev 1726 drivers/pinctrl/intel/pinctrl-cherryview.c return PTR_ERR(pctrl->pctldev); pctldev 111 drivers/pinctrl/intel/pinctrl-intel.c struct pinctrl_dev *pctldev; pctldev 293 drivers/pinctrl/intel/pinctrl-intel.c static int intel_get_groups_count(struct pinctrl_dev *pctldev) pctldev 295 drivers/pinctrl/intel/pinctrl-intel.c struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 300 drivers/pinctrl/intel/pinctrl-intel.c static const char *intel_get_group_name(struct pinctrl_dev *pctldev, pctldev 303 drivers/pinctrl/intel/pinctrl-intel.c struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 308 drivers/pinctrl/intel/pinctrl-intel.c static int intel_get_group_pins(struct pinctrl_dev *pctldev, unsigned int group, pctldev 311 drivers/pinctrl/intel/pinctrl-intel.c struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 318 drivers/pinctrl/intel/pinctrl-intel.c static void intel_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, pctldev 321 drivers/pinctrl/intel/pinctrl-intel.c struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 376 drivers/pinctrl/intel/pinctrl-intel.c static int intel_get_functions_count(struct pinctrl_dev *pctldev) pctldev 378 drivers/pinctrl/intel/pinctrl-intel.c struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 383 drivers/pinctrl/intel/pinctrl-intel.c static const char *intel_get_function_name(struct pinctrl_dev *pctldev, pctldev 386 drivers/pinctrl/intel/pinctrl-intel.c struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 391 drivers/pinctrl/intel/pinctrl-intel.c static int intel_get_function_groups(struct pinctrl_dev *pctldev, pctldev 396 drivers/pinctrl/intel/pinctrl-intel.c struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 403 drivers/pinctrl/intel/pinctrl-intel.c static int intel_pinmux_set_mux(struct pinctrl_dev *pctldev, pctldev 406 drivers/pinctrl/intel/pinctrl-intel.c struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 479 drivers/pinctrl/intel/pinctrl-intel.c static int intel_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 483 drivers/pinctrl/intel/pinctrl-intel.c struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 522 drivers/pinctrl/intel/pinctrl-intel.c static int intel_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 526 drivers/pinctrl/intel/pinctrl-intel.c struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 549 drivers/pinctrl/intel/pinctrl-intel.c static int intel_config_get(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 552 drivers/pinctrl/intel/pinctrl-intel.c struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 763 drivers/pinctrl/intel/pinctrl-intel.c static int intel_config_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 766 drivers/pinctrl/intel/pinctrl-intel.c struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 1441 drivers/pinctrl/intel/pinctrl-intel.c pctrl->pctldev = devm_pinctrl_register(&pdev->dev, &pctrl->pctldesc, pctldev 1443 drivers/pinctrl/intel/pinctrl-intel.c if (IS_ERR(pctrl->pctldev)) { pctldev 1445 drivers/pinctrl/intel/pinctrl-intel.c return PTR_ERR(pctrl->pctldev); pctldev 1502 drivers/pinctrl/intel/pinctrl-intel.c const struct pin_desc *pd = pin_desc_get(pctrl->pctldev, pin); pctldev 423 drivers/pinctrl/intel/pinctrl-merrifield.c struct pinctrl_dev *pctldev; pctldev 507 drivers/pinctrl/intel/pinctrl-merrifield.c static int mrfld_get_groups_count(struct pinctrl_dev *pctldev) pctldev 509 drivers/pinctrl/intel/pinctrl-merrifield.c struct mrfld_pinctrl *mp = pinctrl_dev_get_drvdata(pctldev); pctldev 514 drivers/pinctrl/intel/pinctrl-merrifield.c static const char *mrfld_get_group_name(struct pinctrl_dev *pctldev, pctldev 517 drivers/pinctrl/intel/pinctrl-merrifield.c struct mrfld_pinctrl *mp = pinctrl_dev_get_drvdata(pctldev); pctldev 522 drivers/pinctrl/intel/pinctrl-merrifield.c static int mrfld_get_group_pins(struct pinctrl_dev *pctldev, unsigned int group, pctldev 525 drivers/pinctrl/intel/pinctrl-merrifield.c struct mrfld_pinctrl *mp = pinctrl_dev_get_drvdata(pctldev); pctldev 532 drivers/pinctrl/intel/pinctrl-merrifield.c static void mrfld_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, pctldev 535 drivers/pinctrl/intel/pinctrl-merrifield.c struct mrfld_pinctrl *mp = pinctrl_dev_get_drvdata(pctldev); pctldev 561 drivers/pinctrl/intel/pinctrl-merrifield.c static int mrfld_get_functions_count(struct pinctrl_dev *pctldev) pctldev 563 drivers/pinctrl/intel/pinctrl-merrifield.c struct mrfld_pinctrl *mp = pinctrl_dev_get_drvdata(pctldev); pctldev 568 drivers/pinctrl/intel/pinctrl-merrifield.c static const char *mrfld_get_function_name(struct pinctrl_dev *pctldev, pctldev 571 drivers/pinctrl/intel/pinctrl-merrifield.c struct mrfld_pinctrl *mp = pinctrl_dev_get_drvdata(pctldev); pctldev 576 drivers/pinctrl/intel/pinctrl-merrifield.c static int mrfld_get_function_groups(struct pinctrl_dev *pctldev, pctldev 581 drivers/pinctrl/intel/pinctrl-merrifield.c struct mrfld_pinctrl *mp = pinctrl_dev_get_drvdata(pctldev); pctldev 588 drivers/pinctrl/intel/pinctrl-merrifield.c static int mrfld_pinmux_set_mux(struct pinctrl_dev *pctldev, pctldev 592 drivers/pinctrl/intel/pinctrl-merrifield.c struct mrfld_pinctrl *mp = pinctrl_dev_get_drvdata(pctldev); pctldev 617 drivers/pinctrl/intel/pinctrl-merrifield.c static int mrfld_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 621 drivers/pinctrl/intel/pinctrl-merrifield.c struct mrfld_pinctrl *mp = pinctrl_dev_get_drvdata(pctldev); pctldev 644 drivers/pinctrl/intel/pinctrl-merrifield.c static int mrfld_config_get(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 647 drivers/pinctrl/intel/pinctrl-merrifield.c struct mrfld_pinctrl *mp = pinctrl_dev_get_drvdata(pctldev); pctldev 800 drivers/pinctrl/intel/pinctrl-merrifield.c static int mrfld_config_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 803 drivers/pinctrl/intel/pinctrl-merrifield.c struct mrfld_pinctrl *mp = pinctrl_dev_get_drvdata(pctldev); pctldev 830 drivers/pinctrl/intel/pinctrl-merrifield.c static int mrfld_config_group_get(struct pinctrl_dev *pctldev, pctldev 837 drivers/pinctrl/intel/pinctrl-merrifield.c ret = mrfld_get_group_pins(pctldev, group, &pins, &npins); pctldev 841 drivers/pinctrl/intel/pinctrl-merrifield.c ret = mrfld_config_get(pctldev, pins[0], config); pctldev 848 drivers/pinctrl/intel/pinctrl-merrifield.c static int mrfld_config_group_set(struct pinctrl_dev *pctldev, pctldev 856 drivers/pinctrl/intel/pinctrl-merrifield.c ret = mrfld_get_group_pins(pctldev, group, &pins, &npins); pctldev 861 drivers/pinctrl/intel/pinctrl-merrifield.c ret = mrfld_config_set(pctldev, pins[i], configs, num_configs); pctldev 932 drivers/pinctrl/intel/pinctrl-merrifield.c mp->pctldev = devm_pinctrl_register(&pdev->dev, &mp->pctldesc, mp); pctldev 933 drivers/pinctrl/intel/pinctrl-merrifield.c if (IS_ERR(mp->pctldev)) { pctldev 935 drivers/pinctrl/intel/pinctrl-merrifield.c return PTR_ERR(mp->pctldev); pctldev 38 drivers/pinctrl/mediatek/pinctrl-moore.c static int mtk_pinmux_set_mux(struct pinctrl_dev *pctldev, pctldev 41 drivers/pinctrl/mediatek/pinctrl-moore.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); pctldev 46 drivers/pinctrl/mediatek/pinctrl-moore.c func = pinmux_generic_get_function(pctldev, selector); pctldev 50 drivers/pinctrl/mediatek/pinctrl-moore.c grp = pinctrl_generic_get_group(pctldev, group); pctldev 54 drivers/pinctrl/mediatek/pinctrl-moore.c dev_dbg(pctldev->dev, "enable function %s group %s\n", pctldev 71 drivers/pinctrl/mediatek/pinctrl-moore.c static int mtk_pinmux_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 75 drivers/pinctrl/mediatek/pinctrl-moore.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); pctldev 84 drivers/pinctrl/mediatek/pinctrl-moore.c static int mtk_pinmux_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 88 drivers/pinctrl/mediatek/pinctrl-moore.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); pctldev 97 drivers/pinctrl/mediatek/pinctrl-moore.c static int mtk_pinconf_get(struct pinctrl_dev *pctldev, pctldev 100 drivers/pinctrl/mediatek/pinctrl-moore.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); pctldev 212 drivers/pinctrl/mediatek/pinctrl-moore.c static int mtk_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 215 drivers/pinctrl/mediatek/pinctrl-moore.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); pctldev 350 drivers/pinctrl/mediatek/pinctrl-moore.c static int mtk_pinconf_group_get(struct pinctrl_dev *pctldev, pctldev 357 drivers/pinctrl/mediatek/pinctrl-moore.c ret = pinctrl_generic_get_group_pins(pctldev, group, &pins, &npins); pctldev 362 drivers/pinctrl/mediatek/pinctrl-moore.c if (mtk_pinconf_get(pctldev, pins[i], config)) pctldev 375 drivers/pinctrl/mediatek/pinctrl-moore.c static int mtk_pinconf_group_set(struct pinctrl_dev *pctldev, pctldev 383 drivers/pinctrl/mediatek/pinctrl-moore.c ret = pinctrl_generic_get_group_pins(pctldev, group, &pins, &npins); pctldev 388 drivers/pinctrl/mediatek/pinctrl-moore.c ret = mtk_pinconf_set(pctldev, pins[i], configs, num_configs); pctldev 68 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_pmx_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 74 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 334 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_pconf_parse_conf(struct pinctrl_dev *pctldev, pctldev 339 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 352 drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_pmx_gpio_set_direction(pctldev, NULL, pin, true); pctldev 357 drivers/pinctrl/mediatek/pinctrl-mtk-common.c ret = mtk_pmx_gpio_set_direction(pctldev, NULL, pin, false); pctldev 360 drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_pmx_gpio_set_direction(pctldev, NULL, pin, true); pctldev 373 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_pconf_group_get(struct pinctrl_dev *pctldev, pctldev 377 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 384 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_pconf_group_set(struct pinctrl_dev *pctldev, unsigned group, pctldev 387 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 392 drivers/pinctrl/mediatek/pinctrl-mtk-common.c ret = mtk_pconf_parse_conf(pctldev, g->pin, pctldev 490 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_pctrl_dt_subnode_to_map(struct pinctrl_dev *pctldev, pctldev 505 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 514 drivers/pinctrl/mediatek/pinctrl-mtk-common.c err = pinconf_generic_parse_dt_config(node, pctldev, &configs, pctldev 537 drivers/pinctrl/mediatek/pinctrl-mtk-common.c err = pinctrl_utils_reserve_map(pctldev, map, pctldev 572 drivers/pinctrl/mediatek/pinctrl-mtk-common.c err = pinctrl_utils_add_map_configs(pctldev, map, pctldev 588 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_pctrl_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 601 drivers/pinctrl/mediatek/pinctrl-mtk-common.c ret = mtk_pctrl_dt_subnode_to_map(pctldev, np, map, pctldev 604 drivers/pinctrl/mediatek/pinctrl-mtk-common.c pinctrl_utils_free_map(pctldev, *map, *num_maps); pctldev 613 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_pctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 615 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 620 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static const char *mtk_pctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 623 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 628 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_pctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 633 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 649 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_pmx_get_funcs_cnt(struct pinctrl_dev *pctldev) pctldev 654 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static const char *mtk_pmx_get_func_name(struct pinctrl_dev *pctldev, pctldev 660 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_pmx_get_func_groups(struct pinctrl_dev *pctldev, pctldev 665 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 673 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_pmx_set_mode(struct pinctrl_dev *pctldev, pctldev 680 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 712 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_pmx_set_mux(struct pinctrl_dev *pctldev, pctldev 718 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 731 drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_pmx_set_mode(pctldev, g->pin, desc->muxval); pctldev 750 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_pmx_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 755 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 764 drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_pmx_set_mode(pctldev, offset, muxval); pctldev 50 drivers/pinctrl/mediatek/pinctrl-paris.c static int mtk_pinmux_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 54 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); pctldev 63 drivers/pinctrl/mediatek/pinctrl-paris.c static int mtk_pinmux_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 67 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); pctldev 76 drivers/pinctrl/mediatek/pinctrl-paris.c static int mtk_pinconf_get(struct pinctrl_dev *pctldev, pctldev 79 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); pctldev 200 drivers/pinctrl/mediatek/pinctrl-paris.c static int mtk_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 204 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); pctldev 425 drivers/pinctrl/mediatek/pinctrl-paris.c static int mtk_pctrl_dt_subnode_to_map(struct pinctrl_dev *pctldev, pctldev 431 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); pctldev 448 drivers/pinctrl/mediatek/pinctrl-paris.c err = pinconf_generic_parse_dt_config(node, pctldev, &configs, pctldev 471 drivers/pinctrl/mediatek/pinctrl-paris.c err = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, num_maps, pctldev 505 drivers/pinctrl/mediatek/pinctrl-paris.c err = pinctrl_utils_add_map_configs(pctldev, map, pctldev 524 drivers/pinctrl/mediatek/pinctrl-paris.c static int mtk_pctrl_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 538 drivers/pinctrl/mediatek/pinctrl-paris.c ret = mtk_pctrl_dt_subnode_to_map(pctldev, np, map, pctldev 542 drivers/pinctrl/mediatek/pinctrl-paris.c pinctrl_utils_free_map(pctldev, *map, *num_maps); pctldev 551 drivers/pinctrl/mediatek/pinctrl-paris.c static int mtk_pctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 553 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); pctldev 558 drivers/pinctrl/mediatek/pinctrl-paris.c static const char *mtk_pctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 561 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); pctldev 566 drivers/pinctrl/mediatek/pinctrl-paris.c static int mtk_pctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 570 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); pctldev 586 drivers/pinctrl/mediatek/pinctrl-paris.c static int mtk_pmx_get_funcs_cnt(struct pinctrl_dev *pctldev) pctldev 591 drivers/pinctrl/mediatek/pinctrl-paris.c static const char *mtk_pmx_get_func_name(struct pinctrl_dev *pctldev, pctldev 597 drivers/pinctrl/mediatek/pinctrl-paris.c static int mtk_pmx_get_func_groups(struct pinctrl_dev *pctldev, pctldev 602 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); pctldev 610 drivers/pinctrl/mediatek/pinctrl-paris.c static int mtk_pmx_set_mux(struct pinctrl_dev *pctldev, pctldev 614 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); pctldev 646 drivers/pinctrl/mediatek/pinctrl-paris.c static int mtk_pconf_group_get(struct pinctrl_dev *pctldev, unsigned group, pctldev 649 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); pctldev 656 drivers/pinctrl/mediatek/pinctrl-paris.c static int mtk_pconf_group_set(struct pinctrl_dev *pctldev, unsigned group, pctldev 659 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); pctldev 664 drivers/pinctrl/mediatek/pinctrl-paris.c ret = mtk_pinconf_set(pctldev, grp->pin, pctldev 248 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c static int armada_37xx_pin_config_group_get(struct pinctrl_dev *pctldev, pctldev 254 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c static int armada_37xx_pin_config_group_set(struct pinctrl_dev *pctldev, pctldev 267 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c static int armada_37xx_get_groups_count(struct pinctrl_dev *pctldev) pctldev 269 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c struct armada_37xx_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 274 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c static const char *armada_37xx_get_group_name(struct pinctrl_dev *pctldev, pctldev 277 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c struct armada_37xx_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 282 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c static int armada_37xx_get_group_pins(struct pinctrl_dev *pctldev, pctldev 287 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c struct armada_37xx_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 311 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c static int armada_37xx_pmx_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 313 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c struct armada_37xx_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 318 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c static const char *armada_37xx_pmx_get_func_name(struct pinctrl_dev *pctldev, pctldev 321 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c struct armada_37xx_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 326 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c static int armada_37xx_pmx_get_groups(struct pinctrl_dev *pctldev, pctldev 331 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c struct armada_37xx_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 339 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c static int armada_37xx_pmx_set_by_name(struct pinctrl_dev *pctldev, pctldev 343 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c struct armada_37xx_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 362 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c static int armada_37xx_pmx_set(struct pinctrl_dev *pctldev, pctldev 367 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c struct armada_37xx_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 371 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c return armada_37xx_pmx_set_by_name(pctldev, name, grp); pctldev 459 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c static int armada_37xx_pmx_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 463 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c struct armada_37xx_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 477 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c static int armada_37xx_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 481 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c struct armada_37xx_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 488 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c armada_37xx_pmx_set_by_name(pctldev, "gpio", group); pctldev 49 drivers/pinctrl/mvebu/pinctrl-mvebu.c struct pinctrl_dev *pctldev; pctldev 162 drivers/pinctrl/mvebu/pinctrl-mvebu.c static int mvebu_pinconf_group_get(struct pinctrl_dev *pctldev, pctldev 165 drivers/pinctrl/mvebu/pinctrl-mvebu.c struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 174 drivers/pinctrl/mvebu/pinctrl-mvebu.c static int mvebu_pinconf_group_set(struct pinctrl_dev *pctldev, pctldev 178 drivers/pinctrl/mvebu/pinctrl-mvebu.c struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 194 drivers/pinctrl/mvebu/pinctrl-mvebu.c static void mvebu_pinconf_group_dbg_show(struct pinctrl_dev *pctldev, pctldev 197 drivers/pinctrl/mvebu/pinctrl-mvebu.c struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 203 drivers/pinctrl/mvebu/pinctrl-mvebu.c if (mvebu_pinconf_group_get(pctldev, gid, &config)) pctldev 258 drivers/pinctrl/mvebu/pinctrl-mvebu.c static int mvebu_pinmux_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 260 drivers/pinctrl/mvebu/pinctrl-mvebu.c struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 265 drivers/pinctrl/mvebu/pinctrl-mvebu.c static const char *mvebu_pinmux_get_func_name(struct pinctrl_dev *pctldev, pctldev 268 drivers/pinctrl/mvebu/pinctrl-mvebu.c struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 273 drivers/pinctrl/mvebu/pinctrl-mvebu.c static int mvebu_pinmux_get_groups(struct pinctrl_dev *pctldev, unsigned fid, pctldev 277 drivers/pinctrl/mvebu/pinctrl-mvebu.c struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 284 drivers/pinctrl/mvebu/pinctrl-mvebu.c static int mvebu_pinmux_set(struct pinctrl_dev *pctldev, unsigned fid, pctldev 287 drivers/pinctrl/mvebu/pinctrl-mvebu.c struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 304 drivers/pinctrl/mvebu/pinctrl-mvebu.c ret = mvebu_pinconf_group_set(pctldev, grp->gid, &config, 1); pctldev 314 drivers/pinctrl/mvebu/pinctrl-mvebu.c static int mvebu_pinmux_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 317 drivers/pinctrl/mvebu/pinctrl-mvebu.c struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 335 drivers/pinctrl/mvebu/pinctrl-mvebu.c return mvebu_pinconf_group_set(pctldev, grp->gid, &config, 1); pctldev 338 drivers/pinctrl/mvebu/pinctrl-mvebu.c static int mvebu_pinmux_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 341 drivers/pinctrl/mvebu/pinctrl-mvebu.c struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 372 drivers/pinctrl/mvebu/pinctrl-mvebu.c static int mvebu_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 374 drivers/pinctrl/mvebu/pinctrl-mvebu.c struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 378 drivers/pinctrl/mvebu/pinctrl-mvebu.c static const char *mvebu_pinctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 381 drivers/pinctrl/mvebu/pinctrl-mvebu.c struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 385 drivers/pinctrl/mvebu/pinctrl-mvebu.c static int mvebu_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 389 drivers/pinctrl/mvebu/pinctrl-mvebu.c struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 395 drivers/pinctrl/mvebu/pinctrl-mvebu.c static int mvebu_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 400 drivers/pinctrl/mvebu/pinctrl-mvebu.c struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 454 drivers/pinctrl/mvebu/pinctrl-mvebu.c static void mvebu_pinctrl_dt_free_map(struct pinctrl_dev *pctldev, pctldev 736 drivers/pinctrl/mvebu/pinctrl-mvebu.c pctl->pctldev = devm_pinctrl_register(&pdev->dev, &pctl->desc, pctl); pctldev 737 drivers/pinctrl/mvebu/pinctrl-mvebu.c if (IS_ERR(pctl->pctldev)) { pctldev 739 drivers/pinctrl/mvebu/pinctrl-mvebu.c return PTR_ERR(pctl->pctldev); pctldev 746 drivers/pinctrl/mvebu/pinctrl-mvebu.c pinctrl_add_gpio_range(pctl->pctldev, &soc->gpioranges[n]); pctldev 81 drivers/pinctrl/nomadik/pinctrl-abx500.c struct pinctrl_dev *pctldev; pctldev 239 drivers/pinctrl/nomadik/pinctrl-abx500.c static int abx500_set_mode(struct pinctrl_dev *pctldev, struct gpio_chip *chip, pctldev 242 drivers/pinctrl/nomadik/pinctrl-abx500.c struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); pctldev 360 drivers/pinctrl/nomadik/pinctrl-abx500.c static int abx500_get_mode(struct pinctrl_dev *pctldev, struct gpio_chip *chip, pctldev 367 drivers/pinctrl/nomadik/pinctrl-abx500.c struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); pctldev 448 drivers/pinctrl/nomadik/pinctrl-abx500.c struct pinctrl_dev *pctldev, pctldev 452 drivers/pinctrl/nomadik/pinctrl-abx500.c struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); pctldev 493 drivers/pinctrl/nomadik/pinctrl-abx500.c mode = abx500_get_mode(pctldev, chip, offset); pctldev 507 drivers/pinctrl/nomadik/pinctrl-abx500.c struct pinctrl_dev *pctldev = pct->pctldev; pctldev 511 drivers/pinctrl/nomadik/pinctrl-abx500.c abx500_gpio_dbg_show_one(s, pctldev, chip, i + 1, gpio); pctldev 518 drivers/pinctrl/nomadik/pinctrl-abx500.c struct pinctrl_dev *pctldev, pctldev 539 drivers/pinctrl/nomadik/pinctrl-abx500.c static int abx500_pmx_get_funcs_cnt(struct pinctrl_dev *pctldev) pctldev 541 drivers/pinctrl/nomadik/pinctrl-abx500.c struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); pctldev 546 drivers/pinctrl/nomadik/pinctrl-abx500.c static const char *abx500_pmx_get_func_name(struct pinctrl_dev *pctldev, pctldev 549 drivers/pinctrl/nomadik/pinctrl-abx500.c struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); pctldev 554 drivers/pinctrl/nomadik/pinctrl-abx500.c static int abx500_pmx_get_func_groups(struct pinctrl_dev *pctldev, pctldev 559 drivers/pinctrl/nomadik/pinctrl-abx500.c struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); pctldev 567 drivers/pinctrl/nomadik/pinctrl-abx500.c static int abx500_pmx_set(struct pinctrl_dev *pctldev, unsigned function, pctldev 570 drivers/pinctrl/nomadik/pinctrl-abx500.c struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); pctldev 586 drivers/pinctrl/nomadik/pinctrl-abx500.c ret = abx500_set_mode(pctldev, chip, g->pins[i], g->altsetting); pctldev 595 drivers/pinctrl/nomadik/pinctrl-abx500.c static int abx500_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 599 drivers/pinctrl/nomadik/pinctrl-abx500.c struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); pctldev 624 drivers/pinctrl/nomadik/pinctrl-abx500.c ret = abx500_set_mode(pct->pctldev, &pct->chip, pctldev 632 drivers/pinctrl/nomadik/pinctrl-abx500.c static void abx500_gpio_disable_free(struct pinctrl_dev *pctldev, pctldev 647 drivers/pinctrl/nomadik/pinctrl-abx500.c static int abx500_get_groups_cnt(struct pinctrl_dev *pctldev) pctldev 649 drivers/pinctrl/nomadik/pinctrl-abx500.c struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); pctldev 654 drivers/pinctrl/nomadik/pinctrl-abx500.c static const char *abx500_get_group_name(struct pinctrl_dev *pctldev, pctldev 657 drivers/pinctrl/nomadik/pinctrl-abx500.c struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); pctldev 662 drivers/pinctrl/nomadik/pinctrl-abx500.c static int abx500_get_group_pins(struct pinctrl_dev *pctldev, pctldev 667 drivers/pinctrl/nomadik/pinctrl-abx500.c struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); pctldev 675 drivers/pinctrl/nomadik/pinctrl-abx500.c static void abx500_pin_dbg_show(struct pinctrl_dev *pctldev, pctldev 678 drivers/pinctrl/nomadik/pinctrl-abx500.c struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); pctldev 681 drivers/pinctrl/nomadik/pinctrl-abx500.c abx500_gpio_dbg_show_one(s, pctldev, chip, offset, pctldev 726 drivers/pinctrl/nomadik/pinctrl-abx500.c static const char *abx500_find_pin_name(struct pinctrl_dev *pctldev, pctldev 730 drivers/pinctrl/nomadik/pinctrl-abx500.c struct abx500_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); pctldev 739 drivers/pinctrl/nomadik/pinctrl-abx500.c static int abx500_dt_subnode_to_map(struct pinctrl_dev *pctldev, pctldev 759 drivers/pinctrl/nomadik/pinctrl-abx500.c ret = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, pctldev 772 drivers/pinctrl/nomadik/pinctrl-abx500.c ret = pinconf_generic_parse_dt_config(np, pctldev, &configs, &nconfigs); pctldev 781 drivers/pinctrl/nomadik/pinctrl-abx500.c ret = pinctrl_utils_reserve_map(pctldev, map, pctldev 788 drivers/pinctrl/nomadik/pinctrl-abx500.c gpio_name = abx500_find_pin_name(pctldev, pin); pctldev 801 drivers/pinctrl/nomadik/pinctrl-abx500.c static int abx500_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 814 drivers/pinctrl/nomadik/pinctrl-abx500.c ret = abx500_dt_subnode_to_map(pctldev, np, map, pctldev 817 drivers/pinctrl/nomadik/pinctrl-abx500.c pinctrl_utils_free_map(pctldev, *map, *num_maps); pctldev 835 drivers/pinctrl/nomadik/pinctrl-abx500.c static int abx500_pin_config_get(struct pinctrl_dev *pctldev, pctldev 842 drivers/pinctrl/nomadik/pinctrl-abx500.c static int abx500_pin_config_set(struct pinctrl_dev *pctldev, pctldev 847 drivers/pinctrl/nomadik/pinctrl-abx500.c struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); pctldev 1045 drivers/pinctrl/nomadik/pinctrl-abx500.c pct->pctldev = devm_pinctrl_register(&pdev->dev, &abx500_pinctrl_desc, pctldev 1047 drivers/pinctrl/nomadik/pinctrl-abx500.c if (IS_ERR(pct->pctldev)) { pctldev 1050 drivers/pinctrl/nomadik/pinctrl-abx500.c ret = PTR_ERR(pct->pctldev); pctldev 578 drivers/pinctrl/nomadik/pinctrl-nomadik.c static int __maybe_unused nmk_prcm_gpiocr_get_mode(struct pinctrl_dev *pctldev, int gpio) pctldev 583 drivers/pinctrl/nomadik/pinctrl-nomadik.c struct nmk_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); pctldev 931 drivers/pinctrl/nomadik/pinctrl-nomadik.c struct pinctrl_dev *pctldev, struct gpio_chip *chip, pctldev 961 drivers/pinctrl/nomadik/pinctrl-nomadik.c if ((mode == NMK_GPIO_ALT_C) && pctldev) pctldev 962 drivers/pinctrl/nomadik/pinctrl-nomadik.c mode = nmk_prcm_gpiocr_get_mode(pctldev, gpio); pctldev 1024 drivers/pinctrl/nomadik/pinctrl-nomadik.c struct pinctrl_dev *pctldev, pctldev 1208 drivers/pinctrl/nomadik/pinctrl-nomadik.c static int nmk_get_groups_cnt(struct pinctrl_dev *pctldev) pctldev 1210 drivers/pinctrl/nomadik/pinctrl-nomadik.c struct nmk_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); pctldev 1215 drivers/pinctrl/nomadik/pinctrl-nomadik.c static const char *nmk_get_group_name(struct pinctrl_dev *pctldev, pctldev 1218 drivers/pinctrl/nomadik/pinctrl-nomadik.c struct nmk_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); pctldev 1223 drivers/pinctrl/nomadik/pinctrl-nomadik.c static int nmk_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, pctldev 1227 drivers/pinctrl/nomadik/pinctrl-nomadik.c struct nmk_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); pctldev 1259 drivers/pinctrl/nomadik/pinctrl-nomadik.c static void nmk_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, pctldev 1268 drivers/pinctrl/nomadik/pinctrl-nomadik.c nmk_gpio_dbg_show_one(s, pctldev, chip, offset - chip->base, offset); pctldev 1394 drivers/pinctrl/nomadik/pinctrl-nomadik.c static const char *nmk_find_pin_name(struct pinctrl_dev *pctldev, const char *pin_name) pctldev 1397 drivers/pinctrl/nomadik/pinctrl-nomadik.c struct nmk_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); pctldev 1427 drivers/pinctrl/nomadik/pinctrl-nomadik.c static int nmk_pinctrl_dt_subnode_to_map(struct pinctrl_dev *pctldev, pctldev 1448 drivers/pinctrl/nomadik/pinctrl-nomadik.c ret = pinctrl_utils_reserve_map(pctldev, map, pctldev 1473 drivers/pinctrl/nomadik/pinctrl-nomadik.c ret = pinctrl_utils_reserve_map(pctldev, map, pctldev 1480 drivers/pinctrl/nomadik/pinctrl-nomadik.c gpio_name = nmk_find_pin_name(pctldev, pin); pctldev 1494 drivers/pinctrl/nomadik/pinctrl-nomadik.c static int nmk_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 1507 drivers/pinctrl/nomadik/pinctrl-nomadik.c ret = nmk_pinctrl_dt_subnode_to_map(pctldev, np, map, pctldev 1510 drivers/pinctrl/nomadik/pinctrl-nomadik.c pinctrl_utils_free_map(pctldev, *map, *num_maps); pctldev 1528 drivers/pinctrl/nomadik/pinctrl-nomadik.c static int nmk_pmx_get_funcs_cnt(struct pinctrl_dev *pctldev) pctldev 1530 drivers/pinctrl/nomadik/pinctrl-nomadik.c struct nmk_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); pctldev 1535 drivers/pinctrl/nomadik/pinctrl-nomadik.c static const char *nmk_pmx_get_func_name(struct pinctrl_dev *pctldev, pctldev 1538 drivers/pinctrl/nomadik/pinctrl-nomadik.c struct nmk_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); pctldev 1543 drivers/pinctrl/nomadik/pinctrl-nomadik.c static int nmk_pmx_get_func_groups(struct pinctrl_dev *pctldev, pctldev 1548 drivers/pinctrl/nomadik/pinctrl-nomadik.c struct nmk_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); pctldev 1556 drivers/pinctrl/nomadik/pinctrl-nomadik.c static int nmk_pmx_set(struct pinctrl_dev *pctldev, unsigned function, pctldev 1559 drivers/pinctrl/nomadik/pinctrl-nomadik.c struct nmk_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); pctldev 1665 drivers/pinctrl/nomadik/pinctrl-nomadik.c static int nmk_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 1669 drivers/pinctrl/nomadik/pinctrl-nomadik.c struct nmk_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); pctldev 1696 drivers/pinctrl/nomadik/pinctrl-nomadik.c static void nmk_gpio_disable_free(struct pinctrl_dev *pctldev, pctldev 1700 drivers/pinctrl/nomadik/pinctrl-nomadik.c struct nmk_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); pctldev 1716 drivers/pinctrl/nomadik/pinctrl-nomadik.c static int nmk_pin_config_get(struct pinctrl_dev *pctldev, unsigned pin, pctldev 1723 drivers/pinctrl/nomadik/pinctrl-nomadik.c static int nmk_pin_config_set(struct pinctrl_dev *pctldev, unsigned pin, pctldev 1736 drivers/pinctrl/nomadik/pinctrl-nomadik.c struct nmk_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); pctldev 92 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c struct pinctrl_dev *pctldev; pctldev 1501 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c static int npcm7xx_get_drive_strength(struct pinctrl_dev *pctldev, pctldev 1504 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c struct npcm7xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); pctldev 1554 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c static void npcm7xx_pin_dbg_show(struct pinctrl_dev *pctldev, pctldev 1560 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c static int npcm7xx_get_groups_count(struct pinctrl_dev *pctldev) pctldev 1562 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c struct npcm7xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); pctldev 1568 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c static const char *npcm7xx_get_group_name(struct pinctrl_dev *pctldev, pctldev 1574 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c static int npcm7xx_get_group_pins(struct pinctrl_dev *pctldev, pctldev 1585 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c static int npcm7xx_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 1590 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c struct npcm7xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); pctldev 1593 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c return pinconf_generic_dt_node_to_map(pctldev, np_config, pctldev 1598 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c static void npcm7xx_dt_free_map(struct pinctrl_dev *pctldev, pctldev 1614 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c static int npcm7xx_get_functions_count(struct pinctrl_dev *pctldev) pctldev 1619 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c static const char *npcm7xx_get_function_name(struct pinctrl_dev *pctldev, pctldev 1625 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c static int npcm7xx_get_function_groups(struct pinctrl_dev *pctldev, pctldev 1636 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c static int npcm7xx_pinmux_set_mux(struct pinctrl_dev *pctldev, pctldev 1640 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c struct npcm7xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); pctldev 1651 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c static int npcm7xx_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 1655 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c struct npcm7xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); pctldev 1672 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c static void npcm7xx_gpio_request_free(struct pinctrl_dev *pctldev, pctldev 1676 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c struct npcm7xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); pctldev 1685 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c static int npcm_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 1689 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c struct npcm7xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); pctldev 1715 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c static int npcm7xx_config_get(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 1719 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c struct npcm7xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); pctldev 1759 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c rc = npcm7xx_get_drive_strength(pctldev, pin); pctldev 1830 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c static int npcm7xx_config_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 1833 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c struct npcm7xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); pctldev 2027 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c pctrl->pctldev = devm_pinctrl_register(&pdev->dev, pctldev 2029 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c if (IS_ERR(pctrl->pctldev)) { pctldev 2031 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c return PTR_ERR(pctrl->pctldev); pctldev 55 drivers/pinctrl/pinconf-generic.c static void pinconf_generic_dump_one(struct pinctrl_dev *pctldev, pctldev 70 drivers/pinctrl/pinconf-generic.c ret = pin_config_group_get(dev_name(pctldev->dev), pctldev 73 drivers/pinctrl/pinconf-generic.c ret = pin_config_get_for_pin(pctldev, pin, &config); pctldev 109 drivers/pinctrl/pinconf-generic.c void pinconf_generic_dump_pins(struct pinctrl_dev *pctldev, struct seq_file *s, pctldev 112 drivers/pinctrl/pinconf-generic.c const struct pinconf_ops *ops = pctldev->desc->confops; pctldev 119 drivers/pinctrl/pinconf-generic.c pinconf_generic_dump_one(pctldev, s, gname, pin, conf_items, pctldev 122 drivers/pinctrl/pinconf-generic.c if (pctldev->desc->num_custom_params && pctldev 123 drivers/pinctrl/pinconf-generic.c pctldev->desc->custom_conf_items) pctldev 124 drivers/pinctrl/pinconf-generic.c pinconf_generic_dump_one(pctldev, s, gname, pin, pctldev 125 drivers/pinctrl/pinconf-generic.c pctldev->desc->custom_conf_items, pctldev 126 drivers/pinctrl/pinconf-generic.c pctldev->desc->num_custom_params, pctldev 130 drivers/pinctrl/pinconf-generic.c void pinconf_generic_dump_config(struct pinctrl_dev *pctldev, pctldev 142 drivers/pinctrl/pinconf-generic.c if (!pctldev->desc->num_custom_params || pctldev 143 drivers/pinctrl/pinconf-generic.c !pctldev->desc->custom_conf_items) pctldev 146 drivers/pinctrl/pinconf-generic.c for (i = 0; i < pctldev->desc->num_custom_params; i++) { pctldev 148 drivers/pinctrl/pinconf-generic.c pctldev->desc->custom_conf_items[i].param) pctldev 151 drivers/pinctrl/pinconf-generic.c pctldev->desc->custom_conf_items[i].display, pctldev 239 drivers/pinctrl/pinconf-generic.c struct pinctrl_dev *pctldev, pctldev 252 drivers/pinctrl/pinconf-generic.c if (pctldev) pctldev 253 drivers/pinctrl/pinconf-generic.c max_cfg += pctldev->desc->num_custom_params; pctldev 259 drivers/pinctrl/pinconf-generic.c if (pctldev && pctldev->desc->num_custom_params && pctldev 260 drivers/pinctrl/pinconf-generic.c pctldev->desc->custom_params) pctldev 261 drivers/pinctrl/pinconf-generic.c parse_dt_cfg(np, pctldev->desc->custom_params, pctldev 262 drivers/pinctrl/pinconf-generic.c pctldev->desc->num_custom_params, cfg, &ncfg); pctldev 290 drivers/pinctrl/pinconf-generic.c int pinconf_generic_dt_subnode_to_map(struct pinctrl_dev *pctldev, pctldev 297 drivers/pinctrl/pinconf-generic.c struct device *dev = pctldev->dev; pctldev 329 drivers/pinctrl/pinconf-generic.c ret = pinconf_generic_parse_dt_config(np, pctldev, &configs, pctldev 344 drivers/pinctrl/pinconf-generic.c ret = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, pctldev 351 drivers/pinctrl/pinconf-generic.c ret = pinctrl_utils_add_map_mux(pctldev, map, pctldev 359 drivers/pinctrl/pinconf-generic.c ret = pinctrl_utils_add_map_configs(pctldev, map, pctldev 374 drivers/pinctrl/pinconf-generic.c int pinconf_generic_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 386 drivers/pinctrl/pinconf-generic.c ret = pinconf_generic_dt_subnode_to_map(pctldev, np_config, map, pctldev 392 drivers/pinctrl/pinconf-generic.c ret = pinconf_generic_dt_subnode_to_map(pctldev, np, map, pctldev 400 drivers/pinctrl/pinconf-generic.c pinctrl_utils_free_map(pctldev, *map, *num_maps); pctldev 405 drivers/pinctrl/pinconf-generic.c void pinconf_generic_dt_free_map(struct pinctrl_dev *pctldev, pctldev 409 drivers/pinctrl/pinconf-generic.c pinctrl_utils_free_map(pctldev, map, num_maps); pctldev 25 drivers/pinctrl/pinconf.c int pinconf_check_ops(struct pinctrl_dev *pctldev) pctldev 27 drivers/pinctrl/pinconf.c const struct pinconf_ops *ops = pctldev->desc->confops; pctldev 31 drivers/pinctrl/pinconf.c dev_err(pctldev->dev, pctldev 56 drivers/pinctrl/pinconf.c int pin_config_get_for_pin(struct pinctrl_dev *pctldev, unsigned pin, pctldev 59 drivers/pinctrl/pinconf.c const struct pinconf_ops *ops = pctldev->desc->confops; pctldev 62 drivers/pinctrl/pinconf.c dev_dbg(pctldev->dev, pctldev 67 drivers/pinctrl/pinconf.c return ops->pin_config_get(pctldev, pin, config); pctldev 73 drivers/pinctrl/pinconf.c struct pinctrl_dev *pctldev; pctldev 77 drivers/pinctrl/pinconf.c pctldev = get_pinctrl_dev_from_devname(dev_name); pctldev 78 drivers/pinctrl/pinconf.c if (!pctldev) { pctldev 83 drivers/pinctrl/pinconf.c mutex_lock(&pctldev->mutex); pctldev 85 drivers/pinctrl/pinconf.c ops = pctldev->desc->confops; pctldev 88 drivers/pinctrl/pinconf.c dev_dbg(pctldev->dev, pctldev 94 drivers/pinctrl/pinconf.c selector = pinctrl_get_group_selector(pctldev, pin_group); pctldev 100 drivers/pinctrl/pinconf.c ret = ops->pin_config_group_get(pctldev, selector, config); pctldev 103 drivers/pinctrl/pinconf.c mutex_unlock(&pctldev->mutex); pctldev 110 drivers/pinctrl/pinconf.c struct pinctrl_dev *pctldev = setting->pctldev; pctldev 115 drivers/pinctrl/pinconf.c pin = pin_get_from_name(pctldev, pctldev 118 drivers/pinctrl/pinconf.c dev_err(pctldev->dev, "could not map pin config for \"%s\"", pctldev 125 drivers/pinctrl/pinconf.c pin = pinctrl_get_group_selector(pctldev, pctldev 128 drivers/pinctrl/pinconf.c dev_err(pctldev->dev, "could not map group config for \"%s\"", pctldev 150 drivers/pinctrl/pinconf.c struct pinctrl_dev *pctldev = setting->pctldev; pctldev 151 drivers/pinctrl/pinconf.c const struct pinconf_ops *ops = pctldev->desc->confops; pctldev 155 drivers/pinctrl/pinconf.c dev_err(pctldev->dev, "missing confops\n"); pctldev 162 drivers/pinctrl/pinconf.c dev_err(pctldev->dev, "missing pin_config_set op\n"); pctldev 165 drivers/pinctrl/pinconf.c ret = ops->pin_config_set(pctldev, pctldev 170 drivers/pinctrl/pinconf.c dev_err(pctldev->dev, pctldev 178 drivers/pinctrl/pinconf.c dev_err(pctldev->dev, pctldev 182 drivers/pinctrl/pinconf.c ret = ops->pin_config_group_set(pctldev, pctldev 187 drivers/pinctrl/pinconf.c dev_err(pctldev->dev, pctldev 200 drivers/pinctrl/pinconf.c int pinconf_set_config(struct pinctrl_dev *pctldev, unsigned pin, pctldev 205 drivers/pinctrl/pinconf.c ops = pctldev->desc->confops; pctldev 209 drivers/pinctrl/pinconf.c return ops->pin_config_set(pctldev, pin, configs, nconfigs); pctldev 214 drivers/pinctrl/pinconf.c static void pinconf_show_config(struct seq_file *s, struct pinctrl_dev *pctldev, pctldev 220 drivers/pinctrl/pinconf.c if (pctldev) pctldev 221 drivers/pinctrl/pinconf.c confops = pctldev->desc->confops; pctldev 228 drivers/pinctrl/pinconf.c confops->pin_config_config_dbg_show(pctldev, s, pctldev 238 drivers/pinctrl/pinconf.c struct pinctrl_dev *pctldev; pctldev 240 drivers/pinctrl/pinconf.c pctldev = get_pinctrl_dev_from_devname(map->ctrl_dev_name); pctldev 255 drivers/pinctrl/pinconf.c pinconf_show_config(s, pctldev, map->data.configs.configs, pctldev 262 drivers/pinctrl/pinconf.c struct pinctrl_dev *pctldev = setting->pctldev; pctldev 263 drivers/pinctrl/pinconf.c const struct pinctrl_ops *pctlops = pctldev->desc->pctlops; pctldev 268 drivers/pinctrl/pinconf.c desc = pin_desc_get(setting->pctldev, pctldev 275 drivers/pinctrl/pinconf.c pctlops->get_group_name(pctldev, pctldev 287 drivers/pinctrl/pinconf.c pinconf_show_config(s, pctldev, setting->data.configs.configs, pctldev 291 drivers/pinctrl/pinconf.c static void pinconf_dump_pin(struct pinctrl_dev *pctldev, pctldev 294 drivers/pinctrl/pinconf.c const struct pinconf_ops *ops = pctldev->desc->confops; pctldev 297 drivers/pinctrl/pinconf.c pinconf_generic_dump_pins(pctldev, s, NULL, pin); pctldev 299 drivers/pinctrl/pinconf.c ops->pin_config_dbg_show(pctldev, s, pin); pctldev 304 drivers/pinctrl/pinconf.c struct pinctrl_dev *pctldev = s->private; pctldev 310 drivers/pinctrl/pinconf.c mutex_lock(&pctldev->mutex); pctldev 313 drivers/pinctrl/pinconf.c for (i = 0; i < pctldev->desc->npins; i++) { pctldev 316 drivers/pinctrl/pinconf.c pin = pctldev->desc->pins[i].number; pctldev 317 drivers/pinctrl/pinconf.c desc = pin_desc_get(pctldev, pin); pctldev 324 drivers/pinctrl/pinconf.c pinconf_dump_pin(pctldev, s, pin); pctldev 328 drivers/pinctrl/pinconf.c mutex_unlock(&pctldev->mutex); pctldev 333 drivers/pinctrl/pinconf.c static void pinconf_dump_group(struct pinctrl_dev *pctldev, pctldev 337 drivers/pinctrl/pinconf.c const struct pinconf_ops *ops = pctldev->desc->confops; pctldev 340 drivers/pinctrl/pinconf.c pinconf_generic_dump_pins(pctldev, s, gname, 0); pctldev 342 drivers/pinctrl/pinconf.c ops->pin_config_group_dbg_show(pctldev, s, selector); pctldev 347 drivers/pinctrl/pinconf.c struct pinctrl_dev *pctldev = s->private; pctldev 348 drivers/pinctrl/pinconf.c const struct pinctrl_ops *pctlops = pctldev->desc->pctlops; pctldev 349 drivers/pinctrl/pinconf.c unsigned ngroups = pctlops->get_groups_count(pctldev); pctldev 356 drivers/pinctrl/pinconf.c const char *gname = pctlops->get_group_name(pctldev, selector); pctldev 359 drivers/pinctrl/pinconf.c pinconf_dump_group(pctldev, s, selector, gname); pctldev 371 drivers/pinctrl/pinconf.c struct pinctrl_dev *pctldev) pctldev 374 drivers/pinctrl/pinconf.c devroot, pctldev, &pinconf_pins_fops); pctldev 376 drivers/pinctrl/pinconf.c devroot, pctldev, &pinconf_groups_fops); pctldev 15 drivers/pinctrl/pinconf.h int pinconf_check_ops(struct pinctrl_dev *pctldev); pctldev 22 drivers/pinctrl/pinconf.h int pinconf_set_config(struct pinctrl_dev *pctldev, unsigned pin, pctldev 29 drivers/pinctrl/pinconf.h int pin_config_get_for_pin(struct pinctrl_dev *pctldev, unsigned pin, pctldev 36 drivers/pinctrl/pinconf.h static inline int pinconf_check_ops(struct pinctrl_dev *pctldev) pctldev 61 drivers/pinctrl/pinconf.h static inline int pinconf_set_config(struct pinctrl_dev *pctldev, unsigned pin, pctldev 75 drivers/pinctrl/pinconf.h struct pinctrl_dev *pctldev); pctldev 90 drivers/pinctrl/pinconf.h struct pinctrl_dev *pctldev) pctldev 103 drivers/pinctrl/pinconf.h void pinconf_generic_dump_pins(struct pinctrl_dev *pctldev, pctldev 107 drivers/pinctrl/pinconf.h void pinconf_generic_dump_config(struct pinctrl_dev *pctldev, pctldev 111 drivers/pinctrl/pinconf.h static inline void pinconf_generic_dump_pins(struct pinctrl_dev *pctldev, pctldev 118 drivers/pinctrl/pinconf.h static inline void pinconf_generic_dump_config(struct pinctrl_dev *pctldev, pctldev 128 drivers/pinctrl/pinconf.h struct pinctrl_dev *pctldev, pctldev 604 drivers/pinctrl/pinctrl-amd.c static int amd_get_groups_count(struct pinctrl_dev *pctldev) pctldev 606 drivers/pinctrl/pinctrl-amd.c struct amd_gpio *gpio_dev = pinctrl_dev_get_drvdata(pctldev); pctldev 611 drivers/pinctrl/pinctrl-amd.c static const char *amd_get_group_name(struct pinctrl_dev *pctldev, pctldev 614 drivers/pinctrl/pinctrl-amd.c struct amd_gpio *gpio_dev = pinctrl_dev_get_drvdata(pctldev); pctldev 619 drivers/pinctrl/pinctrl-amd.c static int amd_get_group_pins(struct pinctrl_dev *pctldev, pctldev 624 drivers/pinctrl/pinctrl-amd.c struct amd_gpio *gpio_dev = pinctrl_dev_get_drvdata(pctldev); pctldev 641 drivers/pinctrl/pinctrl-amd.c static int amd_pinconf_get(struct pinctrl_dev *pctldev, pctldev 648 drivers/pinctrl/pinctrl-amd.c struct amd_gpio *gpio_dev = pinctrl_dev_get_drvdata(pctldev); pctldev 682 drivers/pinctrl/pinctrl-amd.c static int amd_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 691 drivers/pinctrl/pinctrl-amd.c struct amd_gpio *gpio_dev = pinctrl_dev_get_drvdata(pctldev); pctldev 737 drivers/pinctrl/pinctrl-amd.c static int amd_pinconf_group_get(struct pinctrl_dev *pctldev, pctldev 745 drivers/pinctrl/pinctrl-amd.c ret = amd_get_group_pins(pctldev, group, &pins, &npins); pctldev 749 drivers/pinctrl/pinctrl-amd.c if (amd_pinconf_get(pctldev, pins[0], config)) pctldev 755 drivers/pinctrl/pinctrl-amd.c static int amd_pinconf_group_set(struct pinctrl_dev *pctldev, pctldev 763 drivers/pinctrl/pinctrl-amd.c ret = amd_get_group_pins(pctldev, group, &pins, &npins); pctldev 767 drivers/pinctrl/pinctrl-amd.c if (amd_pinconf_set(pctldev, pins[i], configs, num_configs)) pctldev 424 drivers/pinctrl/pinctrl-artpec6.c static int artpec6_get_groups_count(struct pinctrl_dev *pctldev) pctldev 429 drivers/pinctrl/pinctrl-artpec6.c static const char *artpec6_get_group_name(struct pinctrl_dev *pctldev, pctldev 435 drivers/pinctrl/pinctrl-artpec6.c static int artpec6_get_group_pins(struct pinctrl_dev *pctldev, pctldev 632 drivers/pinctrl/pinctrl-artpec6.c static int artpec6_pmx_get_functions_count(struct pinctrl_dev *pctldev) pctldev 637 drivers/pinctrl/pinctrl-artpec6.c static const char *artpec6_pmx_get_fname(struct pinctrl_dev *pctldev, pctldev 643 drivers/pinctrl/pinctrl-artpec6.c static int artpec6_pmx_get_fgroups(struct pinctrl_dev *pctldev, pctldev 653 drivers/pinctrl/pinctrl-artpec6.c static void artpec6_pmx_select_func(struct pinctrl_dev *pctldev, pctldev 660 drivers/pinctrl/pinctrl-artpec6.c struct artpec6_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 670 drivers/pinctrl/pinctrl-artpec6.c if (!strcmp(artpec6_pmx_get_fname(pctldev, function), "gpio")) { pctldev 691 drivers/pinctrl/pinctrl-artpec6.c static int artpec6_pmx_set(struct pinctrl_dev *pctldev, pctldev 695 drivers/pinctrl/pinctrl-artpec6.c struct artpec6_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 698 drivers/pinctrl/pinctrl-artpec6.c artpec6_pmx_get_fname(pctldev, function), pctldev 699 drivers/pinctrl/pinctrl-artpec6.c artpec6_get_group_name(pctldev, group)); pctldev 701 drivers/pinctrl/pinctrl-artpec6.c artpec6_pmx_select_func(pctldev, function, group, true); pctldev 706 drivers/pinctrl/pinctrl-artpec6.c static int artpec6_pmx_request_gpio(struct pinctrl_dev *pctldev, pctldev 710 drivers/pinctrl/pinctrl-artpec6.c struct artpec6_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 733 drivers/pinctrl/pinctrl-artpec6.c static int artpec6_pconf_get(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 736 drivers/pinctrl/pinctrl-artpec6.c struct artpec6_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 794 drivers/pinctrl/pinctrl-artpec6.c static int artpec6_pconf_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 797 drivers/pinctrl/pinctrl-artpec6.c struct artpec6_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 832 drivers/pinctrl/pinctrl-artpec6.c dev_dbg(pctldev->dev, "%s: arg %u out of range\n", pctldev 845 drivers/pinctrl/pinctrl-artpec6.c dev_dbg(pctldev->dev, "%s: arg %u out of range\n", pctldev 859 drivers/pinctrl/pinctrl-artpec6.c dev_dbg(pctldev->dev, "%s: arg %u out of range\n", pctldev 879 drivers/pinctrl/pinctrl-artpec6.c static int artpec6_pconf_group_set(struct pinctrl_dev *pctldev, pctldev 886 drivers/pinctrl/pinctrl-artpec6.c dev_dbg(pctldev->dev, "setting group %s configuration\n", pctldev 887 drivers/pinctrl/pinctrl-artpec6.c artpec6_get_group_name(pctldev, group)); pctldev 892 drivers/pinctrl/pinctrl-artpec6.c ret = artpec6_pconf_set(pctldev, pctldev 174 drivers/pinctrl/pinctrl-as3722.c static int as3722_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 176 drivers/pinctrl/pinctrl-as3722.c struct as3722_pctrl_info *as_pci = pinctrl_dev_get_drvdata(pctldev); pctldev 181 drivers/pinctrl/pinctrl-as3722.c static const char *as3722_pinctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 184 drivers/pinctrl/pinctrl-as3722.c struct as3722_pctrl_info *as_pci = pinctrl_dev_get_drvdata(pctldev); pctldev 189 drivers/pinctrl/pinctrl-as3722.c static int as3722_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 192 drivers/pinctrl/pinctrl-as3722.c struct as3722_pctrl_info *as_pci = pinctrl_dev_get_drvdata(pctldev); pctldev 207 drivers/pinctrl/pinctrl-as3722.c static int as3722_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 209 drivers/pinctrl/pinctrl-as3722.c struct as3722_pctrl_info *as_pci = pinctrl_dev_get_drvdata(pctldev); pctldev 214 drivers/pinctrl/pinctrl-as3722.c static const char *as3722_pinctrl_get_func_name(struct pinctrl_dev *pctldev, pctldev 217 drivers/pinctrl/pinctrl-as3722.c struct as3722_pctrl_info *as_pci = pinctrl_dev_get_drvdata(pctldev); pctldev 222 drivers/pinctrl/pinctrl-as3722.c static int as3722_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, pctldev 226 drivers/pinctrl/pinctrl-as3722.c struct as3722_pctrl_info *as_pci = pinctrl_dev_get_drvdata(pctldev); pctldev 233 drivers/pinctrl/pinctrl-as3722.c static int as3722_pinctrl_set(struct pinctrl_dev *pctldev, unsigned function, pctldev 236 drivers/pinctrl/pinctrl-as3722.c struct as3722_pctrl_info *as_pci = pinctrl_dev_get_drvdata(pctldev); pctldev 297 drivers/pinctrl/pinctrl-as3722.c static int as3722_pinctrl_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 300 drivers/pinctrl/pinctrl-as3722.c struct as3722_pctrl_info *as_pci = pinctrl_dev_get_drvdata(pctldev); pctldev 307 drivers/pinctrl/pinctrl-as3722.c static int as3722_pinctrl_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 310 drivers/pinctrl/pinctrl-as3722.c struct as3722_pctrl_info *as_pci = pinctrl_dev_get_drvdata(pctldev); pctldev 335 drivers/pinctrl/pinctrl-as3722.c static int as3722_pinconf_get(struct pinctrl_dev *pctldev, pctldev 338 drivers/pinctrl/pinctrl-as3722.c struct as3722_pctrl_info *as_pci = pinctrl_dev_get_drvdata(pctldev); pctldev 380 drivers/pinctrl/pinctrl-as3722.c static int as3722_pinconf_set(struct pinctrl_dev *pctldev, pctldev 384 drivers/pinctrl/pinctrl-as3722.c struct as3722_pctrl_info *as_pci = pinctrl_dev_get_drvdata(pctldev); pctldev 371 drivers/pinctrl/pinctrl-at91-pio4.c static unsigned int atmel_pin_config_read(struct pinctrl_dev *pctldev, pctldev 374 drivers/pinctrl/pinctrl-at91-pio4.c struct atmel_pioctrl *atmel_pioctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 387 drivers/pinctrl/pinctrl-at91-pio4.c static void atmel_pin_config_write(struct pinctrl_dev *pctldev, pctldev 390 drivers/pinctrl/pinctrl-at91-pio4.c struct atmel_pioctrl *atmel_pioctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 402 drivers/pinctrl/pinctrl-at91-pio4.c static int atmel_pctl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 404 drivers/pinctrl/pinctrl-at91-pio4.c struct atmel_pioctrl *atmel_pioctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 409 drivers/pinctrl/pinctrl-at91-pio4.c static const char *atmel_pctl_get_group_name(struct pinctrl_dev *pctldev, pctldev 412 drivers/pinctrl/pinctrl-at91-pio4.c struct atmel_pioctrl *atmel_pioctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 417 drivers/pinctrl/pinctrl-at91-pio4.c static int atmel_pctl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 421 drivers/pinctrl/pinctrl-at91-pio4.c struct atmel_pioctrl *atmel_pioctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 430 drivers/pinctrl/pinctrl-at91-pio4.c atmel_pctl_find_group_by_pin(struct pinctrl_dev *pctldev, unsigned pin) pctldev 432 drivers/pinctrl/pinctrl-at91-pio4.c struct atmel_pioctrl *atmel_pioctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 445 drivers/pinctrl/pinctrl-at91-pio4.c static int atmel_pctl_xlate_pinfunc(struct pinctrl_dev *pctldev, pctldev 450 drivers/pinctrl/pinctrl-at91-pio4.c struct atmel_pioctrl *atmel_pioctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 462 drivers/pinctrl/pinctrl-at91-pio4.c grp = atmel_pctl_find_group_by_pin(pctldev, pin_id); pctldev 478 drivers/pinctrl/pinctrl-at91-pio4.c static int atmel_pctl_dt_subnode_to_map(struct pinctrl_dev *pctldev, pctldev 494 drivers/pinctrl/pinctrl-at91-pio4.c ret = pinconf_generic_parse_dt_config(np, pctldev, &configs, pctldev 497 drivers/pinctrl/pinctrl-at91-pio4.c dev_err(pctldev->dev, "%pOF: could not parse node property\n", pctldev 504 drivers/pinctrl/pinctrl-at91-pio4.c dev_err(pctldev->dev, "no pins found in node %pOF\n", np); pctldev 517 drivers/pinctrl/pinctrl-at91-pio4.c ret = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, num_maps, pctldev 529 drivers/pinctrl/pinctrl-at91-pio4.c ret = atmel_pctl_xlate_pinfunc(pctldev, np, pinfunc, &group, pctldev 534 drivers/pinctrl/pinctrl-at91-pio4.c pinctrl_utils_add_map_mux(pctldev, map, reserved_maps, num_maps, pctldev 538 drivers/pinctrl/pinctrl-at91-pio4.c ret = pinctrl_utils_add_map_configs(pctldev, map, pctldev 552 drivers/pinctrl/pinctrl-at91-pio4.c static int atmel_pctl_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 570 drivers/pinctrl/pinctrl-at91-pio4.c ret = atmel_pctl_dt_subnode_to_map(pctldev, np_config, map, pctldev 574 drivers/pinctrl/pinctrl-at91-pio4.c ret = atmel_pctl_dt_subnode_to_map(pctldev, np, map, pctldev 584 drivers/pinctrl/pinctrl-at91-pio4.c pinctrl_utils_free_map(pctldev, *map, *num_maps); pctldev 585 drivers/pinctrl/pinctrl-at91-pio4.c dev_err(pctldev->dev, "can't create maps for node %pOF\n", pctldev 600 drivers/pinctrl/pinctrl-at91-pio4.c static int atmel_pmx_get_functions_count(struct pinctrl_dev *pctldev) pctldev 605 drivers/pinctrl/pinctrl-at91-pio4.c static const char *atmel_pmx_get_function_name(struct pinctrl_dev *pctldev, pctldev 611 drivers/pinctrl/pinctrl-at91-pio4.c static int atmel_pmx_get_function_groups(struct pinctrl_dev *pctldev, pctldev 616 drivers/pinctrl/pinctrl-at91-pio4.c struct atmel_pioctrl *atmel_pioctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 624 drivers/pinctrl/pinctrl-at91-pio4.c static int atmel_pmx_set_mux(struct pinctrl_dev *pctldev, pctldev 628 drivers/pinctrl/pinctrl-at91-pio4.c struct atmel_pioctrl *atmel_pioctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 632 drivers/pinctrl/pinctrl-at91-pio4.c dev_dbg(pctldev->dev, "enable function %s group %s\n", pctldev 636 drivers/pinctrl/pinctrl-at91-pio4.c conf = atmel_pin_config_read(pctldev, pin); pctldev 639 drivers/pinctrl/pinctrl-at91-pio4.c dev_dbg(pctldev->dev, "pin: %u, conf: 0x%08x\n", pin, conf); pctldev 640 drivers/pinctrl/pinctrl-at91-pio4.c atmel_pin_config_write(pctldev, pin, conf); pctldev 652 drivers/pinctrl/pinctrl-at91-pio4.c static int atmel_conf_pin_config_group_get(struct pinctrl_dev *pctldev, pctldev 656 drivers/pinctrl/pinctrl-at91-pio4.c struct atmel_pioctrl *atmel_pioctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 662 drivers/pinctrl/pinctrl-at91-pio4.c res = atmel_pin_config_read(pctldev, pin_id); pctldev 705 drivers/pinctrl/pinctrl-at91-pio4.c static int atmel_conf_pin_config_group_set(struct pinctrl_dev *pctldev, pctldev 710 drivers/pinctrl/pinctrl-at91-pio4.c struct atmel_pioctrl *atmel_pioctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 716 drivers/pinctrl/pinctrl-at91-pio4.c conf = atmel_pin_config_read(pctldev, pin_id); pctldev 722 drivers/pinctrl/pinctrl-at91-pio4.c dev_dbg(pctldev->dev, "%s: pin=%u, config=0x%lx\n", pctldev 791 drivers/pinctrl/pinctrl-at91-pio4.c dev_warn(pctldev->dev, "drive strength not updated (incorrect value)\n"); pctldev 795 drivers/pinctrl/pinctrl-at91-pio4.c dev_warn(pctldev->dev, pctldev 802 drivers/pinctrl/pinctrl-at91-pio4.c dev_dbg(pctldev->dev, "%s: reg=0x%08x\n", __func__, conf); pctldev 803 drivers/pinctrl/pinctrl-at91-pio4.c atmel_pin_config_write(pctldev, pin_id, conf); pctldev 808 drivers/pinctrl/pinctrl-at91-pio4.c static void atmel_conf_pin_config_dbg_show(struct pinctrl_dev *pctldev, pctldev 811 drivers/pinctrl/pinctrl-at91-pio4.c struct atmel_pioctrl *atmel_pioctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 822 drivers/pinctrl/pinctrl-at91-pio4.c conf = atmel_pin_config_read(pctldev, pin_id); pctldev 229 drivers/pinctrl/pinctrl-at91.c static int at91_get_groups_count(struct pinctrl_dev *pctldev) pctldev 231 drivers/pinctrl/pinctrl-at91.c struct at91_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 236 drivers/pinctrl/pinctrl-at91.c static const char *at91_get_group_name(struct pinctrl_dev *pctldev, pctldev 239 drivers/pinctrl/pinctrl-at91.c struct at91_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 244 drivers/pinctrl/pinctrl-at91.c static int at91_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, pctldev 248 drivers/pinctrl/pinctrl-at91.c struct at91_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 259 drivers/pinctrl/pinctrl-at91.c static void at91_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, pctldev 262 drivers/pinctrl/pinctrl-at91.c seq_printf(s, "%s", dev_name(pctldev->dev)); pctldev 265 drivers/pinctrl/pinctrl-at91.c static int at91_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 269 drivers/pinctrl/pinctrl-at91.c struct at91_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 288 drivers/pinctrl/pinctrl-at91.c new_map = devm_kcalloc(pctldev->dev, map_num, sizeof(*new_map), pctldev 299 drivers/pinctrl/pinctrl-at91.c devm_kfree(pctldev->dev, new_map); pctldev 312 drivers/pinctrl/pinctrl-at91.c pin_get_name(pctldev, grp->pins[i]); pctldev 317 drivers/pinctrl/pinctrl-at91.c dev_dbg(pctldev->dev, "maps: function %s group %s num %d\n", pctldev 323 drivers/pinctrl/pinctrl-at91.c static void at91_dt_free_map(struct pinctrl_dev *pctldev, pctldev 820 drivers/pinctrl/pinctrl-at91.c static int at91_pmx_set(struct pinctrl_dev *pctldev, unsigned selector, pctldev 823 drivers/pinctrl/pinctrl-at91.c struct at91_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 881 drivers/pinctrl/pinctrl-at91.c static int at91_pmx_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 883 drivers/pinctrl/pinctrl-at91.c struct at91_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 888 drivers/pinctrl/pinctrl-at91.c static const char *at91_pmx_get_func_name(struct pinctrl_dev *pctldev, pctldev 891 drivers/pinctrl/pinctrl-at91.c struct at91_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 896 drivers/pinctrl/pinctrl-at91.c static int at91_pmx_get_groups(struct pinctrl_dev *pctldev, unsigned selector, pctldev 900 drivers/pinctrl/pinctrl-at91.c struct at91_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 908 drivers/pinctrl/pinctrl-at91.c static int at91_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 912 drivers/pinctrl/pinctrl-at91.c struct at91_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); pctldev 940 drivers/pinctrl/pinctrl-at91.c static void at91_gpio_disable_free(struct pinctrl_dev *pctldev, pctldev 944 drivers/pinctrl/pinctrl-at91.c struct at91_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); pctldev 959 drivers/pinctrl/pinctrl-at91.c static int at91_pinconf_get(struct pinctrl_dev *pctldev, pctldev 962 drivers/pinctrl/pinctrl-at91.c struct at91_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 1002 drivers/pinctrl/pinctrl-at91.c static int at91_pinconf_set(struct pinctrl_dev *pctldev, pctldev 1006 drivers/pinctrl/pinctrl-at91.c struct at91_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 1074 drivers/pinctrl/pinctrl-at91.c static void at91_pinconf_dbg_show(struct pinctrl_dev *pctldev, pctldev 1080 drivers/pinctrl/pinctrl-at91.c at91_pinconf_get(pctldev, pin_id, &config); pctldev 1103 drivers/pinctrl/pinctrl-at91.c static void at91_pinconf_group_dbg_show(struct pinctrl_dev *pctldev, pctldev 185 drivers/pinctrl/pinctrl-axp209.c static int axp20x_pmx_set(struct pinctrl_dev *pctldev, unsigned int offset, pctldev 188 drivers/pinctrl/pinctrl-axp209.c struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 199 drivers/pinctrl/pinctrl-axp209.c static int axp20x_pmx_func_cnt(struct pinctrl_dev *pctldev) pctldev 201 drivers/pinctrl/pinctrl-axp209.c struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 206 drivers/pinctrl/pinctrl-axp209.c static const char *axp20x_pmx_func_name(struct pinctrl_dev *pctldev, pctldev 209 drivers/pinctrl/pinctrl-axp209.c struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 214 drivers/pinctrl/pinctrl-axp209.c static int axp20x_pmx_func_groups(struct pinctrl_dev *pctldev, pctldev 219 drivers/pinctrl/pinctrl-axp209.c struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 227 drivers/pinctrl/pinctrl-axp209.c static int axp20x_pmx_set_mux(struct pinctrl_dev *pctldev, pctldev 230 drivers/pinctrl/pinctrl-axp209.c struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 235 drivers/pinctrl/pinctrl-axp209.c return axp20x_pmx_set(pctldev, group, pctldev 255 drivers/pinctrl/pinctrl-axp209.c return axp20x_pmx_set(pctldev, group, pctl->funcs[function].muxval); pctldev 258 drivers/pinctrl/pinctrl-axp209.c static int axp20x_pmx_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 262 drivers/pinctrl/pinctrl-axp209.c struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 265 drivers/pinctrl/pinctrl-axp209.c return axp20x_pmx_set(pctldev, offset, pctldev 268 drivers/pinctrl/pinctrl-axp209.c return axp20x_pmx_set(pctldev, offset, pctldev 281 drivers/pinctrl/pinctrl-axp209.c static int axp20x_groups_cnt(struct pinctrl_dev *pctldev) pctldev 283 drivers/pinctrl/pinctrl-axp209.c struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 288 drivers/pinctrl/pinctrl-axp209.c static int axp20x_group_pins(struct pinctrl_dev *pctldev, unsigned int selector, pctldev 291 drivers/pinctrl/pinctrl-axp209.c struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 299 drivers/pinctrl/pinctrl-axp209.c static const char *axp20x_group_name(struct pinctrl_dev *pctldev, pctldev 302 drivers/pinctrl/pinctrl-axp209.c struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 916 drivers/pinctrl/pinctrl-bm1880.c static int bm1880_pctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 918 drivers/pinctrl/pinctrl-bm1880.c struct bm1880_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 923 drivers/pinctrl/pinctrl-bm1880.c static const char *bm1880_pctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 926 drivers/pinctrl/pinctrl-bm1880.c struct bm1880_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 931 drivers/pinctrl/pinctrl-bm1880.c static int bm1880_pctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 936 drivers/pinctrl/pinctrl-bm1880.c struct bm1880_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 953 drivers/pinctrl/pinctrl-bm1880.c static int bm1880_pmux_get_functions_count(struct pinctrl_dev *pctldev) pctldev 955 drivers/pinctrl/pinctrl-bm1880.c struct bm1880_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 960 drivers/pinctrl/pinctrl-bm1880.c static const char *bm1880_pmux_get_function_name(struct pinctrl_dev *pctldev, pctldev 963 drivers/pinctrl/pinctrl-bm1880.c struct bm1880_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 968 drivers/pinctrl/pinctrl-bm1880.c static int bm1880_pmux_get_function_groups(struct pinctrl_dev *pctldev, pctldev 973 drivers/pinctrl/pinctrl-bm1880.c struct bm1880_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 980 drivers/pinctrl/pinctrl-bm1880.c static int bm1880_pinmux_set_mux(struct pinctrl_dev *pctldev, pctldev 984 drivers/pinctrl/pinctrl-bm1880.c struct bm1880_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 1148 drivers/pinctrl/pinctrl-bm1880.c static int bm1880_pinconf_cfg_get(struct pinctrl_dev *pctldev, pctldev 1152 drivers/pinctrl/pinctrl-bm1880.c struct bm1880_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 1200 drivers/pinctrl/pinctrl-bm1880.c static int bm1880_pinconf_cfg_set(struct pinctrl_dev *pctldev, pctldev 1205 drivers/pinctrl/pinctrl-bm1880.c struct bm1880_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 1253 drivers/pinctrl/pinctrl-bm1880.c dev_warn(pctldev->dev, pctldev 1265 drivers/pinctrl/pinctrl-bm1880.c static int bm1880_pinconf_group_set(struct pinctrl_dev *pctldev, pctldev 1271 drivers/pinctrl/pinctrl-bm1880.c struct bm1880_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 1275 drivers/pinctrl/pinctrl-bm1880.c ret = bm1880_pinconf_cfg_set(pctldev, pgrp->pins[i], configs, pctldev 35 drivers/pinctrl/pinctrl-da850-pupd.c static int da850_pupd_get_groups_count(struct pinctrl_dev *pctldev) pctldev 40 drivers/pinctrl/pinctrl-da850-pupd.c static const char *da850_pupd_get_group_name(struct pinctrl_dev *pctldev, pctldev 46 drivers/pinctrl/pinctrl-da850-pupd.c static int da850_pupd_get_group_pins(struct pinctrl_dev *pctldev, pctldev 64 drivers/pinctrl/pinctrl-da850-pupd.c static int da850_pupd_pin_config_group_get(struct pinctrl_dev *pctldev, pctldev 68 drivers/pinctrl/pinctrl-da850-pupd.c struct da850_pupd_data *data = pinctrl_dev_get_drvdata(pctldev); pctldev 100 drivers/pinctrl/pinctrl-da850-pupd.c static int da850_pupd_pin_config_group_set(struct pinctrl_dev *pctldev, pctldev 105 drivers/pinctrl/pinctrl-da850-pupd.c struct da850_pupd_data *data = pinctrl_dev_get_drvdata(pctldev); pctldev 51 drivers/pinctrl/pinctrl-digicolor.c static int dc_get_groups_count(struct pinctrl_dev *pctldev) pctldev 56 drivers/pinctrl/pinctrl-digicolor.c static const char *dc_get_group_name(struct pinctrl_dev *pctldev, pctldev 59 drivers/pinctrl/pinctrl-digicolor.c struct dc_pinmap *pmap = pinctrl_dev_get_drvdata(pctldev); pctldev 65 drivers/pinctrl/pinctrl-digicolor.c static int dc_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, pctldev 69 drivers/pinctrl/pinctrl-digicolor.c struct dc_pinmap *pmap = pinctrl_dev_get_drvdata(pctldev); pctldev 92 drivers/pinctrl/pinctrl-digicolor.c static int dc_get_functions_count(struct pinctrl_dev *pctldev) pctldev 97 drivers/pinctrl/pinctrl-digicolor.c static const char *dc_get_fname(struct pinctrl_dev *pctldev, unsigned selector) pctldev 102 drivers/pinctrl/pinctrl-digicolor.c static int dc_get_groups(struct pinctrl_dev *pctldev, unsigned selector, pctldev 106 drivers/pinctrl/pinctrl-digicolor.c struct dc_pinmap *pmap = pinctrl_dev_get_drvdata(pctldev); pctldev 125 drivers/pinctrl/pinctrl-digicolor.c static int dc_set_mux(struct pinctrl_dev *pctldev, unsigned selector, pctldev 128 drivers/pinctrl/pinctrl-digicolor.c struct dc_pinmap *pmap = pinctrl_dev_get_drvdata(pctldev); pctldev 1956 drivers/pinctrl/pinctrl-gemini.c static int gemini_get_groups_count(struct pinctrl_dev *pctldev) pctldev 1958 drivers/pinctrl/pinctrl-gemini.c struct gemini_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 1967 drivers/pinctrl/pinctrl-gemini.c static const char *gemini_get_group_name(struct pinctrl_dev *pctldev, pctldev 1970 drivers/pinctrl/pinctrl-gemini.c struct gemini_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 1979 drivers/pinctrl/pinctrl-gemini.c static int gemini_get_group_pins(struct pinctrl_dev *pctldev, pctldev 1984 drivers/pinctrl/pinctrl-gemini.c struct gemini_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 2012 drivers/pinctrl/pinctrl-gemini.c static void gemini_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, pctldev 2187 drivers/pinctrl/pinctrl-gemini.c static int gemini_pmx_set_mux(struct pinctrl_dev *pctldev, pctldev 2198 drivers/pinctrl/pinctrl-gemini.c pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 2275 drivers/pinctrl/pinctrl-gemini.c static int gemini_pmx_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 2280 drivers/pinctrl/pinctrl-gemini.c static const char *gemini_pmx_get_func_name(struct pinctrl_dev *pctldev, pctldev 2286 drivers/pinctrl/pinctrl-gemini.c static int gemini_pmx_get_groups(struct pinctrl_dev *pctldev, pctldev 2377 drivers/pinctrl/pinctrl-gemini.c static int gemini_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 2380 drivers/pinctrl/pinctrl-gemini.c struct gemini_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 2402 drivers/pinctrl/pinctrl-gemini.c static int gemini_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 2405 drivers/pinctrl/pinctrl-gemini.c struct gemini_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 2441 drivers/pinctrl/pinctrl-gemini.c static int gemini_pinconf_group_set(struct pinctrl_dev *pctldev, pctldev 2446 drivers/pinctrl/pinctrl-gemini.c struct gemini_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 1692 drivers/pinctrl/pinctrl-ingenic.c static int ingenic_pinmux_set_mux(struct pinctrl_dev *pctldev, pctldev 1695 drivers/pinctrl/pinctrl-ingenic.c struct ingenic_pinctrl *jzpc = pinctrl_dev_get_drvdata(pctldev); pctldev 1700 drivers/pinctrl/pinctrl-ingenic.c func = pinmux_generic_get_function(pctldev, selector); pctldev 1704 drivers/pinctrl/pinctrl-ingenic.c grp = pinctrl_generic_get_group(pctldev, group); pctldev 1708 drivers/pinctrl/pinctrl-ingenic.c dev_dbg(pctldev->dev, "enable function %s group %s\n", pctldev 1720 drivers/pinctrl/pinctrl-ingenic.c static int ingenic_pinmux_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 1724 drivers/pinctrl/pinctrl-ingenic.c struct ingenic_pinctrl *jzpc = pinctrl_dev_get_drvdata(pctldev); pctldev 1728 drivers/pinctrl/pinctrl-ingenic.c dev_dbg(pctldev->dev, "set pin P%c%u to %sput\n", pctldev 1757 drivers/pinctrl/pinctrl-ingenic.c static int ingenic_pinconf_get(struct pinctrl_dev *pctldev, pctldev 1760 drivers/pinctrl/pinctrl-ingenic.c struct ingenic_pinctrl *jzpc = pinctrl_dev_get_drvdata(pctldev); pctldev 1804 drivers/pinctrl/pinctrl-ingenic.c static int ingenic_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 1807 drivers/pinctrl/pinctrl-ingenic.c struct ingenic_pinctrl *jzpc = pinctrl_dev_get_drvdata(pctldev); pctldev 1855 drivers/pinctrl/pinctrl-ingenic.c static int ingenic_pinconf_group_get(struct pinctrl_dev *pctldev, pctldev 1862 drivers/pinctrl/pinctrl-ingenic.c ret = pinctrl_generic_get_group_pins(pctldev, group, &pins, &npins); pctldev 1867 drivers/pinctrl/pinctrl-ingenic.c if (ingenic_pinconf_get(pctldev, pins[i], config)) pctldev 1880 drivers/pinctrl/pinctrl-ingenic.c static int ingenic_pinconf_group_set(struct pinctrl_dev *pctldev, pctldev 1888 drivers/pinctrl/pinctrl-ingenic.c ret = pinctrl_generic_get_group_pins(pctldev, group, &pins, &npins); pctldev 1893 drivers/pinctrl/pinctrl-ingenic.c ret = ingenic_pinconf_set(pctldev, pctldev 46 drivers/pinctrl/pinctrl-lantiq.c static void ltq_pinctrl_dt_free_map(struct pinctrl_dev *pctldev, pctldev 58 drivers/pinctrl/pinctrl-lantiq.c static void ltq_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, pctldev 62 drivers/pinctrl/pinctrl-lantiq.c seq_printf(s, " %s", dev_name(pctldev->dev)); pctldev 65 drivers/pinctrl/pinctrl-lantiq.c static void ltq_pinctrl_dt_subnode_to_map(struct pinctrl_dev *pctldev, pctldev 69 drivers/pinctrl/pinctrl-lantiq.c struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctldev); pctldev 80 drivers/pinctrl/pinctrl-lantiq.c dev_err(pctldev->dev, "%pOFn defines neither pins nor groups\n", pctldev 86 drivers/pinctrl/pinctrl-lantiq.c dev_err(pctldev->dev, "%pOFn defines both pins and groups\n", pctldev 147 drivers/pinctrl/pinctrl-lantiq.c static int ltq_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 165 drivers/pinctrl/pinctrl-lantiq.c ltq_pinctrl_dt_subnode_to_map(pctldev, np, &tmp); pctldev 721 drivers/pinctrl/pinctrl-lpc18xx.c static int lpc18xx_pin_to_gpio(struct pinctrl_dev *pctldev, unsigned pin) pctldev 725 drivers/pinctrl/pinctrl-lpc18xx.c range = pinctrl_find_gpio_range_from_pin_nolock(pctldev, pin); pctldev 759 drivers/pinctrl/pinctrl-lpc18xx.c static int lpc18xx_pconf_get_gpio_pin_int(struct pinctrl_dev *pctldev, pctldev 762 drivers/pinctrl/pinctrl-lpc18xx.c struct lpc18xx_scu_data *scu = pinctrl_dev_get_drvdata(pctldev); pctldev 766 drivers/pinctrl/pinctrl-lpc18xx.c gpio = lpc18xx_pin_to_gpio(pctldev, pin); pctldev 784 drivers/pinctrl/pinctrl-lpc18xx.c static int lpc18xx_pconf_get_pin(struct pinctrl_dev *pctldev, unsigned param, pctldev 851 drivers/pinctrl/pinctrl-lpc18xx.c return lpc18xx_pconf_get_gpio_pin_int(pctldev, arg, pin); pctldev 872 drivers/pinctrl/pinctrl-lpc18xx.c static int lpc18xx_pconf_get(struct pinctrl_dev *pctldev, unsigned pin, pctldev 875 drivers/pinctrl/pinctrl-lpc18xx.c struct lpc18xx_scu_data *scu = pinctrl_dev_get_drvdata(pctldev); pctldev 892 drivers/pinctrl/pinctrl-lpc18xx.c ret = lpc18xx_pconf_get_pin(pctldev, param, &arg, reg, pin, pin_cap); pctldev 902 drivers/pinctrl/pinctrl-lpc18xx.c static int lpc18xx_pconf_set_usb1(struct pinctrl_dev *pctldev, pctldev 923 drivers/pinctrl/pinctrl-lpc18xx.c dev_err(pctldev->dev, "Property not supported\n"); pctldev 930 drivers/pinctrl/pinctrl-lpc18xx.c static int lpc18xx_pconf_set_i2c0(struct pinctrl_dev *pctldev, pctldev 974 drivers/pinctrl/pinctrl-lpc18xx.c dev_err(pctldev->dev, "Property not supported\n"); pctldev 981 drivers/pinctrl/pinctrl-lpc18xx.c static int lpc18xx_pconf_set_gpio_pin_int(struct pinctrl_dev *pctldev, pctldev 984 drivers/pinctrl/pinctrl-lpc18xx.c struct lpc18xx_scu_data *scu = pinctrl_dev_get_drvdata(pctldev); pctldev 991 drivers/pinctrl/pinctrl-lpc18xx.c gpio = lpc18xx_pin_to_gpio(pctldev, pin); pctldev 1007 drivers/pinctrl/pinctrl-lpc18xx.c static int lpc18xx_pconf_set_pin(struct pinctrl_dev *pctldev, unsigned param, pctldev 1034 drivers/pinctrl/pinctrl-lpc18xx.c dev_err(pctldev->dev, "Slew rate unsupported on high-drive pins\n"); pctldev 1053 drivers/pinctrl/pinctrl-lpc18xx.c dev_err(pctldev->dev, "Drive strength available only on high-drive pins\n"); pctldev 1068 drivers/pinctrl/pinctrl-lpc18xx.c dev_err(pctldev->dev, "Drive strength %u unsupported\n", param_val); pctldev 1075 drivers/pinctrl/pinctrl-lpc18xx.c return lpc18xx_pconf_set_gpio_pin_int(pctldev, param_val, pin); pctldev 1078 drivers/pinctrl/pinctrl-lpc18xx.c dev_err(pctldev->dev, "Property not supported\n"); pctldev 1085 drivers/pinctrl/pinctrl-lpc18xx.c static int lpc18xx_pconf_set(struct pinctrl_dev *pctldev, unsigned pin, pctldev 1088 drivers/pinctrl/pinctrl-lpc18xx.c struct lpc18xx_scu_data *scu = pinctrl_dev_get_drvdata(pctldev); pctldev 1107 drivers/pinctrl/pinctrl-lpc18xx.c ret = lpc18xx_pconf_set_i2c0(pctldev, param, param_val, ®, pin); pctldev 1109 drivers/pinctrl/pinctrl-lpc18xx.c ret = lpc18xx_pconf_set_usb1(pctldev, param, param_val, ®); pctldev 1111 drivers/pinctrl/pinctrl-lpc18xx.c ret = lpc18xx_pconf_set_pin(pctldev, param, param_val, ®, pin, pin_cap); pctldev 1128 drivers/pinctrl/pinctrl-lpc18xx.c static int lpc18xx_pmx_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 1133 drivers/pinctrl/pinctrl-lpc18xx.c static const char *lpc18xx_pmx_get_func_name(struct pinctrl_dev *pctldev, pctldev 1139 drivers/pinctrl/pinctrl-lpc18xx.c static int lpc18xx_pmx_get_func_groups(struct pinctrl_dev *pctldev, pctldev 1144 drivers/pinctrl/pinctrl-lpc18xx.c struct lpc18xx_scu_data *scu = pinctrl_dev_get_drvdata(pctldev); pctldev 1152 drivers/pinctrl/pinctrl-lpc18xx.c static int lpc18xx_pmx_set(struct pinctrl_dev *pctldev, unsigned function, pctldev 1155 drivers/pinctrl/pinctrl-lpc18xx.c struct lpc18xx_scu_data *scu = pinctrl_dev_get_drvdata(pctldev); pctldev 1216 drivers/pinctrl/pinctrl-lpc18xx.c dev_err(pctldev->dev, "Pin %s can't be %s\n", lpc18xx_pins[group].name, pctldev 1228 drivers/pinctrl/pinctrl-lpc18xx.c static int lpc18xx_pctl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 1233 drivers/pinctrl/pinctrl-lpc18xx.c static const char *lpc18xx_pctl_get_group_name(struct pinctrl_dev *pctldev, pctldev 1239 drivers/pinctrl/pinctrl-lpc18xx.c static int lpc18xx_pctl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 175 drivers/pinctrl/pinctrl-max77620.c static int max77620_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 177 drivers/pinctrl/pinctrl-max77620.c struct max77620_pctrl_info *mpci = pinctrl_dev_get_drvdata(pctldev); pctldev 183 drivers/pinctrl/pinctrl-max77620.c struct pinctrl_dev *pctldev, unsigned int group) pctldev 185 drivers/pinctrl/pinctrl-max77620.c struct max77620_pctrl_info *mpci = pinctrl_dev_get_drvdata(pctldev); pctldev 191 drivers/pinctrl/pinctrl-max77620.c struct pinctrl_dev *pctldev, unsigned int group, pctldev 194 drivers/pinctrl/pinctrl-max77620.c struct max77620_pctrl_info *mpci = pinctrl_dev_get_drvdata(pctldev); pctldev 210 drivers/pinctrl/pinctrl-max77620.c static int max77620_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 212 drivers/pinctrl/pinctrl-max77620.c struct max77620_pctrl_info *mpci = pinctrl_dev_get_drvdata(pctldev); pctldev 217 drivers/pinctrl/pinctrl-max77620.c static const char *max77620_pinctrl_get_func_name(struct pinctrl_dev *pctldev, pctldev 220 drivers/pinctrl/pinctrl-max77620.c struct max77620_pctrl_info *mpci = pinctrl_dev_get_drvdata(pctldev); pctldev 225 drivers/pinctrl/pinctrl-max77620.c static int max77620_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, pctldev 230 drivers/pinctrl/pinctrl-max77620.c struct max77620_pctrl_info *mpci = pinctrl_dev_get_drvdata(pctldev); pctldev 238 drivers/pinctrl/pinctrl-max77620.c static int max77620_pinctrl_enable(struct pinctrl_dev *pctldev, pctldev 241 drivers/pinctrl/pinctrl-max77620.c struct max77620_pctrl_info *mpci = pinctrl_dev_get_drvdata(pctldev); pctldev 269 drivers/pinctrl/pinctrl-max77620.c static int max77620_pinconf_get(struct pinctrl_dev *pctldev, pctldev 272 drivers/pinctrl/pinctrl-max77620.c struct max77620_pctrl_info *mpci = pinctrl_dev_get_drvdata(pctldev); pctldev 392 drivers/pinctrl/pinctrl-max77620.c static int max77620_pinconf_set(struct pinctrl_dev *pctldev, pctldev 396 drivers/pinctrl/pinctrl-max77620.c struct max77620_pctrl_info *mpci = pinctrl_dev_get_drvdata(pctldev); pctldev 77 drivers/pinctrl/pinctrl-mcp23s08.c struct pinctrl_dev *pctldev; pctldev 225 drivers/pinctrl/pinctrl-mcp23s08.c static int mcp_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 230 drivers/pinctrl/pinctrl-mcp23s08.c static const char *mcp_pinctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 236 drivers/pinctrl/pinctrl-mcp23s08.c static int mcp_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 254 drivers/pinctrl/pinctrl-mcp23s08.c static int mcp_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 257 drivers/pinctrl/pinctrl-mcp23s08.c struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); pctldev 278 drivers/pinctrl/pinctrl-mcp23s08.c static int mcp_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 281 drivers/pinctrl/pinctrl-mcp23s08.c struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); pctldev 836 drivers/pinctrl/pinctrl-mcp23s08.c mcp->pctldev = devm_pinctrl_register(dev, &mcp->pinctrl_desc, mcp); pctldev 837 drivers/pinctrl/pinctrl-mcp23s08.c if (IS_ERR(mcp->pctldev)) { pctldev 838 drivers/pinctrl/pinctrl-mcp23s08.c ret = PTR_ERR(mcp->pctldev); pctldev 361 drivers/pinctrl/pinctrl-ocelot.c static int ocelot_get_functions_count(struct pinctrl_dev *pctldev) pctldev 366 drivers/pinctrl/pinctrl-ocelot.c static const char *ocelot_get_function_name(struct pinctrl_dev *pctldev, pctldev 372 drivers/pinctrl/pinctrl-ocelot.c static int ocelot_get_function_groups(struct pinctrl_dev *pctldev, pctldev 377 drivers/pinctrl/pinctrl-ocelot.c struct ocelot_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 401 drivers/pinctrl/pinctrl-ocelot.c static int ocelot_pinmux_set_mux(struct pinctrl_dev *pctldev, pctldev 404 drivers/pinctrl/pinctrl-ocelot.c struct ocelot_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 430 drivers/pinctrl/pinctrl-ocelot.c static int ocelot_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 434 drivers/pinctrl/pinctrl-ocelot.c struct ocelot_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 443 drivers/pinctrl/pinctrl-ocelot.c static int ocelot_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 447 drivers/pinctrl/pinctrl-ocelot.c struct ocelot_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 467 drivers/pinctrl/pinctrl-ocelot.c static int ocelot_pctl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 469 drivers/pinctrl/pinctrl-ocelot.c struct ocelot_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 474 drivers/pinctrl/pinctrl-ocelot.c static const char *ocelot_pctl_get_group_name(struct pinctrl_dev *pctldev, pctldev 477 drivers/pinctrl/pinctrl-ocelot.c struct ocelot_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 482 drivers/pinctrl/pinctrl-ocelot.c static int ocelot_pctl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 487 drivers/pinctrl/pinctrl-ocelot.c struct ocelot_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 90 drivers/pinctrl/pinctrl-oxnas.c struct pinctrl_dev *pctldev; pctldev 523 drivers/pinctrl/pinctrl-oxnas.c static int oxnas_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 525 drivers/pinctrl/pinctrl-oxnas.c struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 530 drivers/pinctrl/pinctrl-oxnas.c static const char *oxnas_pinctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 533 drivers/pinctrl/pinctrl-oxnas.c struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 538 drivers/pinctrl/pinctrl-oxnas.c static int oxnas_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 543 drivers/pinctrl/pinctrl-oxnas.c struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 559 drivers/pinctrl/pinctrl-oxnas.c static int oxnas_pinmux_get_functions_count(struct pinctrl_dev *pctldev) pctldev 561 drivers/pinctrl/pinctrl-oxnas.c struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 567 drivers/pinctrl/pinctrl-oxnas.c oxnas_pinmux_get_function_name(struct pinctrl_dev *pctldev, unsigned int func) pctldev 569 drivers/pinctrl/pinctrl-oxnas.c struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 574 drivers/pinctrl/pinctrl-oxnas.c static int oxnas_pinmux_get_function_groups(struct pinctrl_dev *pctldev, pctldev 579 drivers/pinctrl/pinctrl-oxnas.c struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 587 drivers/pinctrl/pinctrl-oxnas.c static int oxnas_ox810se_pinmux_enable(struct pinctrl_dev *pctldev, pctldev 590 drivers/pinctrl/pinctrl-oxnas.c struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 637 drivers/pinctrl/pinctrl-oxnas.c static int oxnas_ox820_pinmux_enable(struct pinctrl_dev *pctldev, pctldev 640 drivers/pinctrl/pinctrl-oxnas.c struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 692 drivers/pinctrl/pinctrl-oxnas.c static int oxnas_ox810se_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 696 drivers/pinctrl/pinctrl-oxnas.c struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 722 drivers/pinctrl/pinctrl-oxnas.c static int oxnas_ox820_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 726 drivers/pinctrl/pinctrl-oxnas.c struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 805 drivers/pinctrl/pinctrl-oxnas.c static int oxnas_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 837 drivers/pinctrl/pinctrl-oxnas.c static int oxnas_ox810se_pinconf_get(struct pinctrl_dev *pctldev, pctldev 840 drivers/pinctrl/pinctrl-oxnas.c struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 868 drivers/pinctrl/pinctrl-oxnas.c static int oxnas_ox820_pinconf_get(struct pinctrl_dev *pctldev, pctldev 871 drivers/pinctrl/pinctrl-oxnas.c struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 898 drivers/pinctrl/pinctrl-oxnas.c static int oxnas_ox810se_pinconf_set(struct pinctrl_dev *pctldev, pctldev 902 drivers/pinctrl/pinctrl-oxnas.c struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 934 drivers/pinctrl/pinctrl-oxnas.c static int oxnas_ox820_pinconf_set(struct pinctrl_dev *pctldev, pctldev 938 drivers/pinctrl/pinctrl-oxnas.c struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 1183 drivers/pinctrl/pinctrl-oxnas.c pctl->pctldev = pinctrl_register(data->desc, &pdev->dev, pctl); pctldev 1184 drivers/pinctrl/pinctrl-oxnas.c if (IS_ERR(pctl->pctldev)) { pctldev 1186 drivers/pinctrl/pinctrl-oxnas.c return PTR_ERR(pctl->pctldev); pctldev 629 drivers/pinctrl/pinctrl-palmas.c static int palmas_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 631 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 636 drivers/pinctrl/pinctrl-palmas.c static const char *palmas_pinctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 639 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 644 drivers/pinctrl/pinctrl-palmas.c static int palmas_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 647 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 662 drivers/pinctrl/pinctrl-palmas.c static int palmas_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 664 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 669 drivers/pinctrl/pinctrl-palmas.c static const char *palmas_pinctrl_get_func_name(struct pinctrl_dev *pctldev, pctldev 672 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 677 drivers/pinctrl/pinctrl-palmas.c static int palmas_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, pctldev 681 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 688 drivers/pinctrl/pinctrl-palmas.c static int palmas_pinctrl_set_mux(struct pinctrl_dev *pctldev, pctldev 692 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 749 drivers/pinctrl/pinctrl-palmas.c static int palmas_pinconf_get(struct pinctrl_dev *pctldev, pctldev 752 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 857 drivers/pinctrl/pinctrl-palmas.c static int palmas_pinconf_set(struct pinctrl_dev *pctldev, pctldev 861 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 71 drivers/pinctrl/pinctrl-pic32.c struct pinctrl_dev *pctldev; pctldev 1705 drivers/pinctrl/pinctrl-pic32.c static int pic32_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 1707 drivers/pinctrl/pinctrl-pic32.c struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 1712 drivers/pinctrl/pinctrl-pic32.c static const char *pic32_pinctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 1715 drivers/pinctrl/pinctrl-pic32.c struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 1720 drivers/pinctrl/pinctrl-pic32.c static int pic32_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 1725 drivers/pinctrl/pinctrl-pic32.c struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 1741 drivers/pinctrl/pinctrl-pic32.c static int pic32_pinmux_get_functions_count(struct pinctrl_dev *pctldev) pctldev 1743 drivers/pinctrl/pinctrl-pic32.c struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 1749 drivers/pinctrl/pinctrl-pic32.c pic32_pinmux_get_function_name(struct pinctrl_dev *pctldev, unsigned func) pctldev 1751 drivers/pinctrl/pinctrl-pic32.c struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 1756 drivers/pinctrl/pinctrl-pic32.c static int pic32_pinmux_get_function_groups(struct pinctrl_dev *pctldev, pctldev 1761 drivers/pinctrl/pinctrl-pic32.c struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 1769 drivers/pinctrl/pinctrl-pic32.c static int pic32_pinmux_enable(struct pinctrl_dev *pctldev, pctldev 1772 drivers/pinctrl/pinctrl-pic32.c struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 1797 drivers/pinctrl/pinctrl-pic32.c static int pic32_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 1801 drivers/pinctrl/pinctrl-pic32.c struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 1855 drivers/pinctrl/pinctrl-pic32.c static int pic32_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 1878 drivers/pinctrl/pinctrl-pic32.c static int pic32_pinconf_get(struct pinctrl_dev *pctldev, unsigned pin, pctldev 1881 drivers/pinctrl/pinctrl-pic32.c struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 1919 drivers/pinctrl/pinctrl-pic32.c static int pic32_pinconf_set(struct pinctrl_dev *pctldev, unsigned pin, pctldev 1922 drivers/pinctrl/pinctrl-pic32.c struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 2189 drivers/pinctrl/pinctrl-pic32.c pctl->pctldev = devm_pinctrl_register(&pdev->dev, &pic32_pinctrl_desc, pctldev 2191 drivers/pinctrl/pinctrl-pic32.c if (IS_ERR(pctl->pctldev)) { pctldev 2193 drivers/pinctrl/pinctrl-pic32.c return PTR_ERR(pctl->pctldev); pctldev 105 drivers/pinctrl/pinctrl-pistachio.c struct pinctrl_dev *pctldev; pctldev 879 drivers/pinctrl/pinctrl-pistachio.c static int pistachio_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 881 drivers/pinctrl/pinctrl-pistachio.c struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 886 drivers/pinctrl/pinctrl-pistachio.c static const char *pistachio_pinctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 889 drivers/pinctrl/pinctrl-pistachio.c struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 894 drivers/pinctrl/pinctrl-pistachio.c static int pistachio_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 899 drivers/pinctrl/pinctrl-pistachio.c struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 915 drivers/pinctrl/pinctrl-pistachio.c static int pistachio_pinmux_get_functions_count(struct pinctrl_dev *pctldev) pctldev 917 drivers/pinctrl/pinctrl-pistachio.c struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 923 drivers/pinctrl/pinctrl-pistachio.c pistachio_pinmux_get_function_name(struct pinctrl_dev *pctldev, unsigned func) pctldev 925 drivers/pinctrl/pinctrl-pistachio.c struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 930 drivers/pinctrl/pinctrl-pistachio.c static int pistachio_pinmux_get_function_groups(struct pinctrl_dev *pctldev, pctldev 935 drivers/pinctrl/pinctrl-pistachio.c struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 943 drivers/pinctrl/pinctrl-pistachio.c static int pistachio_pinmux_enable(struct pinctrl_dev *pctldev, pctldev 946 drivers/pinctrl/pinctrl-pistachio.c struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 984 drivers/pinctrl/pinctrl-pistachio.c range = pinctrl_find_gpio_range_from_pin(pctl->pctldev, pg->pin); pctldev 998 drivers/pinctrl/pinctrl-pistachio.c static int pistachio_pinconf_get(struct pinctrl_dev *pctldev, unsigned pin, pctldev 1001 drivers/pinctrl/pinctrl-pistachio.c struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 1063 drivers/pinctrl/pinctrl-pistachio.c static int pistachio_pinconf_set(struct pinctrl_dev *pctldev, unsigned pin, pctldev 1066 drivers/pinctrl/pinctrl-pistachio.c struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 1457 drivers/pinctrl/pinctrl-pistachio.c pctl->pctldev = devm_pinctrl_register(&pdev->dev, &pistachio_pinctrl_desc, pctldev 1459 drivers/pinctrl/pinctrl-pistachio.c if (IS_ERR(pctl->pctldev)) { pctldev 1461 drivers/pinctrl/pinctrl-pistachio.c return PTR_ERR(pctl->pctldev); pctldev 215 drivers/pinctrl/pinctrl-rk805.c static int rk805_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 217 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 222 drivers/pinctrl/pinctrl-rk805.c static const char *rk805_pinctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 225 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 230 drivers/pinctrl/pinctrl-rk805.c static int rk805_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 235 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 251 drivers/pinctrl/pinctrl-rk805.c static int rk805_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 253 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 258 drivers/pinctrl/pinctrl-rk805.c static const char *rk805_pinctrl_get_func_name(struct pinctrl_dev *pctldev, pctldev 261 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 266 drivers/pinctrl/pinctrl-rk805.c static int rk805_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, pctldev 271 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 279 drivers/pinctrl/pinctrl-rk805.c static int _rk805_pinctrl_set_mux(struct pinctrl_dev *pctldev, pctldev 283 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 306 drivers/pinctrl/pinctrl-rk805.c static int rk805_pinctrl_set_mux(struct pinctrl_dev *pctldev, pctldev 310 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 314 drivers/pinctrl/pinctrl-rk805.c return _rk805_pinctrl_set_mux(pctldev, offset, mux); pctldev 317 drivers/pinctrl/pinctrl-rk805.c static int rk805_pmx_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 321 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 325 drivers/pinctrl/pinctrl-rk805.c ret = _rk805_pinctrl_set_mux(pctldev, offset, RK805_PINMUX_GPIO); pctldev 355 drivers/pinctrl/pinctrl-rk805.c static int rk805_pinconf_get(struct pinctrl_dev *pctldev, pctldev 358 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 376 drivers/pinctrl/pinctrl-rk805.c static int rk805_pinconf_set(struct pinctrl_dev *pctldev, pctldev 380 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pctldev 391 drivers/pinctrl/pinctrl-rk805.c rk805_pmx_gpio_set_direction(pctldev, NULL, pin, false); pctldev 456 drivers/pinctrl/pinctrl-rockchip.c static int rockchip_get_groups_count(struct pinctrl_dev *pctldev) pctldev 458 drivers/pinctrl/pinctrl-rockchip.c struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 463 drivers/pinctrl/pinctrl-rockchip.c static const char *rockchip_get_group_name(struct pinctrl_dev *pctldev, pctldev 466 drivers/pinctrl/pinctrl-rockchip.c struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 471 drivers/pinctrl/pinctrl-rockchip.c static int rockchip_get_group_pins(struct pinctrl_dev *pctldev, pctldev 475 drivers/pinctrl/pinctrl-rockchip.c struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 486 drivers/pinctrl/pinctrl-rockchip.c static int rockchip_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 490 drivers/pinctrl/pinctrl-rockchip.c struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 509 drivers/pinctrl/pinctrl-rockchip.c new_map = devm_kcalloc(pctldev->dev, map_num, sizeof(*new_map), pctldev 520 drivers/pinctrl/pinctrl-rockchip.c devm_kfree(pctldev->dev, new_map); pctldev 533 drivers/pinctrl/pinctrl-rockchip.c pin_get_name(pctldev, grp->pins[i]); pctldev 538 drivers/pinctrl/pinctrl-rockchip.c dev_dbg(pctldev->dev, "maps: function %s group %s num %d\n", pctldev 544 drivers/pinctrl/pinctrl-rockchip.c static void rockchip_dt_free_map(struct pinctrl_dev *pctldev, pctldev 2137 drivers/pinctrl/pinctrl-rockchip.c static int rockchip_pmx_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 2139 drivers/pinctrl/pinctrl-rockchip.c struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 2144 drivers/pinctrl/pinctrl-rockchip.c static const char *rockchip_pmx_get_func_name(struct pinctrl_dev *pctldev, pctldev 2147 drivers/pinctrl/pinctrl-rockchip.c struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 2152 drivers/pinctrl/pinctrl-rockchip.c static int rockchip_pmx_get_groups(struct pinctrl_dev *pctldev, pctldev 2156 drivers/pinctrl/pinctrl-rockchip.c struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 2164 drivers/pinctrl/pinctrl-rockchip.c static int rockchip_pmx_set(struct pinctrl_dev *pctldev, unsigned selector, pctldev 2167 drivers/pinctrl/pinctrl-rockchip.c struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 2253 drivers/pinctrl/pinctrl-rockchip.c static int rockchip_pmx_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 2257 drivers/pinctrl/pinctrl-rockchip.c struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 2308 drivers/pinctrl/pinctrl-rockchip.c static int rockchip_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 2311 drivers/pinctrl/pinctrl-rockchip.c struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 2381 drivers/pinctrl/pinctrl-rockchip.c static int rockchip_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 2384 drivers/pinctrl/pinctrl-rockchip.c struct rockchip_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 893 drivers/pinctrl/pinctrl-rza1.c struct pinctrl_dev *pctldev = rza1_pctl->pctl; pctldev 914 drivers/pinctrl/pinctrl-rza1.c ret = pinconf_generic_parse_dt_config(np, pctldev, &pin_configs, pctldev 982 drivers/pinctrl/pinctrl-rza1.c static int rza1_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 987 drivers/pinctrl/pinctrl-rza1.c struct rza1_pinctrl *rza1_pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 1046 drivers/pinctrl/pinctrl-rza1.c gsel = pinctrl_generic_add_group(pctldev, grpname, grpins, npins, pctldev 1053 drivers/pinctrl/pinctrl-rza1.c fsel = pinmux_generic_add_function(pctldev, grpname, fngrps, 1, pctldev 1080 drivers/pinctrl/pinctrl-rza1.c pinmux_generic_remove_function(pctldev, fsel); pctldev 1083 drivers/pinctrl/pinctrl-rza1.c pinctrl_generic_remove_group(pctldev, gsel); pctldev 1092 drivers/pinctrl/pinctrl-rza1.c static void rza1_dt_free_map(struct pinctrl_dev *pctldev, pctldev 1117 drivers/pinctrl/pinctrl-rza1.c static int rza1_set_mux(struct pinctrl_dev *pctldev, unsigned int selector, pctldev 1120 drivers/pinctrl/pinctrl-rza1.c struct rza1_pinctrl *rza1_pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 1126 drivers/pinctrl/pinctrl-rza1.c grp = pinctrl_generic_get_group(pctldev, group); pctldev 1130 drivers/pinctrl/pinctrl-rza1.c func = pinmux_generic_get_function(pctldev, selector); pctldev 325 drivers/pinctrl/pinctrl-rza2.c static int rza2_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 330 drivers/pinctrl/pinctrl-rza2.c struct rza2_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 363 drivers/pinctrl/pinctrl-rza2.c gsel = pinctrl_generic_add_group(pctldev, np->name, pins, npins, NULL); pctldev 372 drivers/pinctrl/pinctrl-rza2.c fsel = pinmux_generic_add_function(pctldev, np->name, pin_fn, 1, pctldev 397 drivers/pinctrl/pinctrl-rza2.c pinmux_generic_remove_function(pctldev, fsel); pctldev 400 drivers/pinctrl/pinctrl-rza2.c pinctrl_generic_remove_group(pctldev, gsel); pctldev 407 drivers/pinctrl/pinctrl-rza2.c static void rza2_dt_free_map(struct pinctrl_dev *pctldev, pctldev 421 drivers/pinctrl/pinctrl-rza2.c static int rza2_set_mux(struct pinctrl_dev *pctldev, unsigned int selector, pctldev 424 drivers/pinctrl/pinctrl-rza2.c struct rza2_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 429 drivers/pinctrl/pinctrl-rza2.c grp = pinctrl_generic_get_group(pctldev, group); pctldev 433 drivers/pinctrl/pinctrl-rza2.c func = pinmux_generic_get_function(pctldev, selector); pctldev 295 drivers/pinctrl/pinctrl-rzn1.c static int rzn1_get_groups_count(struct pinctrl_dev *pctldev) pctldev 297 drivers/pinctrl/pinctrl-rzn1.c struct rzn1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 302 drivers/pinctrl/pinctrl-rzn1.c static const char *rzn1_get_group_name(struct pinctrl_dev *pctldev, pctldev 305 drivers/pinctrl/pinctrl-rzn1.c struct rzn1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 310 drivers/pinctrl/pinctrl-rzn1.c static int rzn1_get_group_pins(struct pinctrl_dev *pctldev, pctldev 314 drivers/pinctrl/pinctrl-rzn1.c struct rzn1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 333 drivers/pinctrl/pinctrl-rzn1.c static int rzn1_dt_node_to_map_one(struct pinctrl_dev *pctldev, pctldev 338 drivers/pinctrl/pinctrl-rzn1.c struct rzn1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 356 drivers/pinctrl/pinctrl-rzn1.c ret = pinconf_generic_parse_dt_config(np, pctldev, &configs, pctldev 368 drivers/pinctrl/pinctrl-rzn1.c ret = pinctrl_utils_reserve_map(pctldev, map, &reserved_maps, num_maps, pctldev 374 drivers/pinctrl/pinctrl-rzn1.c ret = pinctrl_utils_add_map_mux(pctldev, map, &reserved_maps, num_maps, pctldev 381 drivers/pinctrl/pinctrl-rzn1.c ret = pinctrl_utils_add_map_configs(pctldev, map, pctldev 389 drivers/pinctrl/pinctrl-rzn1.c dev_dbg(pctldev->dev, "maps: function %s group %s (%d pins)\n", pctldev 398 drivers/pinctrl/pinctrl-rzn1.c static int rzn1_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 409 drivers/pinctrl/pinctrl-rzn1.c ret = rzn1_dt_node_to_map_one(pctldev, np, map, num_maps); pctldev 414 drivers/pinctrl/pinctrl-rzn1.c ret = rzn1_dt_node_to_map_one(pctldev, child, map, num_maps); pctldev 432 drivers/pinctrl/pinctrl-rzn1.c static int rzn1_pmx_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 434 drivers/pinctrl/pinctrl-rzn1.c struct rzn1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 439 drivers/pinctrl/pinctrl-rzn1.c static const char *rzn1_pmx_get_func_name(struct pinctrl_dev *pctldev, pctldev 442 drivers/pinctrl/pinctrl-rzn1.c struct rzn1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 447 drivers/pinctrl/pinctrl-rzn1.c static int rzn1_pmx_get_groups(struct pinctrl_dev *pctldev, pctldev 452 drivers/pinctrl/pinctrl-rzn1.c struct rzn1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 460 drivers/pinctrl/pinctrl-rzn1.c static int rzn1_set_mux(struct pinctrl_dev *pctldev, unsigned int selector, pctldev 463 drivers/pinctrl/pinctrl-rzn1.c struct rzn1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 485 drivers/pinctrl/pinctrl-rzn1.c static int rzn1_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 488 drivers/pinctrl/pinctrl-rzn1.c struct rzn1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 537 drivers/pinctrl/pinctrl-rzn1.c static int rzn1_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 540 drivers/pinctrl/pinctrl-rzn1.c struct rzn1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 619 drivers/pinctrl/pinctrl-rzn1.c static int rzn1_pinconf_group_get(struct pinctrl_dev *pctldev, pctldev 623 drivers/pinctrl/pinctrl-rzn1.c struct rzn1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 631 drivers/pinctrl/pinctrl-rzn1.c if (rzn1_pinconf_get(pctldev, grp->pins[i], config)) pctldev 644 drivers/pinctrl/pinctrl-rzn1.c static int rzn1_pinconf_group_set(struct pinctrl_dev *pctldev, pctldev 649 drivers/pinctrl/pinctrl-rzn1.c struct rzn1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); pctldev 660 drivers/pinctrl/pinctrl-rzn1.c ret = rzn1_pinconf_set(pctldev, pin, configs, num_configs); pctldev 211 drivers/pinctrl/pinctrl-single.c static int pcs_pinconf_get(struct pinctrl_dev *pctldev, unsigned pin, pctldev 213 drivers/pinctrl/pinctrl-single.c static int pcs_pinconf_set(struct pinctrl_dev *pctldev, unsigned pin, pctldev 270 drivers/pinctrl/pinctrl-single.c static void pcs_pin_dbg_show(struct pinctrl_dev *pctldev, pctldev 279 drivers/pinctrl/pinctrl-single.c pcs = pinctrl_dev_get_drvdata(pctldev); pctldev 289 drivers/pinctrl/pinctrl-single.c static void pcs_dt_free_map(struct pinctrl_dev *pctldev, pctldev 294 drivers/pinctrl/pinctrl-single.c pcs = pinctrl_dev_get_drvdata(pctldev); pctldev 298 drivers/pinctrl/pinctrl-single.c static int pcs_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 311 drivers/pinctrl/pinctrl-single.c static int pcs_get_function(struct pinctrl_dev *pctldev, unsigned pin, pctldev 314 drivers/pinctrl/pinctrl-single.c struct pcs_device *pcs = pinctrl_dev_get_drvdata(pctldev); pctldev 315 drivers/pinctrl/pinctrl-single.c struct pin_desc *pdesc = pin_desc_get(pctldev, pin); pctldev 325 drivers/pinctrl/pinctrl-single.c function = pinmux_generic_get_function(pctldev, fselector); pctldev 335 drivers/pinctrl/pinctrl-single.c static int pcs_set_mux(struct pinctrl_dev *pctldev, unsigned fselector, pctldev 343 drivers/pinctrl/pinctrl-single.c pcs = pinctrl_dev_get_drvdata(pctldev); pctldev 347 drivers/pinctrl/pinctrl-single.c function = pinmux_generic_get_function(pctldev, fselector); pctldev 378 drivers/pinctrl/pinctrl-single.c static int pcs_request_gpio(struct pinctrl_dev *pctldev, pctldev 381 drivers/pinctrl/pinctrl-single.c struct pcs_device *pcs = pinctrl_dev_get_drvdata(pctldev); pctldev 430 drivers/pinctrl/pinctrl-single.c static void pcs_pinconf_clear_bias(struct pinctrl_dev *pctldev, unsigned pin) pctldev 436 drivers/pinctrl/pinctrl-single.c pcs_pinconf_set(pctldev, pin, &config, 1); pctldev 444 drivers/pinctrl/pinctrl-single.c static bool pcs_pinconf_bias_disable(struct pinctrl_dev *pctldev, unsigned pin) pctldev 451 drivers/pinctrl/pinctrl-single.c if (!pcs_pinconf_get(pctldev, pin, &config)) pctldev 459 drivers/pinctrl/pinctrl-single.c static int pcs_pinconf_get(struct pinctrl_dev *pctldev, pctldev 462 drivers/pinctrl/pinctrl-single.c struct pcs_device *pcs = pinctrl_dev_get_drvdata(pctldev); pctldev 467 drivers/pinctrl/pinctrl-single.c ret = pcs_get_function(pctldev, pin, &func); pctldev 474 drivers/pinctrl/pinctrl-single.c if (pcs_pinconf_bias_disable(pctldev, pin)) { pctldev 522 drivers/pinctrl/pinctrl-single.c static int pcs_pinconf_set(struct pinctrl_dev *pctldev, pctldev 526 drivers/pinctrl/pinctrl-single.c struct pcs_device *pcs = pinctrl_dev_get_drvdata(pctldev); pctldev 532 drivers/pinctrl/pinctrl-single.c ret = pcs_get_function(pctldev, pin, &func); pctldev 557 drivers/pinctrl/pinctrl-single.c pcs_pinconf_clear_bias(pctldev, pin); pctldev 562 drivers/pinctrl/pinctrl-single.c pcs_pinconf_clear_bias(pctldev, pin); pctldev 585 drivers/pinctrl/pinctrl-single.c static int pcs_pinconf_group_get(struct pinctrl_dev *pctldev, pctldev 592 drivers/pinctrl/pinctrl-single.c ret = pinctrl_generic_get_group_pins(pctldev, group, &pins, &npins); pctldev 596 drivers/pinctrl/pinctrl-single.c if (pcs_pinconf_get(pctldev, pins[i], config)) pctldev 606 drivers/pinctrl/pinctrl-single.c static int pcs_pinconf_group_set(struct pinctrl_dev *pctldev, pctldev 614 drivers/pinctrl/pinctrl-single.c ret = pinctrl_generic_get_group_pins(pctldev, group, &pins, &npins); pctldev 618 drivers/pinctrl/pinctrl-single.c if (pcs_pinconf_set(pctldev, pins[i], configs, num_configs)) pctldev 624 drivers/pinctrl/pinctrl-single.c static void pcs_pinconf_dbg_show(struct pinctrl_dev *pctldev, pctldev 629 drivers/pinctrl/pinctrl-single.c static void pcs_pinconf_group_dbg_show(struct pinctrl_dev *pctldev, pctldev 634 drivers/pinctrl/pinctrl-single.c static void pcs_pinconf_config_dbg_show(struct pinctrl_dev *pctldev, pctldev 638 drivers/pinctrl/pinctrl-single.c pinconf_generic_dump_config(pctldev, s, config); pctldev 1230 drivers/pinctrl/pinctrl-single.c static int pcs_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 1238 drivers/pinctrl/pinctrl-single.c pcs = pinctrl_dev_get_drvdata(pctldev); pctldev 363 drivers/pinctrl/pinctrl-st.c struct pinctrl_dev *pctldev, int pin) pctldev 366 drivers/pinctrl/pinctrl-st.c pinctrl_find_gpio_range_from_pin(pctldev, pin); pctldev 765 drivers/pinctrl/pinctrl-st.c static int st_pctl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 767 drivers/pinctrl/pinctrl-st.c struct st_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 772 drivers/pinctrl/pinctrl-st.c static const char *st_pctl_get_group_name(struct pinctrl_dev *pctldev, pctldev 775 drivers/pinctrl/pinctrl-st.c struct st_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 780 drivers/pinctrl/pinctrl-st.c static int st_pctl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 783 drivers/pinctrl/pinctrl-st.c struct st_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 807 drivers/pinctrl/pinctrl-st.c static int st_pctl_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 810 drivers/pinctrl/pinctrl-st.c struct st_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 824 drivers/pinctrl/pinctrl-st.c new_map = devm_kcalloc(pctldev->dev, pctldev 831 drivers/pinctrl/pinctrl-st.c devm_kfree(pctldev->dev, new_map); pctldev 847 drivers/pinctrl/pinctrl-st.c pin_get_name(pctldev, grp->pins[i]); pctldev 851 drivers/pinctrl/pinctrl-st.c dev_info(pctldev->dev, "maps: function %s group %s num %d\n", pctldev 857 drivers/pinctrl/pinctrl-st.c static void st_pctl_dt_free_map(struct pinctrl_dev *pctldev, pctldev 871 drivers/pinctrl/pinctrl-st.c static int st_pmx_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 873 drivers/pinctrl/pinctrl-st.c struct st_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 878 drivers/pinctrl/pinctrl-st.c static const char *st_pmx_get_fname(struct pinctrl_dev *pctldev, pctldev 881 drivers/pinctrl/pinctrl-st.c struct st_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 886 drivers/pinctrl/pinctrl-st.c static int st_pmx_get_groups(struct pinctrl_dev *pctldev, pctldev 889 drivers/pinctrl/pinctrl-st.c struct st_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 896 drivers/pinctrl/pinctrl-st.c static int st_pmx_set_mux(struct pinctrl_dev *pctldev, unsigned fselector, pctldev 899 drivers/pinctrl/pinctrl-st.c struct st_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 905 drivers/pinctrl/pinctrl-st.c pc = st_get_pio_control(pctldev, conf[i].pin); pctldev 912 drivers/pinctrl/pinctrl-st.c static int st_pmx_set_gpio_direction(struct pinctrl_dev *pctldev, pctldev 961 drivers/pinctrl/pinctrl-st.c static int st_pinconf_set(struct pinctrl_dev *pctldev, unsigned pin_id, pctldev 965 drivers/pinctrl/pinctrl-st.c struct st_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 966 drivers/pinctrl/pinctrl-st.c struct st_pio_control *pc = st_get_pio_control(pctldev, pin_id); pctldev 977 drivers/pinctrl/pinctrl-st.c static int st_pinconf_get(struct pinctrl_dev *pctldev, pctldev 981 drivers/pinctrl/pinctrl-st.c struct st_pinctrl *info = pinctrl_dev_get_drvdata(pctldev); pctldev 982 drivers/pinctrl/pinctrl-st.c struct st_pio_control *pc = st_get_pio_control(pctldev, pin_id); pctldev 991 drivers/pinctrl/pinctrl-st.c static void st_pinconf_dbg_show(struct pinctrl_dev *pctldev, pctldev 1000 drivers/pinctrl/pinctrl-st.c mutex_unlock(&pctldev->mutex); pctldev 1001 drivers/pinctrl/pinctrl-st.c pc = st_get_pio_control(pctldev, pin_id); pctldev 1002 drivers/pinctrl/pinctrl-st.c st_pinconf_get(pctldev, pin_id, &config); pctldev 1003 drivers/pinctrl/pinctrl-st.c mutex_lock(&pctldev->mutex); pctldev 210 drivers/pinctrl/pinctrl-stmfx.c static int stmfx_pinconf_get(struct pinctrl_dev *pctldev, pctldev 213 drivers/pinctrl/pinctrl-stmfx.c struct stmfx_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 219 drivers/pinctrl/pinctrl-stmfx.c range = pinctrl_find_gpio_range_from_pin_nolock(pctldev, pin); pctldev 273 drivers/pinctrl/pinctrl-stmfx.c static int stmfx_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 276 drivers/pinctrl/pinctrl-stmfx.c struct stmfx_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 282 drivers/pinctrl/pinctrl-stmfx.c range = pinctrl_find_gpio_range_from_pin_nolock(pctldev, pin); pctldev 284 drivers/pinctrl/pinctrl-stmfx.c dev_err(pctldev->dev, "pin %d is not available\n", pin); pctldev 339 drivers/pinctrl/pinctrl-stmfx.c static void stmfx_pinconf_dbg_show(struct pinctrl_dev *pctldev, pctldev 342 drivers/pinctrl/pinctrl-stmfx.c struct stmfx_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 346 drivers/pinctrl/pinctrl-stmfx.c range = pinctrl_find_gpio_range_from_pin_nolock(pctldev, offset); pctldev 386 drivers/pinctrl/pinctrl-stmfx.c static int stmfx_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 391 drivers/pinctrl/pinctrl-stmfx.c static const char *stmfx_pinctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 397 drivers/pinctrl/pinctrl-stmfx.c static int stmfx_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 99 drivers/pinctrl/pinctrl-sx150x.c struct pinctrl_dev *pctldev; pctldev 345 drivers/pinctrl/pinctrl-sx150x.c static int sx150x_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 350 drivers/pinctrl/pinctrl-sx150x.c static const char *sx150x_pinctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 356 drivers/pinctrl/pinctrl-sx150x.c static int sx150x_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 579 drivers/pinctrl/pinctrl-sx150x.c static int sx150x_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 582 drivers/pinctrl/pinctrl-sx150x.c struct sx150x_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 710 drivers/pinctrl/pinctrl-sx150x.c static int sx150x_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 713 drivers/pinctrl/pinctrl-sx150x.c struct sx150x_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 1148 drivers/pinctrl/pinctrl-sx150x.c pctl, &pctl->pctldev); pctldev 1154 drivers/pinctrl/pinctrl-sx150x.c ret = pinctrl_enable(pctl->pctldev); pctldev 839 drivers/pinctrl/pinctrl-u300.c static int u300_get_groups_count(struct pinctrl_dev *pctldev) pctldev 844 drivers/pinctrl/pinctrl-u300.c static const char *u300_get_group_name(struct pinctrl_dev *pctldev, pctldev 850 drivers/pinctrl/pinctrl-u300.c static int u300_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, pctldev 859 drivers/pinctrl/pinctrl-u300.c static void u300_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, pctldev 960 drivers/pinctrl/pinctrl-u300.c static int u300_pmx_set_mux(struct pinctrl_dev *pctldev, unsigned selector, pctldev 969 drivers/pinctrl/pinctrl-u300.c upmx = pinctrl_dev_get_drvdata(pctldev); pctldev 975 drivers/pinctrl/pinctrl-u300.c static int u300_pmx_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 980 drivers/pinctrl/pinctrl-u300.c static const char *u300_pmx_get_func_name(struct pinctrl_dev *pctldev, pctldev 986 drivers/pinctrl/pinctrl-u300.c static int u300_pmx_get_groups(struct pinctrl_dev *pctldev, unsigned selector, pctldev 1002 drivers/pinctrl/pinctrl-u300.c static int u300_pin_config_get(struct pinctrl_dev *pctldev, unsigned pin, pctldev 1006 drivers/pinctrl/pinctrl-u300.c pinctrl_find_gpio_range_from_pin(pctldev, pin); pctldev 1017 drivers/pinctrl/pinctrl-u300.c static int u300_pin_config_set(struct pinctrl_dev *pctldev, unsigned pin, pctldev 1021 drivers/pinctrl/pinctrl-u300.c pinctrl_find_gpio_range_from_pin(pctldev, pin); pctldev 31 drivers/pinctrl/pinctrl-utils.c int pinctrl_utils_reserve_map(struct pinctrl_dev *pctldev, pctldev 44 drivers/pinctrl/pinctrl-utils.c dev_err(pctldev->dev, "krealloc(map) failed\n"); pctldev 56 drivers/pinctrl/pinctrl-utils.c int pinctrl_utils_add_map_mux(struct pinctrl_dev *pctldev, pctldev 73 drivers/pinctrl/pinctrl-utils.c int pinctrl_utils_add_map_configs(struct pinctrl_dev *pctldev, pctldev 99 drivers/pinctrl/pinctrl-utils.c int pinctrl_utils_add_config(struct pinctrl_dev *pctldev, pctldev 110 drivers/pinctrl/pinctrl-utils.c dev_err(pctldev->dev, "krealloc(configs) failed\n"); pctldev 123 drivers/pinctrl/pinctrl-utils.c void pinctrl_utils_free_map(struct pinctrl_dev *pctldev, pctldev 25 drivers/pinctrl/pinctrl-utils.h int pinctrl_utils_reserve_map(struct pinctrl_dev *pctldev, pctldev 28 drivers/pinctrl/pinctrl-utils.h int pinctrl_utils_add_map_mux(struct pinctrl_dev *pctldev, pctldev 32 drivers/pinctrl/pinctrl-utils.h int pinctrl_utils_add_map_configs(struct pinctrl_dev *pctldev, pctldev 37 drivers/pinctrl/pinctrl-utils.h int pinctrl_utils_add_config(struct pinctrl_dev *pctldev, pctldev 40 drivers/pinctrl/pinctrl-utils.h void pinctrl_utils_free_map(struct pinctrl_dev *pctldev, pctldev 1333 drivers/pinctrl/pinctrl-xway.c static int xway_pinconf_get(struct pinctrl_dev *pctldev, pctldev 1337 drivers/pinctrl/pinctrl-xway.c struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctldev); pctldev 1378 drivers/pinctrl/pinctrl-xway.c dev_err(pctldev->dev, "Invalid config param %04x\n", param); pctldev 1384 drivers/pinctrl/pinctrl-xway.c static int xway_pinconf_set(struct pinctrl_dev *pctldev, pctldev 1389 drivers/pinctrl/pinctrl-xway.c struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctldev); pctldev 1442 drivers/pinctrl/pinctrl-xway.c dev_err(pctldev->dev, pctldev 1459 drivers/pinctrl/pinctrl-xway.c dev_err(pctldev->dev, pctldev 1468 drivers/pinctrl/pinctrl-xway.c int xway_pinconf_group_set(struct pinctrl_dev *pctldev, pctldev 1473 drivers/pinctrl/pinctrl-xway.c struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctldev); pctldev 1477 drivers/pinctrl/pinctrl-xway.c ret = xway_pinconf_set(pctldev, pctldev 824 drivers/pinctrl/pinctrl-zynq.c static int zynq_pctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 826 drivers/pinctrl/pinctrl-zynq.c struct zynq_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 831 drivers/pinctrl/pinctrl-zynq.c static const char *zynq_pctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 834 drivers/pinctrl/pinctrl-zynq.c struct zynq_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 839 drivers/pinctrl/pinctrl-zynq.c static int zynq_pctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 844 drivers/pinctrl/pinctrl-zynq.c struct zynq_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 861 drivers/pinctrl/pinctrl-zynq.c static int zynq_pmux_get_functions_count(struct pinctrl_dev *pctldev) pctldev 863 drivers/pinctrl/pinctrl-zynq.c struct zynq_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 868 drivers/pinctrl/pinctrl-zynq.c static const char *zynq_pmux_get_function_name(struct pinctrl_dev *pctldev, pctldev 871 drivers/pinctrl/pinctrl-zynq.c struct zynq_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 876 drivers/pinctrl/pinctrl-zynq.c static int zynq_pmux_get_function_groups(struct pinctrl_dev *pctldev, pctldev 881 drivers/pinctrl/pinctrl-zynq.c struct zynq_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 888 drivers/pinctrl/pinctrl-zynq.c static int zynq_pinmux_set_mux(struct pinctrl_dev *pctldev, pctldev 893 drivers/pinctrl/pinctrl-zynq.c struct zynq_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 984 drivers/pinctrl/pinctrl-zynq.c static int zynq_pinconf_cfg_get(struct pinctrl_dev *pctldev, pctldev 992 drivers/pinctrl/pinctrl-zynq.c struct zynq_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 1041 drivers/pinctrl/pinctrl-zynq.c static int zynq_pinconf_cfg_set(struct pinctrl_dev *pctldev, pctldev 1050 drivers/pinctrl/pinctrl-zynq.c struct zynq_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 1082 drivers/pinctrl/pinctrl-zynq.c dev_warn(pctldev->dev, pctldev 1098 drivers/pinctrl/pinctrl-zynq.c dev_warn(pctldev->dev, pctldev 1117 drivers/pinctrl/pinctrl-zynq.c static int zynq_pinconf_group_set(struct pinctrl_dev *pctldev, pctldev 1123 drivers/pinctrl/pinctrl-zynq.c struct zynq_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 1127 drivers/pinctrl/pinctrl-zynq.c ret = zynq_pinconf_cfg_set(pctldev, pgrp->pins[i], configs, pctldev 31 drivers/pinctrl/pinmux.c int pinmux_check_ops(struct pinctrl_dev *pctldev) pctldev 33 drivers/pinctrl/pinmux.c const struct pinmux_ops *ops = pctldev->desc->pmxops; pctldev 43 drivers/pinctrl/pinmux.c dev_err(pctldev->dev, "pinmux ops lacks necessary functions\n"); pctldev 47 drivers/pinctrl/pinmux.c nfuncs = ops->get_functions_count(pctldev); pctldev 49 drivers/pinctrl/pinmux.c const char *fname = ops->get_function_name(pctldev, pctldev 52 drivers/pinctrl/pinmux.c dev_err(pctldev->dev, "pinmux ops has no name for function%u\n", pctldev 82 drivers/pinctrl/pinmux.c bool pinmux_can_be_used_for_gpio(struct pinctrl_dev *pctldev, unsigned pin) pctldev 84 drivers/pinctrl/pinmux.c struct pin_desc *desc = pin_desc_get(pctldev, pin); pctldev 85 drivers/pinctrl/pinmux.c const struct pinmux_ops *ops = pctldev->desc->pmxops; pctldev 105 drivers/pinctrl/pinmux.c static int pin_request(struct pinctrl_dev *pctldev, pctldev 110 drivers/pinctrl/pinmux.c const struct pinmux_ops *ops = pctldev->desc->pmxops; pctldev 113 drivers/pinctrl/pinmux.c desc = pin_desc_get(pctldev, pin); pctldev 115 drivers/pinctrl/pinmux.c dev_err(pctldev->dev, pctldev 121 drivers/pinctrl/pinmux.c dev_dbg(pctldev->dev, "request pin %d (%s) for %s\n", pctldev 126 drivers/pinctrl/pinmux.c dev_err(pctldev->dev, pctldev 133 drivers/pinctrl/pinmux.c dev_err(pctldev->dev, pctldev 150 drivers/pinctrl/pinmux.c if (!try_module_get(pctldev->owner)) { pctldev 151 drivers/pinctrl/pinmux.c dev_err(pctldev->dev, pctldev 164 drivers/pinctrl/pinmux.c status = ops->gpio_request_enable(pctldev, gpio_range, pin); pctldev 166 drivers/pinctrl/pinmux.c status = ops->request(pctldev, pin); pctldev 171 drivers/pinctrl/pinmux.c dev_err(pctldev->dev, "request() failed for pin %d\n", pin); pctldev 172 drivers/pinctrl/pinmux.c module_put(pctldev->owner); pctldev 187 drivers/pinctrl/pinmux.c dev_err(pctldev->dev, "pin-%d (%s) status %d\n", pctldev 204 drivers/pinctrl/pinmux.c static const char *pin_free(struct pinctrl_dev *pctldev, int pin, pctldev 207 drivers/pinctrl/pinmux.c const struct pinmux_ops *ops = pctldev->desc->pmxops; pctldev 211 drivers/pinctrl/pinmux.c desc = pin_desc_get(pctldev, pin); pctldev 213 drivers/pinctrl/pinmux.c dev_err(pctldev->dev, pctldev 234 drivers/pinctrl/pinmux.c ops->gpio_disable_free(pctldev, gpio_range, pin); pctldev 236 drivers/pinctrl/pinmux.c ops->free(pctldev, pin); pctldev 247 drivers/pinctrl/pinmux.c module_put(pctldev->owner); pctldev 258 drivers/pinctrl/pinmux.c int pinmux_request_gpio(struct pinctrl_dev *pctldev, pctldev 270 drivers/pinctrl/pinmux.c ret = pin_request(pctldev, pin, owner, range); pctldev 283 drivers/pinctrl/pinmux.c void pinmux_free_gpio(struct pinctrl_dev *pctldev, unsigned pin, pctldev 288 drivers/pinctrl/pinmux.c owner = pin_free(pctldev, pin, range); pctldev 299 drivers/pinctrl/pinmux.c int pinmux_gpio_direction(struct pinctrl_dev *pctldev, pctldev 306 drivers/pinctrl/pinmux.c ops = pctldev->desc->pmxops; pctldev 309 drivers/pinctrl/pinmux.c ret = ops->gpio_set_direction(pctldev, range, pin, input); pctldev 316 drivers/pinctrl/pinmux.c static int pinmux_func_name_to_selector(struct pinctrl_dev *pctldev, pctldev 319 drivers/pinctrl/pinmux.c const struct pinmux_ops *ops = pctldev->desc->pmxops; pctldev 320 drivers/pinctrl/pinmux.c unsigned nfuncs = ops->get_functions_count(pctldev); pctldev 325 drivers/pinctrl/pinmux.c const char *fname = ops->get_function_name(pctldev, selector); pctldev 339 drivers/pinctrl/pinmux.c struct pinctrl_dev *pctldev = setting->pctldev; pctldev 340 drivers/pinctrl/pinmux.c const struct pinmux_ops *pmxops = pctldev->desc->pmxops; pctldev 347 drivers/pinctrl/pinmux.c dev_err(pctldev->dev, "does not support mux function\n"); pctldev 351 drivers/pinctrl/pinmux.c ret = pinmux_func_name_to_selector(pctldev, map->data.mux.function); pctldev 353 drivers/pinctrl/pinmux.c dev_err(pctldev->dev, "invalid function %s in map table\n", pctldev 359 drivers/pinctrl/pinmux.c ret = pmxops->get_function_groups(pctldev, setting->data.mux.func, pctldev 362 drivers/pinctrl/pinmux.c dev_err(pctldev->dev, "can't query groups for function %s\n", pctldev 367 drivers/pinctrl/pinmux.c dev_err(pctldev->dev, pctldev 376 drivers/pinctrl/pinmux.c dev_err(pctldev->dev, pctldev 385 drivers/pinctrl/pinmux.c ret = pinctrl_get_group_selector(pctldev, group); pctldev 387 drivers/pinctrl/pinmux.c dev_err(pctldev->dev, "invalid group %s in map table\n", pctldev 403 drivers/pinctrl/pinmux.c struct pinctrl_dev *pctldev = setting->pctldev; pctldev 404 drivers/pinctrl/pinmux.c const struct pinctrl_ops *pctlops = pctldev->desc->pctlops; pctldev 405 drivers/pinctrl/pinmux.c const struct pinmux_ops *ops = pctldev->desc->pmxops; pctldev 413 drivers/pinctrl/pinmux.c ret = pctlops->get_group_pins(pctldev, setting->data.mux.group, pctldev 420 drivers/pinctrl/pinmux.c gname = pctlops->get_group_name(pctldev, pctldev 422 drivers/pinctrl/pinmux.c dev_warn(pctldev->dev, pctldev 430 drivers/pinctrl/pinmux.c ret = pin_request(pctldev, pins[i], setting->dev_name, NULL); pctldev 435 drivers/pinctrl/pinmux.c desc = pin_desc_get(pctldev, pins[i]); pctldev 437 drivers/pinctrl/pinmux.c gname = pctlops->get_group_name(pctldev, pctldev 439 drivers/pinctrl/pinmux.c dev_err(pctldev->dev, pctldev 443 drivers/pinctrl/pinmux.c pinctrl_dev_get_name(pctldev)); pctldev 450 drivers/pinctrl/pinmux.c desc = pin_desc_get(pctldev, pins[i]); pctldev 452 drivers/pinctrl/pinmux.c dev_warn(pctldev->dev, pctldev 460 drivers/pinctrl/pinmux.c ret = ops->set_mux(pctldev, setting->data.mux.func, pctldev 470 drivers/pinctrl/pinmux.c desc = pin_desc_get(pctldev, pins[i]); pctldev 477 drivers/pinctrl/pinmux.c pin_free(pctldev, pins[i], NULL); pctldev 484 drivers/pinctrl/pinmux.c struct pinctrl_dev *pctldev = setting->pctldev; pctldev 485 drivers/pinctrl/pinmux.c const struct pinctrl_ops *pctlops = pctldev->desc->pctlops; pctldev 493 drivers/pinctrl/pinmux.c ret = pctlops->get_group_pins(pctldev, setting->data.mux.group, pctldev 499 drivers/pinctrl/pinmux.c gname = pctlops->get_group_name(pctldev, pctldev 501 drivers/pinctrl/pinmux.c dev_warn(pctldev->dev, pctldev 509 drivers/pinctrl/pinmux.c desc = pin_desc_get(pctldev, pins[i]); pctldev 511 drivers/pinctrl/pinmux.c dev_warn(pctldev->dev, pctldev 517 drivers/pinctrl/pinmux.c pin_free(pctldev, pins[i], NULL); pctldev 521 drivers/pinctrl/pinmux.c gname = pctlops->get_group_name(pctldev, pctldev 523 drivers/pinctrl/pinmux.c dev_warn(pctldev->dev, pctldev 537 drivers/pinctrl/pinmux.c struct pinctrl_dev *pctldev = s->private; pctldev 538 drivers/pinctrl/pinmux.c const struct pinmux_ops *pmxops = pctldev->desc->pmxops; pctldev 545 drivers/pinctrl/pinmux.c mutex_lock(&pctldev->mutex); pctldev 546 drivers/pinctrl/pinmux.c nfuncs = pmxops->get_functions_count(pctldev); pctldev 548 drivers/pinctrl/pinmux.c const char *func = pmxops->get_function_name(pctldev, pctldev 555 drivers/pinctrl/pinmux.c ret = pmxops->get_function_groups(pctldev, func_selector, pctldev 572 drivers/pinctrl/pinmux.c mutex_unlock(&pctldev->mutex); pctldev 579 drivers/pinctrl/pinmux.c struct pinctrl_dev *pctldev = s->private; pctldev 580 drivers/pinctrl/pinmux.c const struct pinctrl_ops *pctlops = pctldev->desc->pctlops; pctldev 581 drivers/pinctrl/pinmux.c const struct pinmux_ops *pmxops = pctldev->desc->pmxops; pctldev 595 drivers/pinctrl/pinmux.c mutex_lock(&pctldev->mutex); pctldev 598 drivers/pinctrl/pinmux.c for (i = 0; i < pctldev->desc->npins; i++) { pctldev 602 drivers/pinctrl/pinmux.c pin = pctldev->desc->pins[i].number; pctldev 603 drivers/pinctrl/pinmux.c desc = pin_desc_get(pctldev, pin); pctldev 609 drivers/pinctrl/pinmux.c !strcmp(desc->mux_owner, pinctrl_dev_get_name(pctldev))) pctldev 636 drivers/pinctrl/pinmux.c pmxops->get_function_name(pctldev, pctldev 638 drivers/pinctrl/pinmux.c pctlops->get_group_name(pctldev, pctldev 644 drivers/pinctrl/pinmux.c mutex_unlock(&pctldev->mutex); pctldev 659 drivers/pinctrl/pinmux.c struct pinctrl_dev *pctldev = setting->pctldev; pctldev 660 drivers/pinctrl/pinmux.c const struct pinmux_ops *pmxops = pctldev->desc->pmxops; pctldev 661 drivers/pinctrl/pinmux.c const struct pinctrl_ops *pctlops = pctldev->desc->pctlops; pctldev 664 drivers/pinctrl/pinmux.c pctlops->get_group_name(pctldev, setting->data.mux.group), pctldev 666 drivers/pinctrl/pinmux.c pmxops->get_function_name(pctldev, setting->data.mux.func), pctldev 674 drivers/pinctrl/pinmux.c struct pinctrl_dev *pctldev) pctldev 677 drivers/pinctrl/pinmux.c devroot, pctldev, &pinmux_functions_fops); pctldev 679 drivers/pinctrl/pinmux.c devroot, pctldev, &pinmux_pins_fops); pctldev 690 drivers/pinctrl/pinmux.c int pinmux_generic_get_function_count(struct pinctrl_dev *pctldev) pctldev 692 drivers/pinctrl/pinmux.c return pctldev->num_functions; pctldev 702 drivers/pinctrl/pinmux.c pinmux_generic_get_function_name(struct pinctrl_dev *pctldev, pctldev 707 drivers/pinctrl/pinmux.c function = radix_tree_lookup(&pctldev->pin_function_tree, pctldev 723 drivers/pinctrl/pinmux.c int pinmux_generic_get_function_groups(struct pinctrl_dev *pctldev, pctldev 730 drivers/pinctrl/pinmux.c function = radix_tree_lookup(&pctldev->pin_function_tree, pctldev 733 drivers/pinctrl/pinmux.c dev_err(pctldev->dev, "%s could not find function%i\n", pctldev 749 drivers/pinctrl/pinmux.c struct function_desc *pinmux_generic_get_function(struct pinctrl_dev *pctldev, pctldev 754 drivers/pinctrl/pinmux.c function = radix_tree_lookup(&pctldev->pin_function_tree, pctldev 771 drivers/pinctrl/pinmux.c int pinmux_generic_add_function(struct pinctrl_dev *pctldev, pctldev 783 drivers/pinctrl/pinmux.c selector = pinmux_func_name_to_selector(pctldev, name); pctldev 787 drivers/pinctrl/pinmux.c selector = pctldev->num_functions; pctldev 789 drivers/pinctrl/pinmux.c function = devm_kzalloc(pctldev->dev, sizeof(*function), GFP_KERNEL); pctldev 798 drivers/pinctrl/pinmux.c radix_tree_insert(&pctldev->pin_function_tree, selector, function); pctldev 800 drivers/pinctrl/pinmux.c pctldev->num_functions++; pctldev 813 drivers/pinctrl/pinmux.c int pinmux_generic_remove_function(struct pinctrl_dev *pctldev, pctldev 818 drivers/pinctrl/pinmux.c function = radix_tree_lookup(&pctldev->pin_function_tree, pctldev 823 drivers/pinctrl/pinmux.c radix_tree_delete(&pctldev->pin_function_tree, selector); pctldev 824 drivers/pinctrl/pinmux.c devm_kfree(pctldev->dev, function); pctldev 826 drivers/pinctrl/pinmux.c pctldev->num_functions--; pctldev 840 drivers/pinctrl/pinmux.c void pinmux_generic_free_functions(struct pinctrl_dev *pctldev) pctldev 845 drivers/pinctrl/pinmux.c radix_tree_for_each_slot(slot, &pctldev->pin_function_tree, &iter, 0) pctldev 846 drivers/pinctrl/pinmux.c radix_tree_delete(&pctldev->pin_function_tree, iter.index); pctldev 848 drivers/pinctrl/pinmux.c pctldev->num_functions = 0; pctldev 14 drivers/pinctrl/pinmux.h int pinmux_check_ops(struct pinctrl_dev *pctldev); pctldev 18 drivers/pinctrl/pinmux.h bool pinmux_can_be_used_for_gpio(struct pinctrl_dev *pctldev, unsigned pin); pctldev 20 drivers/pinctrl/pinmux.h int pinmux_request_gpio(struct pinctrl_dev *pctldev, pctldev 23 drivers/pinctrl/pinmux.h void pinmux_free_gpio(struct pinctrl_dev *pctldev, unsigned pin, pctldev 25 drivers/pinctrl/pinmux.h int pinmux_gpio_direction(struct pinctrl_dev *pctldev, pctldev 37 drivers/pinctrl/pinmux.h static inline int pinmux_check_ops(struct pinctrl_dev *pctldev) pctldev 47 drivers/pinctrl/pinmux.h static inline bool pinmux_can_be_used_for_gpio(struct pinctrl_dev *pctldev, pctldev 53 drivers/pinctrl/pinmux.h static inline int pinmux_request_gpio(struct pinctrl_dev *pctldev, pctldev 60 drivers/pinctrl/pinmux.h static inline void pinmux_free_gpio(struct pinctrl_dev *pctldev, pctldev 66 drivers/pinctrl/pinmux.h static inline int pinmux_gpio_direction(struct pinctrl_dev *pctldev, pctldev 100 drivers/pinctrl/pinmux.h struct pinctrl_dev *pctldev); pctldev 115 drivers/pinctrl/pinmux.h struct pinctrl_dev *pctldev) pctldev 137 drivers/pinctrl/pinmux.h int pinmux_generic_get_function_count(struct pinctrl_dev *pctldev); pctldev 140 drivers/pinctrl/pinmux.h pinmux_generic_get_function_name(struct pinctrl_dev *pctldev, pctldev 143 drivers/pinctrl/pinmux.h int pinmux_generic_get_function_groups(struct pinctrl_dev *pctldev, pctldev 148 drivers/pinctrl/pinmux.h struct function_desc *pinmux_generic_get_function(struct pinctrl_dev *pctldev, pctldev 151 drivers/pinctrl/pinmux.h int pinmux_generic_add_function(struct pinctrl_dev *pctldev, pctldev 157 drivers/pinctrl/pinmux.h int pinmux_generic_remove_function(struct pinctrl_dev *pctldev, pctldev 160 drivers/pinctrl/pinmux.h void pinmux_generic_free_functions(struct pinctrl_dev *pctldev); pctldev 164 drivers/pinctrl/pinmux.h static inline void pinmux_generic_free_functions(struct pinctrl_dev *pctldev) pctldev 23 drivers/pinctrl/pxa/pinctrl-pxa2xx.c static int pxa2xx_pctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 25 drivers/pinctrl/pxa/pinctrl-pxa2xx.c struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 30 drivers/pinctrl/pxa/pinctrl-pxa2xx.c static const char *pxa2xx_pctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 33 drivers/pinctrl/pxa/pinctrl-pxa2xx.c struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 39 drivers/pinctrl/pxa/pinctrl-pxa2xx.c static int pxa2xx_pctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 44 drivers/pinctrl/pxa/pinctrl-pxa2xx.c struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 82 drivers/pinctrl/pxa/pinctrl-pxa2xx.c static int pxa2xx_pmx_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 87 drivers/pinctrl/pxa/pinctrl-pxa2xx.c struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 107 drivers/pinctrl/pxa/pinctrl-pxa2xx.c static const char *pxa2xx_pmx_get_func_name(struct pinctrl_dev *pctldev, pctldev 110 drivers/pinctrl/pxa/pinctrl-pxa2xx.c struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 116 drivers/pinctrl/pxa/pinctrl-pxa2xx.c static int pxa2xx_get_functions_count(struct pinctrl_dev *pctldev) pctldev 118 drivers/pinctrl/pxa/pinctrl-pxa2xx.c struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 123 drivers/pinctrl/pxa/pinctrl-pxa2xx.c static int pxa2xx_pmx_get_func_groups(struct pinctrl_dev *pctldev, pctldev 128 drivers/pinctrl/pxa/pinctrl-pxa2xx.c struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 137 drivers/pinctrl/pxa/pinctrl-pxa2xx.c static int pxa2xx_pmx_set_mux(struct pinctrl_dev *pctldev, unsigned function, pctldev 140 drivers/pinctrl/pxa/pinctrl-pxa2xx.c struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 183 drivers/pinctrl/pxa/pinctrl-pxa2xx.c static int pxa2xx_pconf_group_get(struct pinctrl_dev *pctldev, pctldev 187 drivers/pinctrl/pxa/pinctrl-pxa2xx.c struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 204 drivers/pinctrl/pxa/pinctrl-pxa2xx.c static int pxa2xx_pconf_group_set(struct pinctrl_dev *pctldev, pctldev 209 drivers/pinctrl/pxa/pinctrl-pxa2xx.c struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 87 drivers/pinctrl/qcom/pinctrl-msm.c static int msm_get_groups_count(struct pinctrl_dev *pctldev) pctldev 89 drivers/pinctrl/qcom/pinctrl-msm.c struct msm_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 94 drivers/pinctrl/qcom/pinctrl-msm.c static const char *msm_get_group_name(struct pinctrl_dev *pctldev, pctldev 97 drivers/pinctrl/qcom/pinctrl-msm.c struct msm_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 102 drivers/pinctrl/qcom/pinctrl-msm.c static int msm_get_group_pins(struct pinctrl_dev *pctldev, pctldev 107 drivers/pinctrl/qcom/pinctrl-msm.c struct msm_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 122 drivers/pinctrl/qcom/pinctrl-msm.c static int msm_pinmux_request(struct pinctrl_dev *pctldev, unsigned offset) pctldev 124 drivers/pinctrl/qcom/pinctrl-msm.c struct msm_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 130 drivers/pinctrl/qcom/pinctrl-msm.c static int msm_get_functions_count(struct pinctrl_dev *pctldev) pctldev 132 drivers/pinctrl/qcom/pinctrl-msm.c struct msm_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 137 drivers/pinctrl/qcom/pinctrl-msm.c static const char *msm_get_function_name(struct pinctrl_dev *pctldev, pctldev 140 drivers/pinctrl/qcom/pinctrl-msm.c struct msm_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 145 drivers/pinctrl/qcom/pinctrl-msm.c static int msm_get_function_groups(struct pinctrl_dev *pctldev, pctldev 150 drivers/pinctrl/qcom/pinctrl-msm.c struct msm_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 157 drivers/pinctrl/qcom/pinctrl-msm.c static int msm_pinmux_set_mux(struct pinctrl_dev *pctldev, pctldev 161 drivers/pinctrl/qcom/pinctrl-msm.c struct msm_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 190 drivers/pinctrl/qcom/pinctrl-msm.c static int msm_pinmux_request_gpio(struct pinctrl_dev *pctldev, pctldev 194 drivers/pinctrl/qcom/pinctrl-msm.c struct msm_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 202 drivers/pinctrl/qcom/pinctrl-msm.c return msm_pinmux_set_mux(pctldev, g->funcs[0], offset); pctldev 255 drivers/pinctrl/qcom/pinctrl-msm.c static int msm_config_group_get(struct pinctrl_dev *pctldev, pctldev 260 drivers/pinctrl/qcom/pinctrl-msm.c struct msm_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 331 drivers/pinctrl/qcom/pinctrl-msm.c static int msm_config_group_set(struct pinctrl_dev *pctldev, pctldev 337 drivers/pinctrl/qcom/pinctrl-msm.c struct msm_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 529 drivers/pinctrl/qcom/pinctrl-msm.c struct pinctrl_dev *pctldev, pctldev 242 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c static int pmic_gpio_get_groups_count(struct pinctrl_dev *pctldev) pctldev 245 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c return pctldev->desc->npins; pctldev 248 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c static const char *pmic_gpio_get_group_name(struct pinctrl_dev *pctldev, pctldev 251 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c return pctldev->desc->pins[pin].name; pctldev 254 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c static int pmic_gpio_get_group_pins(struct pinctrl_dev *pctldev, unsigned pin, pctldev 257 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c *pins = &pctldev->desc->pins[pin].number; pctldev 270 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c static int pmic_gpio_get_functions_count(struct pinctrl_dev *pctldev) pctldev 275 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c static const char *pmic_gpio_get_function_name(struct pinctrl_dev *pctldev, pctldev 281 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c static int pmic_gpio_get_function_groups(struct pinctrl_dev *pctldev, pctldev 287 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c *num_qgroups = pctldev->desc->npins; pctldev 291 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c static int pmic_gpio_set_mux(struct pinctrl_dev *pctldev, unsigned function, pctldev 294 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c struct pmic_gpio_state *state = pinctrl_dev_get_drvdata(pctldev); pctldev 304 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pad = pctldev->desc->pins[pin].drv_data; pctldev 373 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c static int pmic_gpio_config_get(struct pinctrl_dev *pctldev, pctldev 380 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pad = pctldev->desc->pins[pin].drv_data; pctldev 452 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c static int pmic_gpio_config_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 455 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c struct pmic_gpio_state *state = pinctrl_dev_get_drvdata(pctldev); pctldev 461 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pad = pctldev->desc->pins[pin].drv_data; pctldev 618 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c static void pmic_gpio_config_dbg_show(struct pinctrl_dev *pctldev, pctldev 621 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c struct pmic_gpio_state *state = pinctrl_dev_get_drvdata(pctldev); pctldev 636 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pad = pctldev->desc->pins[pin].drv_data; pctldev 204 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c static int pmic_mpp_get_groups_count(struct pinctrl_dev *pctldev) pctldev 207 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c return pctldev->desc->npins; pctldev 210 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c static const char *pmic_mpp_get_group_name(struct pinctrl_dev *pctldev, pctldev 213 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c return pctldev->desc->pins[pin].name; pctldev 216 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c static int pmic_mpp_get_group_pins(struct pinctrl_dev *pctldev, pctldev 220 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c *pins = &pctldev->desc->pins[pin].number; pctldev 233 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c static int pmic_mpp_get_functions_count(struct pinctrl_dev *pctldev) pctldev 238 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c static const char *pmic_mpp_get_function_name(struct pinctrl_dev *pctldev, pctldev 244 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c static int pmic_mpp_get_function_groups(struct pinctrl_dev *pctldev, pctldev 250 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c *num_qgroups = pctldev->desc->npins; pctldev 301 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c static int pmic_mpp_set_mux(struct pinctrl_dev *pctldev, unsigned function, pctldev 304 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c struct pmic_mpp_state *state = pinctrl_dev_get_drvdata(pctldev); pctldev 309 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c pad = pctldev->desc->pins[pin].drv_data; pctldev 329 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c static int pmic_mpp_config_get(struct pinctrl_dev *pctldev, pctldev 336 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c pad = pctldev->desc->pins[pin].drv_data; pctldev 401 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c static int pmic_mpp_config_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 404 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c struct pmic_mpp_state *state = pinctrl_dev_get_drvdata(pctldev); pctldev 410 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c pad = pctldev->desc->pins[pin].drv_data; pctldev 513 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c static void pmic_mpp_config_dbg_show(struct pinctrl_dev *pctldev, pctldev 516 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c struct pmic_mpp_state *state = pinctrl_dev_get_drvdata(pctldev); pctldev 524 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c pad = pctldev->desc->pins[pin].drv_data; pctldev 168 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c static int pm8xxx_get_groups_count(struct pinctrl_dev *pctldev) pctldev 170 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c struct pm8xxx_gpio *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 175 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c static const char *pm8xxx_get_group_name(struct pinctrl_dev *pctldev, pctldev 182 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c static int pm8xxx_get_group_pins(struct pinctrl_dev *pctldev, pctldev 187 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c struct pm8xxx_gpio *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 203 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c static int pm8xxx_get_functions_count(struct pinctrl_dev *pctldev) pctldev 208 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c static const char *pm8xxx_get_function_name(struct pinctrl_dev *pctldev, pctldev 214 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c static int pm8xxx_get_function_groups(struct pinctrl_dev *pctldev, pctldev 219 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c struct pm8xxx_gpio *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 226 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c static int pm8xxx_pinmux_set_mux(struct pinctrl_dev *pctldev, pctldev 230 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c struct pm8xxx_gpio *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 249 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c static int pm8xxx_pin_config_get(struct pinctrl_dev *pctldev, pctldev 253 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c struct pm8xxx_gpio *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 318 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c static int pm8xxx_pin_config_set(struct pinctrl_dev *pctldev, pctldev 323 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c struct pm8xxx_gpio *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 573 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c struct pinctrl_dev *pctldev, pctldev 240 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c static int pm8xxx_get_groups_count(struct pinctrl_dev *pctldev) pctldev 242 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c struct pm8xxx_mpp *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 247 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c static const char *pm8xxx_get_group_name(struct pinctrl_dev *pctldev, pctldev 254 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c static int pm8xxx_get_group_pins(struct pinctrl_dev *pctldev, pctldev 259 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c struct pm8xxx_mpp *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 275 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c static int pm8xxx_get_functions_count(struct pinctrl_dev *pctldev) pctldev 280 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c static const char *pm8xxx_get_function_name(struct pinctrl_dev *pctldev, pctldev 286 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c static int pm8xxx_get_function_groups(struct pinctrl_dev *pctldev, pctldev 291 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c struct pm8xxx_mpp *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 298 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c static int pm8xxx_pinmux_set_mux(struct pinctrl_dev *pctldev, pctldev 302 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c struct pm8xxx_mpp *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 318 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c static int pm8xxx_pin_config_get(struct pinctrl_dev *pctldev, pctldev 322 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c struct pm8xxx_mpp *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 367 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c static int pm8xxx_pin_config_set(struct pinctrl_dev *pctldev, pctldev 372 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c struct pm8xxx_mpp *pctrl = pinctrl_dev_get_drvdata(pctldev); pctldev 543 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c struct pinctrl_dev *pctldev, pctldev 50 drivers/pinctrl/samsung/pinctrl-samsung.c static int samsung_get_group_count(struct pinctrl_dev *pctldev) pctldev 52 drivers/pinctrl/samsung/pinctrl-samsung.c struct samsung_pinctrl_drv_data *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 57 drivers/pinctrl/samsung/pinctrl-samsung.c static const char *samsung_get_group_name(struct pinctrl_dev *pctldev, pctldev 60 drivers/pinctrl/samsung/pinctrl-samsung.c struct samsung_pinctrl_drv_data *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 65 drivers/pinctrl/samsung/pinctrl-samsung.c static int samsung_get_group_pins(struct pinctrl_dev *pctldev, pctldev 70 drivers/pinctrl/samsung/pinctrl-samsung.c struct samsung_pinctrl_drv_data *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 160 drivers/pinctrl/samsung/pinctrl-samsung.c static void samsung_dt_free_map(struct pinctrl_dev *pctldev, pctldev 248 drivers/pinctrl/samsung/pinctrl-samsung.c static int samsung_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 258 drivers/pinctrl/samsung/pinctrl-samsung.c drvdata = pinctrl_dev_get_drvdata(pctldev); pctldev 265 drivers/pinctrl/samsung/pinctrl-samsung.c return samsung_dt_subnode_to_map(drvdata, pctldev->dev, pctldev 271 drivers/pinctrl/samsung/pinctrl-samsung.c ret = samsung_dt_subnode_to_map(drvdata, pctldev->dev, np, map, pctldev 274 drivers/pinctrl/samsung/pinctrl-samsung.c samsung_dt_free_map(pctldev, *map, *num_maps); pctldev 285 drivers/pinctrl/samsung/pinctrl-samsung.c static int samsung_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 290 drivers/pinctrl/samsung/pinctrl-samsung.c static void samsung_pin_dbg_show(struct pinctrl_dev *pctldev, pctldev 299 drivers/pinctrl/samsung/pinctrl-samsung.c ret = samsung_pinconf_get(pctldev, pin, &config); pctldev 322 drivers/pinctrl/samsung/pinctrl-samsung.c static int samsung_get_functions_count(struct pinctrl_dev *pctldev) pctldev 326 drivers/pinctrl/samsung/pinctrl-samsung.c drvdata = pinctrl_dev_get_drvdata(pctldev); pctldev 331 drivers/pinctrl/samsung/pinctrl-samsung.c static const char *samsung_pinmux_get_fname(struct pinctrl_dev *pctldev, pctldev 336 drivers/pinctrl/samsung/pinctrl-samsung.c drvdata = pinctrl_dev_get_drvdata(pctldev); pctldev 341 drivers/pinctrl/samsung/pinctrl-samsung.c static int samsung_pinmux_get_groups(struct pinctrl_dev *pctldev, pctldev 347 drivers/pinctrl/samsung/pinctrl-samsung.c drvdata = pinctrl_dev_get_drvdata(pctldev); pctldev 376 drivers/pinctrl/samsung/pinctrl-samsung.c static void samsung_pinmux_setup(struct pinctrl_dev *pctldev, unsigned selector, pctldev 388 drivers/pinctrl/samsung/pinctrl-samsung.c drvdata = pinctrl_dev_get_drvdata(pctldev); pctldev 414 drivers/pinctrl/samsung/pinctrl-samsung.c static int samsung_pinmux_set_mux(struct pinctrl_dev *pctldev, pctldev 418 drivers/pinctrl/samsung/pinctrl-samsung.c samsung_pinmux_setup(pctldev, selector, group); pctldev 431 drivers/pinctrl/samsung/pinctrl-samsung.c static int samsung_pinconf_rw(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 443 drivers/pinctrl/samsung/pinctrl-samsung.c drvdata = pinctrl_dev_get_drvdata(pctldev); pctldev 477 drivers/pinctrl/samsung/pinctrl-samsung.c static int samsung_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 483 drivers/pinctrl/samsung/pinctrl-samsung.c ret = samsung_pinconf_rw(pctldev, pin, &configs[i], true); pctldev 492 drivers/pinctrl/samsung/pinctrl-samsung.c static int samsung_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 495 drivers/pinctrl/samsung/pinctrl-samsung.c return samsung_pinconf_rw(pctldev, pin, config, false); pctldev 499 drivers/pinctrl/samsung/pinctrl-samsung.c static int samsung_pinconf_group_set(struct pinctrl_dev *pctldev, pctldev 507 drivers/pinctrl/samsung/pinctrl-samsung.c drvdata = pinctrl_dev_get_drvdata(pctldev); pctldev 511 drivers/pinctrl/samsung/pinctrl-samsung.c samsung_pinconf_set(pctldev, pins[cnt], configs, num_configs); pctldev 517 drivers/pinctrl/samsung/pinctrl-samsung.c static int samsung_pinconf_group_get(struct pinctrl_dev *pctldev, pctldev 523 drivers/pinctrl/samsung/pinctrl-samsung.c drvdata = pinctrl_dev_get_drvdata(pctldev); pctldev 525 drivers/pinctrl/samsung/pinctrl-samsung.c samsung_pinconf_get(pctldev, pins[0], config); pctldev 48 drivers/pinctrl/sh-pfc/pinctrl.c static int sh_pfc_get_groups_count(struct pinctrl_dev *pctldev) pctldev 50 drivers/pinctrl/sh-pfc/pinctrl.c struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 55 drivers/pinctrl/sh-pfc/pinctrl.c static const char *sh_pfc_get_group_name(struct pinctrl_dev *pctldev, pctldev 58 drivers/pinctrl/sh-pfc/pinctrl.c struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 63 drivers/pinctrl/sh-pfc/pinctrl.c static int sh_pfc_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, pctldev 66 drivers/pinctrl/sh-pfc/pinctrl.c struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 74 drivers/pinctrl/sh-pfc/pinctrl.c static void sh_pfc_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, pctldev 102 drivers/pinctrl/sh-pfc/pinctrl.c static int sh_pfc_dt_subnode_to_map(struct pinctrl_dev *pctldev, pctldev 107 drivers/pinctrl/sh-pfc/pinctrl.c struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 241 drivers/pinctrl/sh-pfc/pinctrl.c static void sh_pfc_dt_free_map(struct pinctrl_dev *pctldev, pctldev 258 drivers/pinctrl/sh-pfc/pinctrl.c static int sh_pfc_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 262 drivers/pinctrl/sh-pfc/pinctrl.c struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 273 drivers/pinctrl/sh-pfc/pinctrl.c ret = sh_pfc_dt_subnode_to_map(pctldev, child, map, num_maps, pctldev 283 drivers/pinctrl/sh-pfc/pinctrl.c ret = sh_pfc_dt_subnode_to_map(pctldev, np, map, num_maps, pctldev 297 drivers/pinctrl/sh-pfc/pinctrl.c sh_pfc_dt_free_map(pctldev, *map, *num_maps); pctldev 314 drivers/pinctrl/sh-pfc/pinctrl.c static int sh_pfc_get_functions_count(struct pinctrl_dev *pctldev) pctldev 316 drivers/pinctrl/sh-pfc/pinctrl.c struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 321 drivers/pinctrl/sh-pfc/pinctrl.c static const char *sh_pfc_get_function_name(struct pinctrl_dev *pctldev, pctldev 324 drivers/pinctrl/sh-pfc/pinctrl.c struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 329 drivers/pinctrl/sh-pfc/pinctrl.c static int sh_pfc_get_function_groups(struct pinctrl_dev *pctldev, pctldev 334 drivers/pinctrl/sh-pfc/pinctrl.c struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 342 drivers/pinctrl/sh-pfc/pinctrl.c static int sh_pfc_func_set_mux(struct pinctrl_dev *pctldev, unsigned selector, pctldev 345 drivers/pinctrl/sh-pfc/pinctrl.c struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 352 drivers/pinctrl/sh-pfc/pinctrl.c dev_dbg(pctldev->dev, "Configuring pin group %s\n", grp->name); pctldev 388 drivers/pinctrl/sh-pfc/pinctrl.c static int sh_pfc_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 392 drivers/pinctrl/sh-pfc/pinctrl.c struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 422 drivers/pinctrl/sh-pfc/pinctrl.c static void sh_pfc_gpio_disable_free(struct pinctrl_dev *pctldev, pctldev 426 drivers/pinctrl/sh-pfc/pinctrl.c struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 440 drivers/pinctrl/sh-pfc/pinctrl.c static int sh_pfc_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 444 drivers/pinctrl/sh-pfc/pinctrl.c struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 596 drivers/pinctrl/sh-pfc/pinctrl.c static int sh_pfc_pinconf_get(struct pinctrl_dev *pctldev, unsigned _pin, pctldev 599 drivers/pinctrl/sh-pfc/pinctrl.c struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 666 drivers/pinctrl/sh-pfc/pinctrl.c static int sh_pfc_pinconf_set(struct pinctrl_dev *pctldev, unsigned _pin, pctldev 669 drivers/pinctrl/sh-pfc/pinctrl.c struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 741 drivers/pinctrl/sh-pfc/pinctrl.c static int sh_pfc_pinconf_group_set(struct pinctrl_dev *pctldev, unsigned group, pctldev 745 drivers/pinctrl/sh-pfc/pinctrl.c struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 754 drivers/pinctrl/sh-pfc/pinctrl.c ret = sh_pfc_pinconf_set(pctldev, pins[i], configs, num_configs); pctldev 4935 drivers/pinctrl/sirf/pinctrl-atlas7.c static int atlas7_pmx_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 4937 drivers/pinctrl/sirf/pinctrl-atlas7.c struct atlas7_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 4942 drivers/pinctrl/sirf/pinctrl-atlas7.c static const char *atlas7_pmx_get_func_name(struct pinctrl_dev *pctldev, pctldev 4945 drivers/pinctrl/sirf/pinctrl-atlas7.c struct atlas7_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 4950 drivers/pinctrl/sirf/pinctrl-atlas7.c static int atlas7_pmx_get_func_groups(struct pinctrl_dev *pctldev, pctldev 4954 drivers/pinctrl/sirf/pinctrl-atlas7.c struct atlas7_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 5095 drivers/pinctrl/sirf/pinctrl-atlas7.c static int atlas7_pmx_set_mux(struct pinctrl_dev *pctldev, pctldev 5099 drivers/pinctrl/sirf/pinctrl-atlas7.c struct atlas7_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 5161 drivers/pinctrl/sirf/pinctrl-atlas7.c static int altas7_pinctrl_set_pull_sel(struct pinctrl_dev *pctldev, pctldev 5164 drivers/pinctrl/sirf/pinctrl-atlas7.c struct atlas7_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 5187 drivers/pinctrl/sirf/pinctrl-atlas7.c static int __altas7_pinctrl_set_drive_strength_sel(struct pinctrl_dev *pctldev, pctldev 5190 drivers/pinctrl/sirf/pinctrl-atlas7.c struct atlas7_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 5214 drivers/pinctrl/sirf/pinctrl-atlas7.c static int altas7_pinctrl_set_drive_strength_sel(struct pinctrl_dev *pctldev, pctldev 5217 drivers/pinctrl/sirf/pinctrl-atlas7.c struct atlas7_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 5230 drivers/pinctrl/sirf/pinctrl-atlas7.c ret = __altas7_pinctrl_set_drive_strength_sel(pctldev, pctldev 5237 drivers/pinctrl/sirf/pinctrl-atlas7.c static int atlas7_pmx_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 5240 drivers/pinctrl/sirf/pinctrl-atlas7.c struct atlas7_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 5270 drivers/pinctrl/sirf/pinctrl-atlas7.c static int atlas7_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 5272 drivers/pinctrl/sirf/pinctrl-atlas7.c struct atlas7_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 5277 drivers/pinctrl/sirf/pinctrl-atlas7.c static const char *atlas7_pinctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 5280 drivers/pinctrl/sirf/pinctrl-atlas7.c struct atlas7_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 5285 drivers/pinctrl/sirf/pinctrl-atlas7.c static int atlas7_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 5288 drivers/pinctrl/sirf/pinctrl-atlas7.c struct atlas7_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 5296 drivers/pinctrl/sirf/pinctrl-atlas7.c static int atlas7_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 5301 drivers/pinctrl/sirf/pinctrl-atlas7.c return pinconf_generic_dt_node_to_map(pctldev, np_config, map, pctldev 5305 drivers/pinctrl/sirf/pinctrl-atlas7.c static void atlas7_pinctrl_dt_free_map(struct pinctrl_dev *pctldev, pctldev 5319 drivers/pinctrl/sirf/pinctrl-atlas7.c static int atlas7_pin_config_set(struct pinctrl_dev *pctldev, pctldev 5335 drivers/pinctrl/sirf/pinctrl-atlas7.c err = altas7_pinctrl_set_pull_sel(pctldev, pctldev 5342 drivers/pinctrl/sirf/pinctrl-atlas7.c err = altas7_pinctrl_set_pull_sel(pctldev, pctldev 5349 drivers/pinctrl/sirf/pinctrl-atlas7.c err = altas7_pinctrl_set_pull_sel(pctldev, pctldev 5355 drivers/pinctrl/sirf/pinctrl-atlas7.c err = altas7_pinctrl_set_pull_sel(pctldev, pctldev 5362 drivers/pinctrl/sirf/pinctrl-atlas7.c err = altas7_pinctrl_set_drive_strength_sel(pctldev, pctldev 5377 drivers/pinctrl/sirf/pinctrl-atlas7.c static int atlas7_pin_config_group_set(struct pinctrl_dev *pctldev, pctldev 5385 drivers/pinctrl/sirf/pinctrl-atlas7.c ret = atlas7_pinctrl_get_group_pins(pctldev, group, &pins, &npins); pctldev 5389 drivers/pinctrl/sirf/pinctrl-atlas7.c if (atlas7_pin_config_set(pctldev, pins[i], pctldev 51 drivers/pinctrl/sirf/pinctrl-sirf.c static int sirfsoc_get_groups_count(struct pinctrl_dev *pctldev) pctldev 56 drivers/pinctrl/sirf/pinctrl-sirf.c static const char *sirfsoc_get_group_name(struct pinctrl_dev *pctldev, pctldev 62 drivers/pinctrl/sirf/pinctrl-sirf.c static int sirfsoc_get_group_pins(struct pinctrl_dev *pctldev, pctldev 72 drivers/pinctrl/sirf/pinctrl-sirf.c static void sirfsoc_pin_dbg_show(struct pinctrl_dev *pctldev, pctldev 78 drivers/pinctrl/sirf/pinctrl-sirf.c static int sirfsoc_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 82 drivers/pinctrl/sirf/pinctrl-sirf.c struct sirfsoc_pmx *spmx = pinctrl_dev_get_drvdata(pctldev); pctldev 129 drivers/pinctrl/sirf/pinctrl-sirf.c static void sirfsoc_dt_free_map(struct pinctrl_dev *pctldev, pctldev 195 drivers/pinctrl/sirf/pinctrl-sirf.c static const char *sirfsoc_pinmux_get_func_name(struct pinctrl_dev *pctldev, pctldev 201 drivers/pinctrl/sirf/pinctrl-sirf.c static int sirfsoc_pinmux_get_groups(struct pinctrl_dev *pctldev, pctldev 114 drivers/pinctrl/spear/pinctrl-spear.c static int spear_pinctrl_get_groups_cnt(struct pinctrl_dev *pctldev) pctldev 116 drivers/pinctrl/spear/pinctrl-spear.c struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 121 drivers/pinctrl/spear/pinctrl-spear.c static const char *spear_pinctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 124 drivers/pinctrl/spear/pinctrl-spear.c struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 129 drivers/pinctrl/spear/pinctrl-spear.c static int spear_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 132 drivers/pinctrl/spear/pinctrl-spear.c struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 140 drivers/pinctrl/spear/pinctrl-spear.c static void spear_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, pctldev 146 drivers/pinctrl/spear/pinctrl-spear.c static int spear_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 151 drivers/pinctrl/spear/pinctrl-spear.c struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 198 drivers/pinctrl/spear/pinctrl-spear.c static void spear_pinctrl_dt_free_map(struct pinctrl_dev *pctldev, pctldev 214 drivers/pinctrl/spear/pinctrl-spear.c static int spear_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 216 drivers/pinctrl/spear/pinctrl-spear.c struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 221 drivers/pinctrl/spear/pinctrl-spear.c static const char *spear_pinctrl_get_func_name(struct pinctrl_dev *pctldev, pctldev 224 drivers/pinctrl/spear/pinctrl-spear.c struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 229 drivers/pinctrl/spear/pinctrl-spear.c static int spear_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, pctldev 233 drivers/pinctrl/spear/pinctrl-spear.c struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 241 drivers/pinctrl/spear/pinctrl-spear.c static int spear_pinctrl_endisable(struct pinctrl_dev *pctldev, pctldev 244 drivers/pinctrl/spear/pinctrl-spear.c struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 275 drivers/pinctrl/spear/pinctrl-spear.c static int spear_pinctrl_set_mux(struct pinctrl_dev *pctldev, unsigned function, pctldev 278 drivers/pinctrl/spear/pinctrl-spear.c return spear_pinctrl_endisable(pctldev, function, group, true); pctldev 303 drivers/pinctrl/spear/pinctrl-spear.c static int gpio_request_endisable(struct pinctrl_dev *pctldev, pctldev 306 drivers/pinctrl/spear/pinctrl-spear.c struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 329 drivers/pinctrl/spear/pinctrl-spear.c static int gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 332 drivers/pinctrl/spear/pinctrl-spear.c return gpio_request_endisable(pctldev, range, offset, true); pctldev 335 drivers/pinctrl/spear/pinctrl-spear.c static void gpio_disable_free(struct pinctrl_dev *pctldev, pctldev 338 drivers/pinctrl/spear/pinctrl-spear.c gpio_request_endisable(pctldev, range, offset, false); pctldev 206 drivers/pinctrl/sprd/pinctrl-sprd.c static int sprd_pctrl_group_count(struct pinctrl_dev *pctldev) pctldev 208 drivers/pinctrl/sprd/pinctrl-sprd.c struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 214 drivers/pinctrl/sprd/pinctrl-sprd.c static const char *sprd_pctrl_group_name(struct pinctrl_dev *pctldev, pctldev 217 drivers/pinctrl/sprd/pinctrl-sprd.c struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 223 drivers/pinctrl/sprd/pinctrl-sprd.c static int sprd_pctrl_group_pins(struct pinctrl_dev *pctldev, pctldev 228 drivers/pinctrl/sprd/pinctrl-sprd.c struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 240 drivers/pinctrl/sprd/pinctrl-sprd.c static int sprd_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 245 drivers/pinctrl/sprd/pinctrl-sprd.c struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 280 drivers/pinctrl/sprd/pinctrl-sprd.c ret = pinconf_generic_parse_dt_config(np, pctldev, &configs, pctldev 296 drivers/pinctrl/sprd/pinctrl-sprd.c ret = pinctrl_utils_reserve_map(pctldev, map, &reserved_maps, pctldev 302 drivers/pinctrl/sprd/pinctrl-sprd.c ret = pinctrl_utils_add_map_mux(pctldev, map, pctldev 315 drivers/pinctrl/sprd/pinctrl-sprd.c group_or_pin = pin_get_name(pctldev, pin_id); pctldev 320 drivers/pinctrl/sprd/pinctrl-sprd.c ret = pinctrl_utils_add_map_configs(pctldev, map, pctldev 331 drivers/pinctrl/sprd/pinctrl-sprd.c static void sprd_pctrl_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, pctldev 334 drivers/pinctrl/sprd/pinctrl-sprd.c seq_printf(s, "%s", dev_name(pctldev->dev)); pctldev 346 drivers/pinctrl/sprd/pinctrl-sprd.c static int sprd_pmx_get_function_count(struct pinctrl_dev *pctldev) pctldev 351 drivers/pinctrl/sprd/pinctrl-sprd.c static const char *sprd_pmx_get_function_name(struct pinctrl_dev *pctldev, pctldev 368 drivers/pinctrl/sprd/pinctrl-sprd.c static int sprd_pmx_get_function_groups(struct pinctrl_dev *pctldev, pctldev 373 drivers/pinctrl/sprd/pinctrl-sprd.c struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 382 drivers/pinctrl/sprd/pinctrl-sprd.c static int sprd_pmx_set_mux(struct pinctrl_dev *pctldev, pctldev 386 drivers/pinctrl/sprd/pinctrl-sprd.c struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 436 drivers/pinctrl/sprd/pinctrl-sprd.c static int sprd_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin_id, pctldev 439 drivers/pinctrl/sprd/pinctrl-sprd.c struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 575 drivers/pinctrl/sprd/pinctrl-sprd.c static int sprd_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin_id, pctldev 578 drivers/pinctrl/sprd/pinctrl-sprd.c struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 704 drivers/pinctrl/sprd/pinctrl-sprd.c static int sprd_pinconf_group_get(struct pinctrl_dev *pctldev, pctldev 707 drivers/pinctrl/sprd/pinctrl-sprd.c struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 718 drivers/pinctrl/sprd/pinctrl-sprd.c return sprd_pinconf_get(pctldev, pin_id, config); pctldev 721 drivers/pinctrl/sprd/pinctrl-sprd.c static int sprd_pinconf_group_set(struct pinctrl_dev *pctldev, pctldev 726 drivers/pinctrl/sprd/pinctrl-sprd.c struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 739 drivers/pinctrl/sprd/pinctrl-sprd.c ret = sprd_pinconf_set(pctldev, pin_id, configs, num_configs); pctldev 747 drivers/pinctrl/sprd/pinctrl-sprd.c static int sprd_pinconf_get_config(struct pinctrl_dev *pctldev, pctldev 751 drivers/pinctrl/sprd/pinctrl-sprd.c struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 767 drivers/pinctrl/sprd/pinctrl-sprd.c static void sprd_pinconf_dbg_show(struct pinctrl_dev *pctldev, pctldev 773 drivers/pinctrl/sprd/pinctrl-sprd.c ret = sprd_pinconf_get_config(pctldev, pin_id, &config); pctldev 780 drivers/pinctrl/sprd/pinctrl-sprd.c static void sprd_pinconf_group_dbg_show(struct pinctrl_dev *pctldev, pctldev 784 drivers/pinctrl/sprd/pinctrl-sprd.c struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 800 drivers/pinctrl/sprd/pinctrl-sprd.c name = pin_get_name(pctldev, pin_id); pctldev 801 drivers/pinctrl/sprd/pinctrl-sprd.c ret = sprd_pinconf_get_config(pctldev, pin_id, &config); pctldev 505 drivers/pinctrl/stm32/pinctrl-stm32.c static int stm32_pctrl_dt_subnode_to_map(struct pinctrl_dev *pctldev, pctldev 521 drivers/pinctrl/stm32/pinctrl-stm32.c pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 530 drivers/pinctrl/stm32/pinctrl-stm32.c err = pinconf_generic_parse_dt_config(node, pctldev, &configs, pctldev 553 drivers/pinctrl/stm32/pinctrl-stm32.c err = pinctrl_utils_reserve_map(pctldev, map, pctldev 587 drivers/pinctrl/stm32/pinctrl-stm32.c err = pinctrl_utils_add_map_configs(pctldev, map, pctldev 601 drivers/pinctrl/stm32/pinctrl-stm32.c static int stm32_pctrl_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 614 drivers/pinctrl/stm32/pinctrl-stm32.c ret = stm32_pctrl_dt_subnode_to_map(pctldev, np, map, pctldev 617 drivers/pinctrl/stm32/pinctrl-stm32.c pinctrl_utils_free_map(pctldev, *map, *num_maps); pctldev 626 drivers/pinctrl/stm32/pinctrl-stm32.c static int stm32_pctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 628 drivers/pinctrl/stm32/pinctrl-stm32.c struct stm32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 633 drivers/pinctrl/stm32/pinctrl-stm32.c static const char *stm32_pctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 636 drivers/pinctrl/stm32/pinctrl-stm32.c struct stm32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 641 drivers/pinctrl/stm32/pinctrl-stm32.c static int stm32_pctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 646 drivers/pinctrl/stm32/pinctrl-stm32.c struct stm32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 665 drivers/pinctrl/stm32/pinctrl-stm32.c static int stm32_pmx_get_funcs_cnt(struct pinctrl_dev *pctldev) pctldev 670 drivers/pinctrl/stm32/pinctrl-stm32.c static const char *stm32_pmx_get_func_name(struct pinctrl_dev *pctldev, pctldev 676 drivers/pinctrl/stm32/pinctrl-stm32.c static int stm32_pmx_get_func_groups(struct pinctrl_dev *pctldev, pctldev 681 drivers/pinctrl/stm32/pinctrl-stm32.c struct stm32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 755 drivers/pinctrl/stm32/pinctrl-stm32.c static int stm32_pmx_set_mux(struct pinctrl_dev *pctldev, pctldev 760 drivers/pinctrl/stm32/pinctrl-stm32.c struct stm32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 774 drivers/pinctrl/stm32/pinctrl-stm32.c range = pinctrl_find_gpio_range_from_pin(pctldev, g->pin); pctldev 789 drivers/pinctrl/stm32/pinctrl-stm32.c static int stm32_pmx_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 994 drivers/pinctrl/stm32/pinctrl-stm32.c static int stm32_pconf_parse_conf(struct pinctrl_dev *pctldev, pctldev 998 drivers/pinctrl/stm32/pinctrl-stm32.c struct stm32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 1003 drivers/pinctrl/stm32/pinctrl-stm32.c range = pinctrl_find_gpio_range_from_pin(pctldev, pin); pctldev 1033 drivers/pinctrl/stm32/pinctrl-stm32.c ret = stm32_pmx_gpio_set_direction(pctldev, range, pin, false); pctldev 1042 drivers/pinctrl/stm32/pinctrl-stm32.c static int stm32_pconf_group_get(struct pinctrl_dev *pctldev, pctldev 1046 drivers/pinctrl/stm32/pinctrl-stm32.c struct stm32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 1053 drivers/pinctrl/stm32/pinctrl-stm32.c static int stm32_pconf_group_set(struct pinctrl_dev *pctldev, unsigned group, pctldev 1056 drivers/pinctrl/stm32/pinctrl-stm32.c struct stm32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 1061 drivers/pinctrl/stm32/pinctrl-stm32.c ret = stm32_pconf_parse_conf(pctldev, g->pin, pctldev 1073 drivers/pinctrl/stm32/pinctrl-stm32.c static void stm32_pconf_dbg_show(struct pinctrl_dev *pctldev, pctldev 1089 drivers/pinctrl/stm32/pinctrl-stm32.c range = pinctrl_find_gpio_range_from_pin_nolock(pctldev, pin); pctldev 126 drivers/pinctrl/sunxi/pinctrl-sunxi.c static int sunxi_pctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 128 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 133 drivers/pinctrl/sunxi/pinctrl-sunxi.c static const char *sunxi_pctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 136 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 141 drivers/pinctrl/sunxi/pinctrl-sunxi.c static int sunxi_pctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 146 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 319 drivers/pinctrl/sunxi/pinctrl-sunxi.c static int sunxi_pctrl_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 324 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 416 drivers/pinctrl/sunxi/pinctrl-sunxi.c static void sunxi_pctrl_dt_free_map(struct pinctrl_dev *pctldev, pctldev 471 drivers/pinctrl/sunxi/pinctrl-sunxi.c static int sunxi_pconf_get(struct pinctrl_dev *pctldev, unsigned pin, pctldev 474 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 522 drivers/pinctrl/sunxi/pinctrl-sunxi.c static int sunxi_pconf_group_get(struct pinctrl_dev *pctldev, pctldev 526 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 530 drivers/pinctrl/sunxi/pinctrl-sunxi.c return sunxi_pconf_get(pctldev, g->pin, config); pctldev 533 drivers/pinctrl/sunxi/pinctrl-sunxi.c static int sunxi_pconf_set(struct pinctrl_dev *pctldev, unsigned pin, pctldev 536 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 595 drivers/pinctrl/sunxi/pinctrl-sunxi.c static int sunxi_pconf_group_set(struct pinctrl_dev *pctldev, unsigned group, pctldev 598 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 602 drivers/pinctrl/sunxi/pinctrl-sunxi.c return sunxi_pconf_set(pctldev, g->pin, configs, num_configs); pctldev 670 drivers/pinctrl/sunxi/pinctrl-sunxi.c static int sunxi_pmx_get_funcs_cnt(struct pinctrl_dev *pctldev) pctldev 672 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 677 drivers/pinctrl/sunxi/pinctrl-sunxi.c static const char *sunxi_pmx_get_func_name(struct pinctrl_dev *pctldev, pctldev 680 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 685 drivers/pinctrl/sunxi/pinctrl-sunxi.c static int sunxi_pmx_get_func_groups(struct pinctrl_dev *pctldev, pctldev 690 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 698 drivers/pinctrl/sunxi/pinctrl-sunxi.c static void sunxi_pmx_set(struct pinctrl_dev *pctldev, pctldev 702 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 717 drivers/pinctrl/sunxi/pinctrl-sunxi.c static int sunxi_pmx_set_mux(struct pinctrl_dev *pctldev, pctldev 721 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 732 drivers/pinctrl/sunxi/pinctrl-sunxi.c sunxi_pmx_set(pctldev, g->pin, desc->muxval); pctldev 738 drivers/pinctrl/sunxi/pinctrl-sunxi.c sunxi_pmx_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 743 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 756 drivers/pinctrl/sunxi/pinctrl-sunxi.c sunxi_pmx_set(pctldev, offset, desc->muxval); pctldev 761 drivers/pinctrl/sunxi/pinctrl-sunxi.c static int sunxi_pmx_request(struct pinctrl_dev *pctldev, unsigned offset) pctldev 763 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 805 drivers/pinctrl/sunxi/pinctrl-sunxi.c static int sunxi_pmx_free(struct pinctrl_dev *pctldev, unsigned offset) pctldev 807 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); pctldev 40 drivers/pinctrl/tegra/pinctrl-tegra.c static int tegra_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 42 drivers/pinctrl/tegra/pinctrl-tegra.c struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 47 drivers/pinctrl/tegra/pinctrl-tegra.c static const char *tegra_pinctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 50 drivers/pinctrl/tegra/pinctrl-tegra.c struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 55 drivers/pinctrl/tegra/pinctrl-tegra.c static int tegra_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 60 drivers/pinctrl/tegra/pinctrl-tegra.c struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 69 drivers/pinctrl/tegra/pinctrl-tegra.c static void tegra_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, pctldev 73 drivers/pinctrl/tegra/pinctrl-tegra.c seq_printf(s, " %s", dev_name(pctldev->dev)); pctldev 99 drivers/pinctrl/tegra/pinctrl-tegra.c static int tegra_pinctrl_dt_subnode_to_map(struct pinctrl_dev *pctldev, pctldev 105 drivers/pinctrl/tegra/pinctrl-tegra.c struct device *dev = pctldev->dev; pctldev 129 drivers/pinctrl/tegra/pinctrl-tegra.c ret = pinctrl_utils_add_config(pctldev, &configs, pctldev 152 drivers/pinctrl/tegra/pinctrl-tegra.c ret = pinctrl_utils_reserve_map(pctldev, map, reserved_maps, pctldev 159 drivers/pinctrl/tegra/pinctrl-tegra.c ret = pinctrl_utils_add_map_mux(pctldev, map, pctldev 167 drivers/pinctrl/tegra/pinctrl-tegra.c ret = pinctrl_utils_add_map_configs(pctldev, map, pctldev 183 drivers/pinctrl/tegra/pinctrl-tegra.c static int tegra_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 197 drivers/pinctrl/tegra/pinctrl-tegra.c ret = tegra_pinctrl_dt_subnode_to_map(pctldev, np, map, pctldev 200 drivers/pinctrl/tegra/pinctrl-tegra.c pinctrl_utils_free_map(pctldev, *map, pctldev 221 drivers/pinctrl/tegra/pinctrl-tegra.c static int tegra_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev) pctldev 223 drivers/pinctrl/tegra/pinctrl-tegra.c struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 228 drivers/pinctrl/tegra/pinctrl-tegra.c static const char *tegra_pinctrl_get_func_name(struct pinctrl_dev *pctldev, pctldev 231 drivers/pinctrl/tegra/pinctrl-tegra.c struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 236 drivers/pinctrl/tegra/pinctrl-tegra.c static int tegra_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, pctldev 241 drivers/pinctrl/tegra/pinctrl-tegra.c struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 249 drivers/pinctrl/tegra/pinctrl-tegra.c static int tegra_pinctrl_set_mux(struct pinctrl_dev *pctldev, pctldev 253 drivers/pinctrl/tegra/pinctrl-tegra.c struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 424 drivers/pinctrl/tegra/pinctrl-tegra.c static int tegra_pinconf_get(struct pinctrl_dev *pctldev, pctldev 427 drivers/pinctrl/tegra/pinctrl-tegra.c dev_err(pctldev->dev, "pin_config_get op not supported\n"); pctldev 431 drivers/pinctrl/tegra/pinctrl-tegra.c static int tegra_pinconf_set(struct pinctrl_dev *pctldev, pctldev 435 drivers/pinctrl/tegra/pinctrl-tegra.c dev_err(pctldev->dev, "pin_config_set op not supported\n"); pctldev 439 drivers/pinctrl/tegra/pinctrl-tegra.c static int tegra_pinconf_group_get(struct pinctrl_dev *pctldev, pctldev 442 drivers/pinctrl/tegra/pinctrl-tegra.c struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 467 drivers/pinctrl/tegra/pinctrl-tegra.c static int tegra_pinconf_group_set(struct pinctrl_dev *pctldev, pctldev 471 drivers/pinctrl/tegra/pinctrl-tegra.c struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 496 drivers/pinctrl/tegra/pinctrl-tegra.c dev_err(pctldev->dev, "LOCK bit cannot be cleared\n"); pctldev 508 drivers/pinctrl/tegra/pinctrl-tegra.c dev_err(pctldev->dev, pctldev 524 drivers/pinctrl/tegra/pinctrl-tegra.c static void tegra_pinconf_dbg_show(struct pinctrl_dev *pctldev, pctldev 538 drivers/pinctrl/tegra/pinctrl-tegra.c static void tegra_pinconf_group_dbg_show(struct pinctrl_dev *pctldev, pctldev 541 drivers/pinctrl/tegra/pinctrl-tegra.c struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); pctldev 565 drivers/pinctrl/tegra/pinctrl-tegra.c static void tegra_pinconf_config_dbg_show(struct pinctrl_dev *pctldev, pctldev 424 drivers/pinctrl/ti/pinctrl-ti-iodelay.c static int ti_iodelay_node_iterator(struct pinctrl_dev *pctldev, pctldev 435 drivers/pinctrl/ti/pinctrl-ti-iodelay.c iod = pinctrl_dev_get_drvdata(pctldev); pctldev 483 drivers/pinctrl/ti/pinctrl-ti-iodelay.c static int ti_iodelay_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 494 drivers/pinctrl/ti/pinctrl-ti-iodelay.c iod = pinctrl_dev_get_drvdata(pctldev); pctldev 531 drivers/pinctrl/ti/pinctrl-ti-iodelay.c error = ti_iodelay_node_iterator(pctldev, np, &pinctrl_spec, pctldev 573 drivers/pinctrl/ti/pinctrl-ti-iodelay.c static int ti_iodelay_pinconf_group_get(struct pinctrl_dev *pctldev, pctldev 580 drivers/pinctrl/ti/pinctrl-ti-iodelay.c iod = pinctrl_dev_get_drvdata(pctldev); pctldev 599 drivers/pinctrl/ti/pinctrl-ti-iodelay.c static int ti_iodelay_pinconf_group_set(struct pinctrl_dev *pctldev, pctldev 609 drivers/pinctrl/ti/pinctrl-ti-iodelay.c iod = pinctrl_dev_get_drvdata(pctldev); pctldev 651 drivers/pinctrl/ti/pinctrl-ti-iodelay.c static void ti_iodelay_pin_dbg_show(struct pinctrl_dev *pctldev, pctldev 662 drivers/pinctrl/ti/pinctrl-ti-iodelay.c iod = pinctrl_dev_get_drvdata(pctldev); pctldev 689 drivers/pinctrl/ti/pinctrl-ti-iodelay.c static void ti_iodelay_pinconf_group_dbg_show(struct pinctrl_dev *pctldev, pctldev 697 drivers/pinctrl/ti/pinctrl-ti-iodelay.c iod = pinctrl_dev_get_drvdata(pctldev); pctldev 37 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c struct pinctrl_dev *pctldev; pctldev 43 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static int uniphier_pctl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 45 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 50 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static const char *uniphier_pctl_get_group_name(struct pinctrl_dev *pctldev, pctldev 53 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 58 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static int uniphier_pctl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 63 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 72 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static void uniphier_pctl_pin_dbg_show(struct pinctrl_dev *pctldev, pctldev 75 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c const struct pin_desc *desc = pin_desc_get(pctldev, offset); pctldev 147 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static int uniphier_conf_get_drvctrl_data(struct pinctrl_dev *pctldev, pctldev 153 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c const struct pin_desc *desc = pin_desc_get(pctldev, pin); pctldev 204 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static int uniphier_conf_pin_bias_get(struct pinctrl_dev *pctldev, pctldev 208 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 209 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c const struct pin_desc *desc = pin_desc_get(pctldev, pin); pctldev 255 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static int uniphier_conf_pin_drive_get(struct pinctrl_dev *pctldev, pctldev 258 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 263 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c ret = uniphier_conf_get_drvctrl_data(pctldev, pin, ®, &shift, pctldev 281 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static int uniphier_conf_pin_input_enable_get(struct pinctrl_dev *pctldev, pctldev 284 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 285 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c const struct pin_desc *desc = pin_desc_get(pctldev, pin); pctldev 307 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static int uniphier_conf_pin_config_get(struct pinctrl_dev *pctldev, pctldev 320 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c ret = uniphier_conf_pin_bias_get(pctldev, pin, param); pctldev 323 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c ret = uniphier_conf_pin_drive_get(pctldev, pin, &arg); pctldev 327 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c ret = uniphier_conf_pin_input_enable_get(pctldev, pin); pctldev 341 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static int uniphier_conf_pin_bias_set(struct pinctrl_dev *pctldev, pctldev 345 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 346 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c const struct pin_desc *desc = pin_desc_get(pctldev, pin); pctldev 358 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c dev_err(pctldev->dev, pctldev 369 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c dev_err(pctldev->dev, pctldev 375 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c dev_err(pctldev->dev, "pull-up can not be total\n"); pctldev 383 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c dev_err(pctldev->dev, pctldev 389 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c dev_err(pctldev->dev, "pull-down can not be total\n"); pctldev 395 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c dev_err(pctldev->dev, pctldev 416 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static int uniphier_conf_pin_drive_set(struct pinctrl_dev *pctldev, pctldev 419 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 420 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c const struct pin_desc *desc = pin_desc_get(pctldev, pin); pctldev 425 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c ret = uniphier_conf_get_drvctrl_data(pctldev, pin, ®, &shift, pctldev 428 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c dev_err(pctldev->dev, "cannot set drive strength for pin %s\n", pctldev 439 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c dev_err(pctldev->dev, pctldev 454 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static int uniphier_conf_pin_input_enable(struct pinctrl_dev *pctldev, pctldev 457 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 458 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c const struct pin_desc *desc = pin_desc_get(pctldev, pin); pctldev 483 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static int uniphier_conf_pin_config_set(struct pinctrl_dev *pctldev, pctldev 500 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c ret = uniphier_conf_pin_bias_set(pctldev, pin, pctldev 504 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c ret = uniphier_conf_pin_drive_set(pctldev, pin, arg); pctldev 507 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c ret = uniphier_conf_pin_input_enable(pctldev, pin, arg); pctldev 510 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c dev_err(pctldev->dev, pctldev 523 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static int uniphier_conf_pin_config_group_set(struct pinctrl_dev *pctldev, pctldev 528 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 534 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c ret = uniphier_conf_pin_config_set(pctldev, pins[i], pctldev 550 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static int uniphier_pmx_get_functions_count(struct pinctrl_dev *pctldev) pctldev 552 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 557 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static const char *uniphier_pmx_get_function_name(struct pinctrl_dev *pctldev, pctldev 560 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 565 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static int uniphier_pmx_get_function_groups(struct pinctrl_dev *pctldev, pctldev 570 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 578 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static int uniphier_pmx_set_one_mux(struct pinctrl_dev *pctldev, unsigned pin, pctldev 581 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 587 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c ret = uniphier_conf_pin_input_enable(pctldev, pin, 1); pctldev 641 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static int uniphier_pmx_set_mux(struct pinctrl_dev *pctldev, pctldev 645 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 652 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c ret = uniphier_pmx_set_one_mux(pctldev, grp->pins[i], pctldev 661 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c static int uniphier_pmx_gpio_request_enable(struct pinctrl_dev *pctldev, pctldev 665 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); pctldev 686 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c return uniphier_pmx_set_one_mux(pctldev, offset, muxval); pctldev 903 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c priv->pctldev = devm_pinctrl_register(dev, &priv->pctldesc, priv); pctldev 904 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c if (IS_ERR(priv->pctldev)) { pctldev 906 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c return PTR_ERR(priv->pctldev); pctldev 59 drivers/pinctrl/vt8500/pinctrl-wmt.c static int wmt_pmx_get_functions_count(struct pinctrl_dev *pctldev) pctldev 64 drivers/pinctrl/vt8500/pinctrl-wmt.c static const char *wmt_pmx_get_function_name(struct pinctrl_dev *pctldev, pctldev 70 drivers/pinctrl/vt8500/pinctrl-wmt.c static int wmt_pmx_get_function_groups(struct pinctrl_dev *pctldev, pctldev 75 drivers/pinctrl/vt8500/pinctrl-wmt.c struct wmt_pinctrl_data *data = pinctrl_dev_get_drvdata(pctldev); pctldev 125 drivers/pinctrl/vt8500/pinctrl-wmt.c static int wmt_pmx_set_mux(struct pinctrl_dev *pctldev, pctldev 129 drivers/pinctrl/vt8500/pinctrl-wmt.c struct wmt_pinctrl_data *data = pinctrl_dev_get_drvdata(pctldev); pctldev 135 drivers/pinctrl/vt8500/pinctrl-wmt.c static void wmt_pmx_gpio_disable_free(struct pinctrl_dev *pctldev, pctldev 139 drivers/pinctrl/vt8500/pinctrl-wmt.c struct wmt_pinctrl_data *data = pinctrl_dev_get_drvdata(pctldev); pctldev 145 drivers/pinctrl/vt8500/pinctrl-wmt.c static int wmt_pmx_gpio_set_direction(struct pinctrl_dev *pctldev, pctldev 150 drivers/pinctrl/vt8500/pinctrl-wmt.c struct wmt_pinctrl_data *data = pinctrl_dev_get_drvdata(pctldev); pctldev 167 drivers/pinctrl/vt8500/pinctrl-wmt.c static int wmt_get_groups_count(struct pinctrl_dev *pctldev) pctldev 169 drivers/pinctrl/vt8500/pinctrl-wmt.c struct wmt_pinctrl_data *data = pinctrl_dev_get_drvdata(pctldev); pctldev 174 drivers/pinctrl/vt8500/pinctrl-wmt.c static const char *wmt_get_group_name(struct pinctrl_dev *pctldev, pctldev 177 drivers/pinctrl/vt8500/pinctrl-wmt.c struct wmt_pinctrl_data *data = pinctrl_dev_get_drvdata(pctldev); pctldev 182 drivers/pinctrl/vt8500/pinctrl-wmt.c static int wmt_get_group_pins(struct pinctrl_dev *pctldev, pctldev 187 drivers/pinctrl/vt8500/pinctrl-wmt.c struct wmt_pinctrl_data *data = pinctrl_dev_get_drvdata(pctldev); pctldev 282 drivers/pinctrl/vt8500/pinctrl-wmt.c static void wmt_pctl_dt_free_map(struct pinctrl_dev *pctldev, pctldev 295 drivers/pinctrl/vt8500/pinctrl-wmt.c static int wmt_pctl_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 305 drivers/pinctrl/vt8500/pinctrl-wmt.c struct wmt_pinctrl_data *data = pinctrl_dev_get_drvdata(pctldev); pctldev 400 drivers/pinctrl/vt8500/pinctrl-wmt.c wmt_pctl_dt_free_map(pctldev, maps, num_pins * maps_per_pin); pctldev 412 drivers/pinctrl/vt8500/pinctrl-wmt.c static int wmt_pinconf_get(struct pinctrl_dev *pctldev, unsigned pin, pctldev 418 drivers/pinctrl/vt8500/pinctrl-wmt.c static int wmt_pinconf_set(struct pinctrl_dev *pctldev, unsigned pin, pctldev 421 drivers/pinctrl/vt8500/pinctrl-wmt.c struct wmt_pinctrl_data *data = pinctrl_dev_get_drvdata(pctldev); pctldev 31 drivers/pinctrl/zte/pinctrl-zx.c struct pinctrl_dev *pctldev; pctldev 39 drivers/pinctrl/zte/pinctrl-zx.c static int zx_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 43 drivers/pinctrl/zte/pinctrl-zx.c return pinconf_generic_dt_node_to_map(pctldev, np_config, map, pctldev 57 drivers/pinctrl/zte/pinctrl-zx.c static int zx_set_mux(struct pinctrl_dev *pctldev, unsigned int func_selector, pctldev 60 drivers/pinctrl/zte/pinctrl-zx.c struct zx_pinctrl *zpctl = pinctrl_dev_get_drvdata(pctldev); pctldev 79 drivers/pinctrl/zte/pinctrl-zx.c func = pinmux_generic_get_function(pctldev, func_selector); pctldev 155 drivers/pinctrl/zte/pinctrl-zx.c static int zx_pin_config_get(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 158 drivers/pinctrl/zte/pinctrl-zx.c struct zx_pinctrl *zpctl = pinctrl_dev_get_drvdata(pctldev); pctldev 208 drivers/pinctrl/zte/pinctrl-zx.c static int zx_pin_config_set(struct pinctrl_dev *pctldev, unsigned int pin, pctldev 211 drivers/pinctrl/zte/pinctrl-zx.c struct zx_pinctrl *zpctl = pinctrl_dev_get_drvdata(pctldev); pctldev 268 drivers/pinctrl/zte/pinctrl-zx.c struct pinctrl_dev *pctldev = zpctl->pctldev; pctldev 289 drivers/pinctrl/zte/pinctrl-zx.c radix_tree_insert(&pctldev->pin_group_tree, i, group); pctldev 292 drivers/pinctrl/zte/pinctrl-zx.c pctldev->num_groups = ngroups; pctldev 328 drivers/pinctrl/zte/pinctrl-zx.c radix_tree_insert(&pctldev->pin_function_tree, pctldev 336 drivers/pinctrl/zte/pinctrl-zx.c pctldev->num_functions = nfunctions; pctldev 430 drivers/pinctrl/zte/pinctrl-zx.c zpctl->pctldev = devm_pinctrl_register(&pdev->dev, pctldesc, zpctl); pctldev 431 drivers/pinctrl/zte/pinctrl-zx.c if (IS_ERR(zpctl->pctldev)) { pctldev 432 drivers/pinctrl/zte/pinctrl-zx.c ret = PTR_ERR(zpctl->pctldev); pctldev 152 drivers/rtc/rtc-omap.c struct pinctrl_dev *pctldev; pctldev 568 drivers/rtc/rtc-omap.c static int rtc_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) pctldev 573 drivers/rtc/rtc-omap.c static const char *rtc_pinctrl_get_group_name(struct pinctrl_dev *pctldev, pctldev 598 drivers/rtc/rtc-omap.c static int rtc_pinconf_get(struct pinctrl_dev *pctldev, pctldev 601 drivers/rtc/rtc-omap.c struct omap_rtc *rtc = pinctrl_dev_get_drvdata(pctldev); pctldev 626 drivers/rtc/rtc-omap.c static int rtc_pinconf_set(struct pinctrl_dev *pctldev, pctldev 630 drivers/rtc/rtc-omap.c struct omap_rtc *rtc = pinctrl_dev_get_drvdata(pctldev); pctldev 885 drivers/rtc/rtc-omap.c rtc->pctldev = pinctrl_register(&rtc_pinctrl_desc, &pdev->dev, rtc); pctldev 886 drivers/rtc/rtc-omap.c if (IS_ERR(rtc->pctldev)) { pctldev 888 drivers/rtc/rtc-omap.c ret = PTR_ERR(rtc->pctldev); pctldev 908 drivers/rtc/rtc-omap.c pinctrl_unregister(rtc->pctldev); pctldev 952 drivers/rtc/rtc-omap.c pinctrl_unregister(rtc->pctldev); pctldev 672 include/linux/gpio/driver.h struct pinctrl_dev *pctldev; pctldev 682 include/linux/gpio/driver.h struct pinctrl_dev *pctldev, pctldev 697 include/linux/gpio/driver.h struct pinctrl_dev *pctldev, pctldev 184 include/linux/pinctrl/pinconf-generic.h int pinconf_generic_dt_subnode_to_map(struct pinctrl_dev *pctldev, pctldev 188 include/linux/pinctrl/pinconf-generic.h int pinconf_generic_dt_node_to_map(struct pinctrl_dev *pctldev, pctldev 191 include/linux/pinctrl/pinconf-generic.h void pinconf_generic_dt_free_map(struct pinctrl_dev *pctldev, pctldev 195 include/linux/pinctrl/pinconf-generic.h struct pinctrl_dev *pctldev, struct device_node *np_config, pctldev 198 include/linux/pinctrl/pinconf-generic.h return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps, pctldev 203 include/linux/pinctrl/pinconf-generic.h struct pinctrl_dev *pctldev, struct device_node *np_config, pctldev 206 include/linux/pinctrl/pinconf-generic.h return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps, pctldev 211 include/linux/pinctrl/pinconf-generic.h struct pinctrl_dev *pctldev, struct device_node *np_config, pctldev 218 include/linux/pinctrl/pinconf-generic.h return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps, pctldev 42 include/linux/pinctrl/pinconf.h int (*pin_config_get) (struct pinctrl_dev *pctldev, pctldev 45 include/linux/pinctrl/pinconf.h int (*pin_config_set) (struct pinctrl_dev *pctldev, pctldev 49 include/linux/pinctrl/pinconf.h int (*pin_config_group_get) (struct pinctrl_dev *pctldev, pctldev 52 include/linux/pinctrl/pinconf.h int (*pin_config_group_set) (struct pinctrl_dev *pctldev, pctldev 56 include/linux/pinctrl/pinconf.h void (*pin_config_dbg_show) (struct pinctrl_dev *pctldev, pctldev 59 include/linux/pinctrl/pinconf.h void (*pin_config_group_dbg_show) (struct pinctrl_dev *pctldev, pctldev 62 include/linux/pinctrl/pinconf.h void (*pin_config_config_dbg_show) (struct pinctrl_dev *pctldev, pctldev 89 include/linux/pinctrl/pinctrl.h int (*get_groups_count) (struct pinctrl_dev *pctldev); pctldev 90 include/linux/pinctrl/pinctrl.h const char *(*get_group_name) (struct pinctrl_dev *pctldev, pctldev 92 include/linux/pinctrl/pinctrl.h int (*get_group_pins) (struct pinctrl_dev *pctldev, pctldev 96 include/linux/pinctrl/pinctrl.h void (*pin_dbg_show) (struct pinctrl_dev *pctldev, struct seq_file *s, pctldev 98 include/linux/pinctrl/pinctrl.h int (*dt_node_to_map) (struct pinctrl_dev *pctldev, pctldev 101 include/linux/pinctrl/pinctrl.h void (*dt_free_map) (struct pinctrl_dev *pctldev, pctldev 150 include/linux/pinctrl/pinctrl.h struct pinctrl_dev **pctldev); pctldev 151 include/linux/pinctrl/pinctrl.h extern int pinctrl_enable(struct pinctrl_dev *pctldev); pctldev 157 include/linux/pinctrl/pinctrl.h extern void pinctrl_unregister(struct pinctrl_dev *pctldev); pctldev 162 include/linux/pinctrl/pinctrl.h struct pinctrl_dev **pctldev); pctldev 170 include/linux/pinctrl/pinctrl.h struct pinctrl_dev *pctldev); pctldev 172 include/linux/pinctrl/pinctrl.h extern void pinctrl_add_gpio_range(struct pinctrl_dev *pctldev, pctldev 174 include/linux/pinctrl/pinctrl.h extern void pinctrl_add_gpio_ranges(struct pinctrl_dev *pctldev, pctldev 177 include/linux/pinctrl/pinctrl.h extern void pinctrl_remove_gpio_range(struct pinctrl_dev *pctldev, pctldev 183 include/linux/pinctrl/pinctrl.h pinctrl_find_gpio_range_from_pin(struct pinctrl_dev *pctldev, pctldev 185 include/linux/pinctrl/pinctrl.h extern int pinctrl_get_group_pins(struct pinctrl_dev *pctldev, pctldev 199 include/linux/pinctrl/pinctrl.h extern const char *pinctrl_dev_get_name(struct pinctrl_dev *pctldev); pctldev 200 include/linux/pinctrl/pinctrl.h extern const char *pinctrl_dev_get_devname(struct pinctrl_dev *pctldev); pctldev 201 include/linux/pinctrl/pinctrl.h extern void *pinctrl_dev_get_drvdata(struct pinctrl_dev *pctldev); pctldev 61 include/linux/pinctrl/pinmux.h int (*request) (struct pinctrl_dev *pctldev, unsigned offset); pctldev 62 include/linux/pinctrl/pinmux.h int (*free) (struct pinctrl_dev *pctldev, unsigned offset); pctldev 63 include/linux/pinctrl/pinmux.h int (*get_functions_count) (struct pinctrl_dev *pctldev); pctldev 64 include/linux/pinctrl/pinmux.h const char *(*get_function_name) (struct pinctrl_dev *pctldev, pctldev 66 include/linux/pinctrl/pinmux.h int (*get_function_groups) (struct pinctrl_dev *pctldev, pctldev 70 include/linux/pinctrl/pinmux.h int (*set_mux) (struct pinctrl_dev *pctldev, unsigned func_selector, pctldev 72 include/linux/pinctrl/pinmux.h int (*gpio_request_enable) (struct pinctrl_dev *pctldev, pctldev 75 include/linux/pinctrl/pinmux.h void (*gpio_disable_free) (struct pinctrl_dev *pctldev, pctldev 78 include/linux/pinctrl/pinmux.h int (*gpio_set_direction) (struct pinctrl_dev *pctldev,