Home
last modified time | relevance | path

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

/linux/drivers/auxdisplay/
H A Dline-display.c48 struct linedisp *linedisp; member
55 static int create_attachment(struct device *dev, struct linedisp *linedisp, bool direct) in create_attachment() argument
64 attachment->linedisp = linedisp; in create_attachment()
73 static struct linedisp *delete_attachment(struct device *dev, bool direct) in delete_attachment()
76 struct linedisp *linedisp; in delete_attachment() local
89 linedisp = attachment->linedisp; in delete_attachment()
93 return linedisp; in delete_attachment()
96 static struct linedisp *to_linedisp(struct device *dev) in to_linedisp()
110 return attachment->linedisp; in to_linedisp()
113 static inline bool should_scroll(struct linedisp *linedisp) in should_scroll() argument
[all …]
H A Dseg-led-gpio.c24 struct linedisp linedisp; member
32 struct linedisp *linedisp = &priv->linedisp; in seg_led_update() local
33 struct linedisp_map *map = linedisp->map; in seg_led_update()
36 bitmap_set_value8(values, map_to_seg7(&map->map.seg7, linedisp->buf[0]), 0); in seg_led_update()
41 static int seg_led_linedisp_get_map_type(struct linedisp *linedisp) in seg_led_linedisp_get_map_type() argument
43 struct seg_led_priv *priv = container_of(linedisp, struct seg_led_priv, linedisp); in seg_led_linedisp_get_map_type()
49 static void seg_led_linedisp_update(struct linedisp *linedisp) in seg_led_linedisp_update() argument
51 struct seg_led_priv *priv = container_of(linedisp, struct seg_led_priv, linedisp); in seg_led_linedisp_update()
79 return linedisp_register(&priv->linedisp, dev, 1, &seg_led_linedisp_ops); in seg_led_probe()
87 linedisp_unregister(&priv->linedisp); in seg_led_remove()
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.c44 struct linedisp linedisp; member
52 struct linedisp *linedisp = &priv->linedisp; in max6959_disp_update() local
53 struct linedisp_map *map = linedisp->map; in max6959_disp_update()
54 char *s = linedisp->buf; in max6959_disp_update()
66 static int max6959_linedisp_get_map_type(struct linedisp *linedisp) in max6959_linedisp_get_map_type() argument
68 struct max6959_priv *priv = container_of(linedisp, struct max6959_priv, linedisp); in max6959_linedisp_get_map_type()
74 static void max6959_linedisp_update(struct linedisp *linedisp) in max6959_linedisp_update() argument
76 struct max6959_priv *priv = container_of(linedisp, struct max6959_priv, linedisp); in max6959_linedisp_update()
134 ret = linedisp_register(&priv->linedisp, dev, 4, &max6959_linedisp_ops); in max6959_i2c_probe()
148 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 …]