Lines Matching refs:extdat

1218 	struct ms_lib_type_extdat extdat;  in ms_lib_check_disableblock()  local
1227 ms_read_readpage(us, PhyBlock, 1, (u32 *)PageBuf, &extdat); in ms_lib_check_disableblock()
1385 struct ms_lib_type_extdat extdat; /* need check */ in ms_libsearch_block_from_physical() local
1399 switch (ms_lib_read_extra(us, blk, 0, &extdat)) { in ms_libsearch_block_from_physical()
1413 if ((extdat.ovrflg & MS_REG_OVR_BKST) != MS_REG_OVR_BKST_OK) { in ms_libsearch_block_from_physical()
1562 struct ms_lib_type_extdat extdat; in ms_lib_scan_logicalblocknumber() local
1585 extdat.ovrflg = bbuf[index]; in ms_lib_scan_logicalblocknumber()
1586 extdat.mngflg = bbuf[index+1]; in ms_lib_scan_logicalblocknumber()
1587 extdat.logadr = memstick_logaddr(bbuf[index+2], in ms_lib_scan_logicalblocknumber()
1590 if ((extdat.ovrflg & MS_REG_OVR_BKST) != MS_REG_OVR_BKST_OK) { in ms_lib_scan_logicalblocknumber()
1595 if ((extdat.mngflg & MS_REG_MNG_ATFLG) == MS_REG_MNG_ATFLG_ATTBL) { in ms_lib_scan_logicalblocknumber()
1600 if (extdat.logadr != MS_LB_NOT_USED) { in ms_lib_scan_logicalblocknumber()
1601 if ((extdat.logadr < LogStart) || (LogEnde <= extdat.logadr)) { in ms_lib_scan_logicalblocknumber()
1606 newblk = ms_libconv_to_physical(info, extdat.logadr); in ms_lib_scan_logicalblocknumber()
1609 if (extdat.logadr == 0) { in ms_lib_scan_logicalblocknumber()
1610 ms_lib_set_logicalpair(us, extdat.logadr, PhyBlock); in ms_lib_scan_logicalblocknumber()
1612 ms_lib_set_logicalpair(us, extdat.logadr, newblk); in ms_lib_scan_logicalblocknumber()
1617 ms_lib_read_extra(us, newblk, 0, &extdat); in ms_lib_scan_logicalblocknumber()
1618 if ((extdat.ovrflg & MS_REG_OVR_UDST) == MS_REG_OVR_UDST_UPDATING) { in ms_lib_scan_logicalblocknumber()
1626 ms_lib_set_logicalpair(us, extdat.logadr, PhyBlock); in ms_lib_scan_logicalblocknumber()
1953 struct ms_lib_type_extdat extdat; in ms_card_init() local
1975 switch (ms_read_readpage(us, TmpBlock, 0, (u32 *)PageBuffer0, &extdat)) { in ms_card_init()
1985 if ((extdat.ovrflg & MS_REG_OVR_BKST) == MS_REG_OVR_BKST_NG) in ms_card_init()
1988 if (((extdat.mngflg & MS_REG_MNG_SYSFLG) == MS_REG_MNG_SYSFLG_USER) || in ms_card_init()
2001 if (extdat.status1 & (MS_REG_ST1_DTER | MS_REG_ST1_EXER | MS_REG_ST1_FGER)) in ms_card_init()
2011 if ((extdat.status0 & MS_REG_ST0_WP) == MS_REG_ST0_WP_ON) in ms_card_init()