Lines Matching refs:PhyBlockAddr

854 static int ms_read_readpage(struct us_data *us, u32 PhyBlockAddr,  in ms_read_readpage()  argument
860 u32 bn = PhyBlockAddr * 0x20 + PageNum; in ms_read_readpage()
897 bcb->CDB[4] = (unsigned char)(PhyBlockAddr); in ms_read_readpage()
898 bcb->CDB[3] = (unsigned char)(PhyBlockAddr>>8); in ms_read_readpage()
899 bcb->CDB[2] = (unsigned char)(PhyBlockAddr>>16); in ms_read_readpage()
1136 u16 PhyBlockAddr, u8 PageNum, unsigned char *buf, u16 len) in ms_read_copyblock() argument
1159 bcb->CDB[9] = (unsigned char)(PhyBlockAddr); in ms_read_copyblock()
1160 bcb->CDB[8] = (unsigned char)(PhyBlockAddr>>8); in ms_read_copyblock()
1170 static int ms_read_eraseblock(struct us_data *us, u32 PhyBlockAddr) in ms_read_eraseblock() argument
1174 u32 bn = PhyBlockAddr; in ms_read_eraseblock()
1249 static int ms_lib_overwrite_extra(struct us_data *us, u32 PhyBlockAddr, in ms_lib_overwrite_extra() argument
1268 bcb->CDB[4] = (unsigned char)(PhyBlockAddr); in ms_lib_overwrite_extra()
1269 bcb->CDB[3] = (unsigned char)(PhyBlockAddr>>8); in ms_lib_overwrite_extra()
1270 bcb->CDB[2] = (unsigned char)(PhyBlockAddr>>16); in ms_lib_overwrite_extra()
1778 u16 PhyBlockAddr; in ms_scsi_write() local
1794 PhyBlockAddr = (u16)(bn / info->MS_Lib.PagesPerBlock); in ms_scsi_write()
1803 oldphy = ms_libconv_to_physical(info, PhyBlockAddr); /* need check us <-> info */ in ms_scsi_write()
1804 newphy = ms_libsearch_block_from_logical(us, PhyBlockAddr); in ms_scsi_write()
1806 result = ms_read_copyblock(us, oldphy, newphy, PhyBlockAddr, PageNum, buf+offset, len); in ms_scsi_write()
1815 ms_lib_force_setlogical_pair(us, PhyBlockAddr, newphy); in ms_scsi_write()
1820 PhyBlockAddr++; in ms_scsi_write()