Lines Matching refs:offset
78 static int (*CARDiReadRomFunction) (void *userdata, void *buffer, u32 offset, u32 le…
108 static void CARDi_SetRomOp(u32 command, u32 offset) in CARDi_SetRomOp() argument
110 u32 cmd1 = (u32)((offset >> 8) | (command << 24)); in CARDi_SetRomOp()
111 u32 cmd2 = (u32)((offset << 24)); in CARDi_SetRomOp()
197 static void CARDi_StartRomPageTransfer(u32 offset) in CARDi_StartRomPageTransfer() argument
207 CARDi_SetRomOp(op, offset); in CARDi_StartRomPageTransfer()
363 int CARDi_ReadRomWithCPU(void *userdata, void *buffer, u32 offset, u32 length) in CARDi_ReadRomWithCPU() argument
374 u32 pos = MATH_ROUNDDOWN(offset, CARD_ROM_PAGE_SIZE); in CARDi_ReadRomWithCPU()
383 if(((pos != offset) || (((u32)buffer & 3) != 0) || (length < n))) in CARDi_ReadRomWithCPU()
416 u32 mod = offset - pos; in CARDi_ReadRomWithCPU()
421 offset += n; in CARDi_ReadRomWithCPU()
713 static int CARDi_ReadCardWithHash(void *userdata, void *buffer, u32 offset, u32 length) in CARDi_ReadCardWithHash() argument
716 CARD_ReadRomHashImage(context, buffer, offset, length); in CARDi_ReadCardWithHash()
732 static int CARDi_ReadCardWithHashInternalAsync(void *userdata, void *buffer, u32 offset, u32 length) in CARDi_ReadCardWithHashInternalAsync() argument
745 card_hash_info->src = offset; in CARDi_ReadCardWithHashInternalAsync()