| /TwlSDK-5.1.0/build/libraries/dsp/common/src/ |
| D | dsp_byteaccess.c | 35 u16 DSP_Load16(DSPAddrInARM offset) in DSP_Load16() argument 38 u16 result = DSP_LoadWord(DSP_WORD_TO_DSP(offset)); in DSP_Load16() 39 if ((offset & 1) != 0) in DSP_Load16() 41 result = (u16)((DSP_LoadWord(DSP_WORD_TO_DSP(offset + 2)) << (16 - 8)) | (result >> 8)); in DSP_Load16() 56 u32 DSP_Load32(DSPAddrInARM offset) in DSP_Load32() argument 58 u32 result = (u32)((DSP_LoadWord(DSP_WORD_TO_DSP(offset + 0)) << 0) | in DSP_Load32() 59 (DSP_LoadWord(DSP_WORD_TO_DSP(offset + 2)) << 16)); in DSP_Load32() 60 if ((offset & 1) != 0) in DSP_Load32() 62 result = (u32)((DSP_LoadWord(DSP_WORD_TO_DSP(offset + 4)) << (32 - 8)) | (result >> 8)); in DSP_Load32() 78 void DSP_LoadData(DSPAddrInARM offset, void *buffer, u32 length) in DSP_LoadData() argument [all …]
|
| /TwlSDK-5.1.0/build/libraries/gx/ARM9/src/ |
| D | gx_load2d.c | 46 void GX_LoadBGPltt(const void *pSrc, u32 offset, u32 szByte) in GX_LoadBGPltt() argument 49 SDK_ASSERT(offset + szByte <= HW_BG_PLTT_SIZE); in GX_LoadBGPltt() 50 SDK_ALIGN2_ASSERT(offset); in GX_LoadBGPltt() 53 GXi_DmaCopy16(GXi_DmaId, pSrc, (void *)(HW_BG_PLTT + offset), szByte); in GX_LoadBGPltt() 70 void GXS_LoadBGPltt(const void *pSrc, u32 offset, u32 szByte) in GXS_LoadBGPltt() argument 73 SDK_ASSERT(offset + szByte <= HW_DB_BG_PLTT_SIZE); in GXS_LoadBGPltt() 74 SDK_ALIGN2_ASSERT(offset); in GXS_LoadBGPltt() 77 GXi_DmaCopy16(GXi_DmaId, pSrc, (void *)(HW_DB_BG_PLTT + offset), szByte); in GXS_LoadBGPltt() 94 void GX_LoadOBJPltt(const void *pSrc, u32 offset, u32 szByte) in GX_LoadOBJPltt() argument 97 SDK_ASSERT(offset + szByte <= HW_OBJ_PLTT_SIZE); in GX_LoadOBJPltt() [all …]
|
| D | gx_bgcnt.c | 125 int offset = getBGScreenOffset_(); in G2_GetBG2ScrPtr() local 136 return (void *)(HW_BG_VRAM + offset + 0x800 * blockID); in G2_GetBG2ScrPtr() 148 return (void *)(HW_BG_VRAM + offset + 0x800 * blockID); in G2_GetBG2ScrPtr() 233 int offset = getBGScreenOffset_(); in G2_GetBG3ScrPtr() local 242 return (void *)(HW_BG_VRAM + offset + 0x800 * blockID); in G2_GetBG3ScrPtr() 256 return (void *)(HW_BG_VRAM + offset + 0x800 * blockID); in G2_GetBG3ScrPtr() 416 int offset = getBGCharOffset_(); in G2_GetBG2CharPtr() local 419 return (void *)(HW_BG_VRAM + offset + 0x4000 * blockID); in G2_GetBG2CharPtr() 479 int offset = getBGCharOffset_(); in G2_GetBG3CharPtr() local 481 return (void *)(HW_BG_VRAM + offset + 0x4000 * blockID); in G2_GetBG3CharPtr()
|
| /TwlSDK-5.1.0/include/nitro/gx/ |
| D | gx_load.h | 39 void GX_LoadBGPltt(const void *pSrc, u32 offset, u32 szByte); 40 void GX_LoadOBJPltt(const void *pSrc, u32 offset, u32 szByte); 41 void GX_LoadOAM(const void *pSrc, u32 offset, u32 szByte); 42 void GX_LoadOBJ(const void *pSrc, u32 offset, u32 szByte); 44 void GX_LoadBG0Scr(const void *pSrc, u32 offset, u32 szByte); 45 void GX_LoadBG1Scr(const void *pSrc, u32 offset, u32 szByte); 46 void GX_LoadBG2Scr(const void *pSrc, u32 offset, u32 szByte); 47 void GX_LoadBG3Scr(const void *pSrc, u32 offset, u32 szByte); 49 void GX_LoadBG0Char(const void *pSrc, u32 offset, u32 szByte); 50 void GX_LoadBG1Char(const void *pSrc, u32 offset, u32 szByte); [all …]
|
| /TwlSDK-5.1.0/include/twl/dsp/common/ |
| D | byteaccess.h | 78 SDK_INLINE u16 DSP_LoadWord(DSPAddr offset) in DSP_LoadWord() argument 82 DSP_RecvFifo(DSP_FIFO_MEMSEL_DATA, &value, offset, DSP_WORD_TO_DSP(sizeof(u16))); in DSP_LoadWord() 98 SDK_INLINE void DSP_StoreWord(DSPAddr offset, u16 value) in DSP_StoreWord() argument 101 DSP_SendFifo(DSP_FIFO_MEMSEL_DATA, offset, &value, DSP_WORD_TO_DSP(sizeof(u16))); in DSP_StoreWord() 115 SDK_INLINE u8 DSP_Load8(DSPAddrInARM offset) in DSP_Load8() argument 117 return (u8)(DSP_LoadWord(DSP_WORD_TO_DSP(offset)) >> ((offset & 1) << 3)); in DSP_Load8() 129 u16 DSP_Load16(DSPAddrInARM offset); 140 u32 DSP_Load32(DSPAddrInARM offset); 153 void DSP_LoadData(DSPAddrInARM offset, void *buffer, u32 length); 165 void DSP_Store8(DSPAddrInARM offset, u8 value); [all …]
|
| /TwlSDK-5.1.0/build/tools/bin2obj/ |
| D | output.c | 19 static BOOL output_region(FILE * fp, u32 offset, const u8 *ptr, u32 size); 35 u32 offset; in output_object() local 60 offset = 0; in output_object() 63 if (!output_region(fp, offset, ptr, size)) in output_object() 69 offset = obj->header.e_shoff; in output_object() 72 if (!output_region(fp, offset, ptr, size)) in output_object() 79 offset = obj->section[n].sh_offset; in output_object() 82 if (!output_region(fp, offset, ptr, size)) in output_object() 89 offset = obj->section[n].sh_offset; in output_object() 92 if (!output_region(fp, offset, ptr, size)) in output_object() [all …]
|
| /TwlSDK-5.1.0/build/libraries/wfs/common/src/ |
| D | wfs_thread.c | 70 static int WFSi_ReadRomCallback(void *userdata, void *buffer, u32 offset, u32 length) in WFSi_ReadRomCallback() argument 75 if(offset < sizeof(CARDRomRegion)) in WFSi_ReadRomCallback() 78 if (length > sizeof(CARDRomHeader) - offset) in WFSi_ReadRomCallback() 80 length = sizeof(CARDRomHeader) - offset; in WFSi_ReadRomCallback() 82 MI_CpuCopy8(header + offset, buffer, length); in WFSi_ReadRomCallback() 87 ((offset >= CARD_GetOwnRomHeader()->rom_size) || in WFSi_ReadRomCallback() 88 (offset + length > CARD_GetOwnRomHeader()->rom_size))) in WFSi_ReadRomCallback() 95 if (offset < 0x8000) in WFSi_ReadRomCallback() 98 if (memlen > 0x8000 - offset) in WFSi_ReadRomCallback() 100 memlen = 0x8000 - offset; in WFSi_ReadRomCallback() [all …]
|
| D | wfs_format.c | 55 archive->region[WFS_TABLE_REGION_FAT].offset = MI_LoadLE32(&header->fat.offset); in WFS_LoadTable() 57 archive->region[WFS_TABLE_REGION_FNT].offset = MI_LoadLE32(&header->fnt.offset); in WFS_LoadTable() 65 archive->region[WFS_TABLE_REGION_OV9].offset = MI_LoadLE32(&header->main_ovt.offset) + diff; in WFS_LoadTable() 67 archive->region[WFS_TABLE_REGION_OV7].offset = MI_LoadLE32(&header->sub_ovt.offset) + diff; in WFS_LoadTable() 69 origin_b_fat = header->fat.offset + diff; in WFS_LoadTable() 80 u32 offset = 0; in WFS_LoadTable() local 81 offset += sizeof(u32); in WFS_LoadTable() 84 mem_region[i].offset = offset; in WFS_LoadTable() 91 offset += sizeof(u32) + mem_region[i].length; in WFS_LoadTable() 93 archive->length = offset; in WFS_LoadTable() [all …]
|
| D | wfs_archive.c | 34 static FSResult WFSi_ArchiveReadCallback(FSArchive *archive, void *buffer, u32 offset, u32 length) in WFSi_ArchiveReadCallback() argument 41 MI_CpuCopy8(&table->buffer[offset], buffer, length); in WFSi_ArchiveReadCallback() 89 u32 offset = file->prop.file.pos; in WFSi_RomArchiveProc() local 102 WFS_RequestClientRead(context, buffer, offset, length, in WFSi_RomArchiveProc() 188 table->region[WFS_TABLE_REGION_FAT].offset, in WFS_ReplaceRomArchive() 190 table->region[WFS_TABLE_REGION_FNT].offset, in WFS_ReplaceRomArchive() 195 table->region[WFS_TABLE_REGION_OV9].offset, in WFS_ReplaceRomArchive() 199 table->region[WFS_TABLE_REGION_OV7].offset, in WFS_ReplaceRomArchive()
|
| D | wfs_server.c | 101 const u32 offset = MI_LEToH32(msg->arg1); in WFSi_WBTCallback() local 106 offset, length, aid, packet)); in WFSi_WBTCallback() 123 if ((work->list[index].offset == offset) && in WFSi_WBTCallback() 144 file->offset = offset; in WFSi_WBTCallback() 155 segment->offset = file->offset; in WFSi_WBTCallback() 217 segment->offset = file->offset + length * next; in WFSi_WBTCallback() 222 segment->offset = file->offset + length * current; in WFSi_WBTCallback()
|
| /TwlSDK-5.1.0/include/nitro/mi/ |
| D | device.h | 36 typedef int (*MIDeviceReadFunction)(void *userdata, void *buffer, u32 offset, u32 length); 37 typedef int (*MIDeviceWriteFunction)(void *userdata, const void *buffer, u32 offset, u32 length); 87 int MI_ReadDevice(MIDevice *device, void *buffer, u32 offset, u32 length) in MI_ReadDevice() argument 89 return device->Read(device->userdata, buffer, offset, length); in MI_ReadDevice() 105 int MI_WriteDevice(MIDevice *device, const void *buffer, u32 offset, u32 length) in MI_WriteDevice() argument 107 return device->Write(device->userdata, buffer, offset, length); in MI_WriteDevice()
|
| /TwlSDK-5.1.0/build/libraries/card/common/src/ |
| D | card_hash.c | 149 SDK_INLINE u32 CARDi_GetHashSectorIndex(const CARDRomHashContext *context, u32 offset) in CARDi_GetHashSectorIndex() argument 151 offset -= context->area_ntr.offset; in CARDi_GetHashSectorIndex() 152 if (offset >= context->area_ntr.length) in CARDi_GetHashSectorIndex() 154 offset += (context->area_ntr.offset - context->area_ltd.offset); in CARDi_GetHashSectorIndex() 155 if (offset < context->area_ltd.length) in CARDi_GetHashSectorIndex() 157 offset += context->area_ntr.length; in CARDi_GetHashSectorIndex() 164 return offset / context->bytes_per_sector; in CARDi_GetHashSectorIndex() 180 u32 offset = 0; in CARDi_StartLoading() local 190 u32 pos = block->offset; in CARDi_StartLoading() 195 offset = pos - mod; in CARDi_StartLoading() [all …]
|
| D | card_rom.c | 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() [all …]
|
| /TwlSDK-5.1.0/build/demos/ctrdg/backup-1/src/ |
| D | main.c | 147 u32 offset = 0; in TestBackupAccess() local 160 offset = CTRDG_AGB_SRAM_ADR; in TestBackupAccess() 195 CTRDG_WriteAgbSramAsync(offset, src_buf, size, TaskBusyCallback); in TestBackupAccess() 208 CTRDG_WriteAgbSram(offset, src_buf, size); in TestBackupAccess() 256 CTRDG_ReadAgbFlashAsync(sec_num, offset, dst_buf, size, ReadCallback); in TestBackupAccess() 260 CTRDG_ReadAgbSramAsync(offset, (void *)dst_buf, size, ReadCallback); in TestBackupAccess() 267 CTRDG_ReadAgbFlash(sec_num, offset, dst_buf, size); in TestBackupAccess() 271 CTRDG_ReadAgbSram(offset, (void *)dst_buf, size); in TestBackupAccess() 290 CTRDG_WriteAndVerifyAgbSramAsync(offset, src_buf2, size, TaskBusyCallback); in TestBackupAccess() 301 result = CTRDG_WriteAndVerifyAgbSram(offset, src_buf2, size); in TestBackupAccess() [all …]
|
| /TwlSDK-5.1.0/build/libraries/fs/common/src/ |
| D | fs_proc_rom.c | 56 BOOL FSi_IsUnreadableRomOffset(FSArchive *arc, u32 offset) in FSi_IsUnreadableRomOffset() argument 61 (void)offset; in FSi_IsUnreadableRomOffset() 68 if (offset >= header->twl_ltd_area_rom_offset * 0x80000) in FSi_IsUnreadableRomOffset() 233 if ((fnt->offset == 0xFFFFFFFF) || (fnt->offset == 0x00000000) || in FSi_InitRomArchive() 234 (fat->offset == 0xFFFFFFFF) || (fat->offset == 0x00000000)) in FSi_InitRomArchive() 240 fat->offset, fat->length, in FSi_InitRomArchive() 241 fnt->offset, fnt->length, in FSi_InitRomArchive() 348 BOOL FS_CreateFileFromRom(FSFile *p_file, u32 offset, u32 size) in FS_CreateFileFromRom() argument 350 return FS_OpenFileDirect(p_file, &fsi_arc_rom, offset, offset + size, 0xFFFF); in FS_CreateFileFromRom()
|
| D | fs_overlay.c | 213 const u32 offset = ovi->file_pos.offset; in FSi_RegisterOverlayToDebugger() local 215 (void)FS_REGISTER_OVERLAY_INFO(proc, address, offset, length); in FSi_RegisterOverlayToDebugger() 273 FSiOverlayContext.ovt9.offset = (u32)~0; in FSi_InitOverlay() 275 FSiOverlayContext.ovt7.offset = (u32)~0; in FSi_InitOverlay() 280 FSiOverlayContext.ovt9.offset = 0; in FSi_InitOverlay() 282 FSiOverlayContext.ovt7.offset = 0; in FSi_InitOverlay() 375 if (pr->offset) in FS_LoadOverlayInfo() 381 MI_CpuCopy8((const void *)(pr->offset + pos), p_ovi, sizeof(FSOverlayInfoHeader)); in FS_LoadOverlayInfo() 387 p_ovi->file_pos.offset = FS_GetFileImageTop(file); in FS_LoadOverlayInfo() 405 if (FS_CreateFileFromRom(file, pr->offset + pos, pr->offset + pr->length)) in FS_LoadOverlayInfo() [all …]
|
| /TwlSDK-5.1.0/build/libraries/ctrdg/ARM9/src/ |
| D | ctrdg_sram.c | 40 u32 src = p.offset; in CTRDGi_ReadAgbSramCore() 71 u32 dst = p.offset; in CTRDGi_WriteAgbSramCore() 102 u32 tgt = p.offset; in CTRDGi_VerifyAgbSramCore() 138 u32 dst = p.offset; in CTRDGi_WriteAndVerifyAgbSramCore() 158 p.offset = src; in CTRDG_ReadAgbSram() 169 p.offset = dst; in CTRDG_WriteAgbSram() 180 p.offset = tgt; in CTRDG_VerifyAgbSram() 193 p.offset = dst; in CTRDG_WriteAndVerifyAgbSram() 203 p.offset = src; in CTRDG_ReadAgbSramAsync() 214 p.offset = dst; in CTRDG_WriteAgbSramAsync() [all …]
|
| D | ctrdg_flash_common.c | 254 u32 offset = p.offset; in CTRDGi_ReadAgbFlashCore() local 271 src = (u8 *)(CTRDG_AGB_FLASH_ADR + (sec_num << AgbFlash->sector.shift) + offset); in CTRDGi_ReadAgbFlashCore() 340 u32 offset = p.offset; in CTRDGi_WriteAndVerifyAgbFlashSectorCore() local 359 void CTRDG_ReadAgbFlash(u16 sec_num, u32 offset, u8 *dst, u32 size) in CTRDG_ReadAgbFlash() argument 363 p.offset = offset; in CTRDG_ReadAgbFlash() 415 void CTRDG_ReadAgbFlashAsync(u16 sec_num, u32 offset, u8 *dst, u32 size, CTRDG_TASK_FUNC callback) in CTRDG_ReadAgbFlashAsync() argument 419 p.offset = offset; in CTRDG_ReadAgbFlashAsync()
|
| /TwlSDK-5.1.0/build/libraries/mi/common/src/ |
| D | mi_cache.c | 63 inf->offset = 0; in MI_InitCache() 94 u32 pos = p->offset - head; in WFSi_TouchCachePages() 130 p->offset = head + pos; in WFSi_TouchCachePages() 172 BOOL MI_ReadCache(MICache *cache, void *buffer, u32 offset, u32 length) in MI_ReadCache() argument 178 u32 head = (offset >> cache->pagewidth); in MI_ReadCache() 179 u32 tail = ((offset + length + unit - 1UL) >> cache->pagewidth); in MI_ReadCache() 191 u32 pos = p->offset - head; in MI_ReadCache() 203 int dst = (int)((p->offset << cache->pagewidth) - offset); in MI_ReadCache() 259 (p->offset << cache->pagewidth), in MI_LoadCache()
|
| /TwlSDK-5.1.0/build/libraries/mb/common/src/ |
| D | mb_fileinfo.c | 352 u32 offset = p_map[1]; in MB_ReadSegment() local 367 MBi_AttachCacheBuffer(p_cache, offset, MB_CACHE_PAGE_SIZE, dst, MB_CACHE_STATE_LOCKED); in MB_ReadSegment() 369 offset += MB_CACHE_PAGE_SIZE; in MB_ReadSegment() 371 (void)FS_SeekFile(file, (int)(offset - base), FS_SEEK_SET); in MB_ReadSegment() 373 MBi_AttachCacheBuffer(p_cache, offset, MB_CACHE_PAGE_SIZE, dst, MB_CACHE_STATE_READY); in MB_ReadSegment() 375 offset += MB_CACHE_PAGE_SIZE; in MB_ReadSegment() 377 (void)FS_SeekFile(file, (int)(offset - base), FS_SEEK_SET); in MB_ReadSegment() 379 MBi_AttachCacheBuffer(p_cache, offset, MB_CACHE_PAGE_SIZE, dst, MB_CACHE_STATE_READY); in MB_ReadSegment() 407 p_header->offset, in MB_ReadSegment() 408 (u32)(p_header->offset + p_header->length), FALSE); in MB_ReadSegment() [all …]
|
| /TwlSDK-5.1.0/build/tools/stripdebug/ |
| D | loader_subset.c | 200 u32 offset; in ELi_GetShdr() local 202 offset = (ElfHandle->CurrentEhdr.e_shoff) + ((u32)(ElfHandle->shentsize) * index); in ELi_GetShdr() 207 (u32)(ElfHandle->elf_offset) + offset, in ELi_GetShdr() 214 void ELi_GetSent( ELHandle* ElfHandle, u32 index, void* entry_buf, u32 offset, u32 size) in ELi_GetSent() argument 224 (u32)(ElfHandle->elf_offset) + (u32)(Shdr.sh_offset) + offset, in ELi_GetSent() 237 u32 offset; in ELi_GetEntry() local 239 offset = (u32)(Shdr->sh_offset) + ((Shdr->sh_entsize) * index); in ELi_GetEntry() 244 (u32)(ElfHandle->elf_offset) + offset, in ELi_GetEntry() 266 u32 ELi_GetStrLen( ELHandle* ElfHandle, u32 index, u32 offset) in ELi_GetStrLen() argument 277 (u32)(ElfHandle->elf_offset) + (u32)(Shdr.sh_offset) + offset, in ELi_GetStrLen() [all …]
|
| /TwlSDK-5.1.0/include/nitro/card/ |
| D | hash.h | 52 u32 offset; member 64 u32 offset; member 183 void CARD_ReadRomHashImage(CARDRomHashContext *context, void *buffer, u32 offset, u32 length);
|
| /TwlSDK-5.1.0/include/twl/hw/ARM9/ |
| D | ioreg_G2.h | 465 #define REG_G2_BG0HOFS_FIELD( offset ) \ argument 467 ((u32)(offset) << REG_G2_BG0HOFS_OFFSET_SHIFT)) 478 #define REG_G2_BG0VOFS_FIELD( offset ) \ argument 480 ((u32)(offset) << REG_G2_BG0VOFS_OFFSET_SHIFT)) 509 #define REG_G2_BG1HOFS_FIELD( offset ) \ argument 511 ((u32)(offset) << REG_G2_BG1HOFS_OFFSET_SHIFT)) 522 #define REG_G2_BG1VOFS_FIELD( offset ) \ argument 524 ((u32)(offset) << REG_G2_BG1VOFS_OFFSET_SHIFT)) 553 #define REG_G2_BG2HOFS_FIELD( offset ) \ argument 555 ((u32)(offset) << REG_G2_BG2HOFS_OFFSET_SHIFT)) [all …]
|
| D | ioreg_G2S.h | 465 #define REG_G2S_DB_BG0HOFS_FIELD( offset ) \ argument 467 ((u32)(offset) << REG_G2S_DB_BG0HOFS_OFFSET_SHIFT)) 478 #define REG_G2S_DB_BG0VOFS_FIELD( offset ) \ argument 480 ((u32)(offset) << REG_G2S_DB_BG0VOFS_OFFSET_SHIFT)) 509 #define REG_G2S_DB_BG1HOFS_FIELD( offset ) \ argument 511 ((u32)(offset) << REG_G2S_DB_BG1HOFS_OFFSET_SHIFT)) 522 #define REG_G2S_DB_BG1VOFS_FIELD( offset ) \ argument 524 ((u32)(offset) << REG_G2S_DB_BG1VOFS_OFFSET_SHIFT)) 553 #define REG_G2S_DB_BG2HOFS_FIELD( offset ) \ argument 555 ((u32)(offset) << REG_G2S_DB_BG2HOFS_OFFSET_SHIFT)) [all …]
|
| /TwlSDK-5.1.0/include/nitro/hw/ARM9/ |
| D | ioreg_G2S.h | 465 #define REG_G2S_DB_BG0HOFS_FIELD( offset ) \ argument 467 ((u32)(offset) << REG_G2S_DB_BG0HOFS_OFFSET_SHIFT)) 478 #define REG_G2S_DB_BG0VOFS_FIELD( offset ) \ argument 480 ((u32)(offset) << REG_G2S_DB_BG0VOFS_OFFSET_SHIFT)) 509 #define REG_G2S_DB_BG1HOFS_FIELD( offset ) \ argument 511 ((u32)(offset) << REG_G2S_DB_BG1HOFS_OFFSET_SHIFT)) 522 #define REG_G2S_DB_BG1VOFS_FIELD( offset ) \ argument 524 ((u32)(offset) << REG_G2S_DB_BG1VOFS_OFFSET_SHIFT)) 553 #define REG_G2S_DB_BG2HOFS_FIELD( offset ) \ argument 555 ((u32)(offset) << REG_G2S_DB_BG2HOFS_OFFSET_SHIFT)) [all …]
|