19#ifndef __PACKET2_VIF_H__
20#define __PACKET2_VIF_H__
23#include <packet2_types.h>
26#define MAKE_VIF_CODE(_immediate, _num, _cmd, _irq) ((u32)(_immediate) | ((u32)(_num) << 16) | ((u32)(_cmd) << 24) | ((u32)(_irq) << 31))
55 MAKE_VIF_CODE(vuAddr | ((u32)usigned << 14) | ((u32)dblBuffered << 15),
57 mode | ((u32)masked << 4) | 0x60, irq));
71 assert(((u32)packet2->
next & 0x3) == 0);
73 assert(unpack_num <= 256);
vif_code_t * vif_code_opened_at
static void packet2_vif_strow(packet2_t *packet2, const u32 *row_arr, u8 irq)
static void packet2_vif_mscal(packet2_t *packet2, u32 addr, u8 irq)
static void packet2_vif_close_unpack_manual(packet2_t *packet2, u32 unpack_num)
static void packet2_vif_base(packet2_t *packet2, u32 base, u8 irq)
static void packet2_vif_flusha(packet2_t *packet2, u8 irq)
static void packet2_vif_flushe(packet2_t *packet2, u8 irq)
static void packet2_vif_stcol(packet2_t *packet2, const u32 *col_arr, u8 irq)
static void packet2_vif_pad128(packet2_t *packet2)
static void packet2_vif_pad96(packet2_t *packet2)
static void packet2_vif_mark(packet2_t *packet2, u32 value, u8 irq)
void packet2_vif_add_micro_program(packet2_t *packet2, u32 dest, u32 *start, u32 *end)
static void packet2_vif_close_direct_auto(packet2_t *packet2)
static void packet2_vif_open_unpack(packet2_t *packet2, enum UnpackMode mode, u32 vuAddr, u8 dblBuffered, u8 masked, u8 usigned, u8 irq)
static void packet2_vif_nop(packet2_t *packet2, u8 irq)
static void packet2_vif_stmod(packet2_t *packet2, u32 mode, u8 irq)
static void packet2_vif_mskpath3(packet2_t *packet2, u32 mask, u8 irq)
static void packet2_vif_mscalf(packet2_t *packet2, u32 addr, u8 irq)
static void packet2_vif_stcycl(packet2_t *packet2, u32 wl, u32 cl, u8 irq)
static void packet2_vif_mscnt(packet2_t *packet2, u8 irq)
static void packet2_vif_mpg(packet2_t *packet2, u32 num, u32 addr, u8 irq)
static void packet2_vif_stmask(packet2_t *packet2, Mask mask, u8 irq)
static void packet2_vif_flush(packet2_t *packet2, u8 irq)
static void packet2_vif_open_direct(packet2_t *packet2, u8 irq)
static void packet2_vif_offset(packet2_t *packet2, u32 offset, u8 irq)
u32 packet2_vif_close_unpack_auto(packet2_t *packet2, u32 wl, u32 cl)
static void packet2_vif_close_direct_manual(packet2_t *packet2, u32 qwords)
static void packet2_vif_itop(packet2_t *packet2, u32 itops, u8 irq)
static void packet2_pad128(packet2_t *packet2, const u32 val)
static void packet2_add_u32(packet2_t *packet2, const u32 val)
static void packet2_pad96(packet2_t *packet2, const u32 val)