Lines Matching full:api

103 	const struct uhc_api *api = dev->api;  in uhc_xfer_alloc()  local
106 api->lock(dev); in uhc_xfer_alloc()
130 api->unlock(dev); in uhc_xfer_alloc()
166 const struct uhc_api *api = dev->api; in uhc_xfer_free() local
169 api->lock(dev); in uhc_xfer_free()
180 api->unlock(dev); in uhc_xfer_free()
189 const struct uhc_api *api = dev->api; in uhc_xfer_buf_add() local
192 api->lock(dev); in uhc_xfer_buf_add()
199 api->unlock(dev); in uhc_xfer_buf_add()
206 const struct uhc_api *api = dev->api; in uhc_ep_enqueue() local
209 api->lock(dev); in uhc_ep_enqueue()
217 ret = api->ep_enqueue(dev, xfer); in uhc_ep_enqueue()
224 api->unlock(dev); in uhc_ep_enqueue()
231 const struct uhc_api *api = dev->api; in uhc_ep_dequeue() local
234 api->lock(dev); in uhc_ep_dequeue()
241 ret = api->ep_dequeue(dev, xfer); in uhc_ep_dequeue()
245 api->unlock(dev); in uhc_ep_dequeue()
252 const struct uhc_api *api = dev->api; in uhc_enable() local
256 api->lock(dev); in uhc_enable()
268 ret = api->enable(dev); in uhc_enable()
274 api->unlock(dev); in uhc_enable()
281 const struct uhc_api *api = dev->api; in uhc_disable() local
285 api->lock(dev); in uhc_disable()
292 ret = api->disable(dev); in uhc_disable()
296 api->unlock(dev); in uhc_disable()
303 const struct uhc_api *api = dev->api; in uhc_init() local
311 api->lock(dev); in uhc_init()
322 ret = api->init(dev); in uhc_init()
328 api->unlock(dev); in uhc_init()
335 const struct uhc_api *api = dev->api; in uhc_shutdown() local
339 api->lock(dev); in uhc_shutdown()
351 ret = api->shutdown(dev); in uhc_shutdown()
355 api->unlock(dev); in uhc_shutdown()