/SCP-firmware-master/module/pmi/src/ |
A D | mod_pmi.c | 26 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 D | mod_system_power.c | 62 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 D | mod_i2c.c | 32 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 D | mod_debug.c | 82 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 D | debug.h | 28 struct mod_debug_driver_api *driver_api; member
|
/SCP-firmware-master/module/reset_domain/src/ |
A D | mod_reset_domain.c | 24 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 D | sensor_extended.c | 129 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 D | sensor.h | 46 struct mod_sensor_driver_api *driver_api; member
|
A D | mod_sensor.c | 159 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 D | mod_rcar_system_power.c | 44 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 D | mod_transport.c | 60 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 D | mod_scmi_sensor_req_unit_test.c | 167 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 D | thermal_mgmt.h | 74 struct mod_thermal_mgmt_driver_api *driver_api; member
|
A D | power_allocation.c | 33 driver = dev_ctx->driver_api; in get_actor_power() 47 driver = dev_ctx->driver_api; in get_actor_level()
|
A D | mod_thermal_mgmt.c | 341 &dev_ctx->driver_api); in thermal_mgmt_bind()
|
/SCP-firmware-master/module/power_domain/src/ |
A D | mod_power_domain.c | 83 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 D | mod_msg_smt.c | 55 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 D | mod_optee_smt.c | 55 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 D | mod_smt.c | 46 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 D | mod_smt.c | 46 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 D | mod_juno_hdlcd.c | 43 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 D | mod_dw_apb_i2c.c | 231 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 D | mod_thermal_mgmt_unit_test.c | 259 &dev_ctx->driver_api, in test_thermal_mgmt_bind_success()
|