/Linux-v5.10/drivers/firewire/ |
D | core.h | 228 #define TCODE_IS_READ_REQUEST(tcode) (((tcode) & ~1) == 4) argument 229 #define TCODE_IS_BLOCK_PACKET(tcode) (((tcode) & 1) != 0) argument 230 #define TCODE_IS_LINK_INTERNAL(tcode) ((tcode) == TCODE_LINK_INTERNAL) argument 231 #define TCODE_IS_REQUEST(tcode) (((tcode) & 2) == 0) argument 232 #define TCODE_IS_RESPONSE(tcode) (((tcode) & 2) != 0) argument 233 #define TCODE_HAS_REQUEST_DATA(tcode) (((tcode) & 12) != 4) argument 234 #define TCODE_HAS_RESPONSE_DATA(tcode) (((tcode) & 12) != 0) argument
|
D | core-transaction.c | 34 #define HEADER_TCODE(tcode) ((tcode) << 4) argument 42 #define HEADER_EXTENDED_TCODE(tcode) ((tcode) << 0) argument 198 static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, in fw_fill_request() argument 204 if (tcode == TCODE_STREAM_DATA) { in fw_fill_request() 216 if (tcode > 0x10) { in fw_fill_request() 217 ext_tcode = tcode & ~0x10; in fw_fill_request() 218 tcode = TCODE_LOCK_REQUEST; in fw_fill_request() 225 HEADER_TCODE(tcode) | in fw_fill_request() 232 switch (tcode) { in fw_fill_request() 263 WARN(1, "wrong tcode %d\n", tcode); in fw_fill_request() [all …]
|
D | core-cdev.c | 582 if (request->tcode != TCODE_STREAM_DATA && in init_request() 586 if (request->tcode == TCODE_WRITE_QUADLET_REQUEST && in init_request() 611 request->tcode, destination_id, request->generation, in init_request() 624 switch (arg->send_request.tcode) { in ioctl_send_request() 666 int tcode, int destination, int source, in handle_request() argument 710 if (tcode & 0x10) in handle_request() 711 tcode = TCODE_LOCK_REQUEST; in handle_request() 714 req->tcode = tcode; in handle_request() 724 req->tcode = tcode; in handle_request() 1440 switch (a->tcode) { in ioctl_send_broadcast_request() [all …]
|
D | ohci.c | 474 int tcode = header[0] >> 4 & 0xf; in log_ar_at_event() local 489 switch (tcode) { in log_ar_at_event() 502 switch (tcode) { in log_ar_at_event() 505 dir, evts[evt], tcodes[tcode]); in log_ar_at_event() 516 tcodes[tcode], header[1] & 0xffff, header[2], specific); in log_ar_at_event() 523 tcodes[tcode], specific); in log_ar_at_event() 801 u32 status, length, tcode; in handle_ar_packet() local 808 tcode = (p.header[0] >> 4) & 0x0f; in handle_ar_packet() 809 switch (tcode) { in handle_ar_packet() 1292 int z, tcode; in at_context_queue_packet() local [all …]
|
D | nosy.c | 404 u32 tcode_mask, tcode, timestamp; in packet_irq_handler() local 411 tcode = __le32_to_cpu(lynx->rcv_buffer[1]) >> 4 & 0xf; in packet_irq_handler() 420 tcode_mask = 1 << tcode; in packet_irq_handler()
|
D | sbp2.c | 406 int tcode, int destination, int source, in sbp2_status_write() argument 415 if (tcode != TCODE_WRITE_BLOCK_REQUEST || in sbp2_status_write()
|
/Linux-v5.10/sound/firewire/motu/ |
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-v5.10/sound/firewire/fireface/ |
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() 129 int tcode, int destination, int source, in handle_midi_msg() argument
|
/Linux-v5.10/tools/firewire/ |
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()
|
D | nosy-dump.h | 82 uint32_t tcode:4; member 148 uint32_t tcode:4; member
|
D | decode-fcp.c | 182 if (t->request->packet.common.tcode != TCODE_WRITE_BLOCK_REQUEST) in decode_fcp()
|
/Linux-v5.10/drivers/target/sbp/ |
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-v5.10/sound/firewire/ |
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()
|
D | fcp.c | 235 int tcode, ret, tries = 0; in fcp_avc_transaction() local 252 tcode = command_size == 4 ? TCODE_WRITE_QUADLET_REQUEST in fcp_avc_transaction() 254 ret = snd_fw_transaction(t.unit, tcode, in fcp_avc_transaction() 341 int tcode, int destination, int source, in fcp_response() argument
|
D | lib.h | 16 int snd_fw_transaction(struct fw_unit *unit, int tcode,
|
/Linux-v5.10/include/uapi/linux/ |
D | firewire-cdev.h | 141 __u32 tcode; member 200 __u32 tcode; member 512 __u32 tcode; member
|
/Linux-v5.10/include/linux/ |
D | firewire.h | 285 int tcode, int destination, int source, 356 int tcode, int destination_id, int generation, int speed, 361 int fw_run_transaction(struct fw_card *card, int tcode, int destination_id,
|
/Linux-v5.10/sound/firewire/oxfw/ |
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-v5.10/drivers/media/firewire/ |
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-v5.10/sound/firewire/digi00x/ |
D | digi00x-transaction.c | 24 int tcode, int destination, int source, in handle_message() argument
|
/Linux-v5.10/sound/firewire/dice/ |
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-v5.10/drivers/staging/fwserial/ |
D | fwserial.c | 227 static int fwtty_send_data_async(struct fwtty_peer *peer, int tcode, in fwtty_send_data_async() argument 244 fw_send_request(peer->serial->card, &txn->fw_txn, tcode, in fwtty_send_data_async() 251 struct fwtty_transaction *txn, int tcode, in fwtty_send_txn_async() argument 263 fw_send_request(peer->serial->card, &txn->fw_txn, tcode, in fwtty_send_txn_async() 600 int tcode, int destination, int source, in fwtty_port_handler() argument 621 switch (tcode) { in fwtty_port_handler() 2710 int tcode, int destination, int source, in fwserial_mgmt_handler() argument 2728 switch (tcode) { in fwserial_mgmt_handler()
|
/Linux-v5.10/sound/firewire/tascam/ |
D | tascam-transaction.c | 246 int tcode, int destination, int source, in handle_midi_tx() argument
|
/Linux-v5.10/sound/firewire/fireworks/ |
D | fireworks_transaction.c | 227 int tcode, int destination, int source, in efw_response() argument
|
/Linux-v5.10/arch/mips/kernel/ |
D | traps.c | 1114 u32 opcode, tcode = 0; in do_tr() local 1133 tcode = (opcode >> 12) & ((1 << 4) - 1); in do_tr() 1139 tcode = (opcode >> 6) & ((1 << 10) - 1); in do_tr() 1142 do_trap_or_bp(regs, tcode, 0, "Trap"); in do_tr()
|