Lines Matching refs:printer_dev
66 struct printer_dev { struct
99 static inline struct printer_dev *func_to_printer(struct usb_function *f) in func_to_printer() argument
101 return container_of(f, struct printer_dev, function); in func_to_printer()
230 struct printer_dev *dev = container_of(kref, struct printer_dev, kref); in printer_dev_free()
267 struct printer_dev *dev = ep->driver_data; in rx_complete()
316 struct printer_dev *dev = ep->driver_data; in tx_complete()
347 struct printer_dev *dev; in printer_open()
351 dev = container_of(inode->i_cdev, struct printer_dev, printer_cdev); in printer_open()
378 struct printer_dev *dev = fd->private_data; in printer_close()
395 setup_rx_reqs(struct printer_dev *dev) in setup_rx_reqs()
433 struct printer_dev *dev = fd->private_data; in printer_read()
585 struct printer_dev *dev = fd->private_data; in printer_write()
713 struct printer_dev *dev = fd->private_data; in printer_fsync()
743 struct printer_dev *dev = fd->private_data; in printer_poll()
779 struct printer_dev *dev = fd->private_data; in printer_ioctl()
829 set_printer_interface(struct printer_dev *dev) in set_printer_interface()
866 static void printer_reset_interface(struct printer_dev *dev) in printer_reset_interface()
887 static int set_interface(struct printer_dev *dev, unsigned number) in set_interface()
906 static void printer_soft_reset(struct printer_dev *dev) in printer_soft_reset()
960 struct printer_dev *dev = func_to_printer(f); in gprinter_req_match()
1001 struct printer_dev *dev = func_to_printer(f); in printer_func_setup()
1082 struct printer_dev *dev = func_to_printer(f); in printer_func_bind()
1193 struct printer_dev *dev = func_to_printer(f); in printer_func_set_alt()
1204 struct printer_dev *dev = func_to_printer(f); in printer_func_disable()
1417 struct printer_dev *dev = func_to_printer(f); in gprinter_free()
1431 struct printer_dev *dev; in printer_func_unbind()
1474 struct printer_dev *dev; in gprinter_alloc()