Searched refs:PageBuffer0 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/storage/ |
H A D | ene_ub6250.c | 1952 unsigned char *PageBuffer0 = NULL, *PageBuffer1 = NULL; in ms_card_init() local 1963 PageBuffer0 = kmalloc(MS_BYTES_PER_PAGE, GFP_KERNEL); in ms_card_init() 1965 if ((PageBuffer0 == NULL) || (PageBuffer1 == NULL)) { in ms_card_init() 1975 switch (ms_read_readpage(us, TmpBlock, 0, (u32 *)PageBuffer0, &extdat)) { in ms_card_init() 1989 (be16_to_cpu(((struct ms_bootblock_page0 *)PageBuffer0)->header.wBlockID) != MS_BOOT_BLOCK_ID) || in ms_card_init() 1990 …(be16_to_cpu(((struct ms_bootblock_page0 *)PageBuffer0)->header.wFormatVersion) != MS_BOOT_BLOCK_F… in ms_card_init() 1991 …(((struct ms_bootblock_page0 *)PageBuffer0)->header.bNumberOfDataEntry != MS_BOOT_BLOCK_DATA_ENTRI… in ms_card_init() 2000 memcpy(PageBuffer1, PageBuffer0, MS_BYTES_PER_PAGE); in ms_card_init() 2021 result = ms_lib_process_bootblock(us, btBlk2nd, PageBuffer0); in ms_card_init() 2063 kfree(PageBuffer0); in ms_card_init()
|