Searched refs:ld (Results 1 - 25 of 69) sorted by last modified time

123

/drivers/video/fbdev/exynos/
H A Ds6e8ax0.c58 struct lcd_device *ld; member in struct:s6e8ax0
562 dev_dbg(&lcd->ld->dev,
599 dev_dbg(&lcd->ld->dev, "cur_acl = %d\n", lcd->cur_acl);
666 static int s6e8ax0_set_power(struct lcd_device *ld, int power) argument
668 struct s6e8ax0 *lcd = lcd_get_data(ld);
700 static int s6e8ax0_get_power(struct lcd_device *ld) argument
702 struct s6e8ax0 *lcd = lcd_get_data(ld);
753 lcd->ddi_pd->reset(lcd->ld);
791 lcd->ld = devm_lcd_device_register(lcd->dev, "s6e8ax0", lcd->dev, lcd,
793 if (IS_ERR(lcd->ld)) {
[all...]
/drivers/watchdog/
H A Df71808e_wdt.c133 static inline void superio_select(int base, int ld);
206 static inline void superio_select(int base, int ld) argument
209 outb(ld, base + 1);
H A Dw83627hf_wdt.c128 static void superio_select(int ld) argument
130 superio_outb(0x07, ld);
/drivers/tty/
H A Dcyclades.c1155 "port %ld\n", info->card, channel);
1165 "port %ld\n", info->card, channel);
2866 printk(KERN_DEBUG "cyc:throttle %s: %ld...ttyC%d\n", tty_name(tty, buf),
2907 printk(KERN_DEBUG "cyc:unthrottle %s: %ld...ttyC%d\n",
3980 struct tty_ldisc *ld; local
3984 ld = tty_ldisc_ref(tty);
3985 if (ld) {
3986 num = ld->ops->num;
3987 tty_ldisc_deref(ld);
4002 "%10lu %8lu %9lu %6ld\
[all...]
H A Dsynclink.c959 struct tty_ldisc *ld; local
962 ld = tty_ldisc_ref(tty);
963 if (ld) {
964 if (ld->ops->receive_buf)
965 ld->ops->receive_buf(tty, data, flags, count);
966 tty_ldisc_deref(ld);
H A Dsynclink_gt.c635 struct tty_ldisc *ld; local
638 ld = tty_ldisc_ref(tty);
639 if (ld) {
640 if (ld->ops->receive_buf)
641 ld->ops->receive_buf(tty, data, flags, count);
642 tty_ldisc_deref(ld);
H A Dsynclinkmp.c700 struct tty_ldisc *ld; local
703 ld = tty_ldisc_ref(tty);
704 if (ld) {
705 if (ld->ops->receive_buf)
706 ld->ops->receive_buf(tty, data, flags, count);
707 tty_ldisc_deref(ld);
H A Dtty_io.c506 struct tty_ldisc *ld; local
509 ld = tty_ldisc_ref(tty);
510 if (ld) {
511 if (ld->ops->write_wakeup)
512 ld->ops->write_wakeup(tty);
513 tty_ldisc_deref(ld);
1004 struct tty_ldisc *ld; local
1013 ld = tty_ldisc_ref_wait(tty);
1014 if (ld->ops->read)
1015 i = (ld
1180 struct tty_ldisc *ld; local
2150 struct tty_ldisc *ld; local
2238 struct tty_ldisc *ld; local
2744 struct tty_ldisc *ld; local
2888 struct tty_ldisc *ld; local
[all...]
H A Dtty_ioctl.c537 struct tty_ldisc *ld; local
583 ld = tty_ldisc_ref(tty);
584 if (ld != NULL) {
585 if (ld->ops->set_termios)
586 (ld->ops->set_termios)(tty, &old_termios);
587 tty_ldisc_deref(ld);
610 struct tty_ldisc *ld; local
645 ld = tty_ldisc_ref(tty);
647 if (ld != NULL) {
648 if ((opt & TERMIOS_FLUSH) && ld
707 struct tty_ldisc *ld; local
1100 struct tty_ldisc *ld = tty->ldisc; local
1126 struct tty_ldisc *ld; local
[all...]
H A Dtty_ldisc.c156 struct tty_ldisc *ld; local
174 ld = kmalloc(sizeof(struct tty_ldisc), GFP_KERNEL);
175 if (ld == NULL) {
180 ld->ops = ldops;
181 ld->tty = tty;
183 return ld;
191 static inline void tty_ldisc_put(struct tty_ldisc *ld) argument
193 if (WARN_ON_ONCE(!ld))
196 put_ldops(ld->ops);
197 kfree(ld);
284 struct tty_ldisc *ld = NULL; local
303 tty_ldisc_deref(struct tty_ldisc *ld) argument
398 struct tty_ldisc *ld = tty_ldisc_ref(tty); local
438 tty_ldisc_open(struct tty_struct *tty, struct tty_ldisc *ld) argument
461 tty_ldisc_close(struct tty_struct *tty, struct tty_ldisc *ld) argument
623 struct tty_ldisc *ld = tty_ldisc_get(tty, ldisc); local
656 struct tty_ldisc *ld; local
728 struct tty_ldisc *ld = tty->ldisc; local
804 struct tty_ldisc *ld = tty_ldisc_get(tty, N_TTY); local
[all...]
/drivers/tty/serial/
H A Dbfin_uart.c947 static void bfin_serial_set_ldisc(struct uart_port *port, int ld) argument
952 switch (ld) {
H A Dclps711x.c228 static void uart_clps711x_set_ldisc(struct uart_port *port, int ld) argument
234 (ld == N_IRDA) ? SYSCON1_SIREN : 0);
H A Dserial_core.c2761 struct tty_ldisc *ld; local
2766 ld = tty_ldisc_ref(tty);
2767 if (ld) {
2768 if (ld->ops->dcd_change)
2769 ld->ops->dcd_change(tty, status);
2770 tty_ldisc_deref(ld);
/drivers/tty/vt/
H A Dselection.c342 struct tty_ldisc *ld; local
349 ld = tty_ldisc_ref_wait(tty);
360 count = tty_ldisc_receive_buf(ld, sel_buffer + pasted, NULL,
368 tty_ldisc_deref(ld);
/drivers/usb/serial/
H A Dgeneric.c585 struct tty_ldisc *ld = tty_ldisc_ref(tty); local
587 if (ld) {
588 if (ld->ops->dcd_change)
589 ld->ops->dcd_change(tty, status);
590 tty_ldisc_deref(ld);
/drivers/video/backlight/
H A Dams369fg06.c41 struct lcd_device *ld; member in struct:ams369fg06
321 pd->power_on(lcd->ld, 1);
330 pd->reset(lcd->ld);
371 pd->power_on(lcd->ld, 0);
393 static int ams369fg06_get_power(struct lcd_device *ld) argument
395 struct ams369fg06 *lcd = lcd_get_data(ld);
400 static int ams369fg06_set_power(struct lcd_device *ld, int power) argument
402 struct ams369fg06 *lcd = lcd_get_data(ld);
448 struct lcd_device *ld = NULL; local
474 ld
[all...]
H A Dcorgi_lcd.c339 static int corgi_lcd_set_mode(struct lcd_device *ld, struct fb_videomode *m) argument
341 struct corgi_lcd *lcd = lcd_get_data(ld);
366 static int corgi_lcd_set_power(struct lcd_device *ld, int power) argument
368 struct corgi_lcd *lcd = lcd_get_data(ld);
380 static int corgi_lcd_get_power(struct lcd_device *ld) argument
382 struct corgi_lcd *lcd = lcd_get_data(ld);
H A Dcr_bllcd.c160 static int cr_lcd_set_power(struct lcd_device *ld, int power) argument
H A Dili922x.c142 struct lcd_device *ld; member in struct:ili922x
458 static int ili922x_set_power(struct lcd_device *ld, int power) argument
460 struct ili922x *ili = lcd_get_data(ld);
465 static int ili922x_get_power(struct lcd_device *ld) argument
467 struct ili922x *ili = lcd_get_data(ld);
522 ili->ld = lcd;
H A Dili9320.c153 static int ili9320_set_power(struct lcd_device *ld, int power) argument
155 struct ili9320 *lcd = to_our_lcd(ld);
160 static int ili9320_get_power(struct lcd_device *ld) argument
162 struct ili9320 *lcd = to_our_lcd(ld);
H A Djornada720_lcd.c28 static int jornada_lcd_get_power(struct lcd_device *ld) argument
33 static int jornada_lcd_get_contrast(struct lcd_device *ld) argument
37 if (jornada_lcd_get_power(ld) != FB_BLANK_UNBLANK)
47 dev_err(&ld->dev, "failed to set contrast\n");
55 static int jornada_lcd_set_contrast(struct lcd_device *ld, int value) argument
68 dev_err(&ld->dev, "failed to set contrast\n");
76 static int jornada_lcd_set_power(struct lcd_device *ld, int power) argument
H A Dl4f00242t03.c30 struct lcd_device *ld; member in struct:l4f00242t03_priv
102 static int l4f00242t03_lcd_power_get(struct lcd_device *ld) argument
104 struct l4f00242t03_priv *priv = lcd_get_data(ld);
109 static int l4f00242t03_lcd_power_set(struct lcd_device *ld, int power) argument
111 struct l4f00242t03_priv *priv = lcd_get_data(ld);
133 l4f00242t03_lcd_power_set(priv->ld, power);
149 l4f00242t03_lcd_power_set(ld, power);
223 priv->ld = devm_lcd_device_register(&spi->dev, "l4f00242t03", &spi->dev,
225 if (IS_ERR(priv->ld))
226 return PTR_ERR(priv->ld);
[all...]
H A Dlcd.c29 struct lcd_device *ld; local
44 ld = container_of(self, struct lcd_device, fb_notif);
45 if (!ld->ops)
48 mutex_lock(&ld->ops_lock);
49 if (!ld->ops->check_fb || ld->ops->check_fb(ld, evdata->info)) {
51 if (ld->ops->set_power)
52 ld->ops->set_power(ld, *(in
70 lcd_register_fb(struct lcd_device *ld) argument
77 lcd_unregister_fb(struct lcd_device *ld) argument
82 lcd_register_fb(struct lcd_device *ld) argument
87 lcd_unregister_fb(struct lcd_device *ld) argument
96 struct lcd_device *ld = to_lcd_device(dev); local
112 struct lcd_device *ld = to_lcd_device(dev); local
137 struct lcd_device *ld = to_lcd_device(dev); local
151 struct lcd_device *ld = to_lcd_device(dev); local
175 struct lcd_device *ld = to_lcd_device(dev); local
185 struct lcd_device *ld = to_lcd_device(dev); local
253 lcd_device_unregister(struct lcd_device *ld) argument
326 devm_lcd_device_unregister(struct device *dev, struct lcd_device *ld) argument
[all...]
H A Dld9040.c44 struct lcd_device *ld; member in struct:ld9040
571 pd->reset(lcd->ld);
625 static int ld9040_set_power(struct lcd_device *ld, int power) argument
627 struct ld9040 *lcd = lcd_get_data(ld);
638 static int ld9040_get_power(struct lcd_device *ld) argument
640 struct ld9040 *lcd = lcd_get_data(ld);
679 struct lcd_device *ld = NULL; local
713 ld = devm_lcd_device_register(&spi->dev, "ld9040", &spi->dev, lcd,
715 if (IS_ERR(ld))
716 return PTR_ERR(ld);
[all...]
H A Dlms283gf05.c24 struct lcd_device *ld; member in struct:lms283gf05_state
127 static int lms283gf05_power_set(struct lcd_device *ld, int power) argument
129 struct lms283gf05_state *st = lcd_get_data(ld);
157 struct lcd_device *ld; local
174 ld = devm_lcd_device_register(&spi->dev, "lms283gf05", &spi->dev, st,
176 if (IS_ERR(ld))
177 return PTR_ERR(ld);
180 st->ld = ld;

Completed in 577 milliseconds

123