ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
dma_tag_t Struct Reference

#include <packet2_types.h>

Data Fields

u64 QWC: 16
 
u64 PAD: 10
 
u64 PCE: 2
 
u64 ID: 3
 
u64 IRQ: 1
 
u64 ADDR: 31
 
u64 SPR: 1
 
u32 OPT1
 
u32 OPT2
 

Detailed Description

Destination chain tag.

Definition at line 89 of file packet2_types.h.

Field Documentation

◆ ADDR

u64 dma_tag_t::ADDR

Address. Address of packet or next tag instruction (With qword alignment, lower 4 bits become 0.)

Definition at line 115 of file packet2_types.h.

Referenced by packet2_chain_set_dma_tag().

◆ ID

u64 dma_tag_t::ID

Tag ID. (look at DmaTagType)

Definition at line 103 of file packet2_types.h.

Referenced by packet2_chain_set_dma_tag().

◆ IRQ

u64 dma_tag_t::IRQ

Interrupt Request. 0 No interrupt request 1 Interrupt request at end of packet transfer

Definition at line 109 of file packet2_types.h.

Referenced by packet2_chain_set_dma_tag().

◆ OPT1

u32 dma_tag_t::OPT1

Definition at line 122 of file packet2_types.h.

◆ OPT2

u32 dma_tag_t::OPT2

Definition at line 123 of file packet2_types.h.

◆ PAD

u64 dma_tag_t::PAD

Definition at line 93 of file packet2_types.h.

◆ PCE

u64 dma_tag_t::PCE

Priority Control Enable. 00 Nothing performed 01 Reserved 10 Priority setting disabled (D_PCR.PCE = 0) 11 Priority setting enabled (D_PCR.PCE = 1)

Definition at line 101 of file packet2_types.h.

Referenced by packet2_chain_set_dma_tag().

◆ QWC

u64 dma_tag_t::QWC

Quadword count.

Definition at line 92 of file packet2_types.h.

Referenced by packet2_chain_close_tag(), and packet2_chain_set_dma_tag().

◆ SPR

u64 dma_tag_t::SPR

Memory/SPR Selection. 0 Memory address 1 SPR address

Definition at line 121 of file packet2_types.h.

Referenced by packet2_chain_set_dma_tag().


The documentation for this struct was generated from the following file: