19#ifndef __PACKET2_CHAIN_H__
20#define __PACKET2_CHAIN_H__
23#include <packet2_types.h>
26#define PACKET2_COUNT_QWC 1 << 16
54 tag->
ADDR = (u64)((u32)addr);
76 assert(((u32)packet2->
next & 0xF) == 0);
79 if (qwc == PACKET2_COUNT_QWC)
103 assert(((u32)packet2->
next & 0xF) == 0);
156 assert(((u32)packet2->
next & 0xF) == 0);
172 assert(((u32)packet2->
next & 0xF) == 0);
190 assert(((u32)packet2->
next & 0xF) == 0);
208 assert(((u32)packet2->
next & 0xF) == 0);
225 assert(((u32)packet2->
next & 0xF) == 0);
static void packet2_chain_refe(packet2_t *packet2, const void *ref_data, u32 qw_length, u8 irq, u8 spr, u32 pce)
static void packet2_chain_add_dma_tag(packet2_t *packet2, u32 qwc, u32 pce, enum DmaTagType id, u8 irq, const u128 *addr, u8 spr)
static void packet2_chain_close_tag(packet2_t *packet2)
static void packet2_chain_set_dma_tag(dma_tag_t *tag, u32 qwc, u32 pce, u32 id, u8 irq, const u128 *addr, u8 spr)
static void packet2_chain_next(packet2_t *packet2, const dma_tag_t *next_tag, u8 irq, u8 spr, u32 pce)
static void packet2_chain_ref(packet2_t *packet2, const void *ref_data, u32 qw_length, u8 irq, u8 spr, u32 pce)
static void packet2_chain_open_cnt(packet2_t *packet2, u8 irq, u32 pce, u8 spr)
static void packet2_chain_ret(packet2_t *packet2, u8 irq, u32 pce)
static void packet2_chain_open_end(packet2_t *packet2, u8 irq, u32 pce)
static void packet2_chain_refs(packet2_t *packet2, const void *ref_data, u32 qw_length, u8 irq, u8 spr, u32 pce)
static void packet2_chain_call(packet2_t *packet2, const void *next_tag, u8 irq, u8 spr, u32 pce)
dma_tag_t * tag_opened_at
static void packet2_advance_next(packet2_t *packet2, u32 i)