Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/staging/gdm724x/
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_tty.c114 struct tty_dev *tty_dev, in gdm_tty_recv_complete() argument
117 struct gdm *gdm = tty_dev->gdm[index]; in gdm_tty_recv_complete()
121 gdm->tty_dev->recv_func(gdm->tty_dev->priv_dev, in gdm_tty_recv_complete()
136 gdm->tty_dev->recv_func(gdm->tty_dev->priv_dev, in gdm_tty_recv_complete()
168 gdm->tty_dev->send_func(gdm->tty_dev->priv_dev, in gdm_tty_write()
193 int register_lte_tty_device(struct tty_dev *tty_dev, struct device *device) in register_lte_tty_device() argument
219 tty_dev->gdm[i] = gdm; in register_lte_tty_device()
225 gdm->tty_dev = tty_dev; in register_lte_tty_device()
232 gdm->tty_dev->recv_func(gdm->tty_dev->priv_dev, in register_lte_tty_device()
238 void unregister_lte_tty_device(struct tty_dev *tty_dev) in unregister_lte_tty_device() argument
[all …]
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-6.3-rc2/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-6.3-rc2/net/bluetooth/rfcomm/
A Dtty.c64 struct device *tty_dev; member
95 if (dev->tty_dev) in rfcomm_dev_destruct()
134 if (dev->tty_dev->parent) in rfcomm_dev_shutdown()
135 device_move(dev->tty_dev, NULL, DPM_ORDER_DEV_LAST); in rfcomm_dev_shutdown()
200 static ssize_t address_show(struct device *tty_dev, in address_show() argument
203 struct rfcomm_dev *dev = dev_get_drvdata(tty_dev); in address_show()
207 static ssize_t channel_show(struct device *tty_dev, in channel_show() argument
210 struct rfcomm_dev *dev = dev_get_drvdata(tty_dev); in channel_show()
338 dev->tty_dev = tty; in rfcomm_dev_add()
340 dev_set_drvdata(dev->tty_dev, dev); in rfcomm_dev_add()
[all …]
/linux-6.3-rc2/drivers/tty/
A Drpmsg_tty.c174 struct device *tty_dev; in rpmsg_tty_probe() local
184 tty_dev = tty_port_register_device(&cport->port, rpmsg_tty_driver, in rpmsg_tty_probe()
186 if (IS_ERR(tty_dev)) { in rpmsg_tty_probe()
187 ret = dev_err_probe(dev, PTR_ERR(tty_dev), "Failed to register tty port\n"); in rpmsg_tty_probe()
A Dmxser.c1793 struct device *tty_dev; in mxser_probe() local
1848 tty_dev = tty_port_register_device(&brd->ports[i].port, in mxser_probe()
1850 if (IS_ERR(tty_dev)) { in mxser_probe()
1851 retval = PTR_ERR(tty_dev); in mxser_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()
/linux-6.3-rc2/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-6.3-rc2/drivers/usb/host/
A Dxhci-dbgtty.c411 struct device *tty_dev; in xhci_dbc_tty_register_device() local
442 tty_dev = tty_port_register_device(&port->port, in xhci_dbc_tty_register_device()
444 if (IS_ERR(tty_dev)) { in xhci_dbc_tty_register_device()
445 ret = PTR_ERR(tty_dev); in xhci_dbc_tty_register_device()
/linux-6.3-rc2/drivers/tty/serial/
A Dserial_core.c2318 struct device *tty_dev; in uart_suspend_port() local
2324 if (tty_dev && device_may_wakeup(tty_dev)) { in uart_suspend_port()
2326 put_device(tty_dev); in uart_suspend_port()
2330 put_device(tty_dev); in uart_suspend_port()
2395 struct device *tty_dev; in uart_resume_port() local
2402 if (!uport->suspended && device_may_wakeup(tty_dev)) { in uart_resume_port()
2405 put_device(tty_dev); in uart_resume_port()
2409 put_device(tty_dev); in uart_resume_port()
3057 struct device *tty_dev; in uart_add_one_port() local
3124 if (!IS_ERR(tty_dev)) { in uart_add_one_port()
[all …]
A Dfsl_lpuart.c2937 struct device *tty_dev; in lpuart_uport_is_active() local
2942 tty_dev = tty->dev; in lpuart_uport_is_active()
2943 may_wake = device_may_wakeup(tty_dev); in lpuart_uport_is_active()
/linux-6.3-rc2/drivers/usb/gadget/function/
A Du_serial.c1223 struct device *tty_dev; in gserial_alloc_line_no_console() local
1246 tty_dev = tty_port_register_device(&port->port, in gserial_alloc_line_no_console()
1248 if (IS_ERR(tty_dev)) { in gserial_alloc_line_no_console()
1250 __func__, port_num, PTR_ERR(tty_dev)); in gserial_alloc_line_no_console()
1252 ret = PTR_ERR(tty_dev); in gserial_alloc_line_no_console()
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/usb/class/
A Dcdc-acm.c1166 struct device *tty_dev; in acm_probe() local
1483 tty_dev = tty_port_register_device(&acm->port, acm_tty_driver, minor, in acm_probe()
1485 if (IS_ERR(tty_dev)) { in acm_probe()
1486 rv = PTR_ERR(tty_dev); in acm_probe()
/linux-6.3-rc2/drivers/char/pcmcia/
A Dsynclink_cs.c2673 struct device *tty_dev; in mgslpc_add_device() local
2710 tty_dev = tty_port_register_device(&info->port, serial_driver, info->line, in mgslpc_add_device()
2712 if (IS_ERR(tty_dev)) { in mgslpc_add_device()
2713 ret = PTR_ERR(tty_dev); in mgslpc_add_device()

Completed in 65 milliseconds