PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
iop_mmio_hwport.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dmac_channel_
 
struct  dmac1_mmio_hwport_
 
struct  dmac2_mmio_hwport_
 
struct  dmac_channel3_
 
struct  dmac3_mmio_hwport_
 
struct  ssbus1_mmio_hwport_
 
struct  ssbus2_mmio_hwport_
 
struct  sio0_1_mmio_hwport_
 
struct  sio2_mmio_hwport_
 
struct  usb_mmio_hwport_
 
struct  ieee1394_mmio_hwport_
 
struct  iop_counter_mmio_hwport_
 
struct  iop_mmio_hwport_
 

Macros

#define USE_IOP_MMIO_HWPORT()
 

Typedefs

typedef struct dmac_channel_ dmac_channel_t
 
typedef struct dmac1_mmio_hwport_ dmac1_mmio_hwport_t
 
typedef struct dmac2_mmio_hwport_ dmac2_mmio_hwport_t
 
typedef struct dmac_channel3_ dmac_channel3_t
 
typedef struct dmac3_mmio_hwport_ dmac3_mmio_hwport_t
 
typedef struct ssbus1_mmio_hwport_ ssbus1_mmio_hwport_t
 
typedef struct ssbus2_mmio_hwport_ ssbus2_mmio_hwport_t
 
typedef struct sio0_1_mmio_hwport_ sio0_1_mmio_hwport_t
 
typedef struct sio2_mmio_hwport_ sio2_mmio_hwport_t
 
typedef struct usb_mmio_hwport_ usb_mmio_hwport_t
 
typedef struct ieee1394_mmio_hwport_ ieee1394_mmio_hwport_t
 
typedef struct iop_counter_mmio_hwport_ iop_counter_mmio_hwport_t
 
typedef struct iop_mmio_hwport_ iop_mmio_hwport_t
 

Detailed Description

Definitions for memory-mapped I/O for IOP.

Definition in file iop_mmio_hwport.h.


Data Structure Documentation

◆ dmac_channel_

struct dmac_channel_

Definition at line 19 of file iop_mmio_hwport.h.

Data Fields
vu32 madr
vu32 bcr
vu32 chcr
vu32 tadr

◆ dmac1_mmio_hwport_

struct dmac1_mmio_hwport_

Definition at line 27 of file iop_mmio_hwport.h.

+ Collaboration diagram for dmac1_mmio_hwport_:
Data Fields
dmac_channel_t oldch[7]
vu32 dpcr1
vu32 dicr1

◆ dmac2_mmio_hwport_

struct dmac2_mmio_hwport_

Definition at line 34 of file iop_mmio_hwport.h.

+ Collaboration diagram for dmac2_mmio_hwport_:
Data Fields
dmac_channel_t newch[6]
dmac_channel_t new_unusedch
vu32 dpcr2
vu32 dicr2
vu32 dmacen
vu32 dmacinten

◆ dmac_channel3_

struct dmac_channel3_

Definition at line 44 of file iop_mmio_hwport.h.

Data Fields
vu32 madr
vu32 dlen
vu32 slice
vu32 chcr
vu32 rtar
vu32 DmarReadStart
vu32 DmarReadEnd

◆ dmac3_mmio_hwport_

struct dmac3_mmio_hwport_

Definition at line 55 of file iop_mmio_hwport.h.

+ Collaboration diagram for dmac3_mmio_hwport_:
Data Fields
dmac_channel3_t dmac_channel3_0
u8 unused_1c[0x4]
dmac_channel3_t dmac_channel3_1
u8 unused_3c[0x4]
dmac_channel3_t dmac_channel3_2
vu32 DmarWriteStart
vu32 DmarWriteEnd
u8 unused_64[0x1C]

◆ ssbus1_mmio_hwport_

struct ssbus1_mmio_hwport_

Definition at line 67 of file iop_mmio_hwport.h.

Data Fields
vu32 ind_0_address
vu32 ind_8_address
vu32 ind_0_delay
vu32 ind_1_delay
vu32 ind_2_delay
vu32 ind_4_delay
vu32 ind_5_delay
vu32 ind_8_delay
vu32 common_delay

◆ ssbus2_mmio_hwport_

struct ssbus2_mmio_hwport_

Definition at line 80 of file iop_mmio_hwport.h.

Data Fields
vu32 ind_1_address
vu32 ind_4_address
vu32 ind_5_address
vu32 ind_9_address
vu32 ind_B_address
vu32 ind_9_delay
vu32 ind_A_delay
vu32 ind_B_delay
vu32 ind_C_delay

◆ sio0_1_mmio_hwport_

struct sio0_1_mmio_hwport_

Definition at line 93 of file iop_mmio_hwport.h.

Data Fields
vu32 data
vu32 stat
vu16 mode
vu16 ctrl
vu16 misc
vu16 baud

◆ sio2_mmio_hwport_

struct sio2_mmio_hwport_

Definition at line 103 of file iop_mmio_hwport.h.

Data Fields
vu8 send3_buf[0x40]
vu8 send1_2_buf[0x20]
vu32 out_fifo
vu32 in_fifo
vu32 ctrl
vu32 recv1
vu32 recv2
vu32 recv3
vu32 unk_78
vu32 unk_7c
vu32 stat
u8 unused[0x7c]

◆ usb_mmio_hwport_

struct usb_mmio_hwport_

Definition at line 119 of file iop_mmio_hwport.h.

Data Fields
vu32 HcRevision
vu32 HcControl
vu32 HcCommandStatus
vu32 HcInterruptStatus
vu32 HcInterruptEnable
vu32 HcInterruptDisable
vu32 HcHCCA
vu32 HcPeriodCurrentEd
vu32 HcControlHeadEd
vu32 HcControlCurrentEd
vu32 HcBulkHeadEd
vu32 HcBulkCurrentEd
vu32 HcDoneHead
vu32 HcFmInterval
vu32 HcFmRemaining
vu32 HcFmNumber
vu32 HcPeriodicStart
vu32 HcLsThreshold
vu32 HcRhDescriptorA
vu32 HcRhDescriptorB
vu32 HcRhStatus
vu32 HcRhPortStatus[2]
u8 unused[0xa4]

◆ ieee1394_mmio_hwport_

struct ieee1394_mmio_hwport_

Definition at line 146 of file iop_mmio_hwport.h.

Data Fields
vu32 NodeID
vu32 CycleTime
vu32 ctrl0
vu32 ctrl1
vu32 ctrl2
vu32 PHYAccess
vu32 UnknownRegister18
vu32 UnknownRegister1C
vu32 intr0
vu32 intr0Mask
vu32 intr1
vu32 intr1Mask
vu32 intr2
vu32 intr2Mask
vu32 dmar
vu32 ack_status
vu32 ubufTransmitNext
vu32 ubufTransmitLast
vu32 ubufTransmitClear
vu32 ubufReceiveClear
vu32 ubufReceive
vu32 ubufReceiveLevel
vu32 unmapped1[0x06]
vu32 UnknownRegister70
vu32 UnknownRegister74
vu32 UnknownRegister78
vu32 UnknownRegister7C
vu32 PHT_ctrl_ST_R0
vu32 PHT_split_TO_R0
vu32 PHT_ReqResHdr0_R0
vu32 PHT_ReqResHdr1_R0
vu32 PHT_ReqResHdr2_R0
vu32 STRxNIDSel0_R0
vu32 STRxNIDSel1_R0
vu32 STRxHDR_R0
vu32 STTxHDR_R0
vu32 DTransCTRL0
vu32 CIPHdrTx0_R0
vu32 CIPHdrTx1_R0
vu32 padding4
vu32 STTxTimeStampOffs_R0
vu32 dmaCtrlSR0
vu32 dmaTransTRSH0
vu32 dbufFIFO_lvlR0
vu32 dbufTxDataR0
vu32 dbufRxDataR0
vu32 dbufWatermarksR0
vu32 dbufFIFOSzR0
vu32 unmapped2[0x0B]
vu32 PHT_ctrl_ST_R1
vu32 PHT_split_TO_R1
vu32 PHT_ReqResHdr0_R1
vu32 PHT_ReqResHdr1_R1
vu32 PHT_ReqResHdr2_R1
vu32 STRxNIDSel0_R1
vu32 STRxNIDSel1_R1
vu32 STRxHDR_R1
vu32 STTxHDR_R1
vu32 DTransCTRL1
vu32 CIPHdrTx0_R1
vu32 CIPHdrTx1_R1
vu32 padding5
vu32 STTxTimeStampOffs_R1
vu32 dmaCtrlSR1
vu32 dmaTransTRSH1
vu32 dbufFIFO_lvlR1
vu32 dbufTxDataR1
vu32 dbufRxDataR1
vu32 dbufWatermarksR1
vu32 dbufFIFOSzR1

◆ iop_counter_mmio_hwport_

struct iop_counter_mmio_hwport_

Definition at line 244 of file iop_mmio_hwport.h.

Data Fields
vu32 count
vu32 mode
vu32 target
vu32 unused_c

◆ iop_mmio_hwport_

struct iop_mmio_hwport_

Definition at line 252 of file iop_mmio_hwport.h.

+ Collaboration diagram for iop_mmio_hwport_:
Data Fields
u8 scratchpad_cache0[0x400]
u8 scratchpad_cache1[0x400]
u8 unv_0800[0x800]
ssbus1_mmio_hwport_t ssbus1
u8 unv_1024[0x1c]
sio0_1_mmio_hwport_t sio0
sio0_1_mmio_hwport_t sio1
vu32 iop_ram_size
u8 unv_1064[0xC]
vu32 istat
vu32 imask
vu32 iop_sbus_info
vu32 unk_107c
dmac1_mmio_hwport_t dmac1
u8 unv_10f8[0x8]
iop_counter_mmio_hwport_t counter1[3]
u8 unv_1130[0x2d0]
ssbus2_mmio_hwport_t ssbus2
u8 unv_1424[0x2c]
vu32 iop_sbus_ctrl[2]
u8 unk_1458[0x8]
u8 dev9c[0x20]
iop_counter_mmio_hwport_t counter2[3]
u8 unk_14b0[0x10]
vu32 rtc_holdmode
u8 unk_14c4[0x3c]
dmac2_mmio_hwport_t dmac2
dmac3_mmio_hwport_t dmac3
usb_mmio_hwport_t usb
u8 unk_1700[0x100]
vu32 ps1_cdrom
u8 unk_1804[0xc]
vu32 ps1_gpu1
vu32 ps1_gpu2
u8 unk_1818[0x8]
vu32 ps1_mdec1
vu32 ps1_mdec2
u8 unk_1828[0x8]
u8 unk_1830[0xd0]
u8 deckard_i2c[0x20]
u8 unv_1920[0x2e0]
u8 spu_core0[0x400]
u8 exp2_r2[0x2000]
u8 unk_4000[0x4000]
u8 sio2_internal[0x200]
sio2_mmio_hwport_t sio2
u8 unk_8300[0x100]
ieee1394_mmio_hwport_t ieee1394

Macro Definition Documentation

◆ USE_IOP_MMIO_HWPORT

#define USE_IOP_MMIO_HWPORT ( )

Definition at line 309 of file iop_mmio_hwport.h.