Loading drivers/usb/gadget/ci13xxx_udc.c +1 −0 Original line number Diff line number Diff line Loading @@ -3808,6 +3808,7 @@ static int udc_probe(struct ci13xxx_udc_driver *driver, struct device *dev, udc->gadget.max_speed = USB_SPEED_HIGH; udc->gadget.is_otg = 0; udc->gadget.name = driver->name; udc->gadget.is_chipiea = true; /* alloc resources */ udc->qh_pool = dma_pool_create("ci13xxx_qh", dev, Loading include/linux/usb/gadget.h +2 −0 Original line number Diff line number Diff line Loading @@ -481,6 +481,7 @@ struct usb_gadget_ops { * @bam2bam_func_enabled; Indicates function using bam2bam is enabled or not. * @extra_buf_alloc: Extra allocation size for AXI prefetch so that out of * boundary access is protected. * @is_chipidea: True if ChipIdea device controller * * Gadgets have a mostly-portable "gadget driver" implementing device * functions, handling all usb configurations and interfaces. Gadget Loading Loading @@ -537,6 +538,7 @@ struct usb_gadget { bool bam2bam_func_enabled; u32 extra_buf_alloc; bool l1_supported; bool is_chipidea; }; #define work_to_gadget(w) (container_of((w), struct usb_gadget, work)) Loading Loading
drivers/usb/gadget/ci13xxx_udc.c +1 −0 Original line number Diff line number Diff line Loading @@ -3808,6 +3808,7 @@ static int udc_probe(struct ci13xxx_udc_driver *driver, struct device *dev, udc->gadget.max_speed = USB_SPEED_HIGH; udc->gadget.is_otg = 0; udc->gadget.name = driver->name; udc->gadget.is_chipiea = true; /* alloc resources */ udc->qh_pool = dma_pool_create("ci13xxx_qh", dev, Loading
include/linux/usb/gadget.h +2 −0 Original line number Diff line number Diff line Loading @@ -481,6 +481,7 @@ struct usb_gadget_ops { * @bam2bam_func_enabled; Indicates function using bam2bam is enabled or not. * @extra_buf_alloc: Extra allocation size for AXI prefetch so that out of * boundary access is protected. * @is_chipidea: True if ChipIdea device controller * * Gadgets have a mostly-portable "gadget driver" implementing device * functions, handling all usb configurations and interfaces. Gadget Loading Loading @@ -537,6 +538,7 @@ struct usb_gadget { bool bam2bam_func_enabled; u32 extra_buf_alloc; bool l1_supported; bool is_chipidea; }; #define work_to_gadget(w) (container_of((w), struct usb_gadget, work)) Loading