Home
last modified time | relevance | path

Searched refs:printer_cdev (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/gadget/function/
H A Df_printer.c91 struct cdev printer_cdev; member
351 dev = container_of(inode->i_cdev, struct printer_dev, printer_cdev); in printer_open()
1158 cdev_init(&dev->printer_cdev, &printer_io_operations); in printer_func_bind()
1159 dev->printer_cdev.owner = THIS_MODULE; in printer_func_bind()
1160 ret = cdev_add(&dev->printer_cdev, devt, 1); in printer_func_bind()
1439 cdev_del(&dev->printer_cdev); in printer_func_unbind()