25 if(num_qwords <= (GS_PACKET_DATA_QWORD_MAX-table->qword_offset))
27 pointer=&table->packets[table->packet_offset].data[table->qword_offset];
28 table->qword_offset += num_qwords;
32 if(table->packet_offset+1 == table->packet_count)
39 packet=(
GS_GIF_PACKET*)UNCACHED_SEG(&table->packets[table->packet_offset]);
40 packet->tag.qwc=table->qword_offset;
45 packet->tag.addr=(
unsigned int)&((
GS_GIF_PACKET*)UNCACHED_SEG(&table->packets[table->packet_offset + 1]))->tag;
50 table->qword_offset= 0;
51 table->packet_offset++;
55 if( num_qwords <= (GS_PACKET_DATA_QWORD_MAX-table->qword_offset) )
57 pointer=&table->packets[table->packet_offset].data[table->qword_offset];
58 table->qword_offset += num_qwords;
72 table->packet_offset=0;
73 table->qword_offset=0;
80 if(table->packet_offset==0 && table->qword_offset==0)
83 if(table->packets == NULL)
87 packet=(
GS_GIF_PACKET*)UNCACHED_SEG(&table->packets[table->packet_offset]);
88 packet->tag.qwc =table->qword_offset;
93 packet->tag.addr =(u32)0;
97 GsDmaSend_tag(0, 0, &table->packets[0].tag);