/drivers/staging/gdm724x/ |
D | gdm_tty.c | 30 #define GDM_TTY_READY(gdm) (gdm && gdm->tty_dev && gdm->port.count) 117 struct tty_dev *tty_dev, in gdm_tty_recv_complete() argument 120 struct gdm *gdm = tty_dev->gdm[index]; in gdm_tty_recv_complete() 124 gdm->tty_dev->recv_func(gdm->tty_dev->priv_dev, in gdm_tty_recv_complete() 139 gdm->tty_dev->recv_func(gdm->tty_dev->priv_dev, in gdm_tty_recv_complete() 171 gdm->tty_dev->send_func(gdm->tty_dev->priv_dev, in gdm_tty_write() 196 int register_lte_tty_device(struct tty_dev *tty_dev, struct device *device) in register_lte_tty_device() argument 222 tty_dev->gdm[i] = gdm; in register_lte_tty_device() 228 gdm->tty_dev = tty_dev; in register_lte_tty_device() 235 gdm->tty_dev->recv_func(gdm->tty_dev->priv_dev, in register_lte_tty_device() [all …]
|
D | gdm_tty.h | 26 struct tty_dev *tty_dev; member 32 struct tty_dev { struct 44 struct tty_dev *tty_dev, argument 56 int register_lte_tty_device(struct tty_dev *tty_dev, struct device *dev); argument 57 void unregister_lte_tty_device(struct tty_dev *tty_dev);
|
D | gdm_mux.c | 182 mux_dev->tty_dev, in up_to_host() 195 mux_dev->tty_dev, in up_to_host() 272 struct tty_dev *tty_dev, int complete)) in gdm_mux_recv() argument 497 struct tty_dev *tty_dev; in gdm_mux_probe() local 518 tty_dev = kzalloc(sizeof(*tty_dev), GFP_KERNEL); in gdm_mux_probe() 519 if (!tty_dev) { in gdm_mux_probe() 531 tty_dev->priv_dev = (void *)mux_dev; in gdm_mux_probe() 532 tty_dev->send_func = gdm_mux_send; in gdm_mux_probe() 533 tty_dev->recv_func = gdm_mux_recv; in gdm_mux_probe() 534 tty_dev->send_control = gdm_mux_send_control; in gdm_mux_probe() [all …]
|
D | gdm_mux.h | 55 struct tty_dev *tty_dev, 79 struct tty_dev *tty_dev, 82 struct tty_dev *tty_dev; member
|
/drivers/staging/isdn/gigaset/ |
D | proc.c | 61 if (!cs->tty_dev) in gigaset_free_dev_sysfs() 65 device_remove_file(cs->tty_dev, &dev_attr_cidmode); in gigaset_free_dev_sysfs() 71 if (!cs->tty_dev) in gigaset_init_dev_sysfs() 75 if (device_create_file(cs->tty_dev, &dev_attr_cidmode)) in gigaset_init_dev_sysfs()
|
D | interface.c | 515 cs->tty_dev = tty_port_register_device(&cs->port, drv->tty, in gigaset_if_init() 518 if (!IS_ERR(cs->tty_dev)) in gigaset_if_init() 519 dev_set_drvdata(cs->tty_dev, cs); in gigaset_if_init() 522 cs->tty_dev = NULL; in gigaset_if_init() 537 cs->tty_dev = NULL; in gigaset_if_free()
|
D | gigaset.h | 406 struct device *tty_dev; member
|
D | common.c | 699 cs->tty_dev = NULL; in gigaset_initcs()
|
/drivers/usb/serial/ |
D | bus.c | 42 struct device *tty_dev; in usb_serial_device_probe() local 63 tty_dev = tty_port_register_device(&port->port, usb_serial_tty_driver, in usb_serial_device_probe() 65 if (IS_ERR(tty_dev)) { in usb_serial_device_probe() 66 retval = PTR_ERR(tty_dev); in usb_serial_device_probe()
|
/drivers/usb/host/ |
D | xhci-dbgtty.c | 446 struct device *tty_dev; in xhci_dbc_tty_register_device() local 451 tty_dev = tty_port_register_device(&port->port, in xhci_dbc_tty_register_device() 453 if (IS_ERR(tty_dev)) { in xhci_dbc_tty_register_device() 454 ret = PTR_ERR(tty_dev); in xhci_dbc_tty_register_device()
|
/drivers/tty/serial/ |
D | serial_core.c | 2154 struct device *tty_dev; in uart_suspend_port() local 2159 tty_dev = device_find_child(uport->dev, &match, serial_match_port); in uart_suspend_port() 2160 if (tty_dev && device_may_wakeup(tty_dev)) { in uart_suspend_port() 2162 put_device(tty_dev); in uart_suspend_port() 2166 put_device(tty_dev); in uart_suspend_port() 2216 struct device *tty_dev; in uart_resume_port() local 2222 tty_dev = device_find_child(uport->dev, &match, serial_match_port); in uart_resume_port() 2223 if (!uport->suspended && device_may_wakeup(tty_dev)) { in uart_resume_port() 2226 put_device(tty_dev); in uart_resume_port() 2230 put_device(tty_dev); in uart_resume_port() [all …]
|
D | ifx6x60.h | 65 struct device *tty_dev; member
|
D | ifx6x60.c | 802 if (ifx_dev->tty_dev) in ifx_spi_free_port() 832 ifx_dev->tty_dev = tty_port_register_device(pport, tty_drv, in ifx_spi_create_port() 834 if (IS_ERR(ifx_dev->tty_dev)) { in ifx_spi_create_port() 837 ret = PTR_ERR(ifx_dev->tty_dev); in ifx_spi_create_port()
|
/drivers/ipack/devices/ |
D | ipoctal.c | 385 struct device *tty_dev; in ipoctal_inst_slot() local 397 tty_dev = tty_port_register_device(&channel->tty_port, tty, i, NULL); in ipoctal_inst_slot() 398 if (IS_ERR(tty_dev)) { in ipoctal_inst_slot() 403 dev_set_drvdata(tty_dev, channel); in ipoctal_inst_slot()
|
/drivers/usb/gadget/function/ |
D | u_serial.c | 1212 struct device *tty_dev; in gserial_alloc_line() local 1234 tty_dev = tty_port_register_device(&ports[port_num].port->port, in gserial_alloc_line() 1236 if (IS_ERR(tty_dev)) { in gserial_alloc_line() 1239 __func__, port_num, PTR_ERR(tty_dev)); in gserial_alloc_line() 1241 ret = PTR_ERR(tty_dev); in gserial_alloc_line()
|
/drivers/staging/greybus/ |
D | uart.c | 824 struct device *tty_dev; in gb_uart_probe() local 908 tty_dev = tty_port_register_device(&gb_tty->port, gb_tty_driver, minor, in gb_uart_probe() 910 if (IS_ERR(tty_dev)) { in gb_uart_probe() 911 retval = PTR_ERR(tty_dev); in gb_uart_probe()
|
/drivers/tty/ |
D | mxser.c | 2562 struct device *tty_dev; in mxser_probe() local 2647 tty_dev = tty_port_register_device(&brd->ports[i].port, in mxser_probe() 2649 if (IS_ERR(tty_dev)) { in mxser_probe() 2650 retval = PTR_ERR(tty_dev); in mxser_probe() 2703 struct device *tty_dev; in mxser_module_init() local 2756 tty_dev = tty_port_register_device(&brd->ports[i].port, in mxser_module_init() 2758 if (IS_ERR(tty_dev)) { in mxser_module_init()
|
D | nozomi.c | 1417 struct device *tty_dev; in nozomi_card_init() local 1422 tty_dev = tty_port_register_device(&port->port, ntty_driver, in nozomi_card_init() 1425 if (IS_ERR(tty_dev)) { in nozomi_card_init() 1426 ret = PTR_ERR(tty_dev); in nozomi_card_init()
|
/drivers/usb/class/ |
D | cdc-acm.c | 1141 struct device *tty_dev; in acm_probe() local 1464 tty_dev = tty_port_register_device(&acm->port, acm_tty_driver, minor, in acm_probe() 1466 if (IS_ERR(tty_dev)) { in acm_probe() 1467 rv = PTR_ERR(tty_dev); in acm_probe()
|
/drivers/staging/fwserial/ |
D | fwserial.c | 2146 struct device *tty_dev; in fwserial_create() local 2205 tty_dev = tty_port_register_device(&serial->ports[j]->port, in fwserial_create() 2209 if (IS_ERR(tty_dev)) { in fwserial_create() 2210 err = PTR_ERR(tty_dev); in fwserial_create() 2216 serial->ports[j]->device = tty_dev; in fwserial_create()
|
/drivers/char/pcmcia/ |
D | synclink_cs.c | 2682 struct device *tty_dev; in mgslpc_add_device() local 2719 tty_dev = tty_port_register_device(&info->port, serial_driver, info->line, in mgslpc_add_device() 2721 if (IS_ERR(tty_dev)) { in mgslpc_add_device() 2722 ret = PTR_ERR(tty_dev); in mgslpc_add_device()
|