Lines Matching refs:api
171 status = ctx->api->set_rate(ctx->config->driver_id, rate, round_mode); in clock_set_rate()
189 status = ctx->api->set_rate(ctx->config->driver_id, rate, round_mode); in clock_set_rate()
216 status = ctx->api->get_rate(ctx->config->driver_id, rate); in clock_get_rate()
238 return ctx->api->get_rate_from_index(ctx->config->driver_id, rate_index, in clock_get_rate_from_index()
264 status = ctx->api->set_state(ctx->config->driver_id, state); in clock_set_state()
291 status = ctx->api->set_state(ctx->config->driver_id, state); in clock_set_state()
316 status = ctx->api->get_state(ctx->config->driver_id, state); in clock_get_state()
338 status = ctx->api->get_range(ctx->config->driver_id, &info->range); in clock_get_info()
418 &ctx->api); in clock_bind()
444 if ((ctx->api->process_power_transition != NULL) && in clock_start()
457 if ((ctx->api->process_pending_power_transition != NULL) && in clock_start()
475 fwk_id_t api_id, const void **api) in clock_process_bind_request() argument
482 *api = &clock_api; in clock_process_bind_request()
494 *api = &clock_driver_response_api; in clock_process_bind_request()
530 fwk_assert(ctx->api->process_pending_power_transition != NULL); in clock_process_pd_pre_transition_notification()
531 status = ctx->api->process_pending_power_transition( in clock_process_pd_pre_transition_notification()
597 fwk_assert(ctx->api->process_power_transition != NULL); in clock_process_pd_transition_notification()
598 status = ctx->api->process_power_transition( in clock_process_pd_transition_notification()