Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/storage/
Dene_ub6250.c158 #define MS_SYSINF_PAGE_SIZE MS_BYTES_PER_PAGE /* fixed */
202 #define MS_BYTES_PER_PAGE 512 macro
942 PageBuffer = kzalloc(MS_BYTES_PER_PAGE * 2, GFP_KERNEL); in ms_lib_process_bootblock()
974 info->MS_Lib.PagesPerBlock = info->MS_Lib.blockSize * SIZE_OF_KIRO / MS_BYTES_PER_PAGE; in ms_lib_process_bootblock()
999 if (EntryOffset + MS_BYTES_PER_PAGE + EntrySize > info->MS_Lib.blockSize * (u32)SIZE_OF_KIRO) in ms_lib_process_bootblock()
1011 PageNumber = (u8)(EntryOffset / MS_BYTES_PER_PAGE + 1); in ms_lib_process_bootblock()
1026 phyblk = be16_to_cpu(*(u16 *)(PageBuffer + (EntryOffset % MS_BYTES_PER_PAGE))); in ms_lib_process_bootblock()
1039 …switch (ms_read_readpage(us, PhyBlock, (u8)(EntryOffset / MS_BYTES_PER_PAGE + 1), (u32 *)PageBuffe… in ms_lib_process_bootblock()
1049 … idi = &((struct ms_bootblock_cis_idi *)(PageBuffer + (EntryOffset % MS_BYTES_PER_PAGE)))->idi.idi; in ms_lib_process_bootblock()
1054 if (info->MS_Lib.BytesPerSector != MS_BYTES_PER_PAGE) in ms_lib_process_bootblock()
[all …]