Lines Matching refs:gadget
315 dev_dbg(&cdev->gadget->dev, "acm ttyGS%d completion, err %d\n", in acm_complete_set_line_coding()
322 dev_dbg(&cdev->gadget->dev, "acm ttyGS%d short resp, len %d\n", in acm_complete_set_line_coding()
367 cdev->gadget->ep0->driver_data = acm; in acm_setup()
399 dev_vdbg(&cdev->gadget->dev, in acm_setup()
407 dev_dbg(&cdev->gadget->dev, in acm_setup()
413 value = usb_ep_queue(cdev->gadget->ep0, req, GFP_ATOMIC); in acm_setup()
431 dev_vdbg(&cdev->gadget->dev, in acm_set_alt()
436 if (config_ep_by_speed(cdev->gadget, f, acm->notify)) in acm_set_alt()
443 dev_dbg(&cdev->gadget->dev, in acm_set_alt()
448 dev_dbg(&cdev->gadget->dev, in acm_set_alt()
450 if (config_ep_by_speed(cdev->gadget, f, in acm_set_alt()
452 config_ep_by_speed(cdev->gadget, f, in acm_set_alt()
472 dev_dbg(&cdev->gadget->dev, "acm ttyGS%d deactivated\n", acm->port_num); in acm_disable()
542 dev_dbg(&cdev->gadget->dev, "acm ttyGS%d serial state %04x\n", in acm_notify_serial_state()
652 ep = usb_ep_autoconfig(cdev->gadget, &acm_fs_in_desc); in acm_bind()
657 ep = usb_ep_autoconfig(cdev->gadget, &acm_fs_out_desc); in acm_bind()
662 ep = usb_ep_autoconfig(cdev->gadget, &acm_fs_notify_desc); in acm_bind()
694 dev_dbg(&cdev->gadget->dev, in acm_bind()
697 gadget_is_superspeed(c->cdev->gadget) ? "super" : in acm_bind()
698 gadget_is_dualspeed(c->cdev->gadget) ? "dual" : "full", in acm_bind()