Home
last modified time | relevance | path

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

/linux/drivers/auxdisplay/
H A Dimg-ascii-lcd.c41 struct linedisp linedisp; member
53 static void boston_update(struct linedisp *linedisp) in boston_update() argument
56 container_of(linedisp, struct img_ascii_lcd_ctx, linedisp); in boston_update()
60 val = *((u64 *)&linedisp->buf[0]); in boston_update()
63 val = *((u32 *)&linedisp->buf[0]); in boston_update()
65 val = *((u32 *)&linedisp->buf[4]); in boston_update()
83 static void malta_update(struct linedisp *linedisp) in malta_update() argument
86 container_of(linedisp, struct img_ascii_lcd_ctx, linedisp); in malta_update()
90 for (i = 0; i < linedisp->num_chars; i++) { in malta_update()
92 ctx->offset + (i * 8), linedisp->buf[i]); in malta_update()
[all …]
H A Dmax6959.c45 struct linedisp linedisp; member
53 struct linedisp *linedisp = &priv->linedisp; in max6959_disp_update() local
54 struct linedisp_map *map = linedisp->map; in max6959_disp_update()
55 char *s = linedisp->buf; in max6959_disp_update()
67 static int max6959_linedisp_get_map_type(struct linedisp *linedisp) in max6959_linedisp_get_map_type() argument
69 struct max6959_priv *priv = container_of(linedisp, struct max6959_priv, linedisp); in max6959_linedisp_get_map_type()
75 static void max6959_linedisp_update(struct linedisp *linedisp) in max6959_linedisp_update() argument
77 struct max6959_priv *priv = container_of(linedisp, struct max6959_priv, linedisp); in max6959_linedisp_update()
138 ret = linedisp_register(&priv->linedisp, dev, 4, &max6959_linedisp_ops); in max6959_i2c_probe()
152 linedisp_unregister(&priv->linedisp); in max6959_i2c_remove()
H A Dht16k33.c96 struct linedisp linedisp; member
109 container_of(p, struct ht16k33_priv, linedisp)
403 struct linedisp_map *map = priv->linedisp.map; in ht16k33_seg7_update()
404 char *s = priv->linedisp.buf; in ht16k33_seg7_update()
423 struct linedisp_map *map = priv->linedisp.map; in ht16k33_seg14_update()
424 char *s = priv->linedisp.buf; in ht16k33_seg14_update()
435 static int ht16k33_linedisp_get_map_type(struct linedisp *linedisp) in ht16k33_linedisp_get_map_type() argument
437 struct ht16k33_priv *priv = ht16k33_linedisp_to_priv(linedisp); in ht16k33_linedisp_get_map_type()
453 static void ht16k33_linedisp_update(struct linedisp *linedisp) in ht16k33_linedisp_update() argument
455 struct ht16k33_priv *priv = ht16k33_linedisp_to_priv(linedisp); in ht16k33_linedisp_update()
[all …]