/SCP-firmware-master/framework/test/ |
A D | test_fwk_id_type.c | 15 fwk_id_t id = FWK_ID_MODULE(42); in test_is_module_id() local 22 fwk_id_t id = FWK_ID_ELEMENT(42, 58); in test_is_element_id() local 29 fwk_id_t id = FWK_ID_API(42, 14); in test_is_api_id() local 36 fwk_id_t id = FWK_ID_EVENT(42, 14); in test_is_event_id() local 43 fwk_id_t id = FWK_ID_NOTIFICATION(42, 14); in test_is_notification_id() local 50 fwk_id_t id = FWK_ID_MODULE(42); in test_type_of_module_id() local 57 fwk_id_t id = FWK_ID_ELEMENT(42, 58); in test_type_of_element_id() local 64 fwk_id_t id = FWK_ID_API(42, 14); in test_type_of_api_id() local 71 fwk_id_t id = FWK_ID_EVENT(42, 56); in test_type_of_event_id() local 78 fwk_id_t id = FWK_ID_NOTIFICATION(42, 56); in test_type_of_notification_id() local
|
A D | test_fwk_id_build.c | 15 fwk_id_t id = FWK_ID_MODULE_INIT(42); in test_overlapping_fields() local 29 fwk_id_t id = FWK_ID_MODULE_INIT(42); in test_build_module() local 39 fwk_id_t id = FWK_ID_ELEMENT_INIT(42, 58); in test_build_element() local 50 fwk_id_t id = FWK_ID_API_INIT(42, 14); in test_build_api() local 61 fwk_id_t id = FWK_ID_EVENT_INIT(42, 56); in test_build_event() local 72 fwk_id_t id = FWK_ID_NOTIFICATION_INIT(42, 56); in test_build_notification() local 83 fwk_id_t id = FWK_ID_MODULE_INIT(42); in test_module_from_module() local 94 fwk_id_t id = FWK_ID_ELEMENT_INIT(42, 58); in test_module_from_element() local 105 fwk_id_t id = FWK_ID_MODULE_INIT(42); in test_element_from_module_and_index() local 113 fwk_id_t id = FWK_ID_ELEMENT_INIT(42, 64); in test_element_from_element_and_index() local
|
A D | test_fwk_id_get_idx.c | 17 fwk_id_t id = FWK_ID_MODULE(42); in test_module_idx_of_module_id() local 24 fwk_id_t id = FWK_ID_ELEMENT(42, 45); in test_element_idx_of_element_id() local 31 fwk_id_t id = FWK_ID_API(42, 10); in test_api_idx_of_api_id() local 38 fwk_id_t id = FWK_ID_EVENT(42, 58); in test_event_idx_of_event_id() local 45 fwk_id_t id = FWK_ID_NOTIFICATION(42, 58); in test_notification_idx_of_notification_id() local
|
A D | test_fwk_id_format.c | 18 fwk_id_t id = FWK_ID_MODULE(42); in test_format_module_id() local 28 fwk_id_t id = FWK_ID_ELEMENT(42, 58); in test_format_element_id() local 38 fwk_id_t id = FWK_ID_API(42, 14); in test_format_api_id() local 48 fwk_id_t id = FWK_ID_EVENT(42, 56); in test_format_event_id() local 58 fwk_id_t id = FWK_ID_NOTIFICATION(42, 56); in test_format_notification_id() local 68 fwk_id_t id = FWK_ID_ELEMENT(0xFF, 0xFFF); in test_format_max_length() local
|
/SCP-firmware-master/framework/src/ |
A D | fwk_id.c | 23 static void fwk_id_format(char *buffer, size_t buffer_size, fwk_id_t id) in fwk_id_format() 122 struct __fwk_id_fmt __fwk_id_str(fwk_id_t id) in __fwk_id_str() 131 bool fwk_id_is_type(fwk_id_t id, enum fwk_id_type type) in fwk_id_is_type() 139 bool fwk_id_type_is_valid(fwk_id_t id) in fwk_id_type_is_valid() 149 enum fwk_id_type fwk_id_get_type(fwk_id_t id) in fwk_id_get_type() 165 bool fwk_optional_id_is_defined(fwk_optional_id_t id) in fwk_optional_id_is_defined() 171 fwk_id_t fwk_id_build_module_id(fwk_id_t id) in fwk_id_build_module_id() 179 fwk_id_t fwk_id_build_element_id(fwk_id_t id, unsigned int element_idx) in fwk_id_build_element_id() 187 fwk_id_t fwk_id_build_sub_element_id(fwk_id_t id, unsigned int sub_element_idx) in fwk_id_build_sub_element_id() 195 fwk_id_t fwk_id_build_api_id(fwk_id_t id, unsigned int api_idx) in fwk_id_build_api_id() [all …]
|
A D | fwk_delayed_resp.c | 27 static int check_api_call(fwk_id_t id, void *data) in check_api_call() 43 struct fwk_slist *__fwk_get_delayed_response_list(fwk_id_t id) in __fwk_get_delayed_response_list() 52 struct fwk_event *__fwk_search_delayed_response(fwk_id_t id, uint32_t cookie) in __fwk_search_delayed_response() 80 fwk_id_t id, in fwk_get_delayed_response() 107 int fwk_is_delayed_response_list_empty(fwk_id_t id, bool *is_empty) in fwk_is_delayed_response_list_empty() 130 int fwk_get_first_delayed_response(fwk_id_t id, struct fwk_event *event) in fwk_get_first_delayed_response()
|
A D | fwk_module.c | 141 fwk_id_t id = FWK_ID_MODULE(i); in fwk_module_init() local 571 bool fwk_module_is_valid_module_id(fwk_id_t id) in fwk_module_is_valid_module_id() 584 bool fwk_module_is_valid_element_id(fwk_id_t id) in fwk_module_is_valid_element_id() 602 bool fwk_module_is_valid_sub_element_id(fwk_id_t id) in fwk_module_is_valid_sub_element_id() 628 bool fwk_module_is_valid_entity_id(fwk_id_t id) in fwk_module_is_valid_entity_id() 652 bool fwk_module_is_valid_api_id(fwk_id_t id) in fwk_module_is_valid_api_id() 670 bool fwk_module_is_valid_event_id(fwk_id_t id) in fwk_module_is_valid_event_id() 688 bool fwk_module_is_valid_notification_id(fwk_id_t id) in fwk_module_is_valid_notification_id() 710 int fwk_module_get_element_count(fwk_id_t id) in fwk_module_get_element_count() 728 const char *fwk_module_get_element_name(fwk_id_t id) in fwk_module_get_element_name() [all …]
|
/SCP-firmware-master/product/synquacer/src/ |
A D | device_nor_s25.c | 22 fwk_id_t id, in set_read_command() 34 fwk_id_t id, in set_write_command() 64 fwk_id_t id, in s25_read_status_reg() 79 fwk_id_t id, in s25_read_config_reg() 94 fwk_id_t id, in s25_write_config_reg() 117 fwk_id_t id, in s25_read_bank_reg() 132 fwk_id_t id, in s25_write_bank_reg() 150 fwk_id_t id, in s25_nor_set_io_protocol() 190 fwk_id_t id, in s25_nor_set_4byte_addr_mode() 224 fwk_id_t id, in s25_nor_get_program_result() [all …]
|
A D | device_nor_mt25.c | 22 fwk_id_t id, in set_read_command() 34 fwk_id_t id, in set_write_command() 45 static bool mt25_is_write_enable(fwk_id_t id, const struct qspi_api *qspi_api) in mt25_is_write_enable() 64 fwk_id_t id, in mt25_read_nv_config_reg() 79 fwk_id_t id, in mt25_write_nv_config_reg() 94 fwk_id_t id, in mt25_read_flag_status_reg() 112 fwk_id_t id, in mt25_nor_set_io_protocol() 152 fwk_id_t id, in mt25_nor_get_program_result() 175 fwk_id_t id, in mt25_nor_get_erase_result()
|
A D | device_nor_mx25.c | 22 fwk_id_t id, in set_read_command() 34 fwk_id_t id, in set_write_command() 46 fwk_id_t id, in mx25_read_status_reg() 61 fwk_id_t id, in mx25_write_status_reg() 76 fwk_id_t id, in mx25_read_security_reg() 94 fwk_id_t id, in mx25_nor_set_io_protocol() 134 fwk_id_t id, in mx25_nor_set_4byte_addr_mode() 151 fwk_id_t id, in mx25_nor_get_program_result() 174 fwk_id_t id, in mx25_nor_get_erase_result()
|
A D | device_nor_w25.c | 22 fwk_id_t id, in set_read_command() 34 fwk_id_t id, in set_write_command() 45 static bool w25_is_write_enable(fwk_id_t id, const struct qspi_api *qspi_api) in w25_is_write_enable() 64 fwk_id_t id, in w25_read_status_reg_2() 79 fwk_id_t id, in w25_write_status_reg_2() 97 fwk_id_t id, in w25_nor_set_io_protocol() 137 fwk_id_t id, in w25_nor_set_4byte_addr_mode()
|
/SCP-firmware-master/module/sensor/src/ |
A D | sensor_extended.c | 23 int sensor_timestamp_dev_init(fwk_id_t id, struct sensor_dev_ctx *ctx) in sensor_timestamp_dev_init() 33 fwk_id_t id, in sensor_set_timestamp_config() 56 fwk_id_t id, in sensor_get_timestamp_config() 89 uint64_t sensor_get_timestamp(fwk_id_t id) in sensor_get_timestamp() 119 int sensor_axis_start(fwk_id_t id) in sensor_axis_start() 170 fwk_id_t id, in sensor_get_axis_info()
|
A D | mod_sensor.c | 32 struct sensor_dev_ctx *sensor_get_ctx(fwk_id_t id) in sensor_get_ctx() 37 static int get_ctx_if_valid_call(fwk_id_t id, in get_ctx_if_valid_call() 111 static void trip_point_process(fwk_id_t id, struct mod_sensor_data *data) in trip_point_process() 137 static int get_data(fwk_id_t id, struct mod_sensor_data *data) in get_data() 205 static int get_info(fwk_id_t id, struct mod_sensor_complete_info *info) in get_info() 240 fwk_id_t id, in sensor_get_trip_point() 260 fwk_id_t id, in sensor_set_trip_point() 407 static int sensor_bind(fwk_id_t id, unsigned int round) in sensor_bind() 457 int sensor_start(fwk_id_t id) in sensor_start()
|
/SCP-firmware-master/product/synquacer/module/nor/src/ |
A D | mod_nor.c | 100 fwk_id_t id, in set_read_command() 113 fwk_id_t id, in set_write_command() 180 fwk_id_t id, in set_4byte_address_mode() 236 fwk_id_t id, in check_program_result() 253 fwk_id_t id, in check_erase_result() 270 fwk_id_t id, in program_erase_sequence() 442 fwk_id_t id, in configure_read_command() 473 fwk_id_t id, in nor_read() 491 fwk_id_t id, in nor_program() 543 fwk_id_t id, in nor_erase() [all …]
|
/SCP-firmware-master/module/mhu3/test/ |
A D | mod_mhu3_unit_test.c | 233 fwk_id_t id; in test_mhu3_start_id_module_success() local 243 fwk_id_t id; in test_mhu3_start_id_element_success() local 255 fwk_id_t id; in test_mhu3_start_id_element_set_isr_fails() local 266 fwk_id_t id; in test_mhu3_start_id_interrupt_enable_fails() local 278 fwk_id_t id = { 0 }; in test_mhu3_get_fch_invalid_sub_element() local 294 fwk_id_t id = { 0 }; in test_mhu3_get_fch_invalid_channel_type() local 318 fwk_id_t id = { 0 }; in test_mhu3_get_fch_null_fch_addr() local 338 fwk_id_t id = { 0 }; in test_mhu3_get_fch_valid_fch_dir_in() local 355 fwk_id_t id; in test_mhu3_get_fch_valid_fch_dir_out() local 375 fwk_id_t id = FWK_ID_SUB_ELEMENT_INIT( in test_mhu3_fch_register_callback_valid() local [all …]
|
/SCP-firmware-master/module/debug/src/ |
A D | mod_debug.c | 25 static inline void mark_user(fwk_id_t id, in mark_user() 53 static int set_enabled(fwk_id_t id, bool enable, enum scp_debug_user user_id) in set_enabled() 121 static int get_enabled(fwk_id_t id, bool *enable, enum scp_debug_user user_id) in get_enabled() 162 static int debug_reset(fwk_id_t id) in debug_reset() 167 static int debug_end(fwk_id_t id) in debug_end() 183 static int enable_request(fwk_id_t id, in enable_request() 212 static void request_complete(fwk_id_t id, in request_complete() 289 static int mod_debug_bind(fwk_id_t id, unsigned int round) in mod_debug_bind()
|
/SCP-firmware-master/module/debugger_cli/src/ |
A D | mod_debugger_cli.c | 56 static int start_alarm(fwk_id_t id) in start_alarm() 69 static int stop_alarm(fwk_id_t id) in stop_alarm() 92 static int debugger_cli_bind(fwk_id_t id, unsigned int round) in debugger_cli_bind() 108 static int debugger_cli_start(fwk_id_t id) in debugger_cli_start()
|
/SCP-firmware-master/module/isys_rom/src/ |
A D | mod_isys_rom.c | 28 fwk_id_t id, in mod_isys_init() 35 static int mod_isys_rom_bind(fwk_id_t id, unsigned int round) in mod_isys_rom_bind() 53 static int mod_isys_rom_start(fwk_id_t id) in mod_isys_rom_start()
|
/SCP-firmware-master/unit_test/unity_mocks/mocks/internal/ |
A D | Mockfwk_delayed_resp_internal.h | 29 #define __fwk_get_delayed_response_list_ExpectAndReturn(id, cmock_retval) __fwk_get_delayed_respons… argument 33 #define __fwk_search_delayed_response_ExpectAndReturn(id, cookie, cmock_retval) __fwk_search_delaye… argument
|
A D | Mockfwk_delayed_resp_internal.c | 69 struct fwk_slist* __fwk_get_delayed_response_list(fwk_id_t id) in __fwk_get_delayed_response_list() 90 …esponse_list(CMOCK___fwk_get_delayed_response_list_CALL_INSTANCE* cmock_call_instance, fwk_id_t id) in CMockExpectParameters___fwk_get_delayed_response_list() 109 void __fwk_get_delayed_response_list_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, fwk_id_t id, … in __fwk_get_delayed_response_list_CMockExpectAndReturn() 122 struct fwk_event* __fwk_search_delayed_response(fwk_id_t id, uint32_t cookie) in __fwk_search_delayed_response() 147 …MOCK___fwk_search_delayed_response_CALL_INSTANCE* cmock_call_instance, fwk_id_t id, uint32_t cooki… in CMockExpectParameters___fwk_search_delayed_response() 167 void __fwk_search_delayed_response_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, fwk_id_t id, ui… in __fwk_search_delayed_response_CMockExpectAndReturn()
|
/SCP-firmware-master/product/morello/module/morello_pcie/src/ |
A D | mod_morello_pcie.c | 157 static int morello_pcie_power_on(fwk_id_t id) in morello_pcie_power_on() 206 static int morello_pcie_phy_init(fwk_id_t id) in morello_pcie_phy_init() 247 static int morello_pcie_controller_init(fwk_id_t id, bool ep_mode) in morello_pcie_controller_init() 293 static int morello_pcie_link_training(fwk_id_t id, bool ep_mode) in morello_pcie_link_training() 428 static int morello_pcie_rc_setup(fwk_id_t id) in morello_pcie_rc_setup() 521 static int morello_pcie_vc1_setup(fwk_id_t id, uint8_t vc1_tc) in morello_pcie_vc1_setup() 582 static int morello_pcie_setup(fwk_id_t id) in morello_pcie_setup() 680 static int morello_pcie_bind(fwk_id_t id, unsigned int round) in morello_pcie_bind() 692 static int morello_pcie_start(fwk_id_t id) in morello_pcie_start()
|
/SCP-firmware-master/product/n1sdp/module/n1sdp_pcie/src/ |
A D | mod_n1sdp_pcie.c | 156 static int n1sdp_pcie_power_on(fwk_id_t id) in n1sdp_pcie_power_on() 205 static int n1sdp_pcie_phy_init(fwk_id_t id) in n1sdp_pcie_phy_init() 245 static int n1sdp_pcie_controller_init(fwk_id_t id, bool ep_mode) in n1sdp_pcie_controller_init() 291 static int n1sdp_pcie_link_training(fwk_id_t id, bool ep_mode) in n1sdp_pcie_link_training() 419 static int n1sdp_pcie_rc_setup(fwk_id_t id) in n1sdp_pcie_rc_setup() 575 static int n1sdp_pcie_vc1_setup(fwk_id_t id, uint8_t vc1_tc) in n1sdp_pcie_vc1_setup() 636 static int n1sdp_pcie_setup(fwk_id_t id) in n1sdp_pcie_setup() 739 static int n1sdp_pcie_bind(fwk_id_t id, unsigned int round) in n1sdp_pcie_bind() 763 static int n1sdp_pcie_start(fwk_id_t id) in n1sdp_pcie_start()
|
/SCP-firmware-master/module/mock_sensor/src/ |
A D | mod_mock_sensor.c | 65 static int get_value(fwk_id_t id, mod_sensor_value_t *value) in get_value() 86 static int get_info(fwk_id_t id, struct mod_sensor_info *info) in get_info() 101 unsigned int get_axis_count(fwk_id_t id) in get_axis_count() 110 int get_axis_info(fwk_id_t id, uint32_t axis, struct mod_sensor_axis_info *info) in get_axis_info() 158 static int mock_sensor_bind(fwk_id_t id, unsigned int round) in mock_sensor_bind()
|
/SCP-firmware-master/product/juno/module/juno_dmc400/src/ |
A D | mod_juno_dmc400.c | 182 static int ddr_phy_init(fwk_id_t id) in ddr_phy_init() 225 static int ddr_clk_init(fwk_id_t id) in ddr_clk_init() 265 static int ddr_dmc_init(fwk_id_t id) in ddr_dmc_init() 394 static int ddr_training(fwk_id_t id) in ddr_training() 654 static int ddr_retraining(fwk_id_t id) in ddr_retraining() 696 static int ddr_wake(fwk_id_t id) in ddr_wake() 759 fwk_id_t id) in ddr_resume() 813 fwk_id_t id) in ddr_suspend() 873 fwk_id_t id = FWK_ID_ELEMENT(FWK_MODULE_IDX_JUNO_DMC400, 0); in ddr_phy_irq_handler() local 919 static int juno_dmc400_bind(fwk_id_t id, unsigned int round) in juno_dmc400_bind() [all …]
|
/SCP-firmware-master/module/thermal_mgmt/src/ |
A D | mod_thermal_mgmt.c | 25 struct mod_thermal_mgmt_dev_ctx *get_dev_ctx(fwk_id_t id) in get_dev_ctx() 37 static void pi_control(fwk_id_t id) in pi_control() 116 static int read_temperature(fwk_id_t id) in read_temperature() 145 static int control_update(fwk_id_t id) in control_update() 300 static int thermal_mgmt_bind(fwk_id_t id, unsigned int round) in thermal_mgmt_bind()
|