Home
last modified time | relevance | path

Searched refs:linedisp (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/auxdisplay/
H A Dline-display.c33 struct linedisp *linedisp = from_timer(linedisp, t, timer); in linedisp_scroll() local
41 linedisp->buf[i] = linedisp->message[ch]; in linedisp_scroll()
48 linedisp->update(linedisp); in linedisp_scroll()
52 linedisp->scroll_pos %= linedisp->message_len; in linedisp_scroll()
92 linedisp->update(linedisp); in linedisp_display()
126 struct linedisp *linedisp = container_of(dev, struct linedisp, dev); in message_show() local
145 struct linedisp *linedisp = container_of(dev, struct linedisp, dev); in message_store() local
157 struct linedisp *linedisp = container_of(dev, struct linedisp, dev); in scroll_step_ms_show() local
166 struct linedisp *linedisp = container_of(dev, struct linedisp, dev); in scroll_step_ms_store() local
173 if (linedisp->message && linedisp->message_len > linedisp->num_chars) { in scroll_step_ms_store()
[all …]
H A Dimg-ascii-lcd.c30 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()
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()
263 &ctx->linedisp.dev.kobj, in img_ascii_lcd_probe()
272 linedisp_unregister(&ctx->linedisp); in img_ascii_lcd_probe()
[all …]
H A Dline-display.h26 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);
H A Dht16k33.c89 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()