Lines Matching refs:PageNum
871 u8 PageNum, u32 *PageBuf, struct ms_lib_type_extdat *ExtraDat) in ms_read_readpage() argument
877 u32 bn = PhyBlockAddr * 0x20 + PageNum; in ms_read_readpage()
910 bcb->CDB[5] = (unsigned char)(PageNum); in ms_read_readpage()
1154 u16 PhyBlockAddr, u8 PageNum, unsigned char *buf, u16 len) in ms_read_copyblock() argument
1177 bcb->CDB[10] = PageNum; in ms_read_copyblock()
1264 u8 PageNum, u8 OverwriteFlag) in ms_lib_overwrite_extra() argument
1279 bcb->CDB[5] = (unsigned char)(PageNum); in ms_lib_overwrite_extra()
1348 u8 PageNum, struct ms_lib_type_extdat *ExtraDat) in ms_lib_read_extra() argument
1361 bcb->CDB[5] = (unsigned char)(PageNum); in ms_lib_read_extra()
1533 u8 PageNum, u8 blen, void *buf) in ms_lib_read_extrablock() argument
1545 bcb->CDB[5] = (unsigned char)(PageNum); in ms_lib_read_extrablock()
1674 u8 PageNum; in ms_scsi_read() local
1690 PageNum = (u8)(bn % info->MS_Lib.PagesPerBlock); in ms_scsi_read()
1693 if (blen > (info->MS_Lib.PagesPerBlock-PageNum)) in ms_scsi_read()
1694 len = info->MS_Lib.PagesPerBlock-PageNum; in ms_scsi_read()
1699 blkno = phyblk * 0x20 + PageNum; in ms_scsi_read()
1724 PageNum = 0; in ms_scsi_read()
1775 u8 PageNum; in ms_scsi_write() local
1791 PageNum = (u8)(bn % info->MS_Lib.PagesPerBlock); in ms_scsi_write()
1794 if (blen > (info->MS_Lib.PagesPerBlock-PageNum)) in ms_scsi_write()
1795 len = info->MS_Lib.PagesPerBlock-PageNum; in ms_scsi_write()
1802 result = ms_read_copyblock(us, oldphy, newphy, PhyBlockAddr, PageNum, buf+offset, len); in ms_scsi_write()
1817 PageNum = 0; in ms_scsi_write()