Lines Matching defs:pinctrl_ops
70 struct pinctrl_ops { struct
71 int (*get_pins_count)(struct udevice *dev);
72 const char *(*get_pin_name)(struct udevice *dev, unsigned selector);
73 int (*get_groups_count)(struct udevice *dev);
74 const char *(*get_group_name)(struct udevice *dev, unsigned selector);
75 int (*get_functions_count)(struct udevice *dev);
76 const char *(*get_function_name)(struct udevice *dev,
78 int (*pinmux_set)(struct udevice *dev, unsigned pin_selector,
80 int (*pinmux_group_set)(struct udevice *dev, unsigned group_selector,
82 unsigned int pinconf_num_params;
83 const struct pinconf_param *pinconf_params;
84 int (*pinconf_set)(struct udevice *dev, unsigned pin_selector,
86 int (*pinconf_group_set)(struct udevice *dev, unsigned group_selector,
88 int (*set_state)(struct udevice *dev, struct udevice *config);
91 int (*set_state_simple)(struct udevice *dev, struct udevice *periph);
101 int (*request)(struct udevice *dev, int func, int flags);
134 #define pinctrl_get_ops(dev) ((struct pinctrl_ops *)(dev)->driver->ops) argument