Lines Matching refs:PageNum
873 u8 PageNum, u32 *PageBuf, struct ms_lib_type_extdat *ExtraDat) in ms_read_readpage() argument
879 u32 bn = PhyBlockAddr * 0x20 + PageNum; in ms_read_readpage()
912 bcb->CDB[5] = (unsigned char)(PageNum); in ms_read_readpage()
1156 u16 PhyBlockAddr, u8 PageNum, unsigned char *buf, u16 len) in ms_read_copyblock() argument
1179 bcb->CDB[10] = PageNum; in ms_read_copyblock()
1266 u8 PageNum, u8 OverwriteFlag) in ms_lib_overwrite_extra() argument
1281 bcb->CDB[5] = (unsigned char)(PageNum); in ms_lib_overwrite_extra()
1350 u8 PageNum, struct ms_lib_type_extdat *ExtraDat) in ms_lib_read_extra() argument
1363 bcb->CDB[5] = (unsigned char)(PageNum); in ms_lib_read_extra()
1535 u8 PageNum, u8 blen, void *buf) in ms_lib_read_extrablock() argument
1547 bcb->CDB[5] = (unsigned char)(PageNum); in ms_lib_read_extrablock()
1676 u8 PageNum; in ms_scsi_read() local
1692 PageNum = (u8)(bn % info->MS_Lib.PagesPerBlock); in ms_scsi_read()
1695 if (blen > (info->MS_Lib.PagesPerBlock-PageNum)) in ms_scsi_read()
1696 len = info->MS_Lib.PagesPerBlock-PageNum; in ms_scsi_read()
1701 blkno = phyblk * 0x20 + PageNum; in ms_scsi_read()
1726 PageNum = 0; in ms_scsi_read()
1777 u8 PageNum; in ms_scsi_write() local
1793 PageNum = (u8)(bn % info->MS_Lib.PagesPerBlock); in ms_scsi_write()
1796 if (blen > (info->MS_Lib.PagesPerBlock-PageNum)) in ms_scsi_write()
1797 len = info->MS_Lib.PagesPerBlock-PageNum; in ms_scsi_write()
1804 result = ms_read_copyblock(us, oldphy, newphy, PhyBlockAddr, PageNum, buf+offset, len); in ms_scsi_write()
1819 PageNum = 0; in ms_scsi_write()