Lines Matching refs:bootinfo
78 struct s3fwrn5_fw_cmd_get_bootinfo_rsp *bootinfo) in s3fwrn5_fw_get_bootinfo() argument
102 memcpy(bootinfo, rsp->data + S3FWRN5_FW_HDR_SIZE, 10); in s3fwrn5_fw_get_bootinfo()
327 struct s3fwrn5_fw_cmd_get_bootinfo_rsp *bootinfo, u32 *base_addr) in s3fwrn5_fw_get_base_addr() argument
342 if (bootinfo->hw_version[0] == match[i].version[0] && in s3fwrn5_fw_get_base_addr()
343 bootinfo->hw_version[1] == match[i].version[1] && in s3fwrn5_fw_get_base_addr()
344 bootinfo->hw_version[3] == match[i].version[3]) { in s3fwrn5_fw_get_base_addr()
353 s3fwrn5_fw_is_custom(const struct s3fwrn5_fw_cmd_get_bootinfo_rsp *bootinfo) in s3fwrn5_fw_is_custom() argument
355 return !!bootinfo->hw_version[2]; in s3fwrn5_fw_is_custom()
361 struct s3fwrn5_fw_cmd_get_bootinfo_rsp bootinfo; in s3fwrn5_fw_setup() local
366 ret = s3fwrn5_fw_get_bootinfo(fw_info, &bootinfo); in s3fwrn5_fw_setup()
374 ret = s3fwrn5_fw_get_base_addr(&bootinfo, &fw_info->base_addr); in s3fwrn5_fw_setup()
380 fw_info->sector_size = bootinfo.sector_size; in s3fwrn5_fw_setup()
382 fw_info->sig_size = s3fwrn5_fw_is_custom(&bootinfo) ? in s3fwrn5_fw_setup()
384 fw_info->sig = s3fwrn5_fw_is_custom(&bootinfo) ? in s3fwrn5_fw_setup()