Home
last modified time | relevance | path

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

/drivers/staging/rts5208/
Dxd.c1213 static int xd_copy_page(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, in xd_copy_page() argument
1222 old_blk, new_blk); in xd_copy_page()
1229 if ((old_blk == BLK_NOT_FOUND) || (new_blk == BLK_NOT_FOUND)) { in xd_copy_page()
1234 old_page = (old_blk << xd_card->block_shift) + start_page; in xd_copy_page()
1295 old_blk); in xd_copy_page()
1772 u32 old_blk, u32 new_blk, u32 log_blk, u8 page_off) in xd_finish_write() argument
1779 dev_dbg(rtsx_dev(chip), "old_blk = 0x%x, ", old_blk); in xd_finish_write()
1791 if (old_blk == BLK_NOT_FOUND) { in xd_finish_write()
1802 retval = xd_copy_page(chip, old_blk, new_blk, in xd_finish_write()
1815 retval = xd_erase_block(chip, old_blk); in xd_finish_write()
[all …]
Dms.c1863 static int ms_copy_page(struct rtsx_chip *chip, u16 old_blk, u16 new_blk, argument
1872 old_blk, new_blk, log_blk);
1921 ms_read_extra_data(chip, old_blk, i, extra, MS_EXTRA_SIZE);
1938 data[2] = (u8)(old_blk >> 8);
1939 data[3] = (u8)old_blk;
1995 ms_write_extra_data(chip, old_blk, i,
2113 data[2] = (u8)(old_blk >> 8);
2114 data[3] = (u8)old_blk;
3517 static int ms_write_multiple_pages(struct rtsx_chip *chip, u16 old_blk, argument
3541 data[2] = (u8)(old_blk >> 8);
[all …]