Lines Matching refs:spec

836 static inline bool gpio_is_ready_dt(const struct gpio_dt_spec *spec)  in gpio_is_ready_dt()  argument
839 return device_is_ready(spec->port); in gpio_is_ready_dt()
951 static inline int gpio_pin_interrupt_configure_dt(const struct gpio_dt_spec *spec, in gpio_pin_interrupt_configure_dt() argument
954 return gpio_pin_interrupt_configure(spec->port, spec->pin, flags); in gpio_pin_interrupt_configure_dt()
1044 static inline int gpio_pin_configure_dt(const struct gpio_dt_spec *spec, in gpio_pin_configure_dt() argument
1047 return gpio_pin_configure(spec->port, in gpio_pin_configure_dt()
1048 spec->pin, in gpio_pin_configure_dt()
1049 spec->dt_flags | extra_flags); in gpio_pin_configure_dt()
1134 static inline int gpio_pin_is_input_dt(const struct gpio_dt_spec *spec) in gpio_pin_is_input_dt() argument
1136 return gpio_pin_is_input(spec->port, spec->pin); in gpio_pin_is_input_dt()
1179 static inline int gpio_pin_is_output_dt(const struct gpio_dt_spec *spec) in gpio_pin_is_output_dt() argument
1181 return gpio_pin_is_output(spec->port, spec->pin); in gpio_pin_is_output_dt()
1236 static inline int gpio_pin_get_config_dt(const struct gpio_dt_spec *spec, in gpio_pin_get_config_dt() argument
1239 return gpio_pin_get_config(spec->port, spec->pin, flags); in gpio_pin_get_config_dt()
1608 static inline int gpio_pin_get_dt(const struct gpio_dt_spec *spec) in gpio_pin_get_dt() argument
1610 return gpio_pin_get(spec->port, spec->pin); in gpio_pin_get_dt()
1697 static inline int gpio_pin_set_dt(const struct gpio_dt_spec *spec, int value) in gpio_pin_set_dt() argument
1699 return gpio_pin_set(spec->port, spec->pin, value); in gpio_pin_set_dt()
1733 static inline int gpio_pin_toggle_dt(const struct gpio_dt_spec *spec) in gpio_pin_toggle_dt() argument
1735 return gpio_pin_toggle(spec->port, spec->pin); in gpio_pin_toggle_dt()
1803 static inline int gpio_add_callback_dt(const struct gpio_dt_spec *spec, in gpio_add_callback_dt() argument
1806 return gpio_add_callback(spec->port, callback); in gpio_add_callback_dt()
1857 static inline int gpio_remove_callback_dt(const struct gpio_dt_spec *spec, in gpio_remove_callback_dt() argument
1860 return gpio_remove_callback(spec->port, callback); in gpio_remove_callback_dt()