Lines Matching refs:meson_pinctrl
73 static int meson_get_bank(struct meson_pinctrl *pc, unsigned int pin, in meson_get_bank()
111 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_groups_count()
119 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_name()
127 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_pins()
152 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_funcs_count()
161 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_func_name()
171 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_groups()
180 static int meson_pinconf_set_gpio_bit(struct meson_pinctrl *pc, in meson_pinconf_set_gpio_bit()
198 static int meson_pinconf_get_gpio_bit(struct meson_pinctrl *pc, in meson_pinconf_get_gpio_bit()
218 static int meson_pinconf_set_output(struct meson_pinctrl *pc, in meson_pinconf_set_output()
225 static int meson_pinconf_get_output(struct meson_pinctrl *pc, in meson_pinconf_get_output()
236 static int meson_pinconf_set_drive(struct meson_pinctrl *pc, in meson_pinconf_set_drive()
243 static int meson_pinconf_get_drive(struct meson_pinctrl *pc, in meson_pinconf_get_drive()
249 static int meson_pinconf_set_output_drive(struct meson_pinctrl *pc, in meson_pinconf_set_output_drive()
262 static int meson_pinconf_disable_bias(struct meson_pinctrl *pc, in meson_pinconf_disable_bias()
281 static int meson_pinconf_enable_bias(struct meson_pinctrl *pc, unsigned int pin, in meson_pinconf_enable_bias()
308 static int meson_pinconf_set_drive_strength(struct meson_pinctrl *pc, in meson_pinconf_set_drive_strength()
352 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pinconf_set()
401 static int meson_pinconf_get_pull(struct meson_pinctrl *pc, unsigned int pin) in meson_pinconf_get_pull()
435 static int meson_pinconf_get_drive_strength(struct meson_pinctrl *pc, in meson_pinconf_get_drive_strength()
480 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pinconf_get()
531 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pinconf_group_set()
561 struct meson_pinctrl *pc = gpiochip_get_data(chip); in meson_gpio_get_direction()
590 struct meson_pinctrl *pc = gpiochip_get_data(chip); in meson_gpio_get()
605 static int meson_gpiolib_register(struct meson_pinctrl *pc) in meson_gpiolib_register()
641 static struct regmap *meson_map_resource(struct meson_pinctrl *pc, in meson_map_resource()
666 static int meson_pinctrl_parse_dt(struct meson_pinctrl *pc) in meson_pinctrl_parse_dt()
716 int meson8_aobus_parse_dt_extra(struct meson_pinctrl *pc) in meson8_aobus_parse_dt_extra()
727 int meson_a1_parse_dt_extra(struct meson_pinctrl *pc) in meson_a1_parse_dt_extra()
740 struct meson_pinctrl *pc; in meson_pinctrl_probe()
743 pc = devm_kzalloc(dev, sizeof(struct meson_pinctrl), GFP_KERNEL); in meson_pinctrl_probe()