Lines Matching refs:value
217 * @value: true => stall, false => unstall
221 static int hw_ep_set_halt(struct ci_hdrc *ci, int num, int dir, int value)
223 if (value != 0 && value != 1)
233 value ? mask_xs : mask_xr);
234 } while (value != hw_ep_get_halt(ci, num, dir));
285 * This function returns guard value
297 * This function returns guard value
307 * @value: new USB address
312 static void hw_usb_set_address(struct ci_hdrc *ci, u8 value)
315 value << __ffs(DEVICEADDR_USBADR));
775 static int _ep_set_halt(struct usb_ep *ep, int value, bool check_transfer)
789 if (value && hwep->dir == TX && check_transfer &&
798 retval |= hw_ep_set_halt(hwep->ci, hwep->num, hwep->dir, value);
800 if (!value)
1378 * For ISO-TX, we set mult at QH as the largest value, and use
1379 * MultO at TD as real mult value.
1573 static int ep_set_halt(struct usb_ep *ep, int value)
1575 return _ep_set_halt(ep, value, true);