Home
last modified time | relevance | path

Searched refs:l2p_table (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/staging/rts5208/
Dxd.c806 xd_card->zone[i].l2p_table = NULL; in xd_init_l2p_tbl()
825 vfree(zone->l2p_table); in free_zone()
826 zone->l2p_table = NULL; in free_zone()
911 zone->l2p_table[log_off] = phy_off; in xd_set_l2p_tbl()
921 if (zone->l2p_table[log_off] == 0xFFFF) { in xd_get_l2p_tbl()
960 return (u32)zone->l2p_table[log_off] + ((u32)(zone_no) << 10); in xd_get_l2p_tbl()
1319 if (!zone->l2p_table) { in xd_build_l2p_tbl()
1320 zone->l2p_table = vmalloc(2000); in xd_build_l2p_tbl()
1321 if (!zone->l2p_table) in xd_build_l2p_tbl()
1324 memset((u8 *)(zone->l2p_table), 0xff, 2000); in xd_build_l2p_tbl()
[all …]
Dms.c2139 ms_card->segment[i].l2p_table = NULL;
2168 if (segment->l2p_table)
2169 return segment->l2p_table[log_off];
2184 if (segment->l2p_table)
2185 segment->l2p_table[log_off] = phy_blk;
2240 tmp_blk = segment->l2p_table[log_off];
2248 segment->l2p_table[log_off] = phy_blk;
2266 segment->l2p_table[log_off] = phy_blk;
2303 if (!segment->l2p_table) {
2304 segment->l2p_table = vmalloc(array_size(table_size, 2));
[all …]
Drtsx_chip.h358 u16 *l2p_table; member