Lines Matching full:capabilities
64 struct auxdisplay_capabilities capabilities; member
148 if (config->capabilities.mode == AUXDISPLAY_HD44780_MODE_4_BIT) { in auxdisplay_hd44780_command()
201 if (config->capabilities.mode == AUXDISPLAY_HD44780_MODE_4_BIT) { in hd44780_ic_initialize()
208 if (config->capabilities.rows > 1) { in hd44780_ic_initialize()
211 auxdisplay_hd44780_command(dev, false, cmd, config->capabilities.mode); in hd44780_ic_initialize()
227 if (config->capabilities.mode > AUXDISPLAY_HD44780_MODE_8_BIT) { in auxdisplay_hd44780_init()
248 if (config->capabilities.mode == AUXDISPLAY_HD44780_MODE_4_BIT) { in auxdisplay_hd44780_init()
260 } else if (config->capabilities.mode == AUXDISPLAY_HD44780_MODE_4_BIT && i > 3) { in auxdisplay_hd44780_init()
264 } else if (config->capabilities.mode == AUXDISPLAY_HD44780_MODE_8_BIT) { in auxdisplay_hd44780_init()
313 struct auxdisplay_capabilities *capabilities) in auxdisplay_hd44780_capabilities_get() argument
317 memcpy(capabilities, &config->capabilities, sizeof(struct auxdisplay_capabilities)); in auxdisplay_hd44780_capabilities_get()
328 config->capabilities.mode); in auxdisplay_hd44780_clear()
352 auxdisplay_hd44780_command(dev, false, cmd, config->capabilities.mode); in auxdisplay_hd44780_set_entry_mode()
373 auxdisplay_hd44780_command(dev, false, cmd, config->capabilities.mode); in auxdisplay_hd44780_set_display_mode()
452 } else if (x >= config->capabilities.columns || y >= config->capabilities.rows) { in auxdisplay_hd44780_cursor_position_set()
460 auxdisplay_hd44780_command(dev, false, cmd, config->capabilities.mode); in auxdisplay_hd44780_cursor_position_set()
513 auxdisplay_hd44780_command(dev, false, cmd, config->capabilities.mode); in auxdisplay_hd44780_custom_character_set()
531 auxdisplay_hd44780_command(dev, true, cmd, config->capabilities.mode); in auxdisplay_hd44780_custom_character_set()
543 auxdisplay_hd44780_command(dev, false, cmd, config->capabilities.mode); in auxdisplay_hd44780_custom_character_set()
555 auxdisplay_hd44780_command(dev, true, text[i], config->capabilities.mode); in auxdisplay_hd44780_write()
562 if (data->character_x == config->capabilities.columns) { in auxdisplay_hd44780_write()
566 if (data->character_y == config->capabilities.rows) { in auxdisplay_hd44780_write()
574 config->capabilities.mode); in auxdisplay_hd44780_write()
579 data->character_x = config->capabilities.columns - 1; in auxdisplay_hd44780_write()
582 data->character_y = config->capabilities.rows - 1; in auxdisplay_hd44780_write()
592 config->capabilities.mode); in auxdisplay_hd44780_write()
626 .capabilities = { \