Home
last modified time | relevance | path

Searched refs:lcd (Results 1 – 14 of 14) sorted by relevance

/linux-4.19.296/drivers/auxdisplay/
Dcharlcd.c68 struct charlcd lcd; member
94 #define to_priv(p) container_of(p, struct charlcd_priv, lcd)
106 static void charlcd_backlight(struct charlcd *lcd, int on) in charlcd_backlight() argument
108 struct charlcd_priv *priv = to_priv(lcd); in charlcd_backlight()
110 if (!lcd->ops->backlight) in charlcd_backlight()
115 lcd->ops->backlight(lcd, on); in charlcd_backlight()
129 priv->lcd.ops->backlight(&priv->lcd, 0); in charlcd_bl_off()
135 void charlcd_poke(struct charlcd *lcd) in charlcd_poke() argument
137 struct charlcd_priv *priv = to_priv(lcd); in charlcd_poke()
139 if (!lcd->ops->backlight) in charlcd_poke()
[all …]
Darm-charlcd.c78 struct charlcd *lcd = data; in charlcd_interrupt() local
81 status = readl(lcd->virtbase + CHAR_STAT) & 0x01; in charlcd_interrupt()
83 writel(CHAR_RAW_CLEAR, lcd->virtbase + CHAR_RAW); in charlcd_interrupt()
85 complete(&lcd->complete); in charlcd_interrupt()
87 dev_info(lcd->dev, "Spurious IRQ (%02x)\n", status); in charlcd_interrupt()
92 static void charlcd_wait_complete_irq(struct charlcd *lcd) in charlcd_wait_complete_irq() argument
96 ret = wait_for_completion_interruptible_timeout(&lcd->complete, in charlcd_wait_complete_irq()
99 writel(0x00, lcd->virtbase + CHAR_MASK); in charlcd_wait_complete_irq()
102 dev_err(lcd->dev, in charlcd_wait_complete_irq()
109 dev_err(lcd->dev, "charlcd controller timed out " in charlcd_wait_complete_irq()
[all …]
Dhd44780.c41 static void hd44780_backlight(struct charlcd *lcd, int on) in hd44780_backlight() argument
43 struct hd44780 *hd = lcd->drvdata; in hd44780_backlight()
117 static void hd44780_write_cmd_gpio8(struct charlcd *lcd, int cmd) in hd44780_write_cmd_gpio8() argument
119 struct hd44780 *hd = lcd->drvdata; in hd44780_write_cmd_gpio8()
128 static void hd44780_write_data_gpio8(struct charlcd *lcd, int data) in hd44780_write_data_gpio8() argument
130 struct hd44780 *hd = lcd->drvdata; in hd44780_write_data_gpio8()
145 static void hd44780_write_cmd_gpio4(struct charlcd *lcd, int cmd) in hd44780_write_cmd_gpio4() argument
147 struct hd44780 *hd = lcd->drvdata; in hd44780_write_cmd_gpio4()
156 static void hd44780_write_cmd_raw_gpio4(struct charlcd *lcd, int cmd) in hd44780_write_cmd_raw_gpio4() argument
159 struct hd44780 *hd = lcd->drvdata; in hd44780_write_cmd_raw_gpio4()
[all …]
Dpanel.c220 } lcd; variable
716 if (lcd.pins.bl == PIN_NONE) in lcd_backlight()
918 lcd.proto = LCD_PROTO_PARALLEL; in lcd_init()
919 lcd.charset = LCD_CHARSET_NORMAL; in lcd_init()
920 lcd.pins.e = PIN_STROBE; in lcd_init()
921 lcd.pins.rs = PIN_AUTOLF; in lcd_init()
930 lcd.proto = LCD_PROTO_SERIAL; in lcd_init()
931 lcd.charset = LCD_CHARSET_KS0074; in lcd_init()
932 lcd.pins.bl = PIN_AUTOLF; in lcd_init()
933 lcd.pins.cl = PIN_STROBE; in lcd_init()
[all …]
DMakefile10 obj-$(CONFIG_IMG_ASCII_LCD) += img-ascii-lcd.o
DKconfig25 The LCD is accessible through the /dev/lcd char device (10, 156).
176 is accessible through the /dev/lcd char device (10, 156), and the
242 under the name '/dev/lcd'. There are a total of 6 supported types :
/linux-4.19.296/include/misc/
Dcharlcd.h28 void (*write_cmd)(struct charlcd *lcd, int cmd);
29 void (*write_data)(struct charlcd *lcd, int data);
32 void (*write_cmd_raw4)(struct charlcd *lcd, int cmd); /* 4-bit only */
33 void (*clear_fast)(struct charlcd *lcd);
34 void (*backlight)(struct charlcd *lcd, int on);
39 int charlcd_register(struct charlcd *lcd);
40 int charlcd_unregister(struct charlcd *lcd);
42 void charlcd_poke(struct charlcd *lcd);
/linux-4.19.296/drivers/hid/
Dhid-picolcd_lcd.c85 data->lcd = ldev; in picolcd_init_lcd()
92 struct lcd_device *ldev = data->lcd; in picolcd_exit_lcd()
94 data->lcd = NULL; in picolcd_exit_lcd()
100 if (!data->lcd) in picolcd_resume_lcd()
102 return picolcd_set_contrast(data->lcd, data->lcd_contrast); in picolcd_resume_lcd()
Dhid-picolcd.h98 struct lcd_device *lcd; member
DKconfig761 Provide access to PicoLCD's LCD contrast via lcd class.
/linux-4.19.296/include/linux/
Domapfb.h37 struct omap_lcd_config lcd; member
/linux-4.19.296/drivers/clk/sirf/
Dclk-atlas6.c65 usp2, vip, gfx, gfx2d, lcd, vpp, mmc01, mmc23, mmc45, usbpll, enumerator
Dclk-prima2.c64 usp2, vip, gfx, mm, lcd, vpp, mmc01, mmc23, mmc45, usbpll, enumerator
/linux-4.19.296/
DMAINTAINERS7193 F: Documentation/devicetree/bindings/auxdisplay/img-ascii-lcd.txt
7194 F: drivers/auxdisplay/img-ascii-lcd.c
10965 F: Documentation/auxdisplay/lcd-panel-cgram.txt