Home
last modified time | relevance | path

Searched refs:tty_dev (Results 1 – 21 of 21) sorted by relevance

/drivers/staging/gdm724x/
Dgdm_tty.h37 struct tty_dev *tty_dev; member
43 struct tty_dev { struct
55 struct tty_dev *tty_dev, argument
67 int register_lte_tty_device(struct tty_dev *tty_dev, struct device *dev); argument
68 void unregister_lte_tty_device(struct tty_dev *tty_dev);
Dgdm_mux.c197 mux_dev->tty_dev, in up_to_host()
210 mux_dev->tty_dev, in up_to_host()
286 int tty_index, struct tty_dev *tty_dev, int complete)) in gdm_mux_recv() argument
512 struct tty_dev *tty_dev; in gdm_mux_probe() local
533 tty_dev = kzalloc(sizeof(struct tty_dev), GFP_KERNEL); in gdm_mux_probe()
534 if (!tty_dev) { in gdm_mux_probe()
546 tty_dev->priv_dev = (void *)mux_dev; in gdm_mux_probe()
547 tty_dev->send_func = gdm_mux_send; in gdm_mux_probe()
548 tty_dev->recv_func = gdm_mux_recv; in gdm_mux_probe()
549 tty_dev->send_control = gdm_mux_send_control; in gdm_mux_probe()
[all …]
Dgdm_tty.c41 n->tty_dev->send_func(n->tty_dev->priv_dev, d, l, i, c, b))
43 n->tty_dev->recv_func(n->tty_dev->priv_dev, c))
45 n->tty_dev->send_control(n->tty_dev->priv_dev, r, v, d, l))
47 #define GDM_TTY_READY(gdm) (gdm && gdm->tty_dev && gdm->port.count)
142 struct tty_dev *tty_dev, in gdm_tty_recv_complete() argument
145 struct gdm *gdm = tty_dev->gdm[index]; in gdm_tty_recv_complete()
221 int register_lte_tty_device(struct tty_dev *tty_dev, struct device *device) in register_lte_tty_device() argument
248 tty_dev->gdm[i] = gdm; in register_lte_tty_device()
254 gdm->tty_dev = tty_dev; in register_lte_tty_device()
266 void unregister_lte_tty_device(struct tty_dev *tty_dev) in unregister_lte_tty_device() argument
[all …]
Dgdm_mux.h65 struct tty_dev *tty_dev,
89 struct tty_dev *tty_dev,
92 struct tty_dev *tty_dev; member
/drivers/isdn/gigaset/
Dproc.c64 if (!cs->tty_dev) in gigaset_free_dev_sysfs()
68 device_remove_file(cs->tty_dev, &dev_attr_cidmode); in gigaset_free_dev_sysfs()
74 if (!cs->tty_dev) in gigaset_init_dev_sysfs()
78 if (device_create_file(cs->tty_dev, &dev_attr_cidmode)) in gigaset_init_dev_sysfs()
Dinterface.c507 cs->tty_dev = tty_port_register_device(&cs->port, drv->tty, in gigaset_if_init()
510 if (!IS_ERR(cs->tty_dev)) in gigaset_if_init()
511 dev_set_drvdata(cs->tty_dev, cs); in gigaset_if_init()
514 cs->tty_dev = NULL; in gigaset_if_init()
529 cs->tty_dev = NULL; in gigaset_if_free()
Dgigaset.h409 struct device *tty_dev; member
Dcommon.c702 cs->tty_dev = NULL; in gigaset_initcs()
/drivers/usb/serial/
Dbus.c54 struct device *tty_dev; in usb_serial_device_probe() local
84 tty_dev = tty_register_device(usb_serial_tty_driver, minor, dev); in usb_serial_device_probe()
85 if (IS_ERR(tty_dev)) { in usb_serial_device_probe()
86 retval = PTR_ERR(tty_dev); in usb_serial_device_probe()
/drivers/tty/serial/
Dserial_core.c1938 struct device *tty_dev; in uart_suspend_port() local
1943 tty_dev = device_find_child(uport->dev, &match, serial_match_port); in uart_suspend_port()
1944 if (device_may_wakeup(tty_dev)) { in uart_suspend_port()
1947 put_device(tty_dev); in uart_suspend_port()
1951 put_device(tty_dev); in uart_suspend_port()
2003 struct device *tty_dev; in uart_resume_port() local
2009 tty_dev = device_find_child(uport->dev, &match, serial_match_port); in uart_resume_port()
2010 if (!uport->suspended && device_may_wakeup(tty_dev)) { in uart_resume_port()
2015 put_device(tty_dev); in uart_resume_port()
2019 put_device(tty_dev); in uart_resume_port()
[all …]
Dxilinx_uartps.c1195 struct device *tty_dev; in cdns_uart_suspend() local
1201 tty_dev = tty->dev; in cdns_uart_suspend()
1202 may_wake = device_may_wakeup(tty_dev); in cdns_uart_suspend()
1246 struct device *tty_dev; in cdns_uart_resume() local
1252 tty_dev = tty->dev; in cdns_uart_resume()
1253 may_wake = device_may_wakeup(tty_dev); in cdns_uart_resume()
Difx6x60.h81 struct device *tty_dev; member
Difx6x60.c812 if (ifx_dev->tty_dev) in ifx_spi_free_port()
842 ifx_dev->tty_dev = tty_port_register_device(pport, tty_drv, in ifx_spi_create_port()
844 if (IS_ERR(ifx_dev->tty_dev)) { in ifx_spi_create_port()
847 ret = PTR_ERR(ifx_dev->tty_dev); in ifx_spi_create_port()
/drivers/ipack/devices/
Dipoctal.c388 struct device *tty_dev; in ipoctal_inst_slot() local
400 tty_dev = tty_port_register_device(&channel->tty_port, tty, i, NULL); in ipoctal_inst_slot()
401 if (IS_ERR(tty_dev)) { in ipoctal_inst_slot()
406 dev_set_drvdata(tty_dev, channel); in ipoctal_inst_slot()
/drivers/usb/gadget/function/
Du_serial.c1101 struct device *tty_dev; in gserial_alloc_line() local
1123 tty_dev = tty_port_register_device(&ports[port_num].port->port, in gserial_alloc_line()
1126 if (IS_ERR(tty_dev)) { in gserial_alloc_line()
1129 __func__, port_num, PTR_ERR(tty_dev)); in gserial_alloc_line()
1131 ret = PTR_ERR(tty_dev); in gserial_alloc_line()
/drivers/staging/android/fiq_debugger/
Dfiq_debugger.c974 struct device *tty_dev; in fiq_debugger_tty_init_one() local
989 tty_dev = tty_port_register_device(&state->tty_port, fiq_tty_driver, in fiq_debugger_tty_init_one()
991 if (IS_ERR(tty_dev)) { in fiq_debugger_tty_init_one()
993 ret = PTR_ERR(tty_dev); in fiq_debugger_tty_init_one()
997 device_set_wakeup_capable(tty_dev, 1); in fiq_debugger_tty_init_one()
/drivers/tty/
Dmxser.c2568 struct device *tty_dev; in mxser_probe() local
2653 tty_dev = tty_port_register_device(&brd->ports[i].port, in mxser_probe()
2655 if (IS_ERR(tty_dev)) { in mxser_probe()
2656 retval = PTR_ERR(tty_dev); in mxser_probe()
2709 struct device *tty_dev; in mxser_module_init() local
2762 tty_dev = tty_port_register_device(&brd->ports[i].port, in mxser_module_init()
2764 if (IS_ERR(tty_dev)) { in mxser_module_init()
Dnozomi.c1459 struct device *tty_dev; in nozomi_card_init() local
1464 tty_dev = tty_port_register_device(&port->port, ntty_driver, in nozomi_card_init()
1467 if (IS_ERR(tty_dev)) { in nozomi_card_init()
1468 ret = PTR_ERR(tty_dev); in nozomi_card_init()
/drivers/usb/class/
Dcdc-acm.c1100 struct device *tty_dev; in acm_probe() local
1490 tty_dev = tty_port_register_device(&acm->port, acm_tty_driver, minor, in acm_probe()
1492 if (IS_ERR(tty_dev)) { in acm_probe()
1493 rv = PTR_ERR(tty_dev); in acm_probe()
/drivers/staging/fwserial/
Dfwserial.c2215 struct device *tty_dev; in fwserial_create() local
2274 tty_dev = tty_port_register_device(&serial->ports[j]->port, in fwserial_create()
2278 if (IS_ERR(tty_dev)) { in fwserial_create()
2279 err = PTR_ERR(tty_dev); in fwserial_create()
2285 serial->ports[j]->device = tty_dev; in fwserial_create()
/drivers/char/pcmcia/
Dsynclink_cs.c2717 struct device *tty_dev; in mgslpc_add_device() local
2754 tty_dev = tty_port_register_device(&info->port, serial_driver, info->line, in mgslpc_add_device()
2756 if (IS_ERR(tty_dev)) { in mgslpc_add_device()
2757 ret = PTR_ERR(tty_dev); in mgslpc_add_device()