Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/firewire/
Dcore-transaction.c46 #define HEADER_TCODE(tcode) ((tcode) << 4) argument
54 #define HEADER_EXTENDED_TCODE(tcode) ((tcode) << 0) argument
210 static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, in fw_fill_request() argument
216 if (tcode == TCODE_STREAM_DATA) { in fw_fill_request()
228 if (tcode > 0x10) { in fw_fill_request()
229 ext_tcode = tcode & ~0x10; in fw_fill_request()
230 tcode = TCODE_LOCK_REQUEST; in fw_fill_request()
237 HEADER_TCODE(tcode) | in fw_fill_request()
244 switch (tcode) { in fw_fill_request()
275 WARN(1, "wrong tcode %d\n", tcode); in fw_fill_request()
[all …]
Dcore.h240 #define TCODE_IS_READ_REQUEST(tcode) (((tcode) & ~1) == 4) argument
241 #define TCODE_IS_BLOCK_PACKET(tcode) (((tcode) & 1) != 0) argument
242 #define TCODE_IS_LINK_INTERNAL(tcode) ((tcode) == TCODE_LINK_INTERNAL) argument
243 #define TCODE_IS_REQUEST(tcode) (((tcode) & 2) == 0) argument
244 #define TCODE_IS_RESPONSE(tcode) (((tcode) & 2) != 0) argument
245 #define TCODE_HAS_REQUEST_DATA(tcode) (((tcode) & 12) != 4) argument
246 #define TCODE_HAS_RESPONSE_DATA(tcode) (((tcode) & 12) != 0) argument
Dcore-cdev.c594 if (request->tcode != TCODE_STREAM_DATA && in init_request()
598 if (request->tcode == TCODE_WRITE_QUADLET_REQUEST && in init_request()
623 request->tcode, destination_id, request->generation, in init_request()
636 switch (arg->send_request.tcode) { in ioctl_send_request()
678 int tcode, int destination, int source, in handle_request() argument
723 if (tcode & 0x10) in handle_request()
724 tcode = TCODE_LOCK_REQUEST; in handle_request()
727 req->tcode = tcode; in handle_request()
737 req->tcode = tcode; in handle_request()
1437 switch (a->tcode) { in ioctl_send_broadcast_request()
[all …]
Dohci.c462 int tcode = header[0] >> 4 & 0xf; in log_ar_at_event() local
478 switch (tcode) { in log_ar_at_event()
491 switch (tcode) { in log_ar_at_event()
495 dir, evts[evt], tcodes[tcode]); in log_ar_at_event()
509 tcodes[tcode], header[1] & 0xffff, header[2], specific); in log_ar_at_event()
518 tcodes[tcode], specific); in log_ar_at_event()
804 u32 status, length, tcode; in handle_ar_packet() local
811 tcode = (p.header[0] >> 4) & 0x0f; in handle_ar_packet()
812 switch (tcode) { in handle_ar_packet()
1271 int z, tcode; in at_context_queue_packet() local
[all …]
Dnosy.c416 u32 tcode_mask, tcode; in packet_irq_handler() local
423 tcode = __le32_to_cpu(lynx->rcv_buffer[1]) >> 4 & 0xf; in packet_irq_handler()
431 tcode_mask = 1 << tcode; in packet_irq_handler()
Dsbp2.c419 int tcode, int destination, int source, in sbp2_status_write() argument
428 if (tcode != TCODE_WRITE_BLOCK_REQUEST || in sbp2_status_write()
Dnet.c799 int tcode, int destination, int source, int generation, in fwnet_receive_packet() argument
814 else if (tcode != TCODE_WRITE_BLOCK_REQUEST) in fwnet_receive_packet()
/linux-3.4.99/sound/firewire/
Dfcp.c75 int tcode, ret, tries = 0; in fcp_avc_transaction() local
89 tcode = command_size == 4 ? TCODE_WRITE_QUADLET_REQUEST in fcp_avc_transaction()
91 ret = snd_fw_transaction(t.unit, tcode, in fcp_avc_transaction()
167 int tcode, int destination, int source, in fcp_response() argument
Dlib.c55 int snd_fw_transaction(struct fw_unit *unit, int tcode, in snd_fw_transaction() argument
64 rcode = fw_run_transaction(device->card, tcode, in snd_fw_transaction()
Dlib.h9 int snd_fw_transaction(struct fw_unit *unit, int tcode,
/linux-3.4.99/tools/firewire/
Dnosy-dump.c515 if (prev->packet.common.tcode != sa->packet.common.tcode || in handle_request_packet()
526 if (p->common.tcode != TCODE_WRITE_QUADLET_REQUEST && in handle_request_packet()
527 p->common.tcode != TCODE_WRITE_BLOCK_REQUEST) in handle_request_packet()
581 if (prev->packet.common.tcode != sa->packet.common.tcode || in handle_response_packet()
595 if (packet_info[prev->packet.common.tcode].response_tcode != in handle_response_packet()
596 sa->packet.common.tcode) { in handle_response_packet()
636 switch (packet_info[p->common.tcode].type) { in handle_packet()
700 pi = &packet_info[packet->common.tcode]; in decode_link_packet()
852 tcode_count[packet->common.tcode]++; in print_stats()
Dnosy-dump.h81 uint32_t tcode:4; member
147 uint32_t tcode:4; member
Ddecode-fcp.c181 if (t->request->packet.common.tcode != TCODE_WRITE_BLOCK_REQUEST) in decode_fcp()
/linux-3.4.99/include/linux/
Dfirewire-cdev.h135 __u32 tcode; member
194 __u32 tcode; member
506 __u32 tcode; member
Dfirewire.h260 int tcode, int destination, int source,
330 int tcode, int destination_id, int generation, int speed,
335 int fw_run_transaction(struct fw_card *card, int tcode, int destination_id,
/linux-3.4.99/drivers/media/dvb/firewire/
Dfiredtv-fw.c37 int tcode) in node_req() argument
44 rcode = fw_run_transaction(device->card, tcode, device->node_id, in node_req()
195 int tcode, int destination, int source, int generation, in handle_fcp() argument
/linux-3.4.99/arch/mips/kernel/
Dtraps.c863 unsigned int opcode, tcode = 0; in do_tr() local
870 tcode = ((opcode >> 6) & ((1 << 10) - 1)); in do_tr()
872 do_trap_or_bp(regs, tcode, "Trap"); in do_tr()