Lines Matching defs:state
92 /* check the current transfer state */
219 struct usb_device_request req, uint16_t off, uint8_t state)
253 /* set initial state */
255 temp_state = state;
294 if ((state == USB_HR_NOT_COMPLETE) &&
306 if (state != USB_HR_NOT_COMPLETE) {
448 /* In case we are out of sync, update the power state. */
457 * Internal state sequence:
476 uint8_t state;
485 * Filter the USB transfer state into
491 state = USB_HR_NOT_COMPLETE;
500 state = USB_HR_COMPLETE_OK;
502 state = USB_HR_NOT_COMPLETE;
506 state = USB_HR_COMPLETE_ERR;
543 "off=0x%x rem=0x%x, state=%d\n", req.bmRequestType,
544 req.bRequest, wValue, UGETW(req.wIndex), off, rem, state);
550 if (state != USB_HR_NOT_COMPLETE) {
627 &max_len, req, off, state);
683 if (state == USB_HR_NOT_COMPLETE) {
691 } else if (state != USB_HR_NOT_COMPLETE) {
698 if (state == USB_HR_NOT_COMPLETE) {
706 if (state == USB_HR_NOT_COMPLETE) {
714 if (state == USB_HR_NOT_COMPLETE) {
722 if (state == USB_HR_NOT_COMPLETE) {
730 if (state == USB_HR_NOT_COMPLETE) {
738 if (state == USB_HR_NOT_COMPLETE) {
748 if (state != USB_HR_NOT_COMPLETE) {
804 DPRINTF("%s\n", (state != USB_HR_NOT_COMPLETE) ?