Lines Matching +full:fetch +full:- +full:depth

4  * SPDX-License-Identifier: Apache-2.0
48 * clock-related configurations w.r.t the DAI
164 /** @brief Optional - Pre Start the transmission / reception of data.
188 /** @brief Optional - Post Stop the transmission / reception of data.
238 /** Fifo depth. */
354 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_probe()
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()
373 return api->remove(dev); in dai_remove()
385 * If the function is called with the parameter cfg->frame_clk_freq set to 0
393 * @retval -EINVAL Invalid argument.
394 * @retval -ENOSYS DAI_DIR_BOTH value is not supported.
400 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_config_set()
402 return api->config_set(dev, cfg, bespoke_cfg); in dai_config_set()
406 * @brief Fetch configuration information of a DAI driver
411 * @retval 0 if success, negative if invalid parameters or DAI un-configured
417 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_config_get()
419 return api->config_get(dev, cfg, dir); in dai_config_get()
423 * @brief Fetch properties of a DAI driver
436 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_get_properties()
438 return api->get_properties(dev, dir, stream_id); in dai_get_properties()
452 * @retval -EINVAL Invalid argument.
453 * @retval -EIO The trigger cannot be executed in the current state or a DMA
455 * @retval -ENOMEM RX/TX memory block not available.
456 * @retval -ENOSYS DAI_DIR_BOTH value is not supported.
462 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_trigger()
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()
480 if (!api->ts_config) { in dai_ts_config()
481 return -EINVAL; in dai_ts_config()
484 return api->ts_config(dev, cfg); in dai_ts_config()
498 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_ts_start()
500 if (!api->ts_start) { in dai_ts_start()
501 return -EINVAL; in dai_ts_start()
504 return api->ts_start(dev, cfg); in dai_ts_start()
518 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_ts_stop()
520 if (!api->ts_stop) { in dai_ts_stop()
521 return -EINVAL; in dai_ts_stop()
524 return api->ts_stop(dev, cfg); in dai_ts_stop()
540 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_ts_get()
542 if (!api->ts_get) { in dai_ts_get()
543 return -EINVAL; in dai_ts_get()
546 return api->ts_get(dev, cfg, tsd); in dai_ts_get()
565 * @retval -ENOSYS If the configuration update operation is not implemented.
572 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_config_update()
574 if (!api->config_update) { in dai_config_update()
575 return -ENOSYS; in dai_config_update()
578 return api->config_update(dev, bespoke_cfg, size); in dai_config_update()