| /TwlSDK-5.1.0/include/twl/dsp/common/ |
| D | g711.h | 42 void DSPi_EncodeG711Core(void *dst, const void *src, u32 len, DSPAudioCodecMode mode); 43 void DSPi_DecodeG711Core(void *dst, const void *src, u32 len, DSPAudioCodecMode mode); 115 SDK_INLINE void DSP_EncodeG711(void *dst, const void *src, u32 len, DSPAudioCodecMode mode) in DSP_EncodeG711() argument 119 DSPi_EncodeG711Core(dst, src, len, mode); in DSP_EncodeG711() 135 SDK_INLINE void DSP_DecodeG711(void *dst, const void *src, u32 len, DSPAudioCodecMode mode) in DSP_DecodeG711() argument 139 DSPi_DecodeG711Core(dst, src, len, mode); in DSP_DecodeG711() 180 void DSP_EncodeG711(void *dst, const void *src, u32 len, DSPAudioCodecMode mode); 181 void DSP_DecodeG711(void *dst, const void *src, u32 len, DSPAudioCodecMode mode);
|
| D | graphics.h | 73 u16 mode; member 111 …t void* src, void* dst, u16 img_width, u16 img_height, f32 rw, f32 ry, DSPGraphicsScalingMode mode, 113 …void* src, void* dst, u16 img_width, u16 img_height, fx32 rw, fx32 ry, DSPGraphicsScalingMode mode, 236 …t void* src, void* dst, u16 img_width, u16 img_height, f32 rx, f32 ry, DSPGraphicsScalingMode mode) in DSP_Scaling() argument 240 …return DSPi_ScalingCore(src, dst, img_width, img_height, rx, ry, mode, 0, 0, img_width, img_height… in DSP_Scaling() 245 …void* src, void* dst, u16 img_width, u16 img_height, fx32 rx, fx32 ry, DSPGraphicsScalingMode mode) in DSP_ScalingFx() argument 249 …return DSPi_ScalingFxCore(src, dst, img_width, img_height, rx, ry, mode, 0, 0, img_width, img_heig… in DSP_ScalingFx() 255 DSPGraphicsScalingMode mode, DSP_GraphicsCallback callback) in DSP_ScalingAsync() argument 259 …return DSPi_ScalingCore(src, dst, img_width, img_height, rx, ry, mode, 0, 0, img_width, img_height… in DSP_ScalingAsync() 265 DSPGraphicsScalingMode mode, DSP_GraphicsCallback callback) in DSP_ScalingFxAsync() argument [all …]
|
| D | pipe.h | 248 int DSP_OpenFile(const char *path, int mode); 260 #define fopen(path, mode) (FILE*)DSP_OpenFile(path, mode)
|
| /TwlSDK-5.1.0/build/libraries/os/common/src/ |
| D | os_event.c | 59 u32 OS_WaitEvent(OSEvent* event, u32 pattern, OSEventMode mode ) in OS_WaitEvent() argument 61 return OS_WaitEventEx(event, pattern, mode, 0); in OS_WaitEvent() 79 u32 OS_WaitEventEx(OSEvent* event, u32 pattern, OSEventMode mode, u32 clearBit ) in OS_WaitEventEx() argument 86 switch( mode ) in OS_WaitEventEx() 188 u32 OS_PollEvent(OSEvent* event, u32 pattern, OSEventMode mode ) in OS_PollEvent() argument 190 return OS_PollEventEx( event, pattern, mode, 0 ); in OS_PollEvent() 208 u32 OS_PollEventEx(OSEvent* event, u32 pattern, OSEventMode mode, u32 clearBit ) in OS_PollEventEx() argument 215 switch( mode ) in OS_PollEventEx()
|
| /TwlSDK-5.1.0/build/demos/fs/async/src/ |
| D | main.c | 40 int mode; member 65 switch (pt->mode) in AsyncAccessTask() 90 switch (pt->mode) in AsyncAccessTask() 130 pt - task_thread, pt->priority, count, pt->mode, current_total); in AsyncAccessTask() 133 if (++pt->mode >= datamode_max) in AsyncAccessTask() 135 pt->mode = data_00; in AsyncAccessTask() 176 pt->mode = data_00 + i; in NitroMain()
|
| /TwlSDK-5.1.0/include/nitro/gx/ |
| D | gx.h | 397 static void GX_SetOBJVRamModeChar(GXOBJVRamModeChar mode); 398 static void GX_SetOBJVRamModeBmp(GXOBJVRamModeBmp mode); 416 static void GXS_SetOBJVRamModeChar(GXOBJVRamModeChar mode); 417 static void GXS_SetOBJVRamModeBmp(GXOBJVRamModeBmp mode); 677 static inline void GX_SetOBJVRamModeChar(GXOBJVRamModeChar mode) in GX_SetOBJVRamModeChar() argument 679 GX_OBJVRAMMODE_CHAR_ASSERT(mode); in GX_SetOBJVRamModeChar() 682 ~(REG_GX_DISPCNT_EXOBJ_CH_MASK | REG_GX_DISPCNT_OBJMAP_CH_MASK) | mode); in GX_SetOBJVRamModeChar() 710 static inline void GXS_SetOBJVRamModeChar(GXOBJVRamModeChar mode) in GXS_SetOBJVRamModeChar() argument 712 GXS_OBJVRAMMODE_CHAR_ASSERT(mode); in GXS_SetOBJVRamModeChar() 716 REG_GXS_DB_DISPCNT_OBJMAP_CH_MASK) | mode); in GXS_SetOBJVRamModeChar() [all …]
|
| D | gx_capture.h | 127 GXCaptureMode mode, 151 GXCaptureMode mode, in GX_SetCapture() argument 159 GX_CAPTURE_MODE_ASSERT(mode); in GX_SetCapture() 164 (mode << REG_GX_DISPCAPCNT_MOD_SHIFT) | in GX_SetCapture()
|
| D | g2_oam.h | 306 static void G2_SetOBJMode(GXOamAttr *oam, GXOamMode mode, int cParam); 316 GXOamMode mode, 415 static inline void G2_SetOBJMode(GXOamAttr *oam, GXOamMode mode, int cParam) in G2_SetOBJMode() argument 417 GX_OAM_MODE_ASSERT(mode); in G2_SetOBJMode() 420 oam->attr01 = ((oam->attr01 & ~GX_OAM_ATTR01_MODE_MASK) | (mode << GX_OAM_ATTR01_MODE_SHIFT)); in G2_SetOBJMode() 671 GXOamMode mode, in G2_SetOBJAttr() argument 691 … (mode << GX_OAM_ATTR01_MODE_SHIFT) | \ in G2_SetOBJAttr() 699 GX_OAM_MODE_ASSERT(mode); in G2_SetOBJAttr() 705 SDK_WARNING(!(mode == GX_OAM_MODE_BITMAPOBJ && color == GX_OAM_COLORMODE_256), in G2_SetOBJAttr() 713 if (GX_OAM_MODE_BITMAPOBJ == mode) in G2_SetOBJAttr() [all …]
|
| /TwlSDK-5.1.0/build/tools/defval/ |
| D | misc.c | 168 FILE *Fopen(const char *filename, const char *mode) in Fopen() argument 172 DebugPrintf("filename=[%s] mode=[%s]\n", filename, mode); in Fopen() 176 fp = (mode[0] == 'r') ? stdin : stdout; in Fopen() 180 if (NULL == (fp = fopen(filename, mode))) in Fopen() 347 void SetDebugMode(BOOL mode) in SetDebugMode() argument 349 sDebugMode = mode; in SetDebugMode()
|
| D | misc.h | 42 FILE *Fopen(const char *filename, const char *mode); 46 void SetDebugMode(BOOL mode);
|
| /TwlSDK-5.1.0/build/libraries/ext/common/src/ |
| D | ext_scrntest.c | 57 static GXCaptureMode getCaptureMode_(GXDispMode mode); 58 static GXCaptureSrcB getCaptureSrcB_(GXDispMode mode); 311 static GXCaptureMode getCaptureMode_(GXDispMode mode) in getCaptureMode_() argument 313 if (mode == GX_DISPMODE_GRAPHICS) in getCaptureMode_() 334 static GXCaptureSrcB getCaptureSrcB_(GXDispMode mode) in getCaptureSrcB_() argument 336 if (mode == GX_DISPMODE_GRAPHICS) in getCaptureSrcB_() 343 if (mode == GX_DISPMODE_MMEM) in getCaptureSrcB_()
|
| /TwlSDK-5.1.0/build/libraries/dsp/ARM9.TWL/src/ |
| D | dsp_g711.c | 134 void DSPi_EncodeG711Core(void *dst, const void *src, u32 len, DSPAudioCodecMode mode) in DSPi_EncodeG711Core() argument 138 (mode & DSP_AUDIO_CODEC_MODE_MASK))); in DSPi_EncodeG711Core() 153 void DSPi_DecodeG711Core(void *dst, const void *src, u32 len, DSPAudioCodecMode mode) in DSPi_DecodeG711Core() argument 157 (mode & DSP_AUDIO_CODEC_MODE_MASK))); in DSPi_DecodeG711Core()
|
| D | dsp_graphics.c | 241 …t void* src, void* dst, u16 img_width, u16 img_height, f32 rx, f32 ry, DSPGraphicsScalingMode mode, in DSPi_ScalingCore() argument 279 sc_param.mode = mode; in DSPi_ScalingCore() 319 …void* src, void* dst, u16 img_width, u16 img_height, fx32 rx, fx32 ry, DSPGraphicsScalingMode mode, in DSPi_ScalingFxCore() argument 358 sc_param.mode = mode; in DSPi_ScalingFxCore()
|
| /TwlSDK-5.1.0/include/nitro/os/common/ |
| D | event.h | 70 u32 OS_WaitEvent(OSEvent* event, u32 pattern, OSEventMode mode ); 87 u32 OS_WaitEventEx(OSEvent* event, u32 pattern, OSEventMode mode, u32 clearBit ); 158 u32 OS_PollEvent(OSEvent* event, u32 pattern, OSEventMode mode ); 175 u32 OS_PollEventEx(OSEvent* event, u32 pattern, OSEventMode mode, u32 clearBit );
|
| /TwlSDK-5.1.0/include/nitro/hw/ARM9/ |
| D | ioreg_CP.h | 163 #define REG_CP_DIVCNT_FIELD( busy, div0, mode ) \ argument 167 ((u32)(mode) << REG_CP_DIVCNT_MODE_SHIFT)) 206 #define REG_CP_SQRTCNT_FIELD( busy, mode ) \ argument 209 ((u32)(mode) << REG_CP_SQRTCNT_MODE_SHIFT))
|
| D | ioreg_MI.h | 239 #define REG_MI_DMA0CNT_FIELD( e, i, mode, sb, cm, sar, dar, wordcnt ) \ argument 243 ((u32)(mode) << REG_MI_DMA0CNT_MODE_SHIFT) | \ 313 #define REG_MI_DMA1CNT_FIELD( e, i, mode, sb, cm, sar, dar, wordcnt ) \ argument 317 ((u32)(mode) << REG_MI_DMA1CNT_MODE_SHIFT) | \ 387 #define REG_MI_DMA2CNT_FIELD( e, i, mode, sb, cm, sar, dar, wordcnt ) \ argument 391 ((u32)(mode) << REG_MI_DMA2CNT_MODE_SHIFT) | \ 461 #define REG_MI_DMA3CNT_FIELD( e, i, mode, sb, cm, sar, dar, wordcnt ) \ argument 465 ((u32)(mode) << REG_MI_DMA3CNT_MODE_SHIFT) | \ 509 #define REG_MI_MCCNT0_FIELD( e, i, sel, busy, mode, baudrate ) \ argument 515 ((u32)(mode) << REG_MI_MCCNT0_MODE_SHIFT) | \
|
| /TwlSDK-5.1.0/include/twl/hw/ARM9/ |
| D | ioreg_CP.h | 163 #define REG_CP_DIVCNT_FIELD( busy, div0, mode ) \ argument 167 ((u32)(mode) << REG_CP_DIVCNT_MODE_SHIFT)) 206 #define REG_CP_SQRTCNT_FIELD( busy, mode ) \ argument 209 ((u32)(mode) << REG_CP_SQRTCNT_MODE_SHIFT))
|
| /TwlSDK-5.1.0/include/twl/ |
| D | dbghost.h | 61 int dbghost_dos_open(char *fname,int mode); 62 int dbghost_dos_creat(char *fname,int mode); 67 int dbghost_dos_file_mode(char *fname,int mode,int action);
|
| /TwlSDK-5.1.0/include/nitro/ |
| D | dbghost.h | 61 int dbghost_dos_open(char *fname,int mode); 62 int dbghost_dos_creat(char *fname,int mode); 67 int dbghost_dos_file_mode(char *fname,int mode,int action);
|
| /TwlSDK-5.1.0/build/libraries/fs/common/include/ |
| D | command.h | 87 u32 mode; member 96 u32 mode; member 110 u32 mode; member
|
| /TwlSDK-5.1.0/build/demos.TWL/mp_shared/wh/ |
| D | wh.h | 385 extern BOOL WH_ParentConnect(int mode, u16 tgid, u16 channel); 397 extern BOOL WH_ChildConnect(int mode, WMBssDesc *bssDesc); 416 extern BOOL WH_ChildConnectAuto(int mode, const u8 *macAddr, u16 channel);
|
| /TwlSDK-5.1.0/build/demos/gx/UnitTours/DEMOLib/src/ |
| D | DEMOHostio.c | 457 …c FSResult DEMOi_HIO_OpenFile(FSArchive *arc, FSFile *file, u32 baseid, const char *path, u32 mode) in DEMOi_HIO_OpenFile() argument 471 flags |= ((mode & FS_FILEMODE_R) != 0) ? ISTDFIO_FILEIO_FLAG_READ : 0; in DEMOi_HIO_OpenFile() 472 flags |= ((mode & FS_FILEMODE_W) != 0) ? ISTDFIO_FILEIO_FLAG_WRITE : 0; in DEMOi_HIO_OpenFile() 562 u32 mode = ISTDFIO_FILEIO_SEEK_CURRENT; in DEMOi_HIO_SeekFile() local 566 mode = ISTDFIO_FILEIO_SEEK_BEGIN; in DEMOi_HIO_SeekFile() 570 mode = ISTDFIO_FILEIO_SEEK_CURRENT; in DEMOi_HIO_SeekFile() 574 mode = ISTDFIO_FILEIO_SEEK_END; in DEMOi_HIO_SeekFile() 576 result = DEMOi_HIO_ConvertError(ISTDFIOSeek(handle, (s32)*offset, mode, (u32*)offset)); in DEMOi_HIO_SeekFile() 631 const char *path, u32 mode) in DEMOi_HIO_OpenDirectory() argument 647 flags |= ((mode & FS_FILEMODE_R) != 0) ? ISTDFIO_FILEIO_FLAG_READ : 0; in DEMOi_HIO_OpenDirectory() [all …]
|
| /TwlSDK-5.1.0/build/demos/wireless_shared/wh/ |
| D | wh.h | 396 extern BOOL WH_ParentConnect(int mode, u16 tgid, u16 channel); 408 extern BOOL WH_ChildConnect(int mode, WMBssDesc *bssDesc); 427 extern BOOL WH_ChildConnectAuto(int mode, const u8 *macAddr, u16 channel);
|
| /TwlSDK-5.1.0/include/twl/fatfs/common/ |
| D | api.h | 325 FATFSFileHandle FATFS_OpenFile(const char *path, const char *mode); 433 FATFSDirectoryHandle FATFS_OpenDirectory(const char *path, const char *mode); 640 FATFSFileHandle FATFS_OpenFileW(const u16 *path, const char *mode); 652 FATFSDirectoryHandle FATFS_OpenDirectoryW(const u16 *path, const char *mode);
|
| /TwlSDK-5.1.0/build/libraries/gx/ARM9/src/ |
| D | gx.c | 467 u16 mode = (u16)(*reg & REG_GX_MASTER_BRIGHT_E_MOD_MASK); in GXx_GetMasterBrightness_() local 469 if (mode == 0) in GXx_GetMasterBrightness_() 473 else if (mode == (1 << REG_GX_MASTER_BRIGHT_E_MOD_SHIFT)) in GXx_GetMasterBrightness_() 477 else if (mode == (2 << REG_GX_MASTER_BRIGHT_E_MOD_SHIFT)) in GXx_GetMasterBrightness_()
|