Lines Matching refs:SysInfo
935 struct ms_bootblock_sysinf *SysInfo; in ms_lib_process_bootblock() local
948 SysInfo = &(((struct ms_bootblock_page0 *)PageData)->sysinf); in ms_lib_process_bootblock()
950 if ((SysInfo->bMsClass != MS_SYSINF_MSCLASS_TYPE_1) || in ms_lib_process_bootblock()
951 (be16_to_cpu(SysInfo->wPageSize) != MS_SYSINF_PAGE_SIZE) || in ms_lib_process_bootblock()
952 ((SysInfo->bSecuritySupport & MS_SYSINF_SECURITY) == MS_SYSINF_SECURITY_SUPPORT) || in ms_lib_process_bootblock()
953 (SysInfo->bReserved1 != MS_SYSINF_RESERVED1) || in ms_lib_process_bootblock()
954 (SysInfo->bReserved2 != MS_SYSINF_RESERVED2) || in ms_lib_process_bootblock()
955 (SysInfo->bFormatType != MS_SYSINF_FORMAT_FAT) || in ms_lib_process_bootblock()
956 (SysInfo->bUsage != MS_SYSINF_USAGE_GENERAL)) in ms_lib_process_bootblock()
959 switch (info->MS_Lib.cardType = SysInfo->bCardType) { in ms_lib_process_bootblock()
971 info->MS_Lib.blockSize = be16_to_cpu(SysInfo->wBlockSize); in ms_lib_process_bootblock()
972 info->MS_Lib.NumberOfPhyBlock = be16_to_cpu(SysInfo->wBlockNumber); in ms_lib_process_bootblock()
973 info->MS_Lib.NumberOfLogBlock = be16_to_cpu(SysInfo->wTotalBlockNumber)-2; in ms_lib_process_bootblock()
976 info->MS_Model = be16_to_cpu(SysInfo->wMemorySize); in ms_lib_process_bootblock()