tty_dev 2682 drivers/char/pcmcia/synclink_cs.c struct device *tty_dev; tty_dev 2719 drivers/char/pcmcia/synclink_cs.c tty_dev = tty_port_register_device(&info->port, serial_driver, info->line, tty_dev 2721 drivers/char/pcmcia/synclink_cs.c if (IS_ERR(tty_dev)) { tty_dev 2722 drivers/char/pcmcia/synclink_cs.c ret = PTR_ERR(tty_dev); tty_dev 385 drivers/ipack/devices/ipoctal.c struct device *tty_dev; tty_dev 397 drivers/ipack/devices/ipoctal.c tty_dev = tty_port_register_device(&channel->tty_port, tty, i, NULL); tty_dev 398 drivers/ipack/devices/ipoctal.c if (IS_ERR(tty_dev)) { tty_dev 403 drivers/ipack/devices/ipoctal.c dev_set_drvdata(tty_dev, channel); tty_dev 2146 drivers/staging/fwserial/fwserial.c struct device *tty_dev; tty_dev 2205 drivers/staging/fwserial/fwserial.c tty_dev = tty_port_register_device(&serial->ports[j]->port, tty_dev 2209 drivers/staging/fwserial/fwserial.c if (IS_ERR(tty_dev)) { tty_dev 2210 drivers/staging/fwserial/fwserial.c err = PTR_ERR(tty_dev); tty_dev 2216 drivers/staging/fwserial/fwserial.c serial->ports[j]->device = tty_dev; tty_dev 182 drivers/staging/gdm724x/gdm_mux.c mux_dev->tty_dev, tty_dev 195 drivers/staging/gdm724x/gdm_mux.c mux_dev->tty_dev, tty_dev 272 drivers/staging/gdm724x/gdm_mux.c struct tty_dev *tty_dev, int complete)) tty_dev 497 drivers/staging/gdm724x/gdm_mux.c struct tty_dev *tty_dev; tty_dev 518 drivers/staging/gdm724x/gdm_mux.c tty_dev = kzalloc(sizeof(*tty_dev), GFP_KERNEL); tty_dev 519 drivers/staging/gdm724x/gdm_mux.c if (!tty_dev) { tty_dev 531 drivers/staging/gdm724x/gdm_mux.c tty_dev->priv_dev = (void *)mux_dev; tty_dev 532 drivers/staging/gdm724x/gdm_mux.c tty_dev->send_func = gdm_mux_send; tty_dev 533 drivers/staging/gdm724x/gdm_mux.c tty_dev->recv_func = gdm_mux_recv; tty_dev 534 drivers/staging/gdm724x/gdm_mux.c tty_dev->send_control = gdm_mux_send_control; tty_dev 536 drivers/staging/gdm724x/gdm_mux.c ret = register_lte_tty_device(tty_dev, &intf->dev); tty_dev 541 drivers/staging/gdm724x/gdm_mux.c mux_dev->tty_dev = tty_dev; tty_dev 547 drivers/staging/gdm724x/gdm_mux.c usb_set_intfdata(intf, tty_dev); tty_dev 552 drivers/staging/gdm724x/gdm_mux.c unregister_lte_tty_device(tty_dev); tty_dev 555 drivers/staging/gdm724x/gdm_mux.c kfree(tty_dev); tty_dev 564 drivers/staging/gdm724x/gdm_mux.c struct tty_dev *tty_dev; tty_dev 568 drivers/staging/gdm724x/gdm_mux.c tty_dev = usb_get_intfdata(intf); tty_dev 570 drivers/staging/gdm724x/gdm_mux.c mux_dev = tty_dev->priv_dev; tty_dev 573 drivers/staging/gdm724x/gdm_mux.c unregister_lte_tty_device(tty_dev); tty_dev 576 drivers/staging/gdm724x/gdm_mux.c kfree(tty_dev); tty_dev 583 drivers/staging/gdm724x/gdm_mux.c struct tty_dev *tty_dev; tty_dev 589 drivers/staging/gdm724x/gdm_mux.c tty_dev = usb_get_intfdata(intf); tty_dev 590 drivers/staging/gdm724x/gdm_mux.c mux_dev = tty_dev->priv_dev; tty_dev 616 drivers/staging/gdm724x/gdm_mux.c struct tty_dev *tty_dev; tty_dev 620 drivers/staging/gdm724x/gdm_mux.c tty_dev = usb_get_intfdata(intf); tty_dev 621 drivers/staging/gdm724x/gdm_mux.c mux_dev = tty_dev->priv_dev; tty_dev 55 drivers/staging/gdm724x/gdm_mux.h struct tty_dev *tty_dev, tty_dev 79 drivers/staging/gdm724x/gdm_mux.h struct tty_dev *tty_dev, tty_dev 82 drivers/staging/gdm724x/gdm_mux.h struct tty_dev *tty_dev; tty_dev 30 drivers/staging/gdm724x/gdm_tty.c #define GDM_TTY_READY(gdm) (gdm && gdm->tty_dev && gdm->port.count) tty_dev 117 drivers/staging/gdm724x/gdm_tty.c struct tty_dev *tty_dev, tty_dev 120 drivers/staging/gdm724x/gdm_tty.c struct gdm *gdm = tty_dev->gdm[index]; tty_dev 124 drivers/staging/gdm724x/gdm_tty.c gdm->tty_dev->recv_func(gdm->tty_dev->priv_dev, tty_dev 139 drivers/staging/gdm724x/gdm_tty.c gdm->tty_dev->recv_func(gdm->tty_dev->priv_dev, tty_dev 171 drivers/staging/gdm724x/gdm_tty.c gdm->tty_dev->send_func(gdm->tty_dev->priv_dev, tty_dev 196 drivers/staging/gdm724x/gdm_tty.c int register_lte_tty_device(struct tty_dev *tty_dev, struct device *device) tty_dev 222 drivers/staging/gdm724x/gdm_tty.c tty_dev->gdm[i] = gdm; tty_dev 228 drivers/staging/gdm724x/gdm_tty.c gdm->tty_dev = tty_dev; tty_dev 235 drivers/staging/gdm724x/gdm_tty.c gdm->tty_dev->recv_func(gdm->tty_dev->priv_dev, tty_dev 241 drivers/staging/gdm724x/gdm_tty.c void unregister_lte_tty_device(struct tty_dev *tty_dev) tty_dev 248 drivers/staging/gdm724x/gdm_tty.c gdm = tty_dev->gdm[i]; tty_dev 26 drivers/staging/gdm724x/gdm_tty.h struct tty_dev *tty_dev; tty_dev 44 drivers/staging/gdm724x/gdm_tty.h struct tty_dev *tty_dev, tty_dev 56 drivers/staging/gdm724x/gdm_tty.h int register_lte_tty_device(struct tty_dev *tty_dev, struct device *dev); tty_dev 57 drivers/staging/gdm724x/gdm_tty.h void unregister_lte_tty_device(struct tty_dev *tty_dev); tty_dev 824 drivers/staging/greybus/uart.c struct device *tty_dev; tty_dev 908 drivers/staging/greybus/uart.c tty_dev = tty_port_register_device(&gb_tty->port, gb_tty_driver, minor, tty_dev 910 drivers/staging/greybus/uart.c if (IS_ERR(tty_dev)) { tty_dev 911 drivers/staging/greybus/uart.c retval = PTR_ERR(tty_dev); tty_dev 699 drivers/staging/isdn/gigaset/common.c cs->tty_dev = NULL; tty_dev 406 drivers/staging/isdn/gigaset/gigaset.h struct device *tty_dev; tty_dev 515 drivers/staging/isdn/gigaset/interface.c cs->tty_dev = tty_port_register_device(&cs->port, drv->tty, tty_dev 518 drivers/staging/isdn/gigaset/interface.c if (!IS_ERR(cs->tty_dev)) tty_dev 519 drivers/staging/isdn/gigaset/interface.c dev_set_drvdata(cs->tty_dev, cs); tty_dev 522 drivers/staging/isdn/gigaset/interface.c cs->tty_dev = NULL; tty_dev 537 drivers/staging/isdn/gigaset/interface.c cs->tty_dev = NULL; tty_dev 61 drivers/staging/isdn/gigaset/proc.c if (!cs->tty_dev) tty_dev 65 drivers/staging/isdn/gigaset/proc.c device_remove_file(cs->tty_dev, &dev_attr_cidmode); tty_dev 71 drivers/staging/isdn/gigaset/proc.c if (!cs->tty_dev) tty_dev 75 drivers/staging/isdn/gigaset/proc.c if (device_create_file(cs->tty_dev, &dev_attr_cidmode)) tty_dev 2562 drivers/tty/mxser.c struct device *tty_dev; tty_dev 2647 drivers/tty/mxser.c tty_dev = tty_port_register_device(&brd->ports[i].port, tty_dev 2649 drivers/tty/mxser.c if (IS_ERR(tty_dev)) { tty_dev 2650 drivers/tty/mxser.c retval = PTR_ERR(tty_dev); tty_dev 2703 drivers/tty/mxser.c struct device *tty_dev; tty_dev 2756 drivers/tty/mxser.c tty_dev = tty_port_register_device(&brd->ports[i].port, tty_dev 2758 drivers/tty/mxser.c if (IS_ERR(tty_dev)) { tty_dev 1417 drivers/tty/nozomi.c struct device *tty_dev; tty_dev 1422 drivers/tty/nozomi.c tty_dev = tty_port_register_device(&port->port, ntty_driver, tty_dev 1425 drivers/tty/nozomi.c if (IS_ERR(tty_dev)) { tty_dev 1426 drivers/tty/nozomi.c ret = PTR_ERR(tty_dev); tty_dev 802 drivers/tty/serial/ifx6x60.c if (ifx_dev->tty_dev) tty_dev 832 drivers/tty/serial/ifx6x60.c ifx_dev->tty_dev = tty_port_register_device(pport, tty_drv, tty_dev 834 drivers/tty/serial/ifx6x60.c if (IS_ERR(ifx_dev->tty_dev)) { tty_dev 837 drivers/tty/serial/ifx6x60.c ret = PTR_ERR(ifx_dev->tty_dev); tty_dev 65 drivers/tty/serial/ifx6x60.h struct device *tty_dev; tty_dev 2154 drivers/tty/serial/serial_core.c struct device *tty_dev; tty_dev 2159 drivers/tty/serial/serial_core.c tty_dev = device_find_child(uport->dev, &match, serial_match_port); tty_dev 2160 drivers/tty/serial/serial_core.c if (tty_dev && device_may_wakeup(tty_dev)) { tty_dev 2162 drivers/tty/serial/serial_core.c put_device(tty_dev); tty_dev 2166 drivers/tty/serial/serial_core.c put_device(tty_dev); tty_dev 2216 drivers/tty/serial/serial_core.c struct device *tty_dev; tty_dev 2222 drivers/tty/serial/serial_core.c tty_dev = device_find_child(uport->dev, &match, serial_match_port); tty_dev 2223 drivers/tty/serial/serial_core.c if (!uport->suspended && device_may_wakeup(tty_dev)) { tty_dev 2226 drivers/tty/serial/serial_core.c put_device(tty_dev); tty_dev 2230 drivers/tty/serial/serial_core.c put_device(tty_dev); tty_dev 2792 drivers/tty/serial/serial_core.c struct device *tty_dev; tty_dev 2860 drivers/tty/serial/serial_core.c tty_dev = tty_port_register_device_attr_serdev(port, drv->tty_driver, tty_dev 2862 drivers/tty/serial/serial_core.c if (!IS_ERR(tty_dev)) { tty_dev 2863 drivers/tty/serial/serial_core.c device_set_wakeup_capable(tty_dev, 1); tty_dev 1171 drivers/usb/class/cdc-acm.c struct device *tty_dev; tty_dev 1495 drivers/usb/class/cdc-acm.c tty_dev = tty_port_register_device(&acm->port, acm_tty_driver, minor, tty_dev 1497 drivers/usb/class/cdc-acm.c if (IS_ERR(tty_dev)) { tty_dev 1498 drivers/usb/class/cdc-acm.c rv = PTR_ERR(tty_dev); tty_dev 1214 drivers/usb/gadget/function/u_serial.c struct device *tty_dev; tty_dev 1236 drivers/usb/gadget/function/u_serial.c tty_dev = tty_port_register_device(&ports[port_num].port->port, tty_dev 1238 drivers/usb/gadget/function/u_serial.c if (IS_ERR(tty_dev)) { tty_dev 1241 drivers/usb/gadget/function/u_serial.c __func__, port_num, PTR_ERR(tty_dev)); tty_dev 1243 drivers/usb/gadget/function/u_serial.c ret = PTR_ERR(tty_dev); tty_dev 446 drivers/usb/host/xhci-dbgtty.c struct device *tty_dev; tty_dev 451 drivers/usb/host/xhci-dbgtty.c tty_dev = tty_port_register_device(&port->port, tty_dev 453 drivers/usb/host/xhci-dbgtty.c if (IS_ERR(tty_dev)) { tty_dev 454 drivers/usb/host/xhci-dbgtty.c ret = PTR_ERR(tty_dev); tty_dev 42 drivers/usb/serial/bus.c struct device *tty_dev; tty_dev 63 drivers/usb/serial/bus.c tty_dev = tty_port_register_device(&port->port, usb_serial_tty_driver, tty_dev 65 drivers/usb/serial/bus.c if (IS_ERR(tty_dev)) { tty_dev 66 drivers/usb/serial/bus.c retval = PTR_ERR(tty_dev); tty_dev 65 net/bluetooth/rfcomm/tty.c struct device *tty_dev; tty_dev 96 net/bluetooth/rfcomm/tty.c if (dev->tty_dev) tty_dev 135 net/bluetooth/rfcomm/tty.c if (dev->tty_dev->parent) tty_dev 136 net/bluetooth/rfcomm/tty.c device_move(dev->tty_dev, NULL, DPM_ORDER_DEV_LAST); tty_dev 195 net/bluetooth/rfcomm/tty.c device_move(dev->tty_dev, &conn->dev, DPM_ORDER_DEV_AFTER_PARENT); tty_dev 201 net/bluetooth/rfcomm/tty.c static ssize_t show_address(struct device *tty_dev, struct device_attribute *attr, char *buf) tty_dev 203 net/bluetooth/rfcomm/tty.c struct rfcomm_dev *dev = dev_get_drvdata(tty_dev); tty_dev 207 net/bluetooth/rfcomm/tty.c static ssize_t show_channel(struct device *tty_dev, struct device_attribute *attr, char *buf) tty_dev 209 net/bluetooth/rfcomm/tty.c struct rfcomm_dev *dev = dev_get_drvdata(tty_dev); tty_dev 337 net/bluetooth/rfcomm/tty.c dev->tty_dev = tty; tty_dev 339 net/bluetooth/rfcomm/tty.c dev_set_drvdata(dev->tty_dev, dev); tty_dev 341 net/bluetooth/rfcomm/tty.c if (device_create_file(dev->tty_dev, &dev_attr_address) < 0) tty_dev 344 net/bluetooth/rfcomm/tty.c if (device_create_file(dev->tty_dev, &dev_attr_channel) < 0)