Lines Matching refs:api

33 	const struct usbd_class_api *api = c_data->api;  in usbd_class_request()  local
35 if (api->request != NULL) { in usbd_class_request()
36 return api->request(c_data, buf, err); in usbd_class_request()
66 const struct usbd_class_api *api = c_data->api; in usbd_class_control_to_host() local
68 if (api->control_to_host != NULL) { in usbd_class_control_to_host()
69 return api->control_to_host(c_data, setup, buf); in usbd_class_control_to_host()
99 const struct usbd_class_api *api = c_data->api; in usbd_class_control_to_dev() local
101 if (api->control_to_dev != NULL) { in usbd_class_control_to_dev()
102 return api->control_to_dev(c_data, setup, buf); in usbd_class_control_to_dev()
127 const struct usbd_class_api *api = c_data->api; in usbd_class_feature_halt() local
129 if (api->feature_halt != NULL) { in usbd_class_feature_halt()
130 api->feature_halt(c_data, ep, halted); in usbd_class_feature_halt()
151 const struct usbd_class_api *api = c_data->api; in usbd_class_update() local
153 if (api->update != NULL) { in usbd_class_update()
154 api->update(c_data, iface, alternate); in usbd_class_update()
166 const struct usbd_class_api *api = c_data->api; in usbd_class_suspended() local
168 if (api->suspended != NULL) { in usbd_class_suspended()
169 api->suspended(c_data); in usbd_class_suspended()
181 const struct usbd_class_api *api = c_data->api; in usbd_class_resumed() local
183 if (api->resumed != NULL) { in usbd_class_resumed()
184 api->resumed(c_data); in usbd_class_resumed()
197 const struct usbd_class_api *api = c_data->api; in usbd_class_sof() local
199 if (api->sof != NULL) { in usbd_class_sof()
200 api->sof(c_data); in usbd_class_sof()
213 const struct usbd_class_api *api = c_data->api; in usbd_class_enable() local
215 if (api->enable != NULL) { in usbd_class_enable()
216 api->enable(c_data); in usbd_class_enable()
229 const struct usbd_class_api *api = c_data->api; in usbd_class_disable() local
231 if (api->disable != NULL) { in usbd_class_disable()
232 api->disable(c_data); in usbd_class_disable()
253 const struct usbd_class_api *api = c_data->api; in usbd_class_init() local
255 if (api->init != NULL) { in usbd_class_init()
256 return api->init(c_data); in usbd_class_init()
273 const struct usbd_class_api *api = c_data->api; in usbd_class_shutdown() local
275 if (api->shutdown != NULL) { in usbd_class_shutdown()
276 api->shutdown(c_data); in usbd_class_shutdown()
292 const struct usbd_class_api *api = c_data->api; in usbd_class_get_desc() local
294 if (api->get_desc != NULL) { in usbd_class_get_desc()
295 return api->get_desc(c_data, speed); in usbd_class_get_desc()