Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 70) sorted by relevance

123

/SCP-firmware-master/product/rcar/module/rcar_pmic/src/
A Dmod_rcar_pmic_event.c21 const struct mod_rcar_pmic_event_params_set_enabled *params; in mod_rcar_pmic_event_set_enabled() local
29 params = (void *)&event->params; in mod_rcar_pmic_event_set_enabled()
30 response_params = (void *)&response->params; in mod_rcar_pmic_event_set_enabled()
36 ctx->apis.driver->set_enabled(ctx->config->driver_id, params->enable); in mod_rcar_pmic_event_set_enabled()
46 const struct mod_rcar_pmic_event_params_set_voltage *params; in mod_rcar_pmic_event_set_voltage() local
54 params = (void *)&event->params; in mod_rcar_pmic_event_set_voltage()
55 response_params = (void *)&response->params; in mod_rcar_pmic_event_set_voltage()
61 ctx->apis.driver->set_voltage(ctx->config->driver_id, params->voltage); in mod_rcar_pmic_event_set_voltage()
/SCP-firmware-master/module/ppu_v0/src/
A Dppu_v0.c22 struct set_power_status_check_params_v0 *params; in ppu_v0_set_power_status_check() local
25 params = (struct set_power_status_check_params_v0 *)data; in ppu_v0_set_power_status_check()
28 (params->reg->POWER_STATUS & in ppu_v0_set_power_status_check()
29 (PPU_V0_PSR_POWSTAT | PPU_V0_PSR_DYNAMIC)) == params->mode); in ppu_v0_set_power_status_check()
66 struct set_power_status_check_params_v0 params; in ppu_v0_set_power_mode() local
76 params.mode = mode; in ppu_v0_set_power_mode()
77 params.reg = ppu; in ppu_v0_set_power_mode()
82 &params); in ppu_v0_set_power_mode()
/SCP-firmware-master/product/juno/module/juno_soc_clock_ram/src/
A Dmod_juno_soc_clock_ram.c87 return ((*(params->reg) & params->mask) == params->val); in check_clock_reg()
131 params.reg = clk; in cluster_clock_divsys_set()
133 params.val = crntclkdivsys; in cluster_clock_divsys_set()
162 params.reg = clk; in cluster_clock_divext_set()
187 params.reg = clk; in cluster_clock_sel_set()
189 params.val = crntclk; in cluster_clock_sel_set()
208 params.reg = clk; in clock_sel_set()
214 check_clock_reg, &params); in clock_sel_set()
229 params.reg = clk; in clock_div_set()
642 event->params; in process_debug_notification()
[all …]
/SCP-firmware-master/module/reset_domain/src/
A Dmod_reset_domain.c75 struct mod_reset_domain_notification_event_params* params = in reset_issued_notify() local
77 notification_event.params; in reset_issued_notify()
91 params->domain_id = (uint32_t)domain_id; in reset_issued_notify()
92 params->reset_state = reset_state; in reset_issued_notify()
93 params->cookie = cookie; in reset_issued_notify()
104 struct mod_reset_domain_autoreset_event_params* params = in rd_process_event() local
105 (struct mod_reset_domain_autoreset_event_params*)event->params; in rd_process_event()
113 return reset_issued_notify(params->dev_id, in rd_process_event()
114 params->reset_state, params->cookie); in rd_process_event()
/SCP-firmware-master/product/n1sdp/module/scmi_ccix_config/src/
A Dmod_scmi_ccix_config.c239 const struct scmi_ccix_config_protocol_set_a2p * params; in scmi_ccix_config_protocol_set_handler() local
266 if (sizeof(*params) > max_payload_size) { in scmi_ccix_config_protocol_set_handler()
275 (uint8_t)(params->agent_count & RA_COUNT_MASK); in scmi_ccix_config_protocol_set_handler()
299 (uint8_t)params->mem_pools[i].ha_id; in scmi_ccix_config_protocol_set_handler()
301 (((uint64_t)params->mem_pools[i].base_msb << 32) | in scmi_ccix_config_protocol_set_handler()
302 params->mem_pools[i].base_lsb); in scmi_ccix_config_protocol_set_handler()
304 (((uint64_t)params->mem_pools[i].size_msb << 32) | in scmi_ccix_config_protocol_set_handler()
305 params->mem_pools[i].size_lsb); in scmi_ccix_config_protocol_set_handler()
330 (uint8_t)params->link_id); in scmi_ccix_config_protocol_exchange_credit()
342 params = in scmi_ccix_config_protocol_enter_system_coherency()
[all …]
/SCP-firmware-master/module/scmi_reset_domain/src/
A Dmod_scmi_reset_domain.c159 (msg_handler_table[params.message_id] != NULL)) { in protocol_message_attributes_handler()
301 struct scmi_reset_domain_request_a2p params = { 0 }; in reset_request_handler() local
355 if (!(params.flags & SCMI_RESET_DOMAIN_AUTO)) { in reset_request_handler()
365 if (params.flags & SCMI_RESET_DOMAIN_EXPLICIT) in reset_request_handler()
373 if (params.flags & SCMI_RESET_DOMAIN_ASYNC) { in reset_request_handler()
376 if (!(params.flags & SCMI_RESET_DOMAIN_AUTO)) { in reset_request_handler()
393 reset_state = params.reset_state; in reset_request_handler()
518 struct scmi_reset_domain_request_a2p *params; in get_reset_domain_id() local
521 return params->domain_id; in get_reset_domain_id()
720 scmi_reset_issued_notify(params->domain_id, params->reset_state, in scmi_reset_process_notification()
[all …]
/SCP-firmware-master/module/scmi_clock/test/
A Dmod_scmi_clock_unit_test.c94 struct scmi_clock_event_request_params *params; in fwk_put_event_callback() local
95 params = (struct scmi_clock_event_request_params *)event->params; in fwk_put_event_callback()
97 TEST_ASSERT_EQUAL(0x00000001, params->request_data.set_rate_data.rate[0]); in fwk_put_event_callback()
98 TEST_ASSERT_EQUAL(0x00000001, params->request_data.set_rate_data.rate[1]); in fwk_put_event_callback()
100 params->request_data.set_rate_data.round_mode); in fwk_put_event_callback()
/SCP-firmware-master/module/apcontext/src/
A Dmod_apcontext.c82 struct clock_notification_params *params; in apcontext_process_notification() local
88 params = (struct clock_notification_params *)event->params; in apcontext_process_notification()
94 if (params->new_state == MOD_CLOCK_STATE_RUNNING) { in apcontext_process_notification()
/SCP-firmware-master/product/juno/module/juno_reset_domain/src/
A Dmod_juno_reset_domain.c94 struct mod_reset_domain_autoreset_event_params *params; in juno_set_reset_state() local
113 params = (struct mod_reset_domain_autoreset_event_params *) in juno_set_reset_state()
114 autoreset_event.params; in juno_set_reset_state()
115 params->dev_id = dev_id; in juno_set_reset_state()
116 params->reset_state = reset_state; in juno_set_reset_state()
117 params->cookie = cookie; in juno_set_reset_state()
/SCP-firmware-master/product/juno/module/juno_system/src/
A Dmod_juno_system.c270 struct mod_pd_power_state_transition_notification_params *params; in juno_system_process_notification() local
290 event->params; in juno_system_process_notification()
293 resp_event->params; in juno_system_process_notification()
306 params = (struct mod_pd_power_state_transition_notification_params *) in juno_system_process_notification()
307 event->params; in juno_system_process_notification()
310 if (params->state == MOD_PD_STATE_OFF) { in juno_system_process_notification()
349 psu_params = (struct mod_psu_driver_response *)event->params; in juno_system_process_event()
359 resp.params; in juno_system_process_event()
/SCP-firmware-master/module/sp805/src/
A Dmod_sp805.c107 struct clock_notification_params *params; in mod_sp805_process_notification() local
112 params = (struct clock_notification_params *)event->params; in mod_sp805_process_notification()
113 if (params->new_state == MOD_CLOCK_STATE_RUNNING) { in mod_sp805_process_notification()
/SCP-firmware-master/module/clock/src/
A Dclock_tree_management.c29 struct clock_set_state_params *params, in clk_mgmt_send_event_set() argument
38 memcpy(event.params, params, sizeof(struct clock_set_state_params)); in clk_mgmt_send_event_set()
44 struct clock_set_rate_params *params, in clk_mgmt_send_event_rate() argument
53 memcpy(event.params, params, sizeof(struct clock_set_rate_params)); in clk_mgmt_send_event_rate()
117 (struct clock_set_state_params *)event->params; in clock_management_process_state()
277 (struct clock_set_rate_params *)event->params; in clock_management_process_rate()
A Dmod_clock.c39 (struct mod_clock_driver_resp_params *)event->params; in process_response_event()
41 (struct mod_clock_resp_params *)resp_event.params; in process_response_event()
120 (struct mod_clock_driver_resp_params *)event.params; in clock_request_complete()
184 event_params = (struct clock_set_rate_params *)event.params; in clock_set_rate()
282 event_params = (struct clock_set_state_params *)event.params; in clock_set_state()
525 event->params; in clock_process_pd_pre_transition_notification()
528 resp_event->params; in clock_process_pd_pre_transition_notification()
549 (struct clock_notification_params *)outbound_event.params; in clock_process_pd_pre_transition_notification()
595 ->params; in clock_process_pd_transition_notification()
644 (struct clock_state_change_pending_resp_params *)event->params; in clock_process_notification_response()
[all …]
/SCP-firmware-master/module/sensor/src/
A Dmod_sensor.c81 threshold = ctx->params.tp_value; in trip_point_evaluate()
84 switch (ctx->params.mode) { in trip_point_evaluate()
143 (struct mod_sensor_event_params *)req.params; in get_data()
242 struct mod_sensor_trip_point_params *params) in sensor_get_trip_point() argument
246 fwk_check(params != NULL); in sensor_get_trip_point()
254 *params = ctx->trip_point_ctx[trip_point_idx].params; in sensor_get_trip_point()
262 struct mod_sensor_trip_point_params *params) in sensor_set_trip_point() argument
266 if (params == NULL) { in sensor_set_trip_point()
276 ctx->trip_point_ctx[trip_point_idx].params = *params; in sensor_set_trip_point()
519 (struct mod_sensor_event_params *)delayed_response.params; in process_pending_requests()
[all …]
/SCP-firmware-master/module/power_domain/src/
A Dmod_power_domain.c656 notification_event.params; in initiate_power_state_pre_transition_notification()
657 params->current_state = pd->current_state; in initiate_power_state_pre_transition_notification()
658 params->target_state = state; in initiate_power_state_pre_transition_notification()
1188 notification_event.params; in process_power_state_transition_report()
1189 params->state = new_state; in process_power_state_transition_report()
1424 params = (struct mod_pd_pre_shutdown_notif_params *)notification.params; in check_and_notify_system_shutdown()
1425 params->system_shutdown = system_shutdown; in check_and_notify_system_shutdown()
2018 if (params->status != FWK_SUCCESS) { in process_power_state_pre_transition_notification_response()
2105 notification_event.params; in process_power_state_transition_notification_response()
2106 params->state = pd->current_state; in process_power_state_transition_notification_response()
[all …]
/SCP-firmware-master/module/ppu_v1/src/
A Dppu_v1.c22 struct set_power_status_check_params_v1 *params; in ppu_v1_set_power_status_check() local
25 params = (struct set_power_status_check_params_v1 *)data; in ppu_v1_set_power_status_check()
28 (params->reg->PWSR & in ppu_v1_set_power_status_check()
30 params->mode); in ppu_v1_set_power_status_check()
68 struct set_power_status_check_params_v1 params; in ppu_v1_set_power_mode() local
79 params.mode = ppu_mode; in ppu_v1_set_power_mode()
80 params.reg = ppu; in ppu_v1_set_power_mode()
85 &params); in ppu_v1_set_power_mode()
/SCP-firmware-master/product/rcar/module/rcar_arch_timer/src/
A Dmod_rcar_arch_timer.c198 struct clock_notification_params *params; in arch_timer_process_notification() local
204 params = (struct clock_notification_params *)event->params; in arch_timer_process_notification()
206 if (params->new_state == MOD_CLOCK_STATE_RUNNING) { in arch_timer_process_notification()
/SCP-firmware-master/module/debug/src/
A Dmod_debug.c101 req_params = (struct mod_debug_request_params *)&req.params; in set_enabled()
147 req_params = (struct mod_debug_request_params *)&req.params; in get_enabled()
201 req_params = (struct mod_debug_request_params *)&req.params; in enable_request()
219 (struct mod_debug_response_params *)event.params; in request_complete()
364 (struct mod_debug_response_params *)response.params; in respond()
366 (struct mod_debug_response_params *)event->params; in respond()
396 req_params = (struct mod_debug_request_params *)event->params; in mod_debug_process_event()
422 req_result = (struct mod_debug_response_params *)event->params; in mod_debug_process_event()
/SCP-firmware-master/module/psu/src/
A Dmod_psu.c277 fwk_str_memcpy(event.params, &response, sizeof(response)); in mod_psu_respond()
403 const struct mod_psu_driver_response *params = in mod_psu_process_event() local
404 (struct mod_psu_driver_response *)event->params; in mod_psu_process_event()
406 (struct mod_psu_response *)resp_event->params; in mod_psu_process_event()
408 (struct mod_psu_response *)&hal_event.params; in mod_psu_process_event()
440 .status = params->status, in mod_psu_process_event()
448 hal_params->enabled = params->enabled; in mod_psu_process_event()
453 hal_params->voltage = params->voltage; in mod_psu_process_event()
/SCP-firmware-master/module/pcie_integ_ctrl/src/
A Dmod_pcie_integ_ctrl.c186 struct clock_notification_params *params; in pcie_integ_ctrl_process_notification() local
192 params = (struct clock_notification_params *)event->params; in pcie_integ_ctrl_process_notification()
194 if (params->new_state == MOD_CLOCK_STATE_RUNNING) { in pcie_integ_ctrl_process_notification()
/SCP-firmware-master/module/i2c/src/
A Dmod_i2c.c69 (struct mod_i2c_request *)event.params; in create_i2c_request()
195 (struct mod_i2c_event_param *)event.params; in transaction_completed()
302 (struct mod_i2c_event_param *)resp.params; in respond_to_caller()
401 request = (struct mod_i2c_request *)delayed_response.params; in process_next_request()
406 event_param = (struct mod_i2c_event_param *)delayed_response.params; in process_next_request()
437 event_param = (struct mod_i2c_event_param *)resp_event->params; in mod_i2c_process_event()
447 request = (struct mod_i2c_request *)event->params; in mod_i2c_process_event()
456 resp_param = (struct mod_i2c_event_param *)resp_event->params; in mod_i2c_process_event()
471 event_param = (struct mod_i2c_event_param *)event->params; in mod_i2c_process_event()
/SCP-firmware-master/arch/arm/armv8-a/src/
A Darch_main.c26 FWK_WEAK int _platform_init(void *params) in _platform_init() argument
/SCP-firmware-master/module/pl011/src/
A Dmod_pl011.c362 event->params; in mod_pl011_process_power_notification()
365 *)resp_event->params; in mod_pl011_process_power_notification()
388 struct mod_pd_power_state_transition_notification_params *params = in mod_pl011_process_power_notification() local
390 event->params; in mod_pl011_process_power_notification()
392 if (params->state != MOD_PD_STATE_ON) { in mod_pl011_process_power_notification()
405 resp_event->params; in mod_pl011_process_power_notification()
427 (const void *)event->params; in mod_pl011_clock_change_pending()
429 (void *)resp_event->params; in mod_pl011_clock_change_pending()
470 (const void *)event->params; in mod_pl011_clock_changed()
/SCP-firmware-master/framework/include/
A Dfwk_event.h91 alignas(max_align_t) uint8_t params[FWK_EVENT_PARAMETERS_SIZE];
/SCP-firmware-master/module/scmi_clock/src/
A Dmod_scmi_clock.c714 struct scmi_clock_event_request_params *params; in create_event_request() local
725 params = (struct scmi_clock_event_request_params *)event.params; in create_event_request()
745 params->request_data = request_data; in create_event_request()
758 params->request_data = request_data; in create_event_request()
768 params->clock_dev_id = clock_id; in create_event_request()
1513 struct scmi_clock_event_request_params *params; in process_request_event() local
1523 params = (struct scmi_clock_event_request_params *)event->params; in process_request_event()
1598 struct mod_clock_resp_params *params = in process_response_event() local
1609 if (params->status != FWK_SUCCESS) { in process_response_event()
1617 clock_state = params->value.state; in process_response_event()
[all …]

Completed in 50 milliseconds

123