Home
last modified time | relevance | path

Searched refs:driver_api (Results 1 – 23 of 23) sorted by relevance

/SCP-firmware-master/module/pmi/src/
A Dmod_pmi.c26 struct mod_pmi_driver_api *driver_api; member
33 return pmi_ctx.driver_api->start_cycle_count(); in start_cycle_count()
38 return pmi_ctx.driver_api->stop_cycle_count(); in stop_cycle_count()
43 return pmi_ctx.driver_api->get_cycle_count(cycle_count); in get_cycle_count()
48 return pmi_ctx.driver_api->set_cycle_count(cycle_count); in set_cycle_count()
53 return pmi_ctx.driver_api->cycle_count_diff(start, end); in cycle_count_diff()
58 return pmi_ctx.driver_api->get_current_time(); in get_current_time()
86 &pmi_ctx.driver_api); in pmi_bind()
/SCP-firmware-master/module/system_power/src/
A Dmod_system_power.c62 const struct mod_system_power_driver_api *driver_api; member
190 if (system_power_ctx.driver_api->platform_interrupts != NULL) { in disable_all_irqs()
191 status = system_power_ctx.driver_api->platform_interrupts( in disable_all_irqs()
267 if (system_power_ctx.driver_api->platform_interrupts != NULL) { in system_power_set_state()
269 system_power_ctx.driver_api->platform_interrupts( in system_power_set_state()
293 if (system_power_ctx.driver_api->platform_interrupts != NULL) { in system_power_set_state()
294 status = system_power_ctx.driver_api->platform_interrupts( in system_power_set_state()
347 return system_power_ctx.driver_api->system_shutdown(system_shutdown); in system_power_shutdown()
496 &system_power_ctx.driver_api); in system_power_bind()
558 if (system_power_ctx.driver_api->platform_interrupts != NULL) { in system_power_start()
[all …]
/SCP-firmware-master/module/i2c/src/
A Dmod_i2c.c32 const struct mod_i2c_driver_api *driver_api; member
255 &ctx->driver_api); in mod_i2c_bind()
260 if ((ctx->driver_api->transmit_as_controller == NULL) || in mod_i2c_bind()
261 (ctx->driver_api->receive_as_controller == NULL)) { in mod_i2c_bind()
317 const struct mod_i2c_driver_api *driver_api = ctx->driver_api; in process_request() local
326 driver_api->transmit_as_controller(driver_id, &ctx->request); in process_request()
332 driver_api->transmit_as_controller(driver_id, &ctx->request); in process_request()
343 driver_api->receive_as_controller(driver_id, &ctx->request); in process_request()
486 drv_status = ctx->driver_api->receive_as_controller( in mod_i2c_process_event()
/SCP-firmware-master/module/debug/src/
A Dmod_debug.c82 status = ctx->driver_api->set_enabled(ctx->config->driver_id, in set_enabled()
138 status = ctx->driver_api->get_enabled(ctx->config->driver_id, in get_enabled()
292 struct mod_debug_driver_api *driver_api = NULL; in mod_debug_bind() local
307 &driver_api); in mod_debug_bind()
313 if ((driver_api->set_enabled == NULL) || in mod_debug_bind()
314 (driver_api->get_enabled == NULL)) { in mod_debug_bind()
318 ctx->driver_api = driver_api; in mod_debug_bind()
A Ddebug.h28 struct mod_debug_driver_api *driver_api; member
/SCP-firmware-master/module/reset_domain/src/
A Dmod_reset_domain.c24 struct mod_reset_domain_drv_api *driver_api; member
52 return reset_ctx->driver_api->set_reset_state(reset_ctx->config->driver_id, in set_reset_state()
164 &reset_ctx->driver_api); in rd_bind()
/SCP-firmware-master/module/sensor/src/
A Dsensor_extended.c129 if (ctx->driver_api->get_axis_count) { in sensor_axis_start()
131 ctx->driver_api->get_axis_count(ctx->config->driver_id); in sensor_axis_start()
186 ctx->driver_api->get_axis_info(ctx->config->driver_id, axis, info); in sensor_get_axis_info()
A Dsensor.h46 struct mod_sensor_driver_api *driver_api; member
A Dmod_sensor.c159 status = ctx->driver_api->get_value( in get_data()
215 status = ctx->driver_api->get_info(ctx->config->driver_id, &info->hal_info); in get_info()
452 ctx->driver_api = driver; in sensor_bind()
/SCP-firmware-master/product/rcar/module/rcar_system_power/src/
A Dmod_rcar_system_power.c44 const struct mod_system_power_driver_api *driver_api; member
94 return system_power_ctx.driver_api->system_shutdown(system_shutdown); in system_power_shutdown()
192 &system_power_ctx.driver_api); in system_power_bind()
/SCP-firmware-master/module/transport/src/
A Dmod_transport.c60 struct mod_transport_driver_api *driver_api; member
283 status = channel_ctx->driver_api->send_message( in transport_respond()
293 status = channel_ctx->driver_api->trigger_event( in transport_respond()
368 status = channel_ctx->driver_api->send_message( in transport_transmit()
378 return channel_ctx->driver_api->trigger_event( in transport_transmit()
413 return channel_ctx->driver_api->trigger_event( in transport_trigger_interrupt()
460 return channel_ctx->driver_api->get_fch( in transport_get_fch()
483 return channel_ctx->driver_api->fch_register_callback( in transport_fch_register_callback()
566 channel_ctx->driver_api->get_message( in transport_message_handler()
831 &channel_ctx->driver_api); in transport_bind()
/SCP-firmware-master/module/scmi_sensor_req/test/
A Dmod_scmi_sensor_req_unit_test.c167 struct mod_sensor_driver_api *driver_api; in test_process_bind() local
179 sensor_module_id, target_id, api_id, (const void **)&driver_api); in test_process_bind()
181 TEST_ASSERT_EQUAL_PTR(driver_api, &scmi_sensor_req_api); in test_process_bind()
185 invalid_module_id, target_id, api_id, (const void **)&driver_api); in test_process_bind()
/SCP-firmware-master/module/thermal_mgmt/src/
A Dthermal_mgmt.h74 struct mod_thermal_mgmt_driver_api *driver_api; member
A Dpower_allocation.c33 driver = dev_ctx->driver_api; in get_actor_power()
47 driver = dev_ctx->driver_api; in get_actor_level()
A Dmod_thermal_mgmt.c341 &dev_ctx->driver_api); in thermal_mgmt_bind()
/SCP-firmware-master/module/power_domain/src/
A Dmod_power_domain.c83 struct mod_pd_driver_api *driver_api; member
695 if ((pd->driver_api->deny != NULL) && in initiate_power_state_transition()
696 pd->driver_api->deny(pd->driver_id, state)) { in initiate_power_state_transition()
706 status = pd->driver_api->set_state(pd->driver_id, state); in initiate_power_state_transition()
1080 status = pd->driver_api->reset(pd->driver_id); in process_reset_request()
1323 api = pd->driver_api; in perform_shutdown()
1796 struct mod_pd_driver_api *driver_api = NULL; in pd_bind() local
1816 if ((driver_api->set_state == NULL) || (driver_api->get_state == NULL) || in pd_bind()
1817 (driver_api->reset == NULL) || in pd_bind()
1819 (driver_api->prepare_core_for_system_suspend == NULL))) { in pd_bind()
[all …]
/SCP-firmware-master/module/msg_smt/src/
A Dmod_msg_smt.c55 struct mod_msg_smt_driver_ouput_api *driver_api; member
199 channel_ctx->driver_api->raise_notification(channel_ctx->driver_id, channel_ctx->out_len); in smt_respond()
232 channel_ctx->driver_api->raise_notification(channel_ctx->driver_id, channel_ctx->out_len); in smt_transmit()
385 &channel_ctx->driver_api); in msg_bind()
/SCP-firmware-master/module/optee/smt/src/
A Dmod_optee_smt.c55 struct mod_optee_smt_driver_api *driver_api; member
212 channel_ctx->driver_api->raise_interrupt(channel_ctx->driver_id); in smt_respond()
252 channel_ctx->driver_api->raise_interrupt(channel_ctx->driver_id); in smt_transmit()
450 &channel_ctx->driver_api); in mailbox_smt_bind()
/SCP-firmware-master/product/morello/module/morello_smt/src/
A Dmod_smt.c46 struct mod_smt_driver_api *driver_api; member
206 channel_ctx->driver_api->raise_interrupt(channel_ctx->driver_id); in smt_respond()
262 channel_ctx->driver_api->raise_interrupt(channel_ctx->driver_id); in smt_send()
416 &channel_ctx->driver_api); in smt_bind()
/SCP-firmware-master/product/n1sdp/module/n1sdp_smt/src/
A Dmod_smt.c46 struct mod_smt_driver_api *driver_api; member
204 channel_ctx->driver_api->raise_interrupt(channel_ctx->driver_id); in smt_respond()
260 channel_ctx->driver_api->raise_interrupt(channel_ctx->driver_id); in smt_send()
396 &channel_ctx->driver_api); in smt_bind()
/SCP-firmware-master/product/juno/module/juno_hdlcd/src/
A Dmod_juno_hdlcd.c43 const struct mod_juno_hdlcd_drv_api *driver_api; member
252 status = ctx->driver_api->set_rate_from_index(ctx->config->driver_id, in juno_hdlcd_set_rate()
407 ctx->config->driver_api_id, &ctx->driver_api); in juno_hdlcd_bind()
/SCP-firmware-master/module/dw_apb_i2c/src/
A Dmod_dw_apb_i2c.c231 static const struct mod_i2c_driver_api driver_api = { variable
308 *api = &driver_api; in dw_apb_i2c_process_bind_request()
/SCP-firmware-master/module/thermal_mgmt/test/
A Dmod_thermal_mgmt_unit_test.c259 &dev_ctx->driver_api, in test_thermal_mgmt_bind_success()

Completed in 33 milliseconds