Lines Matching full:api

9  * @brief Public API for auxiliary (textual/non-graphical) display drivers
142 * @brief Callback API to turn display on
149 * @brief Callback API to turn display off
156 * @brief Callback API to turn display cursor visibility on or off
163 * @brief Callback API to turn the current position blinking on or off
171 * @brief Callback API to set how the cursor shifts after a character is written
179 * @brief Callback API to set the cursor position
188 * @brief Callback API to get the cursor position
196 * @brief Callback API to set the current position of the display
205 * @brief Callback API to get the current position of the display
213 * @brief Callback API to get details on the display
221 * @brief Callback API to clear the contents of the display
228 * @brief Callback API to get the current and minimum/maximum supported
236 * @brief Callback API to set the brightness of the display
243 * @brief Callback API to get the current and minimum/maximum supported
251 * @brief Callback API to set the backlight status
258 * @brief Callback API to check if the display is busy with an operation
265 * @brief Callback API to set a customer character on the display for usage
273 * @brief Callback API to write text to the display
280 * @brief Callback API to send a custom command to the display
325 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_display_on() local
327 if (!api->display_on) { in z_impl_auxdisplay_display_on()
331 return api->display_on(dev); in z_impl_auxdisplay_display_on()
347 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_display_off() local
349 if (!api->display_off) { in z_impl_auxdisplay_display_off()
353 return api->display_off(dev); in z_impl_auxdisplay_display_off()
372 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_cursor_set_enabled() local
374 if (!api->cursor_set_enabled) { in z_impl_auxdisplay_cursor_set_enabled()
378 return api->cursor_set_enabled(dev, enabled); in z_impl_auxdisplay_cursor_set_enabled()
397 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_position_blinking_set_enabled() local
399 if (!api->position_blinking_set_enabled) { in z_impl_auxdisplay_position_blinking_set_enabled()
403 return api->position_blinking_set_enabled(dev, enabled); in z_impl_auxdisplay_position_blinking_set_enabled()
426 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_cursor_shift_set() local
428 if (!api->cursor_shift_set) { in z_impl_auxdisplay_cursor_shift_set()
436 return api->cursor_shift_set(dev, direction, display_shift); in z_impl_auxdisplay_cursor_shift_set()
460 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_cursor_position_set() local
462 if (!api->cursor_position_set) { in z_impl_auxdisplay_cursor_position_set()
470 return api->cursor_position_set(dev, type, x, y); in z_impl_auxdisplay_cursor_position_set()
491 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_cursor_position_get() local
493 if (!api->cursor_position_get) { in z_impl_auxdisplay_cursor_position_get()
497 return api->cursor_position_get(dev, x, y); in z_impl_auxdisplay_cursor_position_get()
521 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_display_position_set() local
523 if (!api->display_position_set) { in z_impl_auxdisplay_display_position_set()
531 return api->display_position_set(dev, type, x, y); in z_impl_auxdisplay_display_position_set()
552 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_display_position_get() local
554 if (!api->display_position_get) { in z_impl_auxdisplay_display_position_get()
558 return api->display_position_get(dev, x, y); in z_impl_auxdisplay_display_position_get()
576 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_capabilities_get() local
578 return api->capabilities_get(dev, capabilities); in z_impl_auxdisplay_capabilities_get()
595 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_clear() local
597 return api->clear(dev); in z_impl_auxdisplay_clear()
616 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_brightness_get() local
618 if (!api->brightness_get) { in z_impl_auxdisplay_brightness_get()
622 return api->brightness_get(dev, brightness); in z_impl_auxdisplay_brightness_get()
642 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_brightness_set() local
644 if (!api->brightness_set) { in z_impl_auxdisplay_brightness_set()
648 return api->brightness_set(dev, brightness); in z_impl_auxdisplay_brightness_set()
667 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_backlight_get() local
669 if (!api->backlight_get) { in z_impl_auxdisplay_backlight_get()
673 return api->backlight_get(dev, backlight); in z_impl_auxdisplay_backlight_get()
693 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_backlight_set() local
695 if (!api->backlight_set) { in z_impl_auxdisplay_backlight_set()
699 return api->backlight_set(dev, backlight); in z_impl_auxdisplay_backlight_set()
716 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_is_busy() local
718 if (!api->is_busy) { in z_impl_auxdisplay_is_busy()
722 return api->is_busy(dev); in z_impl_auxdisplay_is_busy()
751 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_custom_character_set() local
753 if (!api->custom_character_set) { in z_impl_auxdisplay_custom_character_set()
757 return api->custom_character_set(dev, character); in z_impl_auxdisplay_custom_character_set()
777 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_write() local
779 return api->write(dev, data, len); in z_impl_auxdisplay_write()
799 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_custom_command() local
801 if (!api->custom_command) { in z_impl_auxdisplay_custom_command()
805 return api->custom_command(dev, data); in z_impl_auxdisplay_custom_command()