Searched refs:log_blk (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/staging/rts5208/
H A Dxd.c1625 u32 log_blk, u8 start_page, u8 end_page, xd_read_multiple_pages()
1641 zone_no = (int)(log_blk / 1000); xd_read_multiple_pages()
1642 log_off = (u16)(log_blk % 1000); xd_read_multiple_pages()
1762 u32 old_blk, u32 new_blk, u32 log_blk, u8 page_off) xd_finish_write()
1768 dev_dbg(rtsx_dev(chip), "xd_finish_write, old_blk = 0x%x, new_blk = 0x%x, log_blk = 0x%x\n", xd_finish_write()
1769 old_blk, new_blk, log_blk); xd_finish_write() local
1776 zone_no = (int)(log_blk / 1000); xd_finish_write()
1777 log_off = (u16)(log_blk % 1000); xd_finish_write()
1823 u32 old_blk, u32 new_blk, u32 log_blk, u8 page_off) xd_prepare_write()
1827 dev_dbg(rtsx_dev(chip), "%s, old_blk = 0x%x, new_blk = 0x%x, log_blk = 0x%x, page_off = %d\n", xd_prepare_write()
1828 __func__, old_blk, new_blk, log_blk, (int)page_off); xd_prepare_write() local
1843 u32 new_blk, u32 log_blk, u8 start_page, xd_write_multiple_pages()
1853 dev_dbg(rtsx_dev(chip), "%s, old_blk = 0x%x, new_blk = 0x%x, log_blk = 0x%x\n", xd_write_multiple_pages()
1854 __func__, old_blk, new_blk, log_blk); xd_write_multiple_pages() local
1862 zone_no = (int)(log_blk / 1000); xd_write_multiple_pages()
1863 log_off = (u16)(log_blk % 1000); xd_write_multiple_pages()
1991 u32 log_blk, old_blk = 0, new_blk = 0; xd_rw() local
2019 log_blk = start_sector >> xd_card->block_shift; xd_rw()
2021 zone_no = (int)(log_blk / 1000); xd_rw()
2022 log_off = (u16)(log_blk % 1000); xd_rw()
2037 (delay_write->logblock == log_blk) && xd_rw()
2055 (delay_write->logblock == log_blk) && xd_rw()
2080 log_blk, start_page); xd_rw()
2140 retval = xd_read_multiple_pages(chip, old_blk, log_blk, xd_rw()
2151 new_blk, log_blk, xd_rw()
2169 log_blk++; xd_rw()
2170 zone_no = (int)(log_blk / 1000); xd_rw()
2171 log_off = (u16)(log_blk % 1000); xd_rw()
2216 delay_write->logblock = log_blk; xd_rw()
2227 log_blk, end_page); xd_rw()
1624 xd_read_multiple_pages(struct rtsx_chip *chip, u32 phy_blk, u32 log_blk, u8 start_page, u8 end_page, u8 *buf, unsigned int *index, unsigned int *offset) xd_read_multiple_pages() argument
1761 xd_finish_write(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, u32 log_blk, u8 page_off) xd_finish_write() argument
1822 xd_prepare_write(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, u32 log_blk, u8 page_off) xd_prepare_write() argument
1842 xd_write_multiple_pages(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, u32 log_blk, u8 start_page, u8 end_page, u8 *buf, unsigned int *index, unsigned int *offset) xd_write_multiple_pages() argument
H A Dms.c1812 static void ms_set_page_status(u16 log_blk, u8 type, u8 *extra, int extra_len) ms_set_page_status() argument
1827 extra[2] = (u8)(log_blk >> 8); ms_set_page_status()
1828 extra[3] = (u8)log_blk; ms_set_page_status()
1831 static int ms_init_page(struct rtsx_chip *chip, u16 phy_blk, u16 log_blk, ms_init_page() argument
1841 extra[2] = (u8)(log_blk >> 8); ms_init_page()
1842 extra[3] = (u8)log_blk; ms_init_page()
1863 u16 log_blk, u8 start_page, u8 end_page) ms_copy_page()
1871 old_blk, new_blk, log_blk); ms_copy_page() local
1988 ms_set_page_status(log_blk, setPS_NG, ms_copy_page()
1999 ms_set_page_status(log_blk, setPS_Error, ms_copy_page()
2051 data[6 + 2] = (u8)(log_blk >> 8); ms_copy_page()
2052 data[6 + 3] = (u8)log_blk; ms_copy_page()
2589 u16 start, end, phy_blk, log_blk, tmp_blk, idx; ms_build_l2p_tbl() local
2683 log_blk = ((u16)extra[2] << 8) | extra[3]; ms_build_l2p_tbl()
2685 if (log_blk == 0xFFFF) { ms_build_l2p_tbl()
2695 if ((log_blk < ms_start_idx[seg_no]) || ms_build_l2p_tbl()
2696 (log_blk >= ms_start_idx[seg_no+1])) { ms_build_l2p_tbl()
2706 idx = log_blk - ms_start_idx[seg_no]; ms_build_l2p_tbl()
2722 log_blk-ms_start_idx[seg_no], us1, us2); ms_build_l2p_tbl()
2743 for (log_blk = ms_start_idx[seg_no]; ms_build_l2p_tbl()
2744 log_blk < ms_start_idx[seg_no + 1]; log_blk++) { ms_build_l2p_tbl()
2745 idx = log_blk - ms_start_idx[seg_no]; ms_build_l2p_tbl()
2752 retval = ms_init_page(chip, phy_blk, log_blk, 0, 1); ms_build_l2p_tbl()
2775 for (log_blk = 0; log_blk < 494; log_blk++) { ms_build_l2p_tbl()
2776 tmp_blk = segment->l2p_table[log_blk]; ms_build_l2p_tbl()
2785 log_blk, 0, ms_card->page_off + 1); ms_build_l2p_tbl()
2791 segment->l2p_table[log_blk] = phy_blk; ms_build_l2p_tbl()
3323 u16 log_blk, u8 start_page, u8 end_page, ms_read_multiple_pages()
3407 ms_set_page_status(log_blk, setPS_NG, extra, MS_EXTRA_SIZE); ms_read_multiple_pages()
3507 u16 new_blk, u16 log_blk, u8 start_page, ms_write_multiple_pages()
3584 data[8] = (u8)(log_blk >> 8); ms_write_multiple_pages()
3585 data[9] = (u8)log_blk; ms_write_multiple_pages()
3730 u16 log_blk, u8 page_off) ms_finish_write()
3735 retval = ms_copy_page(chip, old_blk, new_blk, log_blk, ms_finish_write()
3753 ms_set_l2p_tbl(chip, seg_no, log_blk - ms_start_idx[seg_no], new_blk); ms_finish_write()
3759 u16 log_blk, u8 start_page) ms_prepare_write()
3764 retval = ms_copy_page(chip, old_blk, new_blk, log_blk, ms_prepare_write()
3821 u16 old_blk = 0, new_blk = 0, log_blk, total_sec_cnt = sector_cnt; ms_rw_multi_sector() local
3841 log_blk = (u16)(start_sector >> ms_card->block_shift); ms_rw_multi_sector()
3845 if (log_blk < ms_start_idx[seg_no+1]) ms_rw_multi_sector()
3862 (delay_write->logblock == log_blk) && ms_rw_multi_sector()
3867 delay_write->new_phyblock, log_blk, ms_rw_multi_sector()
3878 (delay_write->logblock == log_blk) && ms_rw_multi_sector()
3893 log_blk - ms_start_idx[seg_no]); ms_rw_multi_sector()
3903 log_blk, start_page); ms_rw_multi_sector()
3936 log_blk - ms_start_idx[seg_no]); ms_rw_multi_sector()
3961 old_blk, log_blk, start_page, end_page, ms_rw_multi_sector()
3965 new_blk, log_blk, start_page, end_page, ms_rw_multi_sector()
3989 log_blk - ms_start_idx[seg_no], ms_rw_multi_sector()
4001 log_blk++; ms_rw_multi_sector()
4005 if (log_blk < ms_start_idx[seg_no+1]) ms_rw_multi_sector()
4021 log_blk - ms_start_idx[seg_no]); ms_rw_multi_sector()
4049 delay_write->logblock = log_blk; ms_rw_multi_sector()
4053 log_blk, end_page); ms_rw_multi_sector()
1862 ms_copy_page(struct rtsx_chip *chip, u16 old_blk, u16 new_blk, u16 log_blk, u8 start_page, u8 end_page) ms_copy_page() argument
3322 ms_read_multiple_pages(struct rtsx_chip *chip, u16 phy_blk, u16 log_blk, u8 start_page, u8 end_page, u8 *buf, unsigned int *index, unsigned int *offset) ms_read_multiple_pages() argument
3506 ms_write_multiple_pages(struct rtsx_chip *chip, u16 old_blk, u16 new_blk, u16 log_blk, u8 start_page, u8 end_page, u8 *buf, unsigned int *index, unsigned int *offset) ms_write_multiple_pages() argument
3729 ms_finish_write(struct rtsx_chip *chip, u16 old_blk, u16 new_blk, u16 log_blk, u8 page_off) ms_finish_write() argument
3758 ms_prepare_write(struct rtsx_chip *chip, u16 old_blk, u16 new_blk, u16 log_blk, u8 start_page) ms_prepare_write() argument

Completed in 137 milliseconds