Lines Matching refs:mdm_rsp

127 				  u8 *mdm_rsp)  in ipc_flash_receive_data()  argument
146 ret = ipc_imem_sys_devlink_read(ipc_devlink, mdm_rsp, size, in ipc_flash_receive_data()
159 ret = ipc_flash_proc_check_ebl_rsp(mdm_rsp_hdr + 2, mdm_rsp); in ipc_flash_receive_data()
167 u8 *payload, u32 payload_length, u8 *mdm_rsp) in ipc_flash_send_receive() argument
181 frame_len - IOSM_EBL_HEAD_SIZE, mdm_rsp); in ipc_flash_send_receive()
195 u8 *mdm_rsp) in ipc_flash_boot_set_capabilities() argument
219 IOSM_EBL_RSP_SIZE, mdm_rsp); in ipc_flash_boot_set_capabilities()
223 int ipc_flash_read_swid(struct iosm_devlink *ipc_devlink, u8 *mdm_rsp) in ipc_flash_read_swid() argument
240 (u8 *)&cmd_msg, IOSM_MDM_SEND_16, mdm_rsp); in ipc_flash_read_swid()
244 cmd_msg.action = cpu_to_le32(*((u32 *)mdm_rsp)); in ipc_flash_read_swid()
247 (u8 *)&cmd_msg, IOSM_MDM_SEND_4, mdm_rsp); in ipc_flash_read_swid()
251 swid = (struct iosm_swid_table *)mdm_rsp; in ipc_flash_read_swid()
265 static int ipc_flash_erase_check(struct iosm_devlink *ipc_devlink, u8 *mdm_rsp) in ipc_flash_erase_check() argument
275 IOSM_MDM_SEND_2, mdm_rsp); in ipc_flash_erase_check()
279 mdm_rsp_data = *((u16 *)mdm_rsp); in ipc_flash_erase_check()
303 static int ipc_flash_full_erase(struct iosm_devlink *ipc_devlink, u8 *mdm_rsp) in ipc_flash_full_erase() argument
318 IOSM_MDM_SEND_16, mdm_rsp); in ipc_flash_full_erase()
323 ret = ipc_flash_erase_check(ipc_devlink, mdm_rsp); in ipc_flash_full_erase()
331 const struct firmware *fw, u8 *mdm_rsp) in ipc_flash_download_region() argument
349 mdm_rsp); in ipc_flash_download_region()
353 ret = ipc_flash_erase_check(ipc_devlink, mdm_rsp); in ipc_flash_download_region()
360 (u8 *)reg_info, IOSM_MDM_SEND_4, mdm_rsp); in ipc_flash_download_region()
385 mdm_rsp); in ipc_flash_download_region()
400 const struct firmware *fw, u8 *mdm_rsp) in ipc_flash_send_fls() argument
410 ret = ipc_flash_full_erase(ipc_devlink, mdm_rsp); in ipc_flash_send_fls()
420 mdm_rsp); in ipc_flash_send_fls()
425 ret = ipc_flash_download_region(ipc_devlink, fw, mdm_rsp); in ipc_flash_send_fls()
434 IOSM_MDM_SEND_2, mdm_rsp); in ipc_flash_send_fls()