Searched refs:tty_dev (Results 1 – 10 of 10) sorted by relevance
/linux-3.4.99/drivers/isdn/gigaset/ |
D | proc.c | 64 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()
|
D | interface.c | 527 cs->tty_dev = tty_register_device(drv->tty, cs->minor_index, NULL); in gigaset_if_init() 529 if (!IS_ERR(cs->tty_dev)) in gigaset_if_init() 530 dev_set_drvdata(cs->tty_dev, cs); in gigaset_if_init() 533 cs->tty_dev = NULL; in gigaset_if_init() 548 cs->tty_dev = NULL; in gigaset_if_free()
|
D | gigaset.h | 406 struct device *tty_dev; member
|
D | common.c | 728 cs->tty_dev = NULL; in gigaset_initcs()
|
/linux-3.4.99/net/bluetooth/rfcomm/ |
D | tty.c | 71 struct device *tty_dev; member 181 static ssize_t show_address(struct device *tty_dev, struct device_attribute *attr, char *buf) in show_address() argument 183 struct rfcomm_dev *dev = dev_get_drvdata(tty_dev); in show_address() 187 static ssize_t show_channel(struct device *tty_dev, struct device_attribute *attr, char *buf) in show_channel() argument 189 struct rfcomm_dev *dev = dev_get_drvdata(tty_dev); in show_channel() 298 dev->tty_dev = tty_register_device(rfcomm_tty_driver, dev->id, NULL); in rfcomm_dev_add() 300 if (IS_ERR(dev->tty_dev)) { in rfcomm_dev_add() 301 err = PTR_ERR(dev->tty_dev); in rfcomm_dev_add() 306 dev_set_drvdata(dev->tty_dev, dev); in rfcomm_dev_add() 308 if (device_create_file(dev->tty_dev, &dev_attr_address) < 0) in rfcomm_dev_add() [all …]
|
/linux-3.4.99/drivers/tty/serial/ |
D | serial_core.c | 1867 struct device *tty_dev; in uart_suspend_port() local 1872 tty_dev = device_find_child(uport->dev, &match, serial_match_port); in uart_suspend_port() 1873 if (device_may_wakeup(tty_dev)) { in uart_suspend_port() 1876 put_device(tty_dev); in uart_suspend_port() 1880 put_device(tty_dev); in uart_suspend_port() 1935 struct device *tty_dev; in uart_resume_port() local 1941 tty_dev = device_find_child(uport->dev, &match, serial_match_port); in uart_resume_port() 1942 if (!uport->suspended && device_may_wakeup(tty_dev)) { in uart_resume_port() 1947 put_device(tty_dev); in uart_resume_port() 1951 put_device(tty_dev); in uart_resume_port() [all …]
|
D | ifx6x60.h | 80 struct device *tty_dev; member
|
D | ifx6x60.c | 775 if (ifx_dev->tty_dev) in ifx_spi_free_port() 804 ifx_dev->tty_dev = tty_register_device(tty_drv, ifx_dev->minor, in ifx_spi_create_port() 806 if (IS_ERR(ifx_dev->tty_dev)) { in ifx_spi_create_port() 809 ret = PTR_ERR(ifx_dev->tty_dev); in ifx_spi_create_port()
|
/linux-3.4.99/drivers/usb/gadget/ |
D | u_serial.c | 1133 struct device *tty_dev; in gserial_setup() local 1135 tty_dev = tty_register_device(gs_tty_driver, i, &g->dev); in gserial_setup() 1136 if (IS_ERR(tty_dev)) in gserial_setup() 1138 __func__, i, PTR_ERR(tty_dev)); in gserial_setup()
|
/linux-3.4.99/drivers/tty/ |
D | nozomi.c | 1471 struct device *tty_dev; in nozomi_card_init() local 1476 tty_dev = tty_register_device(ntty_driver, dc->index_start + i, in nozomi_card_init() 1479 if (IS_ERR(tty_dev)) { in nozomi_card_init() 1480 ret = PTR_ERR(tty_dev); in nozomi_card_init()
|