Home
last modified time | relevance | path

Searched refs:epdata (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/usb/gadget/legacy/
Dinode.c276 struct ep_data *epdata = ep->driver_data; in epio_complete() local
281 epdata->status = req->status; in epio_complete()
283 epdata->status = req->actual; in epio_complete()
291 get_ready_ep (unsigned f_flags, struct ep_data *epdata, bool is_write) in get_ready_ep() argument
296 if (!mutex_trylock(&epdata->lock)) in get_ready_ep()
298 if (epdata->state != STATE_EP_ENABLED && in get_ready_ep()
299 (!is_write || epdata->state != STATE_EP_READY)) { in get_ready_ep()
300 mutex_unlock(&epdata->lock); in get_ready_ep()
308 val = mutex_lock_interruptible(&epdata->lock); in get_ready_ep()
312 switch (epdata->state) { in get_ready_ep()
[all …]