/linux/drivers/firewire/ |
H A D | packet-serdes-test.c | 17 unsigned int retry, unsigned int tcode, in serialize_async_header_common() argument 23 async_header_set_tcode(header, tcode); in serialize_async_header_common() 30 unsigned int retry, unsigned int tcode, in serialize_async_header_request() argument 33 serialize_async_header_common(header, dst_id, tlabel, retry, tcode, priority, src_id); in serialize_async_header_request() 39 unsigned int retry, unsigned int tcode, in serialize_async_header_quadlet_request() argument 43 serialize_async_header_request(header, dst_id, tlabel, retry, tcode, priority, src_id, in serialize_async_header_quadlet_request() 49 unsigned int retry, unsigned int tcode, in serialize_async_header_block_request() argument 54 serialize_async_header_request(header, dst_id, tlabel, retry, tcode, priority, src_id, in serialize_async_header_block_request() 62 unsigned int retry, unsigned int tcode, in serialize_async_header_response() argument 66 serialize_async_header_common(header, dst_id, tlabel, retry, tcode, priority, src_id); in serialize_async_header_response() [all …]
|
H A D | core-transaction.c | 205 static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, in fw_fill_request() argument 211 if (tcode == TCODE_STREAM_DATA) { in fw_fill_request() 224 if (tcode > 0x10) { in fw_fill_request() 225 ext_tcode = tcode & ~0x10; in fw_fill_request() 226 tcode = TCODE_LOCK_REQUEST; in fw_fill_request() 232 async_header_set_tcode(packet->header, tcode); in fw_fill_request() 237 switch (tcode) { in fw_fill_request() 266 WARN(1, "wrong tcode %d\n", tcode); in fw_fill_request() 343 void __fw_send_request(struct fw_card *card, struct fw_transaction *t, int tcode, in __fw_send_request() argument 386 fw_fill_request(&t->packet, tcode, t->tlabel, destination_id, card->node_id, generation, in __fw_send_request() [all …]
|
H A D | core.h | 228 static inline bool tcode_is_read_request(unsigned int tcode) in tcode_is_read_request() argument 230 return (tcode & ~1u) == 4u; in tcode_is_read_request() 233 static inline bool tcode_is_block_packet(unsigned int tcode) in tcode_is_block_packet() argument 235 return (tcode & 1u) != 0u; in tcode_is_block_packet() 238 static inline bool tcode_is_link_internal(unsigned int tcode) in tcode_is_link_internal() argument 240 return (tcode == TCODE_LINK_INTERNAL); in tcode_is_link_internal()
|
H A D | packet-header-definitions.h | 115 unsigned int tcode) in async_header_set_tcode() argument 118 header[0] |= (((u32)tcode) << ASYNC_HEADER_Q0_TCODE_SHIFT) & ASYNC_HEADER_Q0_TCODE_MASK; in async_header_set_tcode() 224 static inline void isoc_header_set_tcode(u32 *header, unsigned int tcode) in isoc_header_set_tcode() argument 227 *header |= (((u32)tcode) << ISOC_HEADER_TCODE_SHIFT) & ISOC_HEADER_TCODE_MASK; in isoc_header_set_tcode()
|
H A D | core-cdev.c | 620 if (request->tcode != TCODE_STREAM_DATA && in init_request() 624 if (request->tcode == TCODE_WRITE_QUADLET_REQUEST && in init_request() 659 fw_send_request_with_tstamp(client->device->card, &e->r.transaction, request->tcode, in init_request() 672 switch (arg->send_request.tcode) { in ioctl_send_request() 709 int tcode, int destination, int source, in handle_request() argument 747 if (tcode & 0x10) in handle_request() 748 tcode = TCODE_LOCK_REQUEST; in handle_request() 751 req->tcode = tcode; in handle_request() 761 req->tcode in handle_request() [all...] |
H A D | ohci.c | 549 int tcode = async_header_get_tcode(header); in log_ar_at_event() local 564 switch (tcode) { in log_ar_at_event() 584 switch (tcode) { in log_ar_at_event() 587 dir, evts[evt], tcodes[tcode]); in log_ar_at_event() 602 evts[evt], tcodes[tcode], async_header_get_offset(header), specific); in log_ar_at_event() 609 evts[evt], tcodes[tcode], specific); in log_ar_at_event() 905 u32 status, length, tcode; in handle_ar_packet() local 912 tcode = async_header_get_tcode(p.header); in handle_ar_packet() 913 switch (tcode) { in handle_ar_packet() 970 if (evt == OHCI1394_evt_no_status && tcode == OHCI1394_phy_tcode) in handle_ar_packet() [all …]
|
H A D | uapi-test.c | 36 KUNIT_EXPECT_EQ(test, 12, offsetof(struct fw_cdev_event_request3, tcode)); in structure_layout_event_request3()
|
H A D | nosy.c | 411 u32 tcode_mask, tcode, timestamp; in packet_irq_handler() local 418 tcode = __le32_to_cpu(lynx->rcv_buffer[1]) >> 4 & 0xf; in packet_irq_handler() 427 tcode_mask = 1 << tcode; in packet_irq_handler()
|
/linux/sound/firewire/motu/ |
H A D | motu-transaction.c | 18 int tcode; in snd_motu_transaction_read() local 23 tcode = TCODE_READ_QUADLET_REQUEST; in snd_motu_transaction_read() 25 tcode = TCODE_READ_BLOCK_REQUEST; in snd_motu_transaction_read() 27 return snd_fw_transaction(motu->unit, tcode, in snd_motu_transaction_read() 34 int tcode; in snd_motu_transaction_write() local 39 tcode = TCODE_WRITE_QUADLET_REQUEST; in snd_motu_transaction_write() 41 tcode = TCODE_WRITE_BLOCK_REQUEST; in snd_motu_transaction_write() 43 return snd_fw_transaction(motu->unit, tcode, in snd_motu_transaction_write() 48 int tcode, int destination, int source, in handle_message() argument 56 if (tcode != TCODE_WRITE_QUADLET_REQUEST) { in handle_message()
|
/linux/include/linux/ |
H A D | firewire.h | 286 int tcode, int destination, int source, 360 void __fw_send_request(struct fw_card *card, struct fw_transaction *t, int tcode, 383 static inline void fw_send_request(struct fw_card *card, struct fw_transaction *t, int tcode, in fw_send_request() argument 391 __fw_send_request(card, t, tcode, destination_id, generation, speed, offset, payload, in fw_send_request() 413 int tcode, int destination_id, int generation, int speed, unsigned long long offset, in fw_send_request_with_tstamp() argument 420 __fw_send_request(card, t, tcode, destination_id, generation, speed, offset, payload, in fw_send_request_with_tstamp() 426 int fw_run_transaction(struct fw_card *card, int tcode, int destination_id,
|
/linux/sound/firewire/fireface/ |
H A D | ff-transaction.c | 63 int tcode; in transmit_midi_msg() local 94 tcode = TCODE_WRITE_QUADLET_REQUEST; in transmit_midi_msg() 96 tcode = TCODE_WRITE_BLOCK_REQUEST; in transmit_midi_msg() 108 fw_send_request(fw_dev->card, &ff->transactions[port], tcode, in transmit_midi_msg() 128 static void handle_msg(struct fw_card *card, struct fw_request *request, int tcode, in handle_msg() argument
|
/linux/drivers/target/sbp/ |
H A D | sbp_target.c | 668 static int tgt_agent_rw_agent_state(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_agent_state() argument 673 switch (tcode) { in tgt_agent_rw_agent_state() 694 static int tgt_agent_rw_agent_reset(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_agent_reset() argument 697 switch (tcode) { in tgt_agent_rw_agent_reset() 710 static int tgt_agent_rw_orb_pointer(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_orb_pointer() argument 715 switch (tcode) { in tgt_agent_rw_orb_pointer() 749 static int tgt_agent_rw_doorbell(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_doorbell() argument 752 switch (tcode) { in tgt_agent_rw_doorbell() 780 int tcode, void *data, struct sbp_target_agent *agent) in tgt_agent_rw_unsolicited_status_enable() argument 782 switch (tcode) { in tgt_agent_rw_unsolicited_status_enable() [all …]
|
/linux/tools/firewire/ |
H A D | nosy-dump.c | 506 if (prev->packet.common.tcode != sa->packet.common.tcode || in handle_request_packet() 517 if (p->common.tcode != TCODE_WRITE_QUADLET_REQUEST && in handle_request_packet() 518 p->common.tcode != TCODE_WRITE_BLOCK_REQUEST) in handle_request_packet() 572 if (prev->packet.common.tcode != sa->packet.common.tcode || in handle_response_packet() 586 if (packet_info[prev->packet.common.tcode].response_tcode != in handle_response_packet() 587 sa->packet.common.tcode) { in handle_response_packet() 627 switch (packet_info[p->common.tcode].type) { in handle_packet() 691 pi = &packet_info[packet->common.tcode]; in decode_link_packet() 843 tcode_count[packet->common.tcode]++; in print_stats()
|
H A D | nosy-dump.h | 82 uint32_t tcode:4; member 148 uint32_t tcode:4; member
|
H A D | decode-fcp.c | 182 if (t->request->packet.common.tcode != TCODE_WRITE_BLOCK_REQUEST) in decode_fcp()
|
/linux/sound/firewire/ |
H A D | lib.c | 33 int snd_fw_transaction(struct fw_unit *unit, int tcode, in snd_fw_transaction() argument 46 rcode = fw_run_transaction(device->card, tcode, in snd_fw_transaction()
|
H A D | fcp.c | 235 int tcode, ret, tries = 0; in fcp_avc_transaction() local 250 tcode = command_size == 4 ? TCODE_WRITE_QUADLET_REQUEST in fcp_avc_transaction() 252 ret = snd_fw_transaction(t.unit, tcode, in fcp_avc_transaction() 339 int tcode, int destination, int source, in fcp_response() argument
|
H A D | lib.h | 16 int snd_fw_transaction(struct fw_unit *unit, int tcode,
|
/linux/include/uapi/linux/ |
H A D | firewire-cdev.h | 182 __u32 tcode; member 209 __u32 tcode; member 280 __u32 tcode; member 646 __u32 tcode; member
|
/linux/sound/firewire/oxfw/ |
H A D | oxfw-scs1x.c | 95 int tcode, int destination, int source, int generation, in handle_hss() argument 107 if (tcode != TCODE_WRITE_QUADLET_REQUEST && in handle_hss() 108 tcode != TCODE_WRITE_BLOCK_REQUEST) { in handle_hss()
|
/linux/drivers/media/firewire/ |
H A D | firedtv-fw.c | 38 int tcode) in node_req() argument 45 rcode = fw_run_transaction(device->card, tcode, device->node_id, in node_req() 196 int tcode, int destination, int source, int generation, in handle_fcp() argument
|
/linux/sound/firewire/dice/ |
H A D | dice-transaction.c | 133 int tcode, int destination, int source, in dice_notification() argument 141 if (tcode != TCODE_WRITE_QUADLET_REQUEST) { in dice_notification()
|
/linux/sound/firewire/digi00x/ |
H A D | digi00x-transaction.c | 24 int tcode, int destination, int source, in handle_message() argument
|
/linux/arch/mips/kernel/ |
H A D | traps.c | 1117 u32 opcode, tcode = 0; in do_tr() local 1132 tcode = (opcode >> 12) & ((1 << 4) - 1); in do_tr() 1138 tcode = (opcode >> 6) & ((1 << 10) - 1); in do_tr() 1141 do_trap_or_bp(regs, tcode, 0, "Trap"); in do_tr()
|
/linux/sound/firewire/tascam/ |
H A D | tascam-transaction.c | 246 int tcode, int destination, int source, in handle_midi_tx() argument
|