Home
last modified time | relevance | path

Searched refs:u32 (Results 1 – 25 of 272) sorted by relevance

1234567891011

/CafeSDK-2.12.13-1/system/include/cafe/base/
DPPCArch.h37 u32 _pad0 :2;
38 u32 loadScale :6;
39 u32 _pad1 :5;
40 u32 loadType :3;
41 u32 _pad2 :2;
42 u32 storeScale :6;
43 u32 _pad3 :5;
44 u32 storeType :3;
49 u32 val;
60 u32 memAddr :27;
[all …]
/CafeSDK-2.12.13-1/system/include/cafe/os/
DOSAtomic.h27 u32 u32; member
41 u32 OSOrAtomic(volatile OSAtomicVar* ptr, u32 mask);
42 u32 OSAndAtomic(volatile OSAtomicVar* ptr, u32 mask);
43 u32 OSXorAtomic(volatile OSAtomicVar* ptr, u32 mask);
45 u32 OSSwapAtomic(volatile OSAtomicVar* ptr, u32 val);
46 BOOL OSCompareAndSwapAtomic(volatile OSAtomicVar* ptr, u32 cmp_val, u32 new_val);
47 BOOL OSCompareAndSwapAtomicEx(volatile OSAtomicVar* ptr, u32 cmp_val, u32 new_val, u32 *orig_val…
49 BOOL OSTestAndSetAtomic(volatile OSAtomicVar* ptr, u32 bitnum);
50 BOOL OSTestAndClearAtomic(volatile OSAtomicVar* ptr, u32 bitnum);
59 orig_val = (s32)__LWARX((u32*)&ptr->u.u32, 0); in OSAddAtomic()
[all …]
DOSCache.h29 void DCInvalidateRange ( void* addr, u32 nBytes );
30 void DCFlushRange ( const void* addr, u32 nBytes );
31 void DCStoreRange ( const void* addr, u32 nBytes );
32 void DCFlushRangeNoSync ( const void* addr, u32 nBytes );
33 void DCStoreRangeNoSync ( const void* addr, u32 nBytes );
34 void DCZeroRange ( void* addr, u32 nBytes );
35 void DCTouchRange ( const void* addr, u32 nBytes );
49 u32 LCGetMaxSize (void);
50 u32 LCGetUnallocated (void);
51 u32 LCGetAllocatableSize(void);
[all …]
DOSContext.h27 u32 OSGetStackPointer ( void );
28 u32 OSSwitchStack ( u32 newsp );
29 int OSSwitchFiber ( u32 pc, u32 newsp );
30 int OSSwitchFiberEx ( u32 arg0, u32 arg1, u32 arg2, u32 arg3, u32 pc, u32 newsp );
34 u32 OSSaveContext ( OSContext* context );
38 void OSInitContext ( OSContext* context, u32 pc, u32 sp );
DOSMemory.h32 int OSGetMemBound(OSMemType memType, u32 *apRetStart, u32 *apRetSizeBytes);
33 int OSSetMemBound(OSMemType memType, u32 aStart, u32 aSizeBytes);
35 void * OSAllocFromSystem(u32 aSize, int aAlign);
54 BOOL OSGetSharedData(OSShared aShared, u32 aFlags, void **appRetArea, u32 *apRetSizeBytes);
67 void OSEnableOverlayArenaDev(BOOL allowAV, u32 *addr, u32 *size);
68 BOOL OSEnableOverlayArenaWithTimeoutDev(BOOL allowAV, u32 timeout, u32 *error, u32 *addr, u32 *size…
70 BOOL OSDisableOverlayArenaWithTimeoutDev(u32 timeout, u32 *error);
71 void OSGetOverlayArenaRangeDev(u32* addr, u32* size);
/CafeSDK-2.12.13-1/system/include/cafe/gfd/
DgfdInterface.h41 inline void GFDEndianSwap8in16(u16 *pData, u32 numberElements) in GFDEndianSwap8in16()
43 for(u32 i = 0; i < numberElements; i++) in GFDEndianSwap8in16()
57 inline void GFDEndianSwap8in32(u32 *pData, u32 numberElements) in GFDEndianSwap8in32()
59 for(u32 i = 0; i < numberElements; i++) in GFDEndianSwap8in32()
74 inline void GFDEndianSwap(void *pData, u32 numberElements, GFDElementSize elemSize) in GFDEndianSwap()
84 GFDEndianSwap8in32((u32*)pData, numberElements); in GFDEndianSwap()
118 u32 GFDGetVertexShaderCount(const void *pData);
130 u32 GFDGetVertexShaderHeaderSize(u32 index, const void *pData);
142 u32 GFDGetVertexShaderProgramSize(u32 index, const void *pData);
157 BOOL GFDGetVertexShader(GX2VertexShader *pHeader, void *pProgram, u32 index, const void *pData);
[all …]
DgfdFormat.h37 u32 abiVersion; ///< ABI version. This must be set to \ref GFD_DLL_ABI_VERSION.
46 u32 abiVersion; ///< ABI version. This must be set to \ref GFD_DLL_ABI_VERSION.
57 u32 magic; ///< magic number
58u32 size; ///< size of header in bytes - must match exactly, or header (and he…
59u32 majorVersion; ///< major version number - must match exactly or header is unreadab…
60 u32 minorVersion; ///< minor version number - will warn if lower.
63 u32 reserved1; ///< reserved (should be 0)
64 u32 reserved2; ///< reserved (should be 0)
79 u32 magic; ///< Magic number for block headers
80 u32 size; ///< Size of block header in bytes
[all …]
/CafeSDK-2.12.13-1/system/src/lib/gfd/headers/cafe/gfd/
DgfdInterface.h41 inline void GFDEndianSwap8in16(u16 *pData, u32 numberElements) in GFDEndianSwap8in16()
43 for(u32 i = 0; i < numberElements; i++) in GFDEndianSwap8in16()
57 inline void GFDEndianSwap8in32(u32 *pData, u32 numberElements) in GFDEndianSwap8in32()
59 for(u32 i = 0; i < numberElements; i++) in GFDEndianSwap8in32()
74 inline void GFDEndianSwap(void *pData, u32 numberElements, GFDElementSize elemSize) in GFDEndianSwap()
84 GFDEndianSwap8in32((u32*)pData, numberElements); in GFDEndianSwap()
118 u32 GFDGetVertexShaderCount(const void *pData);
130 u32 GFDGetVertexShaderHeaderSize(u32 index, const void *pData);
142 u32 GFDGetVertexShaderProgramSize(u32 index, const void *pData);
157 BOOL GFDGetVertexShader(GX2VertexShader *pHeader, void *pProgram, u32 index, const void *pData);
[all …]
DgfdFormat.h37 u32 abiVersion; ///< ABI version. This must be set to \ref GFD_DLL_ABI_VERSION.
46 u32 abiVersion; ///< ABI version. This must be set to \ref GFD_DLL_ABI_VERSION.
57 u32 magic; ///< magic number
58u32 size; ///< size of header in bytes - must match exactly, or header (and he…
59u32 majorVersion; ///< major version number - must match exactly or header is unreadab…
60 u32 minorVersion; ///< minor version number - will warn if lower.
63 u32 reserved1; ///< reserved (should be 0)
64 u32 reserved2; ///< reserved (should be 0)
79 u32 magic; ///< Magic number for block headers
80 u32 size; ///< Size of block header in bytes
[all …]
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/TexConv2/ddsReader/
DDDS_Helpers.h53 …DDSD2*& pDDSD, GX2Surface*& pSurface, void*& extra, u32 nMipLevel, u32 nFaceOrSlice, u32 dwWidth,
63 …File, DDSD2*&, GX2Surface*& pSurface, void*& extra, u32 nMipLevel, u32 nFaceOrSlice, u32 dwWidth,
66 …, DDSD2*&, GX2Surface*& pSurface, void*& /*extra*/, u32 nMipLevel, u32 nFaceOrSlice, u32 dwWidth,
69 …ile, DDSD2*& , GX2Surface*& pSurface, void*& extra, u32 nMipLevel, u32 nFaceOrSlice, u32 dwWidth,
72 …ile, DDSD2*& , GX2Surface*& pSurface, void*& extra, u32 nMipLevel, u32 nFaceOrSlice, u32 dwWidth,
75 …File, DDSD2*&, GX2Surface*& pSurface, void*& extra, u32 nMipLevel, u32 nFaceOrSlice, u32 dwWidth,
78 …E*& pFile, DDSD2*& , GX2Surface*& pSurface, void*&, u32 nMipLevel, u32 nFaceOrSlice, u32 dwWidth,
79 …E*& pFile, DDSD2*& , GX2Surface*& pSurface, void*&, u32 nMipLevel, u32 nFaceOrSlice, u32 dwWidth,
80 …E*& pFile, DDSD2*& , GX2Surface*& pSurface, void*&, u32 nMipLevel, u32 nFaceOrSlice, u32 dwWidth,
82 …E*& pFile, DDSD2*& , GX2Surface*& pSurface, void*&, u32 nMipLevel, u32 nFaceOrSlice, u32 dwWidth,
[all …]
DDDS.h33 u32 dwSize; // size of the DDSURFACEDESC structure
34 u32 dwFlags; // determines what fields are valid
35 u32 dwHeight; // height of surface to be created
36 u32 dwWidth; // width of input surface
40 u32 dwLinearSize; // Formless late-allocated optimized surface size
44 u32 dwBackBufferCount; // number of back buffers requested
45 u32 dwDepth; // the depth if this is a volume texture
49 u32 dwMipMapCount; // number of mip-map levels requestde
51 u32 dwRefreshRate; // refresh rate (used when display mode is described)
52 u32 dwSrcVBHandle; // The source used in VB::Optimize
[all …]
/CafeSDK-2.12.13-1/system/bin/win64/
Ddsptool.h46 u32 getBytesForAdpcmBuffer (u32 samples);
47 u32 getBytesForAdpcmSamples (u32 samples);
48 u32 getBytesForPcmBuffer (u32 samples);
49 u32 getBytesForPcmSamples (u32 samples);
50 u32 getNibbleAddress (u32 samples);
51 u32 getNibblesForNSamples (u32 samples);
52 u32 getSampleForAdpcmNibble (u32 nibble);
53 u32 getBytesForAdpcmInfo (void);
60 u32 samples // number of samples to encode
68 u32 samples // number of samples to decode
[all …]
/CafeSDK-2.12.13-1/system/bin/win32/
Ddsptool.h46 u32 getBytesForAdpcmBuffer (u32 samples);
47 u32 getBytesForAdpcmSamples (u32 samples);
48 u32 getBytesForPcmBuffer (u32 samples);
49 u32 getBytesForPcmSamples (u32 samples);
50 u32 getNibbleAddress (u32 samples);
51 u32 getNibblesForNSamples (u32 samples);
52 u32 getSampleForAdpcmNibble (u32 nibble);
53 u32 getBytesForAdpcmInfo (void);
60 u32 samples // number of samples to encode
68 u32 samples // number of samples to decode
[all …]
/CafeSDK-2.12.13-1/system/include/nn/olv/
Dolv_Types.h85 nn::Result SetFlags(const u32 flags);
99 nn::Result SetWork(u8* work, const u32 workSize);
118 nn::Result SetReportTypes(u32 flags);
131 nn::Result SetSysArgs(const void* args, const u32 argsSize);
135 u32 flags; /*!< Sets flags. */
136 u32 reportTypes; /*!< Output control flags. */
138 u32 workSize; /*!< Working buffer size. */
140 u32 argsSize; /*!< The size of system parameters. */
203 nn::Result SetBodyMemo(const u8* bodyMemo, const u32 bodyMemoSize);
218 nn::Result SetExternalImageData(const u8* externalImageData, const u32 externalImageDataSize);
[all …]
/CafeSDK-2.12.13-1/system/src/lib/lcstream/headers/cafe/
Dlcstream.h77 typedef void (*LCStreamFunction) (u32 stripSize,
84 u32 size; // in bytes. Size of input(s) and output are same.
88 u32 num_outputs; // for now, only 1 supported
89 u32 num_inputs; // 1 to LCSTREAM_MAX_NUM_INPUTS
91 u32 total_strips; // =size/strip_size
92 u32 strip_size; // strip size in locked cache
93 u32 strip_size_blocks; // strip_size in cache blocks; /32B
106 u32 LCSTREAMLCSizeRequired(u32 stripSize, u32 numOutputs, u32 numInputs);
110 u32 LCSTREAMLCSizeAvailable(void);
119 u32 LCSTREAMAlloc(LCStream* s, u32 stripSize, u32 numOutputs, u32 numInputs);
[all …]
/CafeSDK-2.12.13-1/system/include/cafe/
Dlcstream.h77 typedef void (*LCStreamFunction) (u32 stripSize,
84 u32 size; // in bytes. Size of input(s) and output are same.
88 u32 num_outputs; // for now, only 1 supported
89 u32 num_inputs; // 1 to LCSTREAM_MAX_NUM_INPUTS
91 u32 total_strips; // =size/strip_size
92 u32 strip_size; // strip size in locked cache
93 u32 strip_size_blocks; // strip_size in cache blocks; /32B
106 u32 LCSTREAMLCSizeRequired(u32 stripSize, u32 numOutputs, u32 numInputs);
110 u32 LCSTREAMLCSizeAvailable(void);
119 u32 LCSTREAMAlloc(LCStream* s, u32 stripSize, u32 numOutputs, u32 numInputs);
[all …]
Djpeg.h54 u32 destBufSize, // Its size in byte.
55 u32 *pActualDestSize, // Byte-size of buffer filled with JPEG data.
56 const u32 *pTexBuf, // Texture buffer to be encoded.
60 u32 workAreaSize // Its size in byte.
65 u32 *pDestHeapSize, // Heep size required to encode JPEG
74 u32 *pDestBuf, // Buffer for decoded surface.
75 u32 destBufSize, // Its size in byte.
77 u32 jpegBufSize, // Its size in byte.
81 u32 workAreaSize // Its size in byte.
87 u32 *pDestHeapSize, // Heep size required to decode JPEG
[all …]
Dim.h43 u32 inactive_seconds;
44 u32 dim_enable;
45 u32 dim_seconds;
46 u32 apd_enable;
47 u32 apd_seconds;
56 IM_ERROR_CODE IMGetDimPeriod (u32 *second);
57 IM_ERROR_CODE IMIsDimEnabled (u32 *enabled);
58 IM_ERROR_CODE IMGetTimeBeforeDimming(u32 *second);
60 IM_ERROR_CODE IMGetTimeBeforeAPD (u32 *second);
61 IM_ERROR_CODE IMGetAPDPeriod (u32 *second);
[all …]
Dpmcpu.h47 u32 pmc_e1; // PMC Event for Counter 1 - Allowed events listed in ppc_asm_user.h
48 u32 pmc_e2;
49 u32 pmc_e3;
50 u32 pmc_e4;
51 u32 pm_mask; // Internal mask value for the group
52 u32 pmc1; // Counter values after a read operation as set according to PMCSetGroup
53 u32 pmc2;
54 u32 pmc3;
55 u32 pmc4;
60 void PMCPUSetGroup(PMCPUGroup *group, u32 e1, u32 e2, u32 e3, u32 e4);
/CafeSDK-2.12.13-1/system/include/cafe/gx2/
Dgx2Misc.h40 typedef u32 GX2CompSel;
140 GX2_INLINE void GX2CopyEndianSwap(void *dst, const void *src, u32 byteLen) in GX2CopyEndianSwap()
142 ASSERT((byteLen % sizeof(u32))==0); in GX2CopyEndianSwap()
144 u32 i; in GX2CopyEndianSwap()
145 u32 *csrc = (u32 *) src; in GX2CopyEndianSwap()
146 __bytereversed u32 *cdst = (__bytereversed u32 *) dst; in GX2CopyEndianSwap()
150 u32* csrc = (u32*)src; in GX2CopyEndianSwap()
151 u32* cdst = (u32*)dst; in GX2CopyEndianSwap()
152 u32 i; in GX2CopyEndianSwap()
169 GX2_INLINE void GX2EndianSwap(void *ptr, u32 byteLen) in GX2EndianSwap()
[all …]
Dgx2Shaders.h78 u32 location;
80 u32 size;
92 u32 offset;
106 u32 arrayCount;
108 u32 offset;
117 u32 blockIndex;
129 u32 arrayCount;
131 u32 location;
139 u32 location;
141 u32 buffer;
[all …]
Dgx2rBuffer.h45 void* GX2API GX2RLockBufferRegionEx(const GX2RBuffer* gx2Buffer, u32 byteOffset, u32 byteCount, GX2…
90 GX2Boolean GX2API GX2RCreateBufferUserMemory(GX2RBuffer* gx2Buffer, void* pUserMem, u32 userByteCou…
136 GX2_INLINE void* GX2RLockBufferRegion(const GX2RBuffer* gx2Buffer, u32 byteOffset, u32 byteCount) in GX2RLockBufferRegion()
212 void GX2API GX2RSetAttributeBuffer(const GX2RBuffer* vertexBuffer, u32 slot, u32 stride, u32 byteOf…
229 void GX2API GX2RSetVertexUniformBlock(const GX2RBuffer* uniformBlock, u32 location, u32 byteOffset);
244 void GX2API GX2RSetGeometryUniformBlock(const GX2RBuffer* uniformBlock, u32 location, u32 byteOffse…
259 void GX2API GX2RSetPixelUniformBlock(const GX2RBuffer* uniformBlock, u32 location, u32 byteOffset);
276 void GX2API GX2RSetStreamOutBuffer(u32 soTarget, const GX2StreamOutBuffer* streamOutBuffer);
298 …RBuffer* indexBuffer, GX2IndexFormat indexFormat, u32 indexCount, u32 startIndex, u32 startVertex,…
309 …RBuffer* indexBuffer, GX2IndexFormat indexFormat, u32 indexCount, u32 startIndex, u32 startVertex,…
[all …]
/CafeSDK-2.12.13-1/system/include/cafe/mp/
DMPTasks.h39 typedef u32 MPTaskQID;
40 typedef u32 MPTaskID;
50 u32 state;
51 u32 func_result;
52 u32 coreid;
58 u32 (*func_ptr)(void *data, u32 data_len);
60 u32 func_data_len;
61 u32 func_result;
68 u32 state;
72 u32 coreid;
[all …]
/CafeSDK-2.12.13-1/system/src/tool/gfx/include/
DshaderUtils.h122 GSH2_DECLSPEC u32 GSH2API GSH2GetABIVersion(void);
153 u32 forceUniformBlock : 1; ///< force uniform block usage
154 u32 dumpShaders : 1; ///< dump pre/post optimized file
155 u32 skipSparkDebug : 1; ///< do not dump debug data for Spark
156 u32 optimize : 1; ///< obsolete, deprecated in favor of optFlags/optimizeFlags
157u32 optFlags : 1; ///< if set, GSH2CompileSetup3 field optimizeFlags contains specific f…
158u32 getStats : 1; ///< if set, GSH2CompileSetup3 fields vs_stats, ps_stats, gs_stats may…
159 u32 getBuildTimeStats : 1; ///< if set, GSH2CompileSetup3 field bt_stats is present
161 u32 value;
172 u32 numSOVaryings; ///< number of stream out varyings
[all …]
/CafeSDK-2.12.13-1/system/src/lib/pmcpu/headers/cafe/
Dpmcpu.h47 u32 pmc_e1; // PMC Event for Counter 1 - Allowed events listed in ppc_asm_user.h
48 u32 pmc_e2;
49 u32 pmc_e3;
50 u32 pmc_e4;
51 u32 pm_mask; // Internal mask value for the group
52 u32 pmc1; // Counter values after a read operation as set according to PMCSetGroup
53 u32 pmc2;
54 u32 pmc3;
55 u32 pmc4;
60 void PMCPUSetGroup(PMCPUGroup *group, u32 e1, u32 e2, u32 e3, u32 e4);

1234567891011