Lines Matching refs:usb_serial
78 struct usb_serial *serial;
153 struct usb_serial { struct
172 #define to_usb_serial(d) container_of(d, struct usb_serial, kref) argument
175 static inline void *usb_get_serial_data(struct usb_serial *serial) in usb_get_serial_data()
180 static inline void usb_set_serial_data(struct usb_serial *serial, void *data) in usb_set_serial_data()
263 int (*probe)(struct usb_serial *serial, const struct usb_device_id *id);
264 int (*attach)(struct usb_serial *serial);
265 int (*calc_num_ports)(struct usb_serial *serial,
268 void (*disconnect)(struct usb_serial *serial);
269 void (*release)(struct usb_serial *serial);
274 int (*suspend)(struct usb_serial *serial, pm_message_t message);
275 int (*resume)(struct usb_serial *serial);
276 int (*reset_resume)(struct usb_serial *serial);
335 extern void usb_serial_console_disconnect(struct usb_serial *serial);
339 static inline void usb_serial_console_disconnect(struct usb_serial *serial) {} in usb_serial_console_disconnect()
344 extern void usb_serial_put(struct usb_serial *serial);
352 extern int usb_serial_generic_resume(struct usb_serial *serial);