Lines Matching defs:cfg
39 * @cfg: pointer to the LCD model configuration
54 const struct img_ascii_lcd_config *cfg;
98 for (i = 0; i < ctx->cfg->num_chars; i++) {
181 for (i = 0; i < ctx->cfg->num_chars; i++) {
232 unsigned int num_chars = ctx->cfg->num_chars;
245 ctx->cfg->update(ctx);
252 if (ctx->message_len > ctx->cfg->num_chars)
288 memset(ctx->curr, ' ', ctx->cfg->num_chars);
289 ctx->cfg->update(ctx);
367 const struct img_ascii_lcd_config *cfg;
375 cfg = match->data;
376 ctx = devm_kzalloc(&pdev->dev, sizeof(*ctx) + cfg->num_chars,
381 if (cfg->external_regmap) {
396 ctx->cfg = cfg;