Lines Matching refs:api
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()