Lines Matching refs:api

205 	const struct audio_codec_api *api =  in audio_codec_configure()  local
206 (const struct audio_codec_api *)dev->api; in audio_codec_configure()
208 return api->configure(dev, cfg); in audio_codec_configure()
220 const struct audio_codec_api *api = in audio_codec_start_output() local
221 (const struct audio_codec_api *)dev->api; in audio_codec_start_output()
223 api->start_output(dev); in audio_codec_start_output()
235 const struct audio_codec_api *api = in audio_codec_stop_output() local
236 (const struct audio_codec_api *)dev->api; in audio_codec_stop_output()
238 api->stop_output(dev); in audio_codec_stop_output()
258 const struct audio_codec_api *api = in audio_codec_set_property() local
259 (const struct audio_codec_api *)dev->api; in audio_codec_set_property()
261 return api->set_property(dev, property, channel, val); in audio_codec_set_property()
277 const struct audio_codec_api *api = in audio_codec_apply_properties() local
278 (const struct audio_codec_api *)dev->api; in audio_codec_apply_properties()
280 return api->apply_properties(dev); in audio_codec_apply_properties()
295 const struct audio_codec_api *api = in audio_codec_clear_errors() local
296 (const struct audio_codec_api *)dev->api; in audio_codec_clear_errors()
298 if (api->clear_errors == NULL) { in audio_codec_clear_errors()
302 return api->clear_errors(dev); in audio_codec_clear_errors()
322 const struct audio_codec_api *api = in audio_codec_register_error_callback() local
323 (const struct audio_codec_api *)dev->api; in audio_codec_register_error_callback()
325 if (api->register_error_callback == NULL) { in audio_codec_register_error_callback()
329 return api->register_error_callback(dev, cb); in audio_codec_register_error_callback()
348 const struct audio_codec_api *api = (const struct audio_codec_api *)dev->api; in audio_codec_route_input() local
350 if (api->route_input == NULL) { in audio_codec_route_input()
354 return api->route_input(dev, channel, input); in audio_codec_route_input()
373 const struct audio_codec_api *api = (const struct audio_codec_api *)dev->api; in audio_codec_route_output() local
375 if (api->route_output == NULL) { in audio_codec_route_output()
379 return api->route_output(dev, channel, output); in audio_codec_route_output()