PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
block.c File Reference
#include "types.h"
#include <stdarg.h>
#include "freesd.h"
#include "spu2regs.h"
+ Include dependency graph for block.c:

Go to the source code of this file.

Functions

void SetDmaWrite (s32 chan)
 
void SetDmaRead (s32 chan)
 
u32 DmaStop (u32 core)
 
s32 BlockTransWriteFrom (u8 *iopaddr, u32 size, s32 chan, u16 mode, u8 *startaddr)
 
s32 BlockTransWrite (u8 *iopaddr, u32 size, s32 chan)
 
s32 BlockTransRead (u8 *iopaddr, u32 size, s32 chan, s16 mode)
 
int sceSdBlockTrans (s16 chan, u16 mode, u8 *iopaddr, u32 size,...)
 
u32 sceSdBlockTransStatus (s16 chan, s16 flag)
 

Variables

u32 BlockTransBuff [2]
 
u32 BlockTransAddr [2]
 
u32 BlockTransSize [2]
 
IntrData TransIntrData [2]
 

Detailed Description

Part of the IOP Sound Driver

Definition in file block.c.

Function Documentation

◆ SetDmaWrite()

void SetDmaWrite ( s32  chan)
extern

Definition at line 595 of file spu2.c.

◆ SetDmaRead()

void SetDmaRead ( s32  chan)
extern

Definition at line 601 of file spu2.c.

◆ DmaStop()

u32 DmaStop ( u32  core)
extern

Definition at line 576 of file spu2.c.

◆ BlockTransWriteFrom()

s32 BlockTransWriteFrom ( u8 *  iopaddr,
u32  size,
s32  chan,
u16  mode,
u8 *  startaddr 
)

Definition at line 28 of file block.c.

◆ BlockTransWrite()

s32 BlockTransWrite ( u8 *  iopaddr,
u32  size,
s32  chan 
)

Definition at line 79 of file block.c.

◆ BlockTransRead()

s32 BlockTransRead ( u8 *  iopaddr,
u32  size,
s32  chan,
s16  mode 
)

Definition at line 108 of file block.c.

◆ sceSdBlockTrans()

int sceSdBlockTrans ( s16  chan,
u16  mode,
u8 *  iopaddr,
u32  size,
  ... 
)

Definition at line 146 of file block.c.

◆ sceSdBlockTransStatus()

u32 sceSdBlockTransStatus ( s16  chan,
s16  flag 
)

Definition at line 217 of file block.c.

Variable Documentation

◆ BlockTransBuff

u32 BlockTransBuff[2]

Definition at line 18 of file block.c.

◆ BlockTransAddr

u32 BlockTransAddr[2]

Definition at line 19 of file block.c.

◆ BlockTransSize

u32 BlockTransSize[2]

Definition at line 20 of file block.c.

◆ TransIntrData

IntrData TransIntrData[2]
extern

Definition at line 44 of file spu2.c.