Home
last modified time | relevance | path

Searched refs:module_config (Results 1 – 21 of 21) sorted by relevance

/SCP-firmware-master/module/ddr_phy500/src/
A Dmod_ddr_phy500.c36 const struct mod_ddr_phy500_module_config *module_config; in ddr_phy500_config() local
40 module_config = fwk_module_get_data(fwk_module_id_ddr_phy500); in ddr_phy500_config()
48 if (module_config->initialize_init_complete) in ddr_phy500_config()
52 ddr->READ_DELAY = module_config->ddr_reg_val->READ_DELAY; in ddr_phy500_config()
54 ddr->DELAY_SEL = module_config->ddr_reg_val->DELAY_SEL; in ddr_phy500_config()
57 ddr->T_RDDATA_EN = module_config->ddr_reg_val->T_RDDATA_EN; in ddr_phy500_config()
58 ddr->T_RDLAT = module_config->ddr_reg_val->T_RDLAT; in ddr_phy500_config()
59 ddr->T_WRLAT = module_config->ddr_reg_val->T_WRLAT; in ddr_phy500_config()
62 ddr->DFI_LP_ACK = module_config->ddr_reg_val->DFI_LP_ACK; in ddr_phy500_config()
64 if (module_config->initialize_ref_en) in ddr_phy500_config()
[all …]
/SCP-firmware-master/module/bootloader/src/
A Dmod_bootloader.c41 const struct mod_bootloader_config *module_config; member
75 if (mod_bootloader_ctx.module_config == NULL) { in load_image()
78 if (mod_bootloader_ctx.module_config->source_base == 0) { in load_image()
81 if (mod_bootloader_ctx.module_config->destination_base == 0) { in load_image()
84 if (mod_bootloader_ctx.module_config->source_size == 0) { in load_image()
89 sds = mod_bootloader_ctx.module_config->sds_struct_id != 0; in load_image()
100 mod_bootloader_ctx.module_config->sds_struct_id, in load_image()
118 mod_bootloader_ctx.module_config->sds_struct_id, in load_image()
131 mod_bootloader_ctx.module_config->sds_struct_id, in load_image()
140 mod_bootloader_ctx.module_config->sds_struct_id, in load_image()
[all …]
/SCP-firmware-master/module/debugger_cli/src/
A Dmod_debugger_cli.c58 const struct mod_debugger_cli_module_config *module_config; in start_alarm() local
61 module_config = fwk_module_get_data(id); in start_alarm()
64 return alarm_api->start(module_config->alarm_id, module_config->poll_period, in start_alarm()
71 const struct mod_debugger_cli_module_config *module_config; in stop_alarm() local
74 module_config = fwk_module_get_data(id); in stop_alarm()
77 return alarm_api->stop(module_config->alarm_id); in stop_alarm()
94 const struct mod_debugger_cli_module_config *module_config; in debugger_cli_bind() local
101 module_config = fwk_module_get_data(id); in debugger_cli_bind()
104 return fwk_module_bind(module_config->alarm_id, MOD_TIMER_API_ID_ALARM, in debugger_cli_bind()
/SCP-firmware-master/product/juno/module/juno_dmc400/src/
A Dmod_juno_dmc400.c209 status = ctx.timer_api->wait(module_config->timer_id, in ddr_phy_init()
237 status = ddr_clock_div_set(module_config->timer_id); in ddr_clk_init()
243 status = ddr_clock_sel_set(module_config->timer_id); in ddr_clk_init()
249 status = ddr_clock_enable(module_config->timer_id); in ddr_clk_init()
669 status = ctx.timer_api->wait(module_config->timer_id, in ddr_retraining()
725 status = ctx.timer_api->wait(module_config->timer_id, in ddr_wake()
744 status = ctx.timer_api->wait(module_config->timer_id, in ddr_wake()
785 status = ctx.timer_api->wait(module_config->timer_id, in ddr_resume()
829 status = ctx.timer_api->wait(module_config->timer_id, in ddr_suspend()
936 fwk_assert(module_config != NULL); in juno_dmc400_bind()
[all …]
/SCP-firmware-master/product/n1sdp/module/n1sdp_sensor/src/
A Dmod_n1sdp_sensor.c102 t_sensor_count = sensor_ctx.module_config->t_sensor_count; in get_value()
103 v_sensor_count = sensor_ctx.module_config->v_sensor_count; in get_value()
143 t_sensor_count = sensor_ctx.module_config->t_sensor_count; in get_info()
144 v_sensor_count = sensor_ctx.module_config->v_sensor_count; in get_info()
186 sensor_ctx.module_config = (struct mod_n1sdp_sensor_config *)data; in n1sdp_sensor_init()
189 sensor_ctx.module_config->t_sensor_count, in n1sdp_sensor_init()
197 sensor_ctx.module_config->v_sensor_count, in n1sdp_sensor_init()
221 t_sensor_count = sensor_ctx.module_config->t_sensor_count; in n1sdp_sensor_element_init()
269 sensor_ctx.module_config->alarm_id, in n1sdp_sensor_bind()
270 sensor_ctx.module_config->alarm_api, in n1sdp_sensor_bind()
[all …]
A Dmod_n1sdp_sensor_driver.h42 struct mod_n1sdp_sensor_config *module_config; member
/SCP-firmware-master/product/juno/module/juno_ddr_phy400/src/
A Dmod_juno_ddr_phy400.c168 const struct mod_juno_ddr_phy400_config *module_config; in juno_ddr_phy400_config_idle() local
170 module_config = fwk_module_get_data(fwk_module_id_juno_ddr_phy400); in juno_ddr_phy400_config_idle()
179 return timer_api->wait(module_config->timer_id, in juno_ddr_phy400_config_idle()
227 const struct mod_juno_ddr_phy400_config *module_config; in juno_ddr_phy400_bind() local
239 module_config = fwk_module_get_data(fwk_module_id_juno_ddr_phy400); in juno_ddr_phy400_bind()
240 fwk_assert(module_config != NULL); in juno_ddr_phy400_bind()
242 status = fwk_module_bind(module_config->timer_id, in juno_ddr_phy400_bind()
/SCP-firmware-master/product/morello/module/morello_sensor/src/
A Dmod_morello_sensor.c50 for (count = 0; count < sensor_ctx.module_config->t_sensor_count; count++) { in morello_sensor_timer_callback()
87 for (count = 0; count < sensor_ctx.module_config->v_sensor_count; count++) { in morello_sensor_timer_callback()
121 t_sensor_count = sensor_ctx.module_config->t_sensor_count; in get_value()
122 v_sensor_count = sensor_ctx.module_config->v_sensor_count; in get_value()
172 sensor_ctx.module_config = (struct mod_morello_sensor_config *)data; in morello_sensor_init()
175 sensor_ctx.module_config->t_sensor_count, in morello_sensor_init()
179 sensor_ctx.module_config->v_sensor_count, in morello_sensor_init()
199 t_sensor_count = sensor_ctx.module_config->t_sensor_count; in morello_sensor_element_init()
235 sensor_ctx.module_config->alarm_id, in morello_sensor_bind()
236 sensor_ctx.module_config->alarm_api, in morello_sensor_bind()
[all …]
/SCP-firmware-master/product/synquacer/module/ccn512/src/
A Dmod_ccn512.c133 const struct mod_ccn512_module_config *module_config; in fw_ccn512_exit() local
137 module_config = fwk_module_get_data(fwk_module_id_ccn512); in fw_ccn512_exit()
138 fwk_assert(module_config != NULL); in fw_ccn512_exit()
140 ccn512 = module_config->reg_base; in fw_ccn512_exit()
205 const struct mod_ccn512_module_config *module_config; in mod_ccn512_start() local
208 module_config = fwk_module_get_data(fwk_module_id_ccn512); in mod_ccn512_start()
209 fwk_assert(module_config != NULL); in mod_ccn512_start()
211 ccn512 = module_config->reg_base; in mod_ccn512_start()
/SCP-firmware-master/module/fip/src/
A Dmod_fip.c35 const struct mod_fip_module_config *module_config; in fip_entry_type_to_uuid() local
38 module_config = fwk_module_get_data(fwk_module_id_fip); in fip_entry_type_to_uuid()
53 module_config->custom_fip_uuid_desc_arr != NULL) { in fip_entry_type_to_uuid()
54 for (i = 0; i < module_config->custom_uuid_desc_count; i++) { in fip_entry_type_to_uuid()
55 if (module_config->custom_fip_uuid_desc_arr[i].image_type == type) { in fip_entry_type_to_uuid()
58 module_config->custom_fip_uuid_desc_arr[i].uuid, in fip_entry_type_to_uuid()
/SCP-firmware-master/module/dmc500/src/
A Dmod_dmc500.c47 const struct mod_dmc500_module_config *module_config; in mod_dmc500_bind() local
57 module_config = fwk_module_get_data(fwk_module_id_dmc500); in mod_dmc500_bind()
58 fwk_assert(module_config != NULL); in mod_dmc500_bind()
60 status = fwk_module_bind(module_config->ddr_phy_module_id, in mod_dmc500_bind()
61 module_config->ddr_phy_api_id, &ddr_phy_api); in mod_dmc500_bind()
65 status = fwk_module_bind(module_config->timer_id, in mod_dmc500_bind()
106 const struct mod_dmc500_module_config *module_config; in dmc500_config() local
108 module_config = fwk_module_get_data(fwk_module_id_dmc500); in dmc500_config()
109 reg_val = module_config->reg_val; in dmc500_config()
278 module_config->direct_ddr_cmd(dmc); in dmc500_config()
[all …]
/SCP-firmware-master/product/sgm775/module/sgm775_dmc500/src/
A Dmod_sgm775_dmc500.c65 const struct mod_sgm775_dmc500_module_config *module_config; in mod_sgm775_dmc500_bind() local
74 module_config = fwk_module_get_data(fwk_module_id_sgm775_dmc500); in mod_sgm775_dmc500_bind()
75 fwk_assert(module_config != NULL); in mod_sgm775_dmc500_bind()
78 status = fwk_module_bind(module_config->timer_id, in mod_sgm775_dmc500_bind()
129 const struct mod_sgm775_dmc500_module_config *module_config; in sgm775_dmc500_config() local
131 module_config = fwk_module_get_data(fwk_module_id_sgm775_dmc500); in sgm775_dmc500_config()
307 status = timer_api->time_to_timestamp(module_config->timer_id, in sgm775_dmc500_config()
313 status = timer_api->get_counter(module_config->timer_id, &counter); in sgm775_dmc500_config()
322 status = timer_api->remaining(module_config->timer_id, timeout, in sgm775_dmc500_config()
341 status = timer_api->remaining(module_config->timer_id, timeout, in sgm775_dmc500_config()
[all …]
/SCP-firmware-master/module/dmc620/src/
A Dmod_dmc620.c48 const struct mod_dmc620_module_config *module_config; in mod_dmc620_bind() local
58 module_config = fwk_module_get_data(fwk_module_id_dmc620); in mod_dmc620_bind()
59 fwk_assert(module_config != NULL); in mod_dmc620_bind()
61 if (!(fwk_id_is_equal(module_config->ddr_module_id, FWK_ID_NONE))) { in mod_dmc620_bind()
62 status = fwk_module_bind(module_config->ddr_module_id, in mod_dmc620_bind()
63 module_config->ddr_api_id, &ddr_phy_api); in mod_dmc620_bind()
131 const struct mod_dmc620_module_config *module_config; in dmc620_config() local
133 module_config = fwk_module_get_data(fwk_module_id_dmc620); in dmc620_config()
134 reg_val = module_config->dmc_val; in dmc620_config()
259 if (!(fwk_id_is_equal(module_config->ddr_module_id, FWK_ID_NONE))) in dmc620_config()
[all …]
/SCP-firmware-master/product/juno/module/juno_debug/src/
A Dmod_juno_debug.c167 const struct mod_juno_debug_config *module_config = in juno_debug_cdbg_rst_req_isr() local
177 status = timer_api->wait(module_config->timer_id, in juno_debug_cdbg_rst_req_isr()
198 const struct mod_juno_debug_config *module_config = in apply_clock_settings() local
202 status = timer_api->wait(module_config->timer_id, in apply_clock_settings()
211 status = timer_api->wait(module_config->timer_id, in apply_clock_settings()
220 status = timer_api->wait(module_config->timer_id, in apply_clock_settings()
229 status = timer_api->wait(module_config->timer_id, in apply_clock_settings()
238 return timer_api->wait(module_config->timer_id, in apply_clock_settings()
433 const struct mod_juno_debug_config *module_config; in juno_debug_bind() local
441 module_config = fwk_module_get_data(fwk_module_id_juno_debug); in juno_debug_bind()
[all …]
/SCP-firmware-master/product/morello/module/morello_sensor/include/
A Dmod_morello_sensor.h148 struct mod_morello_sensor_config *module_config; member
/SCP-firmware-master/product/juno/module/juno_xrp7724/src/
A Dmod_juno_xrp7724.c757 const struct mod_juno_xrp7724_config *module_config = module_ctx.config; in juno_xrp7724_sensor_process_request() local
765 module_config->i2c_hal_id, in juno_xrp7724_sensor_process_request()
766 module_config->target_address, in juno_xrp7724_sensor_process_request()
819 const struct mod_juno_xrp7724_config *module_config = module_ctx.config; in juno_xrp7724_psu_process_request() local
832 module_config->i2c_hal_id, in juno_xrp7724_psu_process_request()
833 module_config->target_address, in juno_xrp7724_psu_process_request()
877 module_config->i2c_hal_id, in juno_xrp7724_psu_process_request()
878 module_config->target_address, in juno_xrp7724_psu_process_request()
962 module_config->i2c_hal_id, in juno_xrp7724_psu_process_request()
963 module_config->target_address, in juno_xrp7724_psu_process_request()
/SCP-firmware-master/product/rcar/module/rcar_pd_core/src/
A Dmod_rcar_pd_core.c372 const struct mod_rcar_pd_core_config *module_config; in rcar_core_process_notification() local
377 module_config = in rcar_core_process_notification()
379 assert(fwk_id_is_equal(event->id, module_config->pd_notification_id)); in rcar_core_process_notification()
380 (void)module_config; in rcar_core_process_notification()
/SCP-firmware-master/module/ppu_v1/src/
A Dmod_ppu_v1.c931 const struct mod_ppu_v1_config *module_config; in ppu_v1_start() local
937 module_config = fwk_module_get_data(fwk_id_build_module_id(id)); in ppu_v1_start()
938 fwk_assert(module_config != NULL); in ppu_v1_start()
942 module_config->pd_notification_id, in ppu_v1_start()
943 module_config->pd_source_id, in ppu_v1_start()
966 const struct mod_ppu_v1_config *module_config; in ppu_v1_process_notification() local
971 module_config = in ppu_v1_process_notification()
976 module_config->pd_notification_id)); in ppu_v1_process_notification()
977 (void)module_config; in ppu_v1_process_notification()
/SCP-firmware-master/product/juno/module/juno_cdcel937/src/
A Dmod_juno_cdcel937.c29 static const struct mod_juno_cdcel937_config *module_config; variable
125 module_config->i2c_hal_id, in set_block_access_length()
158 module_config->i2c_hal_id, in write_configuration()
185 module_config->i2c_hal_id, in read_configuration()
211 module_config->i2c_hal_id, in read_configuration_y1()
873 module_config = data; in juno_cdcel937_init()
916 status = fwk_module_bind(module_config->i2c_hal_id, in juno_cdcel937_bind()
A Djuno_cdcel937.h258 const struct mod_juno_cdcel937_config *module_config; member
/SCP-firmware-master/product/n1sdp/module/n1sdp_dmc620/src/
A Dmod_n1sdp_dmc620.c1260 const struct mod_dmc620_module_config *module_config; in mod_dmc620_bind() local
1272 module_config = fwk_module_get_data(fwk_module_id_n1sdp_dmc620); in mod_dmc620_bind()
1273 fwk_assert(module_config != NULL); in mod_dmc620_bind()
1275 status = fwk_module_bind(module_config->ddr_module_id, in mod_dmc620_bind()
1276 module_config->ddr_api_id, &ddr_phy_api); in mod_dmc620_bind()

Completed in 52 milliseconds