log_blk 1575 drivers/staging/rts5208/ms.c static void ms_set_page_status(u16 log_blk, u8 type, u8 *extra, int extra_len) log_blk 1590 drivers/staging/rts5208/ms.c extra[2] = (u8)(log_blk >> 8); log_blk 1591 drivers/staging/rts5208/ms.c extra[3] = (u8)log_blk; log_blk 1594 drivers/staging/rts5208/ms.c static int ms_init_page(struct rtsx_chip *chip, u16 phy_blk, u16 log_blk, log_blk 1604 drivers/staging/rts5208/ms.c extra[2] = (u8)(log_blk >> 8); log_blk 1605 drivers/staging/rts5208/ms.c extra[3] = (u8)log_blk; log_blk 1623 drivers/staging/rts5208/ms.c u16 log_blk, u8 start_page, u8 end_page) log_blk 1631 drivers/staging/rts5208/ms.c old_blk, new_blk, log_blk); log_blk 1728 drivers/staging/rts5208/ms.c ms_set_page_status(log_blk, setPS_NG, log_blk 1741 drivers/staging/rts5208/ms.c ms_set_page_status(log_blk, setPS_Error, log_blk 1792 drivers/staging/rts5208/ms.c data[6 + 2] = (u8)(log_blk >> 8); log_blk 1793 drivers/staging/rts5208/ms.c data[6 + 3] = (u8)log_blk; log_blk 2280 drivers/staging/rts5208/ms.c u16 start, end, phy_blk, log_blk, tmp_blk, idx; log_blk 2369 drivers/staging/rts5208/ms.c log_blk = ((u16)extra[2] << 8) | extra[3]; log_blk 2371 drivers/staging/rts5208/ms.c if (log_blk == 0xFFFF) { log_blk 2381 drivers/staging/rts5208/ms.c if ((log_blk < ms_start_idx[seg_no]) || log_blk 2382 drivers/staging/rts5208/ms.c (log_blk >= ms_start_idx[seg_no + 1])) { log_blk 2392 drivers/staging/rts5208/ms.c idx = log_blk - ms_start_idx[seg_no]; log_blk 2408 drivers/staging/rts5208/ms.c log_blk - ms_start_idx[seg_no], us1, us2); log_blk 2429 drivers/staging/rts5208/ms.c for (log_blk = ms_start_idx[seg_no]; log_blk 2430 drivers/staging/rts5208/ms.c log_blk < ms_start_idx[seg_no + 1]; log_blk++) { log_blk 2431 drivers/staging/rts5208/ms.c idx = log_blk - ms_start_idx[seg_no]; log_blk 2438 drivers/staging/rts5208/ms.c retval = ms_init_page(chip, phy_blk, log_blk, 0, 1); log_blk 2459 drivers/staging/rts5208/ms.c for (log_blk = 0; log_blk < 494; log_blk++) { log_blk 2460 drivers/staging/rts5208/ms.c tmp_blk = segment->l2p_table[log_blk]; log_blk 2469 drivers/staging/rts5208/ms.c log_blk, 0, log_blk 2474 drivers/staging/rts5208/ms.c segment->l2p_table[log_blk] = phy_blk; log_blk 2955 drivers/staging/rts5208/ms.c u16 log_blk, u8 start_page, u8 end_page, log_blk 3029 drivers/staging/rts5208/ms.c (log_blk, setPS_NG, log_blk 3124 drivers/staging/rts5208/ms.c u16 new_blk, u16 log_blk, u8 start_page, log_blk 3191 drivers/staging/rts5208/ms.c data[8] = (u8)(log_blk >> 8); log_blk 3192 drivers/staging/rts5208/ms.c data[9] = (u8)log_blk; log_blk 3316 drivers/staging/rts5208/ms.c u16 log_blk, u8 page_off) log_blk 3321 drivers/staging/rts5208/ms.c retval = ms_copy_page(chip, old_blk, new_blk, log_blk, log_blk 3337 drivers/staging/rts5208/ms.c ms_set_l2p_tbl(chip, seg_no, log_blk - ms_start_idx[seg_no], new_blk); log_blk 3343 drivers/staging/rts5208/ms.c u16 log_blk, u8 start_page) log_blk 3348 drivers/staging/rts5208/ms.c retval = ms_copy_page(chip, old_blk, new_blk, log_blk, log_blk 3399 drivers/staging/rts5208/ms.c u16 old_blk = 0, new_blk = 0, log_blk, total_sec_cnt = sector_cnt; log_blk 3418 drivers/staging/rts5208/ms.c log_blk = (u16)(start_sector >> ms_card->block_shift); log_blk 3422 drivers/staging/rts5208/ms.c if (log_blk < ms_start_idx[seg_no + 1]) log_blk 3438 drivers/staging/rts5208/ms.c (delay_write->logblock == log_blk) && log_blk 3444 drivers/staging/rts5208/ms.c log_blk, log_blk 3454 drivers/staging/rts5208/ms.c (delay_write->logblock == log_blk) && log_blk 3469 drivers/staging/rts5208/ms.c log_blk - ms_start_idx[seg_no]); log_blk 3478 drivers/staging/rts5208/ms.c log_blk, start_page); log_blk 3509 drivers/staging/rts5208/ms.c log_blk - ms_start_idx[seg_no]); log_blk 3533 drivers/staging/rts5208/ms.c old_blk, log_blk, log_blk 3538 drivers/staging/rts5208/ms.c log_blk, start_page, log_blk 3561 drivers/staging/rts5208/ms.c log_blk - ms_start_idx[seg_no], log_blk 3573 drivers/staging/rts5208/ms.c log_blk++; log_blk 3577 drivers/staging/rts5208/ms.c if (log_blk < ms_start_idx[seg_no + 1]) log_blk 3592 drivers/staging/rts5208/ms.c log_blk - ms_start_idx[seg_no]); log_blk 3618 drivers/staging/rts5208/ms.c delay_write->logblock = log_blk; log_blk 3622 drivers/staging/rts5208/ms.c log_blk, end_page); log_blk 1499 drivers/staging/rts5208/xd.c u32 log_blk, u8 start_page, u8 end_page, log_blk 1513 drivers/staging/rts5208/xd.c zone_no = (int)(log_blk / 1000); log_blk 1514 drivers/staging/rts5208/xd.c log_off = (u16)(log_blk % 1000); log_blk 1625 drivers/staging/rts5208/xd.c u32 old_blk, u32 new_blk, u32 log_blk, u8 page_off) log_blk 1634 drivers/staging/rts5208/xd.c dev_dbg(rtsx_dev(chip), "log_blk = 0x%x\n", log_blk); log_blk 1639 drivers/staging/rts5208/xd.c zone_no = (int)(log_blk / 1000); log_blk 1640 drivers/staging/rts5208/xd.c log_off = (u16)(log_blk % 1000); log_blk 1684 drivers/staging/rts5208/xd.c u32 old_blk, u32 new_blk, u32 log_blk, u8 page_off) log_blk 1689 drivers/staging/rts5208/xd.c __func__, old_blk, new_blk, log_blk, (int)page_off); log_blk 1701 drivers/staging/rts5208/xd.c u32 new_blk, u32 log_blk, u8 start_page, log_blk 1712 drivers/staging/rts5208/xd.c __func__, old_blk, new_blk, log_blk); log_blk 1718 drivers/staging/rts5208/xd.c zone_no = (int)(log_blk / 1000); log_blk 1719 drivers/staging/rts5208/xd.c log_off = (u16)(log_blk % 1000); log_blk 1838 drivers/staging/rts5208/xd.c u32 log_blk, old_blk = 0, new_blk = 0; log_blk 1862 drivers/staging/rts5208/xd.c log_blk = start_sector >> xd_card->block_shift; log_blk 1864 drivers/staging/rts5208/xd.c zone_no = (int)(log_blk / 1000); log_blk 1865 drivers/staging/rts5208/xd.c log_off = (u16)(log_blk % 1000); log_blk 1879 drivers/staging/rts5208/xd.c (delay_write->logblock == log_blk) && log_blk 1897 drivers/staging/rts5208/xd.c (delay_write->logblock == log_blk) && log_blk 1920 drivers/staging/rts5208/xd.c log_blk, start_page); log_blk 1974 drivers/staging/rts5208/xd.c retval = xd_read_multiple_pages(chip, old_blk, log_blk, log_blk 1984 drivers/staging/rts5208/xd.c new_blk, log_blk, log_blk 2001 drivers/staging/rts5208/xd.c log_blk++; log_blk 2002 drivers/staging/rts5208/xd.c zone_no = (int)(log_blk / 1000); log_blk 2003 drivers/staging/rts5208/xd.c log_off = (u16)(log_blk % 1000); log_blk 2045 drivers/staging/rts5208/xd.c delay_write->logblock = log_blk; log_blk 2055 drivers/staging/rts5208/xd.c log_blk, end_page);