Home
last modified time | relevance | path

Searched refs:old_blk (Results 1 – 2 of 2) sorted by relevance

/drivers/staging/rts5208/
Dxd.c1191 static int xd_copy_page(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, in xd_copy_page() argument
1200 old_blk, new_blk); in xd_copy_page()
1207 if ((old_blk == BLK_NOT_FOUND) || (new_blk == BLK_NOT_FOUND)) { in xd_copy_page()
1212 old_page = (old_blk << xd_card->block_shift) + start_page; in xd_copy_page()
1271 old_blk); in xd_copy_page()
1746 u32 old_blk, u32 new_blk, u32 log_blk, u8 page_off) in xd_finish_write() argument
1753 old_blk, new_blk, log_blk); in xd_finish_write()
1763 if (old_blk == BLK_NOT_FOUND) { in xd_finish_write()
1774 retval = xd_copy_page(chip, old_blk, new_blk, in xd_finish_write()
1787 retval = xd_erase_block(chip, old_blk); in xd_finish_write()
[all …]
Dms.c1857 static int ms_copy_page(struct rtsx_chip *chip, u16 old_blk, u16 new_blk, argument
1866 old_blk, new_blk, log_blk);
1915 ms_read_extra_data(chip, old_blk, i, extra, MS_EXTRA_SIZE);
1932 data[2] = (u8)(old_blk >> 8);
1933 data[3] = (u8)old_blk;
1988 ms_write_extra_data(chip, old_blk, i,
2102 data[2] = (u8)(old_blk >> 8);
2103 data[3] = (u8)old_blk;
3491 static int ms_write_multiple_pages(struct rtsx_chip *chip, u16 old_blk, argument
3515 data[2] = (u8)(old_blk >> 8);
[all …]