Lines Matching full:api

9  * @brief Public API for auxiliary (textual/non-graphical) display drivers
144 * @brief Callback API to turn display on
151 * @brief Callback API to turn display off
158 * @brief Callback API to turn display cursor visibility on or off
165 * @brief Callback API to turn the current position blinking on or off
173 * @brief Callback API to set how the cursor shifts after a character is written
181 * @brief Callback API to set the cursor position
190 * @brief Callback API to get the cursor position
198 * @brief Callback API to set the current position of the display
207 * @brief Callback API to get the current position of the display
215 * @brief Callback API to get details on the display
223 * @brief Callback API to clear the contents of the display
230 * @brief Callback API to get the current and minimum/maximum supported
238 * @brief Callback API to set the brightness of the display
245 * @brief Callback API to get the current and minimum/maximum supported
253 * @brief Callback API to set the backlight status
260 * @brief Callback API to check if the display is busy with an operation
267 * @brief Callback API to set a customer character on the display for usage
275 * @brief Callback API to write text to the display
282 * @brief Callback API to send a custom command to the display
327 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_display_on() local
329 if (!api->display_on) { in z_impl_auxdisplay_display_on()
333 return api->display_on(dev); in z_impl_auxdisplay_display_on()
349 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_display_off() local
351 if (!api->display_off) { in z_impl_auxdisplay_display_off()
355 return api->display_off(dev); in z_impl_auxdisplay_display_off()
374 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_cursor_set_enabled() local
376 if (!api->cursor_set_enabled) { in z_impl_auxdisplay_cursor_set_enabled()
380 return api->cursor_set_enabled(dev, enabled); in z_impl_auxdisplay_cursor_set_enabled()
399 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_position_blinking_set_enabled() local
401 if (!api->position_blinking_set_enabled) { 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()
428 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_cursor_shift_set() local
430 if (!api->cursor_shift_set) { in z_impl_auxdisplay_cursor_shift_set()
438 return api->cursor_shift_set(dev, direction, display_shift); in z_impl_auxdisplay_cursor_shift_set()
462 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_cursor_position_set() local
464 if (!api->cursor_position_set) { in z_impl_auxdisplay_cursor_position_set()
472 return api->cursor_position_set(dev, type, x, y); in z_impl_auxdisplay_cursor_position_set()
493 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_cursor_position_get() local
495 if (!api->cursor_position_get) { in z_impl_auxdisplay_cursor_position_get()
499 return api->cursor_position_get(dev, x, y); in z_impl_auxdisplay_cursor_position_get()
523 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_display_position_set() local
525 if (!api->display_position_set) { in z_impl_auxdisplay_display_position_set()
533 return api->display_position_set(dev, type, x, y); in z_impl_auxdisplay_display_position_set()
554 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_display_position_get() local
556 if (!api->display_position_get) { in z_impl_auxdisplay_display_position_get()
560 return api->display_position_get(dev, x, y); in z_impl_auxdisplay_display_position_get()
578 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_capabilities_get() local
580 return api->capabilities_get(dev, capabilities); in z_impl_auxdisplay_capabilities_get()
597 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_clear() local
599 return api->clear(dev); in z_impl_auxdisplay_clear()
618 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_brightness_get() local
620 if (!api->brightness_get) { in z_impl_auxdisplay_brightness_get()
624 return api->brightness_get(dev, brightness); in z_impl_auxdisplay_brightness_get()
644 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_brightness_set() local
646 if (!api->brightness_set) { in z_impl_auxdisplay_brightness_set()
650 return api->brightness_set(dev, brightness); in z_impl_auxdisplay_brightness_set()
669 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_backlight_get() local
671 if (!api->backlight_get) { in z_impl_auxdisplay_backlight_get()
675 return api->backlight_get(dev, backlight); in z_impl_auxdisplay_backlight_get()
695 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_backlight_set() local
697 if (!api->backlight_set) { in z_impl_auxdisplay_backlight_set()
701 return api->backlight_set(dev, backlight); in z_impl_auxdisplay_backlight_set()
718 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_is_busy() local
720 if (!api->is_busy) { in z_impl_auxdisplay_is_busy()
724 return api->is_busy(dev); in z_impl_auxdisplay_is_busy()
753 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_custom_character_set() local
755 if (!api->custom_character_set) { in z_impl_auxdisplay_custom_character_set()
759 return api->custom_character_set(dev, character); in z_impl_auxdisplay_custom_character_set()
779 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_write() local
781 return api->write(dev, data, len); in z_impl_auxdisplay_write()
801 struct auxdisplay_driver_api *api = (struct auxdisplay_driver_api *)dev->api; in z_impl_auxdisplay_custom_command() local
803 if (!api->custom_command) { in z_impl_auxdisplay_custom_command()
807 return api->custom_command(dev, data); in z_impl_auxdisplay_custom_command()