Home
last modified time | relevance | path

Searched refs:tcode (Results 1 – 10 of 10) sorted by relevance

/linux-2.4.37.9/drivers/ieee1394/
Dieee1394_transactions.c26 packet->tcode = tc; \
87 packet->tcode = TCODE_ISO_DATA; in fill_iso_packet()
110 packet->tcode = TCODE_ISO_DATA; in fill_async_stream_packet()
220 if (packet->tcode == TCODE_WRITEQ in hpsb_packet_success()
221 || packet->tcode == TCODE_WRITEB) { in hpsb_packet_success()
225 "(tcode %d)", packet->node_id, packet->tcode); in hpsb_packet_success()
231 if (packet->tcode == TCODE_WRITEB in hpsb_packet_success()
232 || packet->tcode == TCODE_LOCK_REQUEST) { in hpsb_packet_success()
236 "(tcode %d)", packet->node_id, packet->tcode); in hpsb_packet_success()
249 packet->ack_code, packet->node_id, packet->tcode); in hpsb_packet_success()
Dieee1394_core.c594 void handle_packet_response(struct hpsb_host *host, int tcode, quadlet_t *data, in handle_packet_response() argument
622 switch (packet->tcode) { in handle_packet_response()
625 if (tcode == TCODE_WRITE_RESPONSE) tcode_match = 1; in handle_packet_response()
628 if (tcode == TCODE_READQ_RESPONSE) tcode_match = 1; in handle_packet_response()
631 if (tcode == TCODE_READB_RESPONSE) tcode_match = 1; in handle_packet_response()
634 if (tcode == TCODE_LOCK_RESPONSE) tcode_match = 1; in handle_packet_response()
652 switch (tcode) { in handle_packet_response()
705 packet->tcode = tc; \
756 static void handle_incoming_packet(struct hpsb_host *host, int tcode, in handle_incoming_packet() argument
769 switch (tcode) { in handle_incoming_packet()
[all …]
Dohci1394.c207 static inline void packet_swab(quadlet_t *data, int tcode) in packet_swab() argument
209 size_t size = hdr_sizes[tcode]; in packet_swab()
211 if (tcode > TCODE_LOCK_RESPONSE || hdr_sizes[tcode] == 0) in packet_swab()
636 packet->tcode, packet->speed_code); in insert_packet()
666 if (packet->tcode == TCODE_ISO_DATA) { in insert_packet()
677 packet_swab(d->prg_cpu[idx]->data, packet->tcode); in insert_packet()
681 if (packet->tcode == TCODE_STREAM_DATA){ in insert_packet()
748 packet_swab(d->prg_cpu[idx]->data, packet->tcode); in insert_packet()
858 else if ((packet->tcode == TCODE_ISO_DATA) && (packet->type == hpsb_iso)) { in ohci_transmit()
884 } else if ((packet->tcode & 0x02) && (packet->tcode != TCODE_ISO_DATA)) in ohci_transmit()
[all …]
Draw1394.h101 __u8 tcode; member
Dieee1394_core.h39 char tcode; member
Deth1394.c1278 p->tcode = TCODE_WRITEB; in ether1394_prep_write_packet()
1305 p->tcode = TCODE_STREAM_DATA; in ether1394_prep_gasp_packet()
1326 if (packet->tcode != TCODE_STREAM_DATA) in ether1394_free_packet()
1400 if (packet->tcode != TCODE_STREAM_DATA) in ether1394_complete_cb()
Draw1394.c873 packet->tcode = (packet->header[0] >> 4) & 0xf; in handle_async_send()
1022 arm_req->tcode = (flags >> 4) & 0x0f; in arm_read()
1147 arm_req->tcode = (flags >> 4) & 0x0f; in arm_write()
1337 arm_req->tcode = (flags >> 4) & 0x0f; in arm_lock()
1544 arm_req->tcode = (flags >> 4) & 0x0f; in arm_lock64()
Dpcilynx.c558 if (packet->tcode == TCODE_WRITEQ in lynx_transmit()
559 || packet->tcode == TCODE_READQ_RESPONSE) { in lynx_transmit()
/linux-2.4.37.9/arch/mips/kernel/
Dtraps.c632 unsigned int opcode, tcode = 0; in do_tr() local
640 tcode = ((opcode >> 6) & ((1 << 10) - 1)); in do_tr()
648 switch (tcode) { in do_tr()
651 if (tcode == BRK_DIVZERO) in do_tr()
/linux-2.4.37.9/arch/mips64/kernel/
Dtraps.c642 unsigned int opcode, tcode = 0; in do_tr() local
650 tcode = ((opcode >> 6) & ((1 << 10) - 1)); in do_tr()
658 switch (tcode) { in do_tr()
661 if (tcode == BRK_DIVZERO) in do_tr()