Lines Matching refs:api
354 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_probe() local
356 return api->probe(dev); in dai_probe()
371 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_remove() local
373 return api->remove(dev); in dai_remove()
400 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_config_set() local
402 return api->config_set(dev, cfg, bespoke_cfg); in dai_config_set()
417 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_config_get() local
419 return api->config_get(dev, cfg, dir); in dai_config_get()
436 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_get_properties() local
438 return api->get_properties(dev, dir, stream_id); in dai_get_properties()
462 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_trigger() local
464 return api->trigger(dev, dir, cmd); in dai_trigger()
478 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_ts_config() local
480 if (!api->ts_config) in dai_ts_config()
483 return api->ts_config(dev, cfg); in dai_ts_config()
497 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_ts_start() local
499 if (!api->ts_start) in dai_ts_start()
502 return api->ts_start(dev, cfg); in dai_ts_start()
516 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_ts_stop() local
518 if (!api->ts_stop) in dai_ts_stop()
521 return api->ts_stop(dev, cfg); in dai_ts_stop()
537 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_ts_get() local
539 if (!api->ts_get) in dai_ts_get()
542 return api->ts_get(dev, cfg, tsd); in dai_ts_get()
568 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_config_update() local
570 if (!api->config_update) { in dai_config_update()
574 return api->config_update(dev, bespoke_cfg, size); in dai_config_update()