Home
last modified time | relevance | path

Searched refs:device_id (Results 1 – 25 of 39) sorted by relevance

12

/SCP-firmware-master/product/rcar/scp_ramfw/
A Dconfig_resource_perms.c533 .device_id =
538 .device_id =
551 .device_id =
557 .device_id =
562 .device_id =
567 .device_id =
579 .device_id =
584 .device_id =
596 .device_id =
601 .device_id =
[all …]
/SCP-firmware-master/product/rcar/module/rcar_pmic/src/
A Dmod_rcar_pmic_device_api.c18 static int api_get_enabled(fwk_id_t device_id, bool *enabled) in api_get_enabled() argument
28 if (!fwk_module_is_valid_element_id(device_id)) in api_get_enabled()
31 ctx = __mod_rcar_pmic_get_valid_device_ctx(device_id); in api_get_enabled()
43 static int api_set_enabled(fwk_id_t device_id, bool enable) in api_set_enabled() argument
53 if (!fwk_module_is_valid_element_id(device_id)) in api_set_enabled()
56 ctx = __mod_rcar_pmic_get_valid_device_ctx(device_id); in api_set_enabled()
78 if (!fwk_module_is_valid_element_id(device_id)) in api_get_voltage()
81 ctx = __mod_rcar_pmic_get_valid_device_ctx(device_id); in api_get_voltage()
103 if (!fwk_module_is_valid_element_id(device_id)) in api_set_voltage()
106 ctx = __mod_rcar_pmic_get_valid_device_ctx(device_id); in api_set_voltage()
[all …]
A Dmod_rcar_pmic_module.c33 fwk_id_t device_id, in rcar_pmic_element_init() argument
39 __mod_rcar_pmic_get_device_ctx(device_id)->config = data; in rcar_pmic_element_init()
44 static int rcar_pmic_bind_element(fwk_id_t device_id, unsigned int round) in rcar_pmic_bind_element() argument
53 ctx = __mod_rcar_pmic_get_device_ctx(device_id); in rcar_pmic_bind_element()
101 fwk_id_t device_id) in __mod_rcar_pmic_get_device_ctx() argument
103 unsigned int element_idx = fwk_id_get_element_idx(device_id); in __mod_rcar_pmic_get_device_ctx()
109 fwk_id_t device_id) in __mod_rcar_pmic_get_valid_device_ctx() argument
111 return __mod_rcar_pmic_get_device_ctx(device_id); in __mod_rcar_pmic_get_valid_device_ctx()
A Dmod_rcar_pmic_module_private.h29 fwk_id_t device_id);
31 fwk_id_t device_id);
/SCP-firmware-master/arch/none/optee/src/
A Darch_main.c54 fwk_id_t device_id; in scmi_get_device() local
56 device_id = optee_mbx_get_device(id); in scmi_get_device()
58 if (fwk_id_is_type(device_id, FWK_ID_TYPE_NONE)) { in scmi_get_device()
62 return (int)device_id.value; in scmi_get_device()
68 fwk_id_t device_id; in scmi_process_mbx_smt() local
70 device_id.value = fwk_id; in scmi_process_mbx_smt()
72 optee_mbx_signal_smt_message(device_id); in scmi_process_mbx_smt()
84 fwk_id_t device_id; in scmi_process_mbx_msg() local
86 device_id.value = fwk_id; in scmi_process_mbx_msg()
88 optee_mbx_signal_msg_message(device_id, in_buf, in_size, out_buf, out_size); in scmi_process_mbx_msg()
/SCP-firmware-master/product/rcar/module/rcar_pmic/include/
A Dmod_rcar_pmic.h46 int (*get_enabled)(fwk_id_t device_id, bool *enabled);
61 int (*set_enabled)(fwk_id_t device_id, bool enable);
76 int (*get_voltage)(fwk_id_t device_id, uint32_t *voltage);
91 int (*set_voltage)(fwk_id_t device_id, uint32_t voltage);
101 int (*set_pmic)(fwk_id_t device_id, unsigned int state);
122 int (*get_enabled)(fwk_id_t device_id, bool *enabled);
137 int (*set_enabled)(fwk_id_t device_id, bool enable);
152 int (*get_voltage)(fwk_id_t device_id, uint32_t *voltage);
167 int (*set_voltage)(fwk_id_t device_id, uint32_t voltage);
177 int (*set_pmic)(fwk_id_t device_id, unsigned int state);
/SCP-firmware-master/product/juno/scp_ramfw/
A Dconfig_resource_perms.c346 .device_id =
351 .device_id = FWK_ID_ELEMENT_INIT(
357 .device_id = FWK_ID_ELEMENT_INIT(
363 .device_id = FWK_ID_ELEMENT_INIT(
369 .device_id = FWK_ID_ELEMENT_INIT(
375 .device_id = FWK_ID_ELEMENT_INIT(
381 .device_id = FWK_ID_ELEMENT_INIT(
417 .device_id = FWK_ID_NONE_INIT,
424 .device_id =
441 .device_id = FWK_ID_NONE_INIT,
[all …]
/SCP-firmware-master/product/rcar/module/rcar_mock_pmic_bd9571/src/
A Dmod_rcar_mock_pmic_bd9571_driver_api.c21 static int api_set_enabled(fwk_id_t device_id, bool enable) in api_set_enabled() argument
25 ctx = __mod_rcar_mock_pmic_get_valid_device_ctx(device_id); in api_set_enabled()
34 static int api_get_enabled(fwk_id_t device_id, bool *enabled) in api_get_enabled() argument
38 ctx = __mod_rcar_mock_pmic_get_valid_device_ctx(device_id); in api_get_enabled()
47 static int api_set_voltage(fwk_id_t device_id, uint32_t voltage) in api_set_voltage() argument
52 ctx = __mod_rcar_mock_pmic_get_valid_device_ctx(device_id); in api_set_voltage()
73 static int api_get_voltage(fwk_id_t device_id, uint32_t *voltage) in api_get_voltage() argument
77 ctx = __mod_rcar_mock_pmic_get_valid_device_ctx(device_id); in api_get_voltage()
86 static int api_set_pmic(fwk_id_t device_id, unsigned int state) in api_set_pmic() argument
92 ctx = __mod_rcar_mock_pmic_get_valid_device_ctx(device_id); in api_set_pmic()
A Dmod_rcar_mock_pmic_bd9571_module.c20 static struct mod_rcar_mock_pmic_device_ctx *get_device_ctx(fwk_id_t device_id) in get_device_ctx() argument
22 return &(*device_ctx)[fwk_id_get_element_idx(device_id)]; in get_device_ctx()
38 fwk_id_t device_id, in mock_psu_element_init() argument
47 ctx = get_device_ctx(device_id); in mock_psu_element_init()
70 fwk_id_t device_id) in __mod_rcar_mock_pmic_get_valid_device_ctx() argument
72 return get_device_ctx(device_id); in __mod_rcar_mock_pmic_get_valid_device_ctx()
A Dmod_rcar_mock_pmic_bd9571_module_private.h22 fwk_id_t device_id);
/SCP-firmware-master/module/psu/include/
A Dmod_psu.h135 int (*get_enabled)(fwk_id_t device_id, bool *enabled);
150 int (*set_enabled)(fwk_id_t device_id, bool enable);
165 int (*get_voltage)(fwk_id_t device_id, uint32_t *voltage);
180 int (*set_voltage)(fwk_id_t device_id, uint32_t voltage);
/SCP-firmware-master/module/optee/mbx/include/
A Dmod_optee_mbx.h50 void optee_mbx_signal_smt_message(fwk_id_t device_id);
62 void optee_mbx_signal_msg_message(fwk_id_t device_id,
/SCP-firmware-master/module/cdns_i2c/include/
A Dmod_cdns_i2c.h169 fwk_id_t device_id,
188 fwk_id_t device_id,
209 int (*read)(fwk_id_t device_id, uint8_t *data, uint8_t length);
223 int (*write)(fwk_id_t device_id, uint8_t *data, uint8_t length);
/SCP-firmware-master/module/css_clock/include/
A Dmod_css_clock.h123 int (*set_div)(fwk_id_t device_id, uint32_t divider_type,
127 int (*set_source)(fwk_id_t device_id, uint8_t source);
130 int (*set_mod)(fwk_id_t device_id, uint32_t numerator,
/SCP-firmware-master/module/optee/mbx/src/
A Dmod_optee_mbx.c56 void optee_mbx_signal_smt_message(fwk_id_t device_id) in optee_mbx_signal_smt_message() argument
59 unsigned int device_idx = fwk_id_get_element_idx(device_id); in optee_mbx_signal_smt_message()
78 void optee_mbx_signal_msg_message(fwk_id_t device_id, void *in_buf, in optee_mbx_signal_msg_message() argument
83 unsigned int device_idx = fwk_id_get_element_idx(device_id); in optee_mbx_signal_msg_message()
181 static int mbx_device_init(fwk_id_t device_id, unsigned int slot_count, in mbx_device_init() argument
184 size_t elt_idx = fwk_id_get_element_idx(device_id); in mbx_device_init()
/SCP-firmware-master/module/mhu3/test/
A Dmod_mhu3_unit_test.c105 fwk_id_t device_id = { 0 }; in test_mhu3_bind_round_0_success() local
107 status = mhu3_bind(device_id, 0); in test_mhu3_bind_round_0_success()
127 fwk_id_t device_id = in test_mhu3_bind_round_1_success() local
130 status = mhu3_bind(device_id, 1); in test_mhu3_bind_round_1_success()
154 fwk_id_t device_id = in test_mhu3_bind_fail() local
157 status = mhu3_bind(device_id, 1); in test_mhu3_bind_fail()
431 fwk_id_t device_id; in mhu3_fake_init() local
477 device_id = FWK_ID_ELEMENT(FWK_MODULE_IDX_MHU3, MHU3_DEVICE_IDX_DEVICE_1); in mhu3_fake_init()
479 status = mhu3_device_init(device_id, sub_element_count, device_config); in mhu3_fake_init()
/SCP-firmware-master/product/rdv1mc/scp_romfw/
A Dconfig_log.c15 .device_id = FWK_ID_ELEMENT_INIT(FWK_MODULE_IDX_PL011, 0),
/SCP-firmware-master/product/synquacer/scp_romfw/
A Dconfig_log.c15 .device_id = FWK_ID_ELEMENT_INIT(FWK_MODULE_IDX_F_UART3, 0),
/SCP-firmware-master/module/scmi_clock/test/
A Dmod_scmi_clock_extra.h212 uint32_t device_id,
229 uint32_t device_id,
/SCP-firmware-master/module/transport/include/
A Dmod_transport.h220 fwk_id_t device_id);
233 *get_message)(struct mod_transport_buffer *message, fwk_id_t device_id);
245 int (*trigger_event)(fwk_id_t device_id);
/SCP-firmware-master/module/scmi/include/internal/
A Dmod_scmi_base.h99 uint32_t device_id; member
112 uint32_t device_id; member
/SCP-firmware-master/module/optee/smt/include/
A Dmod_optee_smt.h92 int (*raise_interrupt)(fwk_id_t device_id);
/SCP-firmware-master/module/scmi_clock/test/mocks/
A DMockmod_scmi_clock_extra.h141 …gent_id, device_id, flags, cmock_retval) mod_res_permissions_api_agent_set_device_permission_CMock… argument
142 …ExpectAndReturn(UNITY_LINE_TYPE cmock_line, uint32_t agent_id, uint32_t device_id, uint32_t flags,…
143 …s_api_agent_set_device_permission_CALLBACK)(uint32_t agent_id, uint32_t device_id, uint32_t flags,…
149device_id, protocol_id, flags, cmock_retval) mod_res_permissions_api_agent_set_device_protocol_per… argument
150 …ExpectAndReturn(UNITY_LINE_TYPE cmock_line, uint32_t agent_id, uint32_t device_id, uint32_t protoc…
151 …nt_set_device_protocol_permission_CALLBACK)(uint32_t agent_id, uint32_t device_id, uint32_t protoc…
/SCP-firmware-master/module/cmn_skeena/src/
A Dcmn_skeena.c62 unsigned int device_id; in get_child_node_id() local
68 device_id = (((node_pointer >> 6) & 0xff) << 3) | in get_child_node_id()
71 return device_id; in get_child_node_id()
/SCP-firmware-master/module/resource_perms/include/
A Dmod_resource_perms.h325 fwk_id_t device_id; member
336 uint16_t device_id; member
451 uint32_t device_id,
468 uint32_t device_id,

Completed in 505 milliseconds

12