Lines Matching refs:status

104 	struct usb_request	*stat_req;	/* for cdc & rndis status */
109 *in, *out, *status;
294 * status transfer endpoint isn't optional.
381 * three class descriptors, two interface descriptors, optional status
405 /* status endpoint is optional; this may be patched later */
526 * include the status endpoint if we can, even where it's optional.
536 * RNDIS requires the status endpoint, since it uses that encapsulation
664 /* NOTE: status endpoint may need to be removed */
764 /* NOTE: status endpoint may need to be removed */
927 /* status endpoint used for RNDIS and (optionally) CDC */
929 dev->status = ep_desc(gadget, &hs_status_desc,
933 result = usb_ep_enable(dev->status_ep, dev->status);
981 dev->status = NULL;
1026 if (dev->status)
1104 * only to notify the host about link status changes (which we support) or
1107 * command mechanism; and only one status request is ever queued.
1112 int value = req->status;
1153 * flush old status
1163 usb_ep_enable(dev->status_ep, dev->status);
1182 debug("status buf queue --> %d\n", value);
1191 if (req->status || req->actual != req->length)
1193 req->status, req->actual, req->length);
1200 if (req->status || req->actual != req->length)
1202 req->status, req->actual, req->length);
1210 int status;
1213 status = rndis_msg_parser(dev->rndis_config, (u8 *) req->buf);
1214 if (status < 0)
1215 pr_err("%s: rndis parse error %d", __func__, status);
1319 if (dev->status) {
1321 usb_ep_enable(dev->status_ep, dev->status);
1343 if (dev->status)
1452 /* respond with data transfer before status phase? */
1454 debug("respond with data transfer before status phase\n");
1461 req->status = 0;
1525 debug("%s: status %d\n", __func__, req->status);
1526 switch (req->status) {
1594 debug("%s: status %s\n", __func__, (req->status) ? "failed" : "ok");
1595 switch (req->status) {
1598 debug("tx err %d\n", req->status);
1803 if (req->status || req->actual != req->length)
1805 req->status, req->actual, req->length);
1835 if (!dev->status) {
1836 debug("status ENODEV\n");
1861 resp->status = 0;
1976 int status = -ENOMEM;
2085 * CDC Ethernet control interface doesn't require a status endpoint.
2184 status = rndis_init();
2185 if (status < 0) {
2186 pr_err("can't init RNDIS, %d", status);
2204 /* ... and maybe likewise for status transfer */
2253 status = -ENODEV;
2273 pr_err("%s failed, status = %d", __func__, status);
2275 return status;
2398 * For example: unhandled interrupt with status stage started may