Lines Matching refs:api
292 const struct sdhc_driver_api *api = (const struct sdhc_driver_api *)dev->api; in z_impl_sdhc_hw_reset() local
294 if (!api->reset) { in z_impl_sdhc_hw_reset()
298 return api->reset(dev); in z_impl_sdhc_hw_reset()
322 const struct sdhc_driver_api *api = (const struct sdhc_driver_api *)dev->api; in z_impl_sdhc_request() local
324 if (!api->request) { in z_impl_sdhc_request()
328 return api->request(dev, cmd, data); in z_impl_sdhc_request()
348 const struct sdhc_driver_api *api = (const struct sdhc_driver_api *)dev->api; in z_impl_sdhc_set_io() local
350 if (!api->set_io) { in z_impl_sdhc_set_io()
354 return api->set_io(dev, io); in z_impl_sdhc_set_io()
372 const struct sdhc_driver_api *api = (const struct sdhc_driver_api *)dev->api; in z_impl_sdhc_card_present() local
374 if (!api->get_card_present) { in z_impl_sdhc_card_present()
378 return api->get_card_present(dev); in z_impl_sdhc_card_present()
397 const struct sdhc_driver_api *api = (const struct sdhc_driver_api *)dev->api; in z_impl_sdhc_execute_tuning() local
399 if (!api->execute_tuning) { in z_impl_sdhc_execute_tuning()
403 return api->execute_tuning(dev); in z_impl_sdhc_execute_tuning()
421 const struct sdhc_driver_api *api = (const struct sdhc_driver_api *)dev->api; in z_impl_sdhc_card_busy() local
423 if (!api->card_busy) { in z_impl_sdhc_card_busy()
427 return api->card_busy(dev); in z_impl_sdhc_card_busy()
447 const struct sdhc_driver_api *api = (const struct sdhc_driver_api *)dev->api; in z_impl_sdhc_get_host_props() local
449 if (!api->get_host_props) { in z_impl_sdhc_get_host_props()
453 return api->get_host_props(dev, props); in z_impl_sdhc_get_host_props()
479 const struct sdhc_driver_api *api = (const struct sdhc_driver_api *)dev->api; in z_impl_sdhc_enable_interrupt() local
481 if (!api->enable_interrupt) { in z_impl_sdhc_enable_interrupt()
485 return api->enable_interrupt(dev, callback, sources, user_data); in z_impl_sdhc_enable_interrupt()
505 const struct sdhc_driver_api *api = (const struct sdhc_driver_api *)dev->api; in z_impl_sdhc_disable_interrupt() local
507 if (!api->disable_interrupt) { in z_impl_sdhc_disable_interrupt()
511 return api->disable_interrupt(dev, sources); in z_impl_sdhc_disable_interrupt()