RetroArch
|
#include <stdint.h>
#include <string.h>
#include <gccore.h>
#include <ogcsys.h>
#include <ogc/machine/processor.h>
#include <retro_miscellaneous.h>
#include "../../defines/gx_defines.h"
Macros | |
#define | __viGetSDA() (_SHIFTR(_i2cReg[50],15,1)) |
Functions | |
void | udelay (int us) |
static INLINE void | __viOpenI2C (u32 channel) |
static INLINE void | __viSetSCL (u32 channel) |
static INLINE void | __viSetSDA (u32 channel) |
static u32 | __sendSlaveAddress (u8 addr) |
static u32 | __VISendI2CData (u8 addr, void *val, u32 len) |
static void | __VIWriteI2CRegister8 (u8 reg, u8 data) |
static void | __VIWriteI2CRegisterBuf (u8 reg, int size, u8 *data) |
void | VIDEO_SetTrapFilter (bool enable) |
void | VIDEO_SetGamma (int gamma) |
Variables | |
static u32 | i2cIdentFirst = 0 |
static u32 | i2cIdentFlag = 1 |
static vu32 *const | _i2cReg = (u32*)0xCD800000 |
static const u8 | gamma_coeffs [][33] |
void udelay | ( | int | us | ) |
void VIDEO_SetGamma | ( | int | gamma | ) |
|
static |
|
static |