Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/storage/
Dene_ub6250.c755 static int ms_lib_set_logicalpair(struct us_data *us, u16 logblk, u16 phyblk) in ms_lib_set_logicalpair() argument
759 if ((logblk >= info->MS_Lib.NumberOfLogBlock) || (phyblk >= info->MS_Lib.NumberOfPhyBlock)) in ms_lib_set_logicalpair()
762 info->MS_Lib.Phy2LogMap[phyblk] = logblk; in ms_lib_set_logicalpair()
763 info->MS_Lib.Log2PhyMap[logblk] = phyblk; in ms_lib_set_logicalpair()
768 static int ms_lib_set_logicalblockmark(struct us_data *us, u16 phyblk, u16 mark) in ms_lib_set_logicalblockmark() argument
772 if (phyblk >= info->MS_Lib.NumberOfPhyBlock) in ms_lib_set_logicalblockmark()
775 info->MS_Lib.Phy2LogMap[phyblk] = mark; in ms_lib_set_logicalblockmark()
780 static int ms_lib_set_initialerrorblock(struct us_data *us, u16 phyblk) in ms_lib_set_initialerrorblock() argument
782 return ms_lib_set_logicalblockmark(us, phyblk, MS_LB_INITIAL_ERROR); in ms_lib_set_initialerrorblock()
785 static int ms_lib_set_bootblockmark(struct us_data *us, u16 phyblk) in ms_lib_set_bootblockmark() argument
[all …]