Lines Matching refs:dev
147 typedef int (*auxdisplay_display_on_t)(const struct device *dev);
154 typedef int (*auxdisplay_display_off_t)(const struct device *dev);
161 typedef int (*auxdisplay_cursor_set_enabled_t)(const struct device *dev, bool enabled);
168 typedef int (*auxdisplay_position_blinking_set_enabled_t)(const struct device *dev,
176 typedef int (*auxdisplay_cursor_shift_set_t)(const struct device *dev, uint8_t direction,
184 typedef int (*auxdisplay_cursor_position_set_t)(const struct device *dev,
193 typedef int (*auxdisplay_cursor_position_get_t)(const struct device *dev, int16_t *x,
201 typedef int (*auxdisplay_display_position_set_t)(const struct device *dev,
210 typedef int (*auxdisplay_display_position_get_t)(const struct device *dev, int16_t *x,
218 typedef int (*auxdisplay_capabilities_get_t)(const struct device *dev,
226 typedef int (*auxdisplay_clear_t)(const struct device *dev);
234 typedef int (*auxdisplay_brightness_get_t)(const struct device *dev, uint8_t *brightness);
241 typedef int (*auxdisplay_brightness_set_t)(const struct device *dev, uint8_t brightness);
249 typedef int (*auxdisplay_backlight_get_t)(const struct device *dev, uint8_t *backlight);
256 typedef int (*auxdisplay_backlight_set_t)(const struct device *dev, uint8_t backlight);
263 typedef int (*auxdisplay_is_busy_t)(const struct device *dev);
270 typedef int (*auxdisplay_custom_character_set_t)(const struct device *dev,
278 typedef int (*auxdisplay_write_t)(const struct device *dev, const uint8_t *data, uint16_t len);
285 typedef int (*auxdisplay_custom_command_t)(const struct device *dev,
323 __syscall int auxdisplay_display_on(const struct device *dev);
325 static inline int z_impl_auxdisplay_display_on(const struct device *dev) in z_impl_auxdisplay_display_on() argument
327 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_display_on()
333 return api->display_on(dev); in z_impl_auxdisplay_display_on()
345 __syscall int auxdisplay_display_off(const struct device *dev);
347 static inline int z_impl_auxdisplay_display_off(const struct device *dev) in z_impl_auxdisplay_display_off() argument
349 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_display_off()
355 return api->display_off(dev); in z_impl_auxdisplay_display_off()
368 __syscall int auxdisplay_cursor_set_enabled(const struct device *dev,
371 static inline int z_impl_auxdisplay_cursor_set_enabled(const struct device *dev, in z_impl_auxdisplay_cursor_set_enabled() argument
374 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_cursor_set_enabled()
380 return api->cursor_set_enabled(dev, enabled); in z_impl_auxdisplay_cursor_set_enabled()
393 __syscall int auxdisplay_position_blinking_set_enabled(const struct device *dev,
396 static inline int z_impl_auxdisplay_position_blinking_set_enabled(const struct device *dev, in z_impl_auxdisplay_position_blinking_set_enabled() argument
399 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_position_blinking_set_enabled()
405 return api->position_blinking_set_enabled(dev, enabled); in z_impl_auxdisplay_position_blinking_set_enabled()
421 __syscall int auxdisplay_cursor_shift_set(const struct device *dev,
424 static inline int z_impl_auxdisplay_cursor_shift_set(const struct device *dev, in z_impl_auxdisplay_cursor_shift_set() argument
428 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_cursor_shift_set()
438 return api->cursor_shift_set(dev, direction, display_shift); in z_impl_auxdisplay_cursor_shift_set()
454 __syscall int auxdisplay_cursor_position_set(const struct device *dev,
458 static inline int z_impl_auxdisplay_cursor_position_set(const struct device *dev, in z_impl_auxdisplay_cursor_position_set() argument
462 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_cursor_position_set()
472 return api->cursor_position_set(dev, type, x, y); in z_impl_auxdisplay_cursor_position_set()
487 __syscall int auxdisplay_cursor_position_get(const struct device *dev,
490 static inline int z_impl_auxdisplay_cursor_position_get(const struct device *dev, in z_impl_auxdisplay_cursor_position_get() argument
493 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_cursor_position_get()
499 return api->cursor_position_get(dev, x, y); in z_impl_auxdisplay_cursor_position_get()
515 __syscall int auxdisplay_display_position_set(const struct device *dev,
519 static inline int z_impl_auxdisplay_display_position_set(const struct device *dev, in z_impl_auxdisplay_display_position_set() argument
523 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_display_position_set()
533 return api->display_position_set(dev, type, x, y); in z_impl_auxdisplay_display_position_set()
548 __syscall int auxdisplay_display_position_get(const struct device *dev,
551 static inline int z_impl_auxdisplay_display_position_get(const struct device *dev, in z_impl_auxdisplay_display_position_get() argument
554 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_display_position_get()
560 return api->display_position_get(dev, x, y); in z_impl_auxdisplay_display_position_get()
572 __syscall int auxdisplay_capabilities_get(const struct device *dev,
575 static inline int z_impl_auxdisplay_capabilities_get(const struct device *dev, in z_impl_auxdisplay_capabilities_get() argument
578 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_capabilities_get()
580 return api->capabilities_get(dev, capabilities); in z_impl_auxdisplay_capabilities_get()
593 __syscall int auxdisplay_clear(const struct device *dev);
595 static inline int z_impl_auxdisplay_clear(const struct device *dev) in z_impl_auxdisplay_clear() argument
597 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_clear()
599 return api->clear(dev); in z_impl_auxdisplay_clear()
612 __syscall int auxdisplay_brightness_get(const struct device *dev,
615 static inline int z_impl_auxdisplay_brightness_get(const struct device *dev, in z_impl_auxdisplay_brightness_get() argument
618 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_brightness_get()
624 return api->brightness_get(dev, brightness); in z_impl_auxdisplay_brightness_get()
638 __syscall int auxdisplay_brightness_set(const struct device *dev,
641 static inline int z_impl_auxdisplay_brightness_set(const struct device *dev, in z_impl_auxdisplay_brightness_set() argument
644 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_brightness_set()
650 return api->brightness_set(dev, brightness); in z_impl_auxdisplay_brightness_set()
663 __syscall int auxdisplay_backlight_get(const struct device *dev,
666 static inline int z_impl_auxdisplay_backlight_get(const struct device *dev, in z_impl_auxdisplay_backlight_get() argument
669 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_backlight_get()
675 return api->backlight_get(dev, backlight); in z_impl_auxdisplay_backlight_get()
689 __syscall int auxdisplay_backlight_set(const struct device *dev,
692 static inline int z_impl_auxdisplay_backlight_set(const struct device *dev, in z_impl_auxdisplay_backlight_set() argument
695 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_backlight_set()
701 return api->backlight_set(dev, backlight); in z_impl_auxdisplay_backlight_set()
714 __syscall int auxdisplay_is_busy(const struct device *dev);
716 static inline int z_impl_auxdisplay_is_busy(const struct device *dev) in z_impl_auxdisplay_is_busy() argument
718 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_is_busy()
724 return api->is_busy(dev); in z_impl_auxdisplay_is_busy()
747 __syscall int auxdisplay_custom_character_set(const struct device *dev,
750 static inline int z_impl_auxdisplay_custom_character_set(const struct device *dev, in z_impl_auxdisplay_custom_character_set() argument
753 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_custom_character_set()
759 return api->custom_character_set(dev, character); in z_impl_auxdisplay_custom_character_set()
773 __syscall int auxdisplay_write(const struct device *dev, const uint8_t *data,
776 static inline int z_impl_auxdisplay_write(const struct device *dev, in z_impl_auxdisplay_write() argument
779 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_write()
781 return api->write(dev, data, len); in z_impl_auxdisplay_write()
795 __syscall int auxdisplay_custom_command(const struct device *dev,
798 static inline int z_impl_auxdisplay_custom_command(const struct device *dev, in z_impl_auxdisplay_custom_command() argument
801 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_custom_command()
807 return api->custom_command(dev, data); in z_impl_auxdisplay_custom_command()