Lines Matching defs:state
53 /* check the current transfer state */
179 struct usb_device_request req, uint16_t off, uint8_t state)
213 /* set initial state */
215 temp_state = state;
251 if ((state == USB_HR_NOT_COMPLETE) &&
263 if (state != USB_HR_NOT_COMPLETE) {
405 /* In case we are out of sync, update the power state. */
414 * Internal state sequence:
433 uint8_t state;
442 * Filter the USB transfer state into
448 state = USB_HR_NOT_COMPLETE;
457 state = USB_HR_COMPLETE_OK;
459 state = USB_HR_NOT_COMPLETE;
463 state = USB_HR_COMPLETE_ERR;
500 "off=0x%x rem=0x%x, state=%d\n", req.bmRequestType,
501 req.bRequest, wValue, UGETW(req.wIndex), off, rem, state);
507 if (state != USB_HR_NOT_COMPLETE) {
584 &max_len, req, off, state);
640 if (state == USB_HR_NOT_COMPLETE) {
648 } else if (state != USB_HR_NOT_COMPLETE) {
655 if (state == USB_HR_NOT_COMPLETE) {
663 if (state == USB_HR_NOT_COMPLETE) {
671 if (state == USB_HR_NOT_COMPLETE) {
679 if (state == USB_HR_NOT_COMPLETE) {
687 if (state == USB_HR_NOT_COMPLETE) {
695 if (state == USB_HR_NOT_COMPLETE) {
705 if (state != USB_HR_NOT_COMPLETE) {
761 DPRINTF("%s\n", (state != USB_HR_NOT_COMPLETE) ?