• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/gadget/

Lines Matching refs:status

90 	/* status endpoint is optional; this could be patched later */
288 int status;
301 status = usb_ep_queue(rndis->notify, req, GFP_ATOMIC);
302 if (status) {
304 DBG(cdev, "notify/0 --> %d\n", status);
312 int status = req->status;
316 * - RNDIS_RESPONSE_AVAILABLE (status/irq)
318 switch (status) {
326 ep->name, status,
338 status = usb_ep_queue(rndis->notify, req, GFP_ATOMIC);
339 if (status) {
341 DBG(cdev, "notify/1 --> %d\n", status);
351 int status;
355 status = rndis_msg_parser(rndis->config, (u8 *) req->buf);
356 if (status < 0)
358 status, req->actual, req->length);
420 /* respond with data transfer or status phase? */
562 int status;
566 status = usb_interface_id(c, f);
567 if (status < 0)
569 rndis->ctrl_id = status;
570 rndis_iad_descriptor.bFirstInterface = status;
572 rndis_control_intf.bInterfaceNumber = status;
573 rndis_union_desc.bMasterInterface0 = status;
575 status = usb_interface_id(c, f);
576 if (status < 0)
578 rndis->data_id = status;
580 rndis_data_intf.bInterfaceNumber = status;
581 rndis_union_desc.bSlaveInterface0 = status;
583 status = -ENODEV;
598 /* NOTE: a status/notification endpoint is, strictly speaking,
608 status = -ENOMEM;
662 status = rndis_register(rndis_response_available, rndis);
663 if (status < 0)
665 rndis->config = status;
701 ERROR(cdev, "%s: can't bind, err %d\n", f->name, status);
703 return status;
747 int status;
756 status = rndis_init();
757 if (status < 0)
758 return status;
761 status = usb_string_id(c->cdev);
762 if (status < 0)
763 return status;
764 rndis_string_defs[0].id = status;
765 rndis_control_intf.iInterface = status;
768 status = usb_string_id(c->cdev);
769 if (status < 0)
770 return status;
771 rndis_string_defs[1].id = status;
772 rndis_data_intf.iInterface = status;
775 status = usb_string_id(c->cdev);
776 if (status < 0)
777 return status;
778 rndis_string_defs[2].id = status;
779 rndis_iad_descriptor.iFunction = status;
783 status = -ENOMEM;
807 status = usb_add_function(c, &rndis->port.func);
808 if (status) {
813 return status;