Home
last modified time | relevance | path

Searched refs:size (Results 1 – 25 of 256) sorted by relevance

1234567891011

/TwlSDK-5.1.0/build/libraries/camera/common/src/
Dcamera_util.c30 u16 CAMERA_SizeToWidthCore( CAMERASize size ) in CAMERA_SizeToWidthCore() argument
32 switch (size) in CAMERA_SizeToWidthCore()
54 u16 CAMERA_SizeToHeightCore( CAMERASize size ) in CAMERA_SizeToHeightCore() argument
56 switch (size) in CAMERA_SizeToHeightCore()
78 u32 CAMERA_SizeToPixelsCore( CAMERASize size ) in CAMERA_SizeToPixelsCore() argument
80 switch (size) in CAMERA_SizeToPixelsCore()
105 int size; in CAMERA_WidthHeightToSizeCore() local
106 for (size = 0; size < CAMERA_SIZE_MAX; size++) in CAMERA_WidthHeightToSizeCore()
108 if (width == CAMERA_SizeToWidthCore((CAMERASize)size)) in CAMERA_WidthHeightToSizeCore()
110 if (height == CAMERA_SizeToHeightCore((CAMERASize)size)) in CAMERA_WidthHeightToSizeCore()
[all …]
/TwlSDK-5.1.0/include/nitro/mi/
Dmemory.h31 void MIi_CpuClear16(u16 data, void *destp, u32 size);
32 void MIi_CpuCopy16(const void *srcp, void *destp, u32 size);
33 void MIi_CpuSend16(const void *srcp, volatile void *destp, u32 size);
34 void MIi_CpuRecv16(volatile const void *srcp, void *destp, u32 size);
35 void MIi_CpuPipe16(volatile const void *srcp, volatile void *destp, u32 size);
36 void MIi_CpuMove16(const void *src, void *dest, u32 size);
37 void* MIi_CpuFind16(const void *src, u16 data, u32 size);
38 int MIi_CpuComp16(const void *mem1, const void *mem2, u32 size);
40 void MIi_CpuClear32(u32 data, void *destp, u32 size);
41 void MIi_CpuCopy32(const void *srcp, void *destp, u32 size);
[all …]
Ddma.h123 #define MI_CNT_CLEAR16(size) ( MI_DMA_IMM16ENABLE | MI_DMA_SRC_FIX | MI_DMA_DEST_INC | ((size argument
124 #define MI_CNT_CLEAR32(size) ( MI_DMA_IMM32ENABLE | MI_DMA_SRC_FIX | MI_DMA_DEST_INC | ((size argument
125 #define MI_CNT_CLEAR16_IF(size) ( MI_CNT_CLEAR16((size)) | MI_DMA_IF_ENABLE ) argument
126 #define MI_CNT_CLEAR32_IF(size) ( MI_CNT_CLEAR32((size)) | MI_DMA_IF_ENABLE ) argument
128 #define MI_CNT_SET_CLEAR16(size) ( MI_DMA_IMM16DISABLE | MI_DMA_SRC_FIX | MI_DMA_DEST_INC | ((siz… argument
129 #define MI_CNT_SET_CLEAR32(size) ( MI_DMA_IMM32DISABLE | MI_DMA_SRC_FIX | MI_DMA_DEST_INC | ((siz… argument
130 #define MI_CNT_SET_CLEAR16_IF(size)( MI_CNT_SET_CLEAR16((size)) | MI_DMA_IF_ENABLE ) argument
131 #define MI_CNT_SET_CLEAR32_IF(size)( MI_CNT_SET_CLEAR32((size)) | MI_DMA_IF_ENABLE ) argument
134 #define MI_CNT_COPY16(size) ( MI_DMA_IMM16ENABLE | MI_DMA_SRC_INC | MI_DMA_DEST_INC | ((size argument
135 #define MI_CNT_COPY32(size) ( MI_DMA_IMM32ENABLE | MI_DMA_SRC_INC | MI_DMA_DEST_INC | ((size argument
[all …]
Dcompress.h45 u32 MI_CompressLZImpl(const u8 *srcp, u32 size, u8 *dstp, BOOL exFormat);
46 u32 MI_CompressLZFastImpl(const u8 *srcp, u32 size, u8 *dstp, u8 *work, BOOL exFormat);
48 static inline u32 MI_CompressLZ(const u8 *srcp, u32 size, u8 *dstp) in MI_CompressLZ() argument
50 return MI_CompressLZImpl( srcp, size, dstp, FALSE ); in MI_CompressLZ()
52 static inline u32 MI_CompressLZEx(const u8 *srcp, u32 size, u8 *dstp) in MI_CompressLZEx() argument
54 return MI_CompressLZImpl( srcp, size, dstp, TRUE ); in MI_CompressLZEx()
56 static inline u32 MI_CompressLZFast(const u8 *srcp, u32 size, u8 *dstp, u8 *work) in MI_CompressLZFast() argument
58 return MI_CompressLZFastImpl( srcp, size, dstp, work, FALSE ); in MI_CompressLZFast()
60 static inline u32 MI_CompressLZExFast(const u8 *srcp, u32 size, u8 *dstp, u8 *work) in MI_CompressLZExFast() argument
62 return MI_CompressLZFastImpl( srcp, size, dstp, work, TRUE ); in MI_CompressLZExFast()
[all …]
/TwlSDK-5.1.0/build/libraries/mi/common/src/
Dmi_dma.c153 void MIi_DmaFill32(u32 dmaNo, void *dest, u32 data, u32 size, BOOL dmaEnable) in MIi_DmaFill32() argument
158 MIi_ASSERT_MUL4(size); in MIi_DmaFill32()
159 MIi_ASSERT_SIZE(dmaNo, size / 4); in MIi_DmaFill32()
161 MIi_WARNING_ADDRINTCM(dest, size); in MIi_DmaFill32()
163 if (size > 0) in MIi_DmaFill32()
168 MIi_DmaSetParameters(dmaNo, data, (u32)dest, MI_CNT_CLEAR32(size), in MIi_DmaFill32()
173 MIi_DmaSetParameters(dmaNo, data, (u32)dest, MI_CNT_SET_CLEAR32(size), in MIi_DmaFill32()
193 void MIi_DmaCopy32(u32 dmaNo, const void *src, void *dest, u32 size, BOOL dmaEnable) in MIi_DmaCopy32() argument
198 MIi_ASSERT_MUL4(size); in MIi_DmaCopy32()
199 MIi_ASSERT_SIZE(dmaNo, size / 4); in MIi_DmaCopy32()
[all …]
Dmi_dma_hblank.c35 void MI_HBlankDmaCopy32(u32 dmaNo, const void *src, void *dest, u32 size) in MI_HBlankDmaCopy32() argument
40 MIi_WARNING_ADDRINTCM(src, size); in MI_HBlankDmaCopy32()
41 MIi_WARNING_ADDRINTCM(dest, size); in MI_HBlankDmaCopy32()
44 MIi_CheckDma0SourceAddress(dmaNo, (u32)src, size, MI_DMA_SRC_INC); in MI_HBlankDmaCopy32()
45 if (size == 0) in MI_HBlankDmaCopy32()
52 MIi_DmaSetParameters(dmaNo, (u32)src, (u32)dest, MI_CNT_HBCOPY32(size), 0); in MI_HBlankDmaCopy32()
68 void MI_HBlankDmaCopy16(u32 dmaNo, const void *src, void *dest, u32 size) in MI_HBlankDmaCopy16() argument
73 MIi_WARNING_ADDRINTCM(src, size); in MI_HBlankDmaCopy16()
74 MIi_WARNING_ADDRINTCM(dest, size); in MI_HBlankDmaCopy16()
77 MIi_CheckDma0SourceAddress(dmaNo, (u32)src, size, MI_DMA_SRC_INC); in MI_HBlankDmaCopy16()
[all …]
Dmi_dma_vblank.c34 void MI_VBlankDmaCopy32(u32 dmaNo, const void *src, void *dest, u32 size) in MI_VBlankDmaCopy32() argument
41 MIi_WARNING_ADDRINTCM(src, size); in MI_VBlankDmaCopy32()
42 MIi_WARNING_ADDRINTCM(dest, size); in MI_VBlankDmaCopy32()
48 MIi_CheckDma0SourceAddress(dmaNo, (u32)src, size, MI_DMA_SRC_INC); in MI_VBlankDmaCopy32()
50 if (size == 0) in MI_VBlankDmaCopy32()
56 MIi_DmaSetParameters(dmaNo, (u32)src, (u32)dest, MI_CNT_VBCOPY32(size), 0); in MI_VBlankDmaCopy32()
73 void MI_VBlankDmaCopy16(u32 dmaNo, const void *src, void *dest, u32 size) in MI_VBlankDmaCopy16() argument
80 MIi_WARNING_ADDRINTCM(src, size); in MI_VBlankDmaCopy16()
81 MIi_WARNING_ADDRINTCM(dest, size); in MI_VBlankDmaCopy16()
87 MIi_CheckDma0SourceAddress(dmaNo, (u32)src, size, MI_DMA_SRC_INC); in MI_VBlankDmaCopy16()
[all …]
/TwlSDK-5.1.0/build/libraries/mi/common.TWL/src/
Dmi_ndma.c50 static inline void MIi_SetTotalWordCount( u32 ndmaNo, u32 size ) in MIi_SetTotalWordCount() argument
52 MI_NDMA_REG( ndmaNo, MI_NDMA_REG_TCNT_WOFFSET ) = size; in MIi_SetTotalWordCount()
54 static inline void MIi_SetWordCount( u32 ndmaNo, u32 size ) in MIi_SetWordCount() argument
56 MI_NDMA_REG( ndmaNo, MI_NDMA_REG_WCNT_WOFFSET ) = size; in MIi_SetWordCount()
125 const void* src, void* dest, u32 data, u32 size, in MIi_NDma_withConfig_Dev() argument
131 MIi_WARNING_ADDRINTCM(dest, size); in MIi_NDma_withConfig_Dev()
133 if ( size > 0 ) in MIi_NDma_withConfig_Dev()
154 MIi_SetWordCount( ndmaNo, size/4 ); in MIi_NDma_withConfig_Dev()
158 MIi_SetTotalWordCount( ndmaNo, size/4 ); in MIi_NDma_withConfig_Dev()
161 size/4: in MIi_NDma_withConfig_Dev()
[all …]
/TwlSDK-5.1.0/include/twl/mi/common/
Ddma.h300 void *dest, u32 data, u32 size );
302 void *dest, u32 data, u32 size );
304 const void *src, void *dest, u32 size );
306 const void *src, void *dest, u32 size );
308 const void *src, volatile void *dest, u32 size );
310 const void *src, volatile void *dest, u32 size );
312 volatile const void *src, void *dest, u32 size );
314 volatile const void *src, void *dest, u32 size );
316 volatile const void *src, volatile void *dest, u32 size );
318 volatile const void *src, volatile void *dest, u32 size );
[all …]
DsharedWram.h129 #define MI_WRAM_SIZE_TO_ENUM(size) ((MIWramSize)((int)(size)>>5)) argument
456 u32 MI_AllocWram( MIWramPos wram, MIWramSize size, MIWramProc proc );
457 #define MI_AllocWram_A(size, proc) MI_AllocWram( MI_WRAM_A, size, proc ) argument
458 #define MI_AllocWram_B(size, proc) MI_AllocWram( MI_WRAM_B, size, proc ) argument
459 #define MI_AllocWram_C(size, proc) MI_AllocWram( MI_WRAM_C, size, proc ) argument
479 u32 MI_AllocWramSlot( MIWramPos wram, int slot, MIWramSize size, MIWramProc proc );
480 #define MI_AllocWramSlot_A(slot, size, proc) MI_AllocWramSlot( MI_WRAM_A, slot, size, proc ) argument
481 #define MI_AllocWramSlot_B(slot, size, proc) MI_AllocWramSlot( MI_WRAM_B, slot, size, proc ) argument
482 #define MI_AllocWramSlot_C(slot, size, proc) MI_AllocWramSlot( MI_WRAM_C, slot, size, proc ) argument
548 int MI_FreeWramSlot( MIWramPos wram, int slot, MIWramSize size, MIWramProc proc );
[all …]
/TwlSDK-5.1.0/build/libraries/gx/ARM9/include/
Dgxdma.h32 static void GXi_DmaCopy32(u32 dmaNo, const void *src, void *dest, u32 size);
33 static void GXi_DmaCopy16(u32 dmaNo, const void *src, void *dest, u32 size);
34 static void GXi_DmaCopy32Async(u32 dmaNo, const void *src, void *dest, u32 size,
45 static inline void GXi_DmaCopy32(u32 dmaNo, const void *src, void *dest, u32 size) in GXi_DmaCopy32() argument
47 if (dmaNo != GX_DMA_NOT_USE && size > GX_CPU_FASTER32_SIZE) in GXi_DmaCopy32()
52 MI_NDmaCopy(dmaNo-4, src, dest, size); in GXi_DmaCopy32()
57 MI_DmaCopy32(dmaNo, src, dest, size); in GXi_DmaCopy32()
62 MI_CpuCopy32(src, dest, size); in GXi_DmaCopy32()
66 static inline void GXi_DmaCopy16(u32 dmaNo, const void *src, void *dest, u32 size) in GXi_DmaCopy16() argument
68 if (dmaNo != GX_DMA_NOT_USE && size > GX_CPU_FASTER16_SIZE) in GXi_DmaCopy16()
[all …]
/TwlSDK-5.1.0/build/libraries/ctrdg/ARM9/src/
Dctrdg_sram.c42 u32 size = p.size; in CTRDGi_ReadAgbSramCore() local
53 while (size--) in CTRDGi_ReadAgbSramCore()
73 u32 size = p.size; in CTRDGi_WriteAgbSramCore() local
83 while (size--) in CTRDGi_WriteAgbSramCore()
104 u32 size = p.size; in CTRDGi_VerifyAgbSramCore() local
115 while (size--) in CTRDGi_VerifyAgbSramCore()
140 u32 size = p.size; in CTRDGi_WriteAndVerifyAgbSramCore() local
145 CTRDG_WriteAgbSram(dst, src, size); in CTRDGi_WriteAndVerifyAgbSramCore()
146 result = CTRDG_VerifyAgbSram(dst, src, size); in CTRDGi_WriteAndVerifyAgbSramCore()
155 void CTRDG_ReadAgbSram(u32 src, void *dst, u32 size) in CTRDG_ReadAgbSram() argument
[all …]
/TwlSDK-5.1.0/include/nitro/os/common/
Darena.h165 void *OS_AllocFromArenaLo(OSArenaId id, u32 size, u32 align);
183 void *OS_AllocFromArenaHi(OSArenaId id, u32 size, u32 align);
216 static inline void *OS_AllocFromMainArenaLo(u32 size, u32 align) in OS_AllocFromMainArenaLo() argument
218 return OS_AllocFromArenaLo(OS_ARENA_MAIN, size, align); in OS_AllocFromMainArenaLo()
220 static inline void *OS_AllocFromMainArenaHi(u32 size, u32 align) in OS_AllocFromMainArenaHi() argument
222 return OS_AllocFromArenaHi(OS_ARENA_MAIN, size, align); in OS_AllocFromMainArenaHi()
252 static inline void *OS_AllocFromSubPrivArenaLo(u32 size, u32 align) in OS_AllocFromSubPrivArenaLo() argument
254 return OS_AllocFromArenaLo(OS_ARENA_MAIN_SUBPRIV, size, align); in OS_AllocFromSubPrivArenaLo()
256 static inline void *OS_AllocFromSubPrivArenaHi(u32 size, u32 align) in OS_AllocFromSubPrivArenaHi() argument
258 return OS_AllocFromArenaHi(OS_ARENA_MAIN_SUBPRIV, size, align); in OS_AllocFromSubPrivArenaHi()
[all …]
Dalloc.h33 typedef void (*OSAllocVisitor) (void *obj, u32 size);
142 extern void *OS_AllocFromHeap(OSArenaId id, OSHeapHandle heap, u32 size);
318 static inline void *OS_AllocFromMain(u32 size) in OS_AllocFromMain() argument
320 return OS_AllocFromHeap(OS_ARENA_MAIN, OS_CURRENT_HEAP_HANDLE, size); in OS_AllocFromMain()
337 static inline void *OS_AllocFromSubPriv(u32 size) in OS_AllocFromSubPriv() argument
339 return OS_AllocFromHeap(OS_ARENA_MAIN_SUBPRIV, OS_CURRENT_HEAP_HANDLE, size); in OS_AllocFromSubPriv()
355 static inline void *OS_AllocFromMainEx(u32 size) in OS_AllocFromMainEx() argument
357 return OS_AllocFromHeap(OS_ARENA_MAINEX, OS_CURRENT_HEAP_HANDLE, size); in OS_AllocFromMainEx()
374 static inline void *OS_AllocFromITCM(u32 size) in OS_AllocFromITCM() argument
376 return OS_AllocFromHeap(OS_ARENA_ITCM, OS_CURRENT_HEAP_HANDLE, size); in OS_AllocFromITCM()
[all …]
/TwlSDK-5.1.0/build/tools/makelcf/
Dmisc.c46 void *Alloc(size_t size) in Alloc() argument
48 void *t = calloc(1, size); in Alloc()
79 int size; in PutVBuffer() local
84 vbuf->size = VBUFFER_INITIAL_SIZE; in PutVBuffer()
85 vbuf->buffer = Alloc(vbuf->size); // buffer is CALLOCed in PutVBuffer()
87 size = strlen(vbuf->buffer); in PutVBuffer()
89 if (size >= vbuf->size - 1) in PutVBuffer()
92 vbuf->size *= 2; in PutVBuffer()
93 tmp_buffer = Alloc(vbuf->size); // buffer is CALLOCed in PutVBuffer()
98 vbuf->buffer[size] = c; in PutVBuffer()
[all …]
/TwlSDK-5.1.0/build/tools/makelcf.TWL/
Dmisc.c32 void *Alloc(size_t size) in Alloc() argument
34 void *t = calloc(1, size); in Alloc()
65 int size; in PutVBuffer() local
70 vbuf->size = VBUFFER_INITIAL_SIZE; in PutVBuffer()
71 vbuf->buffer = Alloc(vbuf->size); // buffer is CALLOCed in PutVBuffer()
73 size = strlen(vbuf->buffer); in PutVBuffer()
75 if (size >= vbuf->size - 1) in PutVBuffer()
78 vbuf->size *= 2; in PutVBuffer()
79 tmp_buffer = Alloc(vbuf->size); // buffer is CALLOCed in PutVBuffer()
84 vbuf->buffer[size] = c; in PutVBuffer()
[all …]
/TwlSDK-5.1.0/build/libraries/mi/common/include/
Dmi_dma.h89 #define MIi_ASSERT_MUL2( size ) SDK_ASSERTMSG( ((size) & 1) == 0, "size & 1 must be 0" ) argument
90 #define MIi_ASSERT_MUL4( size ) SDK_ASSERTMSG( ((size) & 3) == 0, "size & 3 must be 0" ) argument
98 # define MIi_ASSERT_SIZE( dmaNo, size ) SDK_ASSERTMSG( (size) <= 0x1fffff, "size too large" ); argument
100 # define MIi_ASSERT_SIZE( dmaNo, size ) \ argument
104 SDK_ASSERTMSG( (size) <= 0x3fff, "size too large" );\
108 SDK_ASSERTMSG( (size) <= 0xffff, "size too large" );\
121 void MIi_CheckAddressInTCM(u32 addr, u32 size);
122 #define MIi_WARNING_ADDRINTCM( addr, size ) MIi_CheckAddressInTCM( (u32)addr, (u32)size ) argument
124 #define MIi_WARNING_ADDRINTCM( addr, size ) ((void)0) argument
140 void MIi_CheckDma0SourceAddress(u32 dmaNo, u32 src, u32 size, u32 dir);
/TwlSDK-5.1.0/build/tools/bin2obj/
Doutput.c19 static BOOL output_region(FILE * fp, u32 offset, const u8 *ptr, u32 size);
36 u32 size; in output_object() local
61 size = obj->header.e_ehsize; in output_object()
63 if (!output_region(fp, offset, ptr, size)) in output_object()
70 size = obj->header.e_shentsize * obj->header.e_shnum; in output_object()
72 if (!output_region(fp, offset, ptr, size)) in output_object()
80 size = obj->section[n].sh_size; in output_object()
82 if (!output_region(fp, offset, ptr, size)) in output_object()
90 size = obj->section[n].sh_size; in output_object()
92 if (!output_region(fp, offset, ptr, size)) in output_object()
[all …]
Dsection.c62 add_section(obj, section_rwdata, SHT_PROGBITS, SHF_WRITE | SHF_ALLOC, d->section.size, in add_datasec()
68 add_section(obj, section_rodata, SHT_PROGBITS, SHF_ALLOC, d->section.size, align); in add_datasec()
76 (void)add_symbol(obj, symbol_begin, 0, d->section.size, d->index); in add_datasec()
77 (void)add_symbol(obj, symbol_end, d->section.size, 0, d->index); in add_datasec()
112 s->size = st.st_size; in read_datasec()
114 if (NULL == (s->ptr = malloc(s->size))) in read_datasec()
121 if (s->size != fread(s->ptr, sizeof(u8), s->size, fp)) in read_datasec()
152 obj->section[obj->header.e_shstrndx].sh_size = obj->section_name.size; in add_section_name()
171 u32 add_section(Object * obj, const char *name, u32 type, u32 flags, u32 size, u32 align) in add_section() argument
186 s->sh_size = size; in add_section()
[all …]
/TwlSDK-5.1.0/include/nitro/ctrdg/ARM9/
Dctrdg_sram.h63 extern void CTRDG_ReadAgbSram(u32 src, void *dst, u32 size);
64 extern void CTRDG_ReadAgbSramAsync(u32 src, void *dst, u32 size, CTRDG_TASK_FUNC callback);
86 extern void CTRDG_WriteAgbSram(u32 dst, const void *src, u32 size);
87 extern void CTRDG_WriteAgbSramAsync(u32 dst, const void *src, u32 size, CTRDG_TASK_FUNC callback);
113 extern u32 CTRDG_VerifyAgbSram(u32 tgt, const void *src, u32 size);
114 extern void CTRDG_VerifyAgbSramAsync(u32 tgt, const void *src, u32 size, CTRDG_TASK_FUNC callback);
140 extern u32 CTRDG_WriteAndVerifyAgbSram(u32 dst, const void *src, u32 size);
141 extern void CTRDG_WriteAndVerifyAgbSramAsync(u32 dst, const void *src, u32 size,
/TwlSDK-5.1.0/build/libraries/mi/common.TWL/include/
Dmi_ndma.h73 #define MIi_ASSERT_MUL2( size ) SDK_ASSERTMSG( ((size) & 1) == 0, "size & 1 must be 0" ) argument
74 #define MIi_ASSERT_MUL4( size ) SDK_ASSERTMSG( ((size) & 3) == 0, "size & 3 must be 0" ) argument
91 void MIi_CheckAddressInTCM(u32 addr, u32 size);
92 #define MIi_WARNING_ADDRINTCM( addr, size ) MIi_CheckAddressInTCM( (u32)addr, (u32)size ) argument
94 #define MIi_WARNING_ADDRINTCM( addr, size ) ((void)0) argument
114 u32 size,
124 u32 size,
136 u32 size, in MIi_NDma() argument
140 src, dest, data, size, in MIi_NDma()
150 u32 size, in MIi_NDmaAsync() argument
[all …]
/TwlSDK-5.1.0/build/libraries/os/common/src/
Dos_alloc.c110 long size; // size of object plus HEADERSIZE member
121 long size; // if -1 then heap is free. Note OS_AllocFixed() member
263 if ((char *)cell + cell->size == (char *)next) in DLInsert()
266 cell->size += next->size; in DLInsert()
277 if ((char *)prev + prev->size == (char *)cell) in DLInsert()
280 prev->size += cell->size; in DLInsert()
313 if (RangeOverlap(cell, (char *)cell + cell->size, start, end)) in DLOverlap()
333 long size = 0; in DLSize() local
337 size += cell->size; in DLSize()
339 return size; in DLSize()
[all …]
/TwlSDK-5.1.0/build/demos/ctrdg/backup-1/src/
Dmain.c150 u32 size = 4096; in TestBackupAccess() local
153 MI_CpuClear8(dst_buf, size); in TestBackupAccess()
154 MI_CpuClear8(src_buf, size); in TestBackupAccess()
155 MI_CpuClear8(src_buf2, size); 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()
[all …]
/TwlSDK-5.1.0/build/libraries/prc/common/src/
Dprc.c73 strokes->size = entry->pointCount; in PRC_GetEntryStrokes()
79 strokes->size = 0; in PRC_GetEntryStrokes()
96 int iPoint, size; in PRC_CopyStrokes() local
103 if (srcStrokes->size > dstStrokes->capacity) in PRC_CopyStrokes()
108 size = dstStrokes->size = srcStrokes->size; in PRC_CopyStrokes()
111 for (iPoint = 0; iPoint < size; iPoint++) in PRC_CopyStrokes()
/TwlSDK-5.1.0/include/twl/camera/common/
Dutil.h37 u16 CAMERA_SizeToWidthCore( CAMERASize size );
38 SDK_INLINE u16 CAMERA_SizeToWidth( CAMERASize size ) in CAMERA_SizeToWidth() argument
42 return CAMERA_SizeToWidthCore(size); in CAMERA_SizeToWidth()
56 u16 CAMERA_SizeToHeightCore( CAMERASize size );
57 SDK_INLINE u16 CAMERA_SizeToHeight( CAMERASize size ) in CAMERA_SizeToHeight() argument
61 return CAMERA_SizeToHeightCore(size); in CAMERA_SizeToHeight()
75 u32 CAMERA_SizeToPixelsCore( CAMERASize size );
76 SDK_INLINE u32 CAMERA_SizeToPixels( CAMERASize size ) in CAMERA_SizeToPixels() argument
80 return CAMERA_SizeToPixelsCore(size); in CAMERA_SizeToPixels()

1234567891011