Lines Matching refs:control_state
183 if (urb->actual_length > sizeof(cdev->control_state))
184 urb->actual_length = sizeof(cdev->control_state);
185 memcpy(cdev->control_state, buf + 1, urb->actual_length);
337 cdev->control_state[0] = 0xff;
342 cdev->control_state[0] != 0xff, HZ))
346 if ((cdev->control_state[1] != 2) ||
347 (cdev->control_state[2] != 3) ||
348 (cdev->control_state[4] != 2)) {
349 cdev->control_state[1] = 2;
350 cdev->control_state[2] = 3;
351 cdev->control_state[4] = 2;
353 EP1_CMD_WRITE_IO, cdev->control_state, 6);