Home
last modified time | relevance | path

Searched refs:new_blk (Results 1 – 3 of 3) 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()
1213 new_page = (new_blk << xd_card->block_shift) + start_page; in xd_copy_page()
1298 xd_mark_bad_block(chip, new_blk); in xd_copy_page()
1620 u32 page_addr, new_blk; in xd_read_multiple_pages() local
1715 new_blk = xd_get_unused_block(chip, zone_no); in xd_read_multiple_pages()
1716 if (new_blk == NO_NEW_BLK) { in xd_read_multiple_pages()
1721 retval = xd_copy_page(chip, phy_blk, new_blk, 0, in xd_read_multiple_pages()
1725 retval = xd_erase_block(chip, new_blk); in xd_read_multiple_pages()
[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);
1870 retval = ms_read_extra_data(chip, new_blk, 0, extra, MS_EXTRA_SIZE);
1996 ms_write_extra_data(chip, new_blk, i,
2035 data[2] = (u8)(new_blk >> 8);
2036 data[3] = (u8)new_blk;
3492 u16 new_blk, u16 log_blk, u8 start_page, argument
3559 data[2] = (u8)(new_blk >> 8);
3560 data[3] = (u8)new_blk;
3713 static int ms_finish_write(struct rtsx_chip *chip, u16 old_blk, u16 new_blk, argument
[all …]
/drivers/lightnvm/
Drrpc.c624 new_blk: in rrpc_map_page()
642 goto new_blk; in rrpc_map_page()