Lines Matching refs:status

101 				struct uvc_status *status, int len)
105 "Invalid streaming status event received\n");
109 if (status->bEvent == 0) {
114 status->bOriginator,
115 status->streaming.button ? "pressed" : "released", len);
116 uvc_input_report_key(dev, KEY_CAMERA, status->streaming.button);
119 status->bOriginator, status->bEvent, len);
143 const struct uvc_status *status,
151 if (entity->id != status->bOriginator)
155 status->control.bSelector);
165 const struct uvc_status *status, int len)
172 if (len < 6 || status->bEvent != 0 ||
173 status->control.bAttribute >= ARRAY_SIZE(attrs)) {
174 uvc_dbg(dev, STATUS, "Invalid control status event received\n");
179 status->bOriginator, status->control.bSelector,
180 attrs[status->control.bAttribute], len);
183 ctrl = uvc_event_find_ctrl(dev, status, &chain);
187 switch (status->control.bAttribute) {
190 status->control.bValue);
207 switch (urb->status) {
219 "Non-zero status (%d) in status completion handler.\n",
220 urb->status);
226 switch (dev->status->bStatusType & 0x0f) {
228 if (uvc_event_control(urb, dev->status, len))
235 uvc_event_streaming(dev, dev->status, len);
240 uvc_dbg(dev, STATUS, "Unknown status event type %u\n",
241 dev->status->bStatusType);
251 "Failed to resubmit status URB (%d).\n", ret);
265 dev->status = kzalloc(sizeof(*dev->status), GFP_KERNEL);
266 if (!dev->status)
271 kfree(dev->status);
287 dev->status, sizeof(*dev->status), uvc_status_complete,
302 kfree(dev->status);
326 * Cancel any pending asynchronous work. If any status event was queued,
345 * From this point, there are no events on the queue and the status URB