Searched refs:linedisp (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/auxdisplay/ |
D | line-display.c | 33 struct linedisp *linedisp = from_timer(linedisp, t, timer); in linedisp_scroll() local 34 unsigned int i, ch = linedisp->scroll_pos; in linedisp_scroll() 35 unsigned int num_chars = linedisp->num_chars; in linedisp_scroll() 40 for (; i < num_chars && ch < linedisp->message_len; i++, ch++) in linedisp_scroll() 41 linedisp->buf[i] = linedisp->message[ch]; in linedisp_scroll() 48 linedisp->update(linedisp); in linedisp_scroll() 51 linedisp->scroll_pos++; in linedisp_scroll() 52 linedisp->scroll_pos %= linedisp->message_len; in linedisp_scroll() 55 if (linedisp->message_len > num_chars && linedisp->scroll_rate) in linedisp_scroll() 56 mod_timer(&linedisp->timer, jiffies + linedisp->scroll_rate); in linedisp_scroll() [all …]
|
D | img-ascii-lcd.c | 30 void (*update)(struct linedisp *linedisp); 49 struct linedisp linedisp; member 57 static void boston_update(struct linedisp *linedisp) in boston_update() argument 60 container_of(linedisp, struct img_ascii_lcd_ctx, linedisp); in boston_update() 85 static void malta_update(struct linedisp *linedisp) in malta_update() argument 88 container_of(linedisp, struct img_ascii_lcd_ctx, linedisp); in malta_update() 92 for (i = 0; i < linedisp->num_chars; i++) { in malta_update() 170 static void sead3_update(struct linedisp *linedisp) in sead3_update() argument 173 container_of(linedisp, struct img_ascii_lcd_ctx, linedisp); in sead3_update() 177 for (i = 0; i < linedisp->num_chars; i++) { in sead3_update() [all …]
|
D | line-display.h | 26 struct linedisp { struct 29 void (*update)(struct linedisp *linedisp); argument 38 int linedisp_register(struct linedisp *linedisp, struct device *parent, argument 40 void (*update)(struct linedisp *linedisp)); 41 void linedisp_unregister(struct linedisp *linedisp);
|
D | ht16k33.c | 89 struct linedisp linedisp; member 444 static void ht16k33_linedisp_update(struct linedisp *linedisp) in ht16k33_linedisp_update() argument 446 struct ht16k33_priv *priv = container_of(linedisp, struct ht16k33_priv, in ht16k33_linedisp_update() 447 seg.linedisp); in ht16k33_linedisp_update() 700 err = linedisp_register(&seg->linedisp, dev, 4, seg->curr, in ht16k33_seg_probe() 794 linedisp_unregister(&priv->seg.linedisp); in ht16k33_remove()
|