Home
last modified time | relevance | path

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

/linux/drivers/staging/gdm724x/
A Dgdm_tty.c117 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()
241 void unregister_lte_tty_device(struct tty_dev *tty_dev) in unregister_lte_tty_device() argument
[all …]
A Dgdm_tty.h26 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);
A Dgdm_mux.c182 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()
541 mux_dev->tty_dev = tty_dev; in gdm_mux_probe()
555 kfree(tty_dev); in gdm_mux_probe()
564 struct tty_dev *tty_dev; in gdm_mux_disconnect() local
576 kfree(tty_dev); in gdm_mux_disconnect()
583 struct tty_dev *tty_dev; in gdm_mux_suspend() local
[all …]
A Dgdm_mux.h55 struct tty_dev *tty_dev,
79 struct tty_dev *tty_dev,
82 struct tty_dev *tty_dev; member
/linux/drivers/usb/serial/
A Dbus.c36 struct device *tty_dev; in usb_serial_device_probe() local
53 tty_dev = tty_port_register_device(&port->port, usb_serial_tty_driver, in usb_serial_device_probe()
55 if (IS_ERR(tty_dev)) { in usb_serial_device_probe()
56 retval = PTR_ERR(tty_dev); in usb_serial_device_probe()
/linux/net/bluetooth/rfcomm/
A Dtty.c65 struct device *tty_dev; member
96 if (dev->tty_dev) in rfcomm_dev_destruct()
135 if (dev->tty_dev->parent) in rfcomm_dev_shutdown()
136 device_move(dev->tty_dev, NULL, DPM_ORDER_DEV_LAST); in rfcomm_dev_shutdown()
201 static ssize_t address_show(struct device *tty_dev, in address_show() argument
204 struct rfcomm_dev *dev = dev_get_drvdata(tty_dev); in address_show()
208 static ssize_t channel_show(struct device *tty_dev, in channel_show() argument
211 struct rfcomm_dev *dev = dev_get_drvdata(tty_dev); in channel_show()
339 dev->tty_dev = tty; in rfcomm_dev_add()
341 dev_set_drvdata(dev->tty_dev, dev); in rfcomm_dev_add()
[all …]
/linux/drivers/tty/
A Drpmsg_tty.c155 struct device *tty_dev; in rpmsg_tty_probe() local
165 tty_dev = tty_port_register_device(&cport->port, rpmsg_tty_driver, in rpmsg_tty_probe()
167 if (IS_ERR(tty_dev)) { in rpmsg_tty_probe()
168 ret = dev_err_probe(dev, PTR_ERR(tty_dev), "Failed to register tty port\n"); in rpmsg_tty_probe()
A Dnozomi.c1400 struct device *tty_dev; in nozomi_card_init() local
1405 tty_dev = tty_port_register_device(&port->port, ntty_driver, in nozomi_card_init()
1408 if (IS_ERR(tty_dev)) { in nozomi_card_init()
1409 ret = PTR_ERR(tty_dev); in nozomi_card_init()
A Dmxser.c1866 struct device *tty_dev; in mxser_probe() local
1921 tty_dev = tty_port_register_device(&brd->ports[i].port, in mxser_probe()
1923 if (IS_ERR(tty_dev)) { in mxser_probe()
1924 retval = PTR_ERR(tty_dev); in mxser_probe()
/linux/drivers/misc/bcm-vk/
A Dbcm_vk_tty.c267 struct device *tty_dev; in bcm_vk_tty_init() local
270 tty_dev = tty_port_register_device_attr(&vk->tty[i].port, in bcm_vk_tty_init()
273 if (IS_ERR(tty_dev)) { in bcm_vk_tty_init()
274 err = PTR_ERR(tty_dev); in bcm_vk_tty_init()
/linux/drivers/usb/host/
A Dxhci-dbgtty.c404 struct device *tty_dev; in xhci_dbc_tty_register_device() local
426 tty_dev = tty_port_register_device(&port->port, in xhci_dbc_tty_register_device()
428 if (IS_ERR(tty_dev)) { in xhci_dbc_tty_register_device()
429 ret = PTR_ERR(tty_dev); in xhci_dbc_tty_register_device()
/linux/drivers/tty/serial/
A Dserial_core.c2170 struct device *tty_dev; in uart_suspend_port() local
2176 if (tty_dev && device_may_wakeup(tty_dev)) { in uart_suspend_port()
2178 put_device(tty_dev); in uart_suspend_port()
2182 put_device(tty_dev); in uart_suspend_port()
2232 struct device *tty_dev; in uart_resume_port() local
2239 if (!uport->suspended && device_may_wakeup(tty_dev)) { in uart_resume_port()
2242 put_device(tty_dev); in uart_resume_port()
2246 put_device(tty_dev); in uart_resume_port()
2877 struct device *tty_dev; in uart_add_one_port() local
2944 if (!IS_ERR(tty_dev)) { in uart_add_one_port()
[all …]
/linux/drivers/usb/gadget/function/
A Du_serial.c1219 struct device *tty_dev; in gserial_alloc_line_no_console() local
1242 tty_dev = tty_port_register_device(&port->port, in gserial_alloc_line_no_console()
1244 if (IS_ERR(tty_dev)) { in gserial_alloc_line_no_console()
1246 __func__, port_num, PTR_ERR(tty_dev)); in gserial_alloc_line_no_console()
1248 ret = PTR_ERR(tty_dev); in gserial_alloc_line_no_console()
/linux/drivers/staging/greybus/
A Duart.c809 struct device *tty_dev; in gb_uart_probe() local
894 tty_dev = tty_port_register_device(&gb_tty->port, gb_tty_driver, minor, in gb_uart_probe()
896 if (IS_ERR(tty_dev)) { in gb_uart_probe()
897 retval = PTR_ERR(tty_dev); in gb_uart_probe()
/linux/drivers/ipack/devices/
A Dipoctal.c396 struct device *tty_dev; in ipoctal_inst_slot() local
410 tty_dev = tty_port_register_device_attr(&channel->tty_port, drv, in ipoctal_inst_slot()
412 if (IS_ERR(tty_dev)) { in ipoctal_inst_slot()
/linux/drivers/usb/class/
A Dcdc-acm.c1170 struct device *tty_dev; in acm_probe() local
1487 tty_dev = tty_port_register_device(&acm->port, acm_tty_driver, minor, in acm_probe()
1489 if (IS_ERR(tty_dev)) { in acm_probe()
1490 rv = PTR_ERR(tty_dev); in acm_probe()
/linux/drivers/staging/fwserial/
A Dfwserial.c2144 struct device *tty_dev; in fwserial_create() local
2204 tty_dev = tty_port_register_device(&serial->ports[j]->port, in fwserial_create()
2208 if (IS_ERR(tty_dev)) { in fwserial_create()
2209 err = PTR_ERR(tty_dev); in fwserial_create()
2215 serial->ports[j]->device = tty_dev; in fwserial_create()
/linux/drivers/char/pcmcia/
A Dsynclink_cs.c2672 struct device *tty_dev; in mgslpc_add_device() local
2709 tty_dev = tty_port_register_device(&info->port, serial_driver, info->line, in mgslpc_add_device()
2711 if (IS_ERR(tty_dev)) { in mgslpc_add_device()
2712 ret = PTR_ERR(tty_dev); in mgslpc_add_device()

Completed in 67 milliseconds