Home
last modified time | relevance | path

Searched refs:response (Results 1 – 25 of 42) sorted by relevance

12

/tf-a-ffa_el3_spmc/plat/amlogic/common/
A Daml_scpi.c46 uint32_t response = aml_mhu_secure_message_wait(); in aml_scpi_secure_message_receive() local
48 size_t size = (response >> SIZE_SHIFT) & SIZE_MASK; in aml_scpi_secure_message_receive()
50 response &= ~(SIZE_MASK << SIZE_SHIFT); in aml_scpi_secure_message_receive()
58 return response; in aml_scpi_secure_message_receive()
79 uint32_t *response; in aml_scpi_sys_power_state() local
88 return *response; in aml_scpi_sys_power_state()
110 uint32_t *response; in aml_scpi_efuse_read() local
127 if (*response != 0) in aml_scpi_efuse_read()
128 memcpy(dst, response + 1, *response); in aml_scpi_efuse_read()
130 return *response; in aml_scpi_efuse_read()
[all …]
/tf-a-ffa_el3_spmc/drivers/arm/css/scp/
A Dcss_pm_scpi.c122 uint32_t response; in css_scp_sys_shutdown() local
131 response = scpi_sys_power_state(scpi_system_shutdown); in css_scp_sys_shutdown()
133 if (response != SCP_OK) { in css_scp_sys_shutdown()
134 ERROR("CSS System Off: SCP error %u.\n", response); in css_scp_sys_shutdown()
147 uint32_t response; in css_scp_sys_reboot() local
156 response = scpi_sys_power_state(scpi_system_reboot); in css_scp_sys_reboot()
158 if (response != SCP_OK) { in css_scp_sys_reboot()
159 ERROR("CSS System Reset: SCP error %u.\n", response); in css_scp_sys_reboot()
A Dcss_bom_bootloader.c106 uint32_t response; in css_scp_boot_image_xfer() local
159 response = scp_boot_message_wait(sizeof(response)); in css_scp_boot_image_xfer()
162 if (response != 0) { in css_scp_boot_image_xfer()
163 ERROR("SCP BOOT_CMD_INFO returned error %u\n", response); in css_scp_boot_image_xfer()
178 response = scp_boot_message_wait(sizeof(response)); in css_scp_boot_image_xfer()
181 if (response != 0) { in css_scp_boot_image_xfer()
182 ERROR("SCP BOOT_CMD_DATA returned error %u\n", response); in css_scp_boot_image_xfer()
/tf-a-ffa_el3_spmc/plat/brcm/common/
A Dbrcm_mhu.c61 uint32_t response, iter = 1000000; in mhu_secure_message_send() local
74 response = mmio_read_32(CRMU_MAIL_BOX0); in mhu_secure_message_send()
75 if ((response & ~MCU_IPC_CMD_REPLY_MASK) == in mhu_secure_message_send()
89 uint32_t response, iter = 1000000; in mhu_secure_message_wait() local
92 response = mmio_read_32(PLAT_BRCM_MHU_BASE + SCP_INTR_S_STAT); in mhu_secure_message_wait()
93 if (!response) in mhu_secure_message_wait()
100 return response; in mhu_secure_message_wait()
A Dbrcm_scpi.c182 scpi_cmd_t response; in scpi_get_brcm_power_state() local
205 scpi_secure_message_receive(&response); in scpi_get_brcm_power_state()
207 if (response.status != SCP_OK) in scpi_get_brcm_power_state()
211 if (!CHECK_RESPONSE(response, cluster)) in scpi_get_brcm_power_state()
/tf-a-ffa_el3_spmc/plat/socionext/synquacer/drivers/scpi/
A Dsq_scpi.c153 scpi_cmd_t response; in scpi_sys_power_state() local
168 scpi_secure_message_receive(&response); in scpi_sys_power_state()
172 return response.status; in scpi_sys_power_state()
181 } response; in scpi_get_draminfo() local
211 memcpy(&response, (void *)SCPI_SHARED_MEM_SCP_TO_AP, sizeof(response)); in scpi_get_draminfo()
215 if (response.cmd.status == SCP_OK) in scpi_get_draminfo()
216 *info = response.info; in scpi_get_draminfo()
218 return response.cmd.status; in scpi_get_draminfo()
/tf-a-ffa_el3_spmc/drivers/arm/css/scmi/vendor/
A Dscmi_sq.c31 struct dram_info_resp response; in scmi_get_draminfo() local
55 memcpy(&response, (void *)mbx_mem->payload, sizeof(response)); in scmi_get_draminfo()
59 *info = response.info; in scmi_get_draminfo()
/tf-a-ffa_el3_spmc/drivers/renesas/common/emmc/
A Demmc_utility.c146 mmc_drv_obj.response = (uint32_t *) mmc_drv_obj.response_data; in emmc_make_nontrans_cmd()
150 mmc_drv_obj.response = &mmc_drv_obj.r1_card_status; in emmc_make_nontrans_cmd()
154 mmc_drv_obj.response = &mmc_drv_obj.r1_card_status; in emmc_make_nontrans_cmd()
157 mmc_drv_obj.response = (uint32_t *) mmc_drv_obj.response_data; in emmc_make_nontrans_cmd()
161 mmc_drv_obj.response = &mmc_drv_obj.r3_ocr; in emmc_make_nontrans_cmd()
164 mmc_drv_obj.response = &mmc_drv_obj.r4_resp; in emmc_make_nontrans_cmd()
167 mmc_drv_obj.response = &mmc_drv_obj.r5_resp; in emmc_make_nontrans_cmd()
170 mmc_drv_obj.response = (uint32_t *) mmc_drv_obj.response_data; in emmc_make_nontrans_cmd()
213 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response); in emmc_send_idle_cmd()
A Demmc_cmd.c70 static void emmc_read_response(uint32_t *response) in emmc_read_response() argument
74 if (response == NULL) in emmc_read_response()
79 *response = GETR_32(SD_RSP10); /* [39:8] */ in emmc_read_response()
84 p = (uint8_t *) (response); in emmc_read_response()
101 if (response == NULL) in emmc_response_check()
111 (EMMC_R1_STATE) ((*response & EMMC_R1_STATE_MASK) >> in emmc_response_check()
113 if ((*response & error_mask) != 0) { in emmc_response_check()
114 if ((0x80 & *response) != 0) { in emmc_response_check()
123 if ((*response & EMMC_R4_STATUS) != 0) in emmc_response_check()
207 if (response == NULL) { in emmc_exec_cmd()
[all …]
A Demmc_mount.c94 emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response); in emmc_card_init()
124 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response); in emmc_card_init()
132 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response); in emmc_card_init()
141 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response); in emmc_card_init()
156 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response); in emmc_card_init()
191 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response); in emmc_card_init()
205 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response); in emmc_card_init()
248 emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response); in emmc_high_speed()
336 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response); in emmc_bus_width()
361 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response); in emmc_bus_width()
[all …]
A Demmc_read.c36 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response); in emmc_multiple_block_read()
50 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response); in emmc_multiple_block_read()
57 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response); in emmc_multiple_block_read()
A Demmc_def.h62 EMMC_ERROR_CODE emmc_exec_cmd(uint32_t error_mask, uint32_t *response);
/tf-a-ffa_el3_spmc/drivers/arm/css/scpi/
A Dcss_scpi.c187 scpi_cmd_t response; in scpi_get_css_power_state() local
219 if (scpi_secure_message_receive(&response) != 0) in scpi_get_css_power_state()
222 if (response.status != SCP_OK) in scpi_get_css_power_state()
226 if (!CHECK_RESPONSE(response, cluster)) in scpi_get_css_power_state()
250 scpi_cmd_t response; in scpi_sys_power_state() local
266 if (scpi_secure_message_receive(&response) != 0) in scpi_sys_power_state()
267 response.status = SCP_E_TIMEOUT; in scpi_sys_power_state()
271 return response.status; in scpi_sys_power_state()
/tf-a-ffa_el3_spmc/drivers/arm/css/mhu/
A Dcss_mhu.c65 uint32_t response; in mhu_secure_message_wait() local
66 while (!(response = mmio_read_32(PLAT_CSS_MHU_BASE + SCP_INTR_S_STAT))) in mhu_secure_message_wait()
69 return response; in mhu_secure_message_wait()
/tf-a-ffa_el3_spmc/plat/socionext/synquacer/drivers/mhu/
A Dsq_mhu.c61 uint32_t response; in mhu_secure_message_wait() local
64 while (!(response = mmio_read_32(PLAT_SQ_MHU_BASE + SCP_INTR_S_STAT))) in mhu_secure_message_wait()
67 return response; in mhu_secure_message_wait()
/tf-a-ffa_el3_spmc/plat/socionext/synquacer/
A Dsq_psci.c141 uint32_t response; in sq_system_reset()
144 response = scpi_sys_power_state(scpi_system_reboot); in sq_system_reset()
146 if (response != SCP_OK) { in sq_system_reset()
147 ERROR("SQ System Reset: SCP error %u.\n", response); in sq_system_reset()
/tf-a-ffa_el3_spmc/drivers/nxp/sd/
A Dsd_mmc.c320 if (response != NULL) { in esdhc_wait_response()
328 INFO("Resp R1 = %x\n", response[0]); in esdhc_wait_response()
329 INFO("R2 = %x\n", response[1]); in esdhc_wait_response()
330 INFO("R3 = %x\n", response[2]); in esdhc_wait_response()
331 INFO("R4 = %x\n", response[3]); in esdhc_wait_response()
357 uint32_t response[4]; in mmc_switch_to_high_frquency() local
393 if ((response[0] & SWITCH_ERROR) != 0) { in mmc_switch_to_high_frquency()
764 uint32_t response[4]; in sd_switch_to_high_freq() local
876 uint32_t response[4]; in change_state_to_transfer_state() local
930 uint32_t response[4]; in get_cid_rca_csd() local
[all …]
/tf-a-ffa_el3_spmc/plat/intel/soc/common/soc/
A Dsocfpga_mailbox.c133 int mailbox_read_response(unsigned int *job_id, uint32_t *response, in mailbox_read_response() argument
165 ret_resp_len = iterate_resp(ret_resp_len, response, in mailbox_read_response()
180 int mailbox_poll_response(uint32_t job_id, uint32_t urgent, uint32_t *response, in mailbox_poll_response() argument
239 response, in mailbox_poll_response()
322 unsigned int len, uint32_t urgent, uint32_t *response, in mailbox_send_cmd() argument
346 status = mailbox_poll_response(job_id, urgent, response, resp_len); in mailbox_send_cmd()
483 uint32_t res, response[6]; in intel_mailbox_get_config_status() local
486 response, ARRAY_SIZE(response)); in intel_mailbox_get_config_status()
492 res = response[RECONFIG_STATUS_STATE]; in intel_mailbox_get_config_status()
497 res = response[RECONFIG_STATUS_PIN_STATUS]; in intel_mailbox_get_config_status()
[all …]
/tf-a-ffa_el3_spmc/plat/hisilicon/hikey/
A Dhikey_private.h60 int hikey_get_partition_size(const char *arg, int left, char *response);
61 int hikey_get_partition_type(const char *arg, int left, char *response);
/tf-a-ffa_el3_spmc/drivers/brcm/
A Dspi_sf.c49 int spi_flash_cmd(uint8_t cmd, void *response, size_t len) in spi_flash_cmd() argument
51 return spi_flash_cmd_read(&cmd, CMD_LEN1, response, len); in spi_flash_cmd()
/tf-a-ffa_el3_spmc/plat/intel/soc/common/
A Dsocfpga_sip_svc.c186 uint32_t response[3]; in intel_fpga_config_start() local
196 response, ARRAY_SIZE(response)); in intel_fpga_config_start()
201 max_blocks = response[0]; in intel_fpga_config_start()
202 bytes_per_block = response[1]; in intel_fpga_config_start()
388 uint32_t urgent, uint32_t *response, in intel_mbox_send_cmd() argument
399 response, resp_len); in intel_mbox_send_cmd()
/tf-a-ffa_el3_spmc/plat/intel/soc/common/include/
A Dsocfpga_mailbox.h146 unsigned int len, uint32_t urgent, uint32_t *response,
150 int mailbox_read_response(uint32_t *job_id, uint32_t *response,
/tf-a-ffa_el3_spmc/include/drivers/brcm/
A Dsf.h87 int spi_flash_cmd(uint8_t cmd, void *response, size_t len);
/tf-a-ffa_el3_spmc/docs/threat_model/
A Dthreat_model_spm.rst76 | ``DF4`` | SP to SP FF-A direct message request/response. |
81 | | the direct message response from SP2 to SP1). |
166 | | FF-A ID in a direct request/response invocation.** |
191 | | request/response interfaces such an endpoint cannot|
197 | | request/response filtering. |
454 | | response.** |
456 | | message by a direct message response with |
458 | | (.e.g. partition message response outside of |
483 | | revealed through a direct message response. |
/tf-a-ffa_el3_spmc/plat/xilinx/versal/pm_service/
A Dpm_api_sys.h38 enum pm_ret_status pm_get_device_status(uint32_t device_id, uint32_t *response,

Completed in 34 milliseconds

12