Lines Matching refs:value
220 * @value: true => stall, false => unstall
224 static int hw_ep_set_halt(struct ci_hdrc *ci, int num, int dir, int value)
226 if (value != 0 && value != 1)
236 value ? mask_xs : mask_xr);
237 } while (value != hw_ep_get_halt(ci, num, dir));
288 * This function returns guard value
300 * This function returns guard value
310 * @value: new USB address
315 static void hw_usb_set_address(struct ci_hdrc *ci, u8 value)
318 value << __ffs(DEVICEADDR_USBADR));
789 static int _ep_set_halt(struct usb_ep *ep, int value, bool check_transfer)
803 if (value && hwep->dir == TX && check_transfer &&
812 retval |= hw_ep_set_halt(hwep->ci, hwep->num, hwep->dir, value);
814 if (!value)
1392 * For ISO-TX, we set mult at QH as the largest value, and use
1393 * MultO at TD as real mult value.
1587 static int ep_set_halt(struct usb_ep *ep, int value)
1589 return _ep_set_halt(ep, value, true);
2216 /* Restore value 0 if it was set for power lost check */