Lines Matching refs:usb_serial
67 struct usb_serial *serial;
141 struct usb_serial { struct
161 #define to_usb_serial(d) container_of(d, struct usb_serial, kref) argument
164 static inline void *usb_get_serial_data(struct usb_serial *serial) in usb_get_serial_data()
169 static inline void usb_set_serial_data(struct usb_serial *serial, void *data) in usb_set_serial_data()
252 int (*probe)(struct usb_serial *serial, const struct usb_device_id *id);
253 int (*attach)(struct usb_serial *serial);
254 int (*calc_num_ports)(struct usb_serial *serial,
257 void (*disconnect)(struct usb_serial *serial);
258 void (*release)(struct usb_serial *serial);
263 int (*suspend)(struct usb_serial *serial, pm_message_t message);
264 int (*resume)(struct usb_serial *serial);
265 int (*reset_resume)(struct usb_serial *serial);
326 void usb_serial_console_disconnect(struct usb_serial *serial);
330 static inline void usb_serial_console_disconnect(struct usb_serial *serial) {} in usb_serial_console_disconnect()
335 void usb_serial_put(struct usb_serial *serial);
337 int usb_serial_claim_interface(struct usb_serial *serial, struct usb_interface *intf);
344 int usb_serial_generic_resume(struct usb_serial *serial);