Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/firewire/
Dcore-transaction.c47 #define HEADER_TCODE(tcode) ((tcode) << 4) argument
55 #define HEADER_EXTENDED_TCODE(tcode) ((tcode) << 0) argument
211 static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, in fw_fill_request() argument
217 if (tcode == TCODE_STREAM_DATA) { in fw_fill_request()
229 if (tcode > 0x10) { in fw_fill_request()
230 ext_tcode = tcode & ~0x10; in fw_fill_request()
231 tcode = TCODE_LOCK_REQUEST; in fw_fill_request()
238 HEADER_TCODE(tcode) | in fw_fill_request()
245 switch (tcode) { in fw_fill_request()
276 WARN(1, "wrong tcode %d\n", tcode); in fw_fill_request()
[all …]
Dcore.h230 #define TCODE_IS_READ_REQUEST(tcode) (((tcode) & ~1) == 4) argument
231 #define TCODE_IS_BLOCK_PACKET(tcode) (((tcode) & 1) != 0) argument
232 #define TCODE_IS_LINK_INTERNAL(tcode) ((tcode) == TCODE_LINK_INTERNAL) argument
233 #define TCODE_IS_REQUEST(tcode) (((tcode) & 2) == 0) argument
234 #define TCODE_IS_RESPONSE(tcode) (((tcode) & 2) != 0) argument
235 #define TCODE_HAS_REQUEST_DATA(tcode) (((tcode) & 12) != 4) argument
236 #define TCODE_HAS_RESPONSE_DATA(tcode) (((tcode) & 12) != 0) argument
Dcore-cdev.c595 if (request->tcode != TCODE_STREAM_DATA && in init_request()
599 if (request->tcode == TCODE_WRITE_QUADLET_REQUEST && in init_request()
624 request->tcode, destination_id, request->generation, in init_request()
637 switch (arg->send_request.tcode) { in ioctl_send_request()
679 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()
1455 switch (a->tcode) { in ioctl_send_broadcast_request()
[all …]
Dohci.c487 int tcode = header[0] >> 4 & 0xf; in log_ar_at_event() local
502 switch (tcode) { in log_ar_at_event()
515 switch (tcode) { in log_ar_at_event()
518 dir, evts[evt], tcodes[tcode]); in log_ar_at_event()
529 tcodes[tcode], header[1] & 0xffff, header[2], specific); in log_ar_at_event()
536 tcodes[tcode], specific); in log_ar_at_event()
815 u32 status, length, tcode; in handle_ar_packet() local
822 tcode = (p.header[0] >> 4) & 0x0f; in handle_ar_packet()
823 switch (tcode) { in handle_ar_packet()
1309 int z, tcode; in at_context_queue_packet() local
[all …]
Dnosy.c417 u32 tcode_mask, tcode, timestamp; in packet_irq_handler() local
424 tcode = __le32_to_cpu(lynx->rcv_buffer[1]) >> 4 & 0xf; in packet_irq_handler()
433 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()
/Linux-v4.19/sound/firewire/motu/
Dmotu-transaction.c19 int tcode; in snd_motu_transaction_read() local
24 tcode = TCODE_READ_QUADLET_REQUEST; in snd_motu_transaction_read()
26 tcode = TCODE_READ_BLOCK_REQUEST; in snd_motu_transaction_read()
28 return snd_fw_transaction(motu->unit, tcode, in snd_motu_transaction_read()
35 int tcode; in snd_motu_transaction_write() local
40 tcode = TCODE_WRITE_QUADLET_REQUEST; in snd_motu_transaction_write()
42 tcode = TCODE_WRITE_BLOCK_REQUEST; in snd_motu_transaction_write()
44 return snd_fw_transaction(motu->unit, tcode, in snd_motu_transaction_write()
49 int tcode, int destination, int source, in handle_message() argument
57 if (tcode != TCODE_WRITE_QUADLET_REQUEST) { in handle_message()
/Linux-v4.19/tools/firewire/
Dnosy-dump.c519 if (prev->packet.common.tcode != sa->packet.common.tcode || in handle_request_packet()
530 if (p->common.tcode != TCODE_WRITE_QUADLET_REQUEST && in handle_request_packet()
531 p->common.tcode != TCODE_WRITE_BLOCK_REQUEST) in handle_request_packet()
585 if (prev->packet.common.tcode != sa->packet.common.tcode || in handle_response_packet()
599 if (packet_info[prev->packet.common.tcode].response_tcode != in handle_response_packet()
600 sa->packet.common.tcode) { in handle_response_packet()
640 switch (packet_info[p->common.tcode].type) { in handle_packet()
704 pi = &packet_info[packet->common.tcode]; in decode_link_packet()
856 tcode_count[packet->common.tcode]++; in print_stats()
Dnosy-dump.h82 uint32_t tcode:4; member
148 uint32_t tcode:4; member
Ddecode-fcp.c182 if (t->request->packet.common.tcode != TCODE_WRITE_BLOCK_REQUEST) in decode_fcp()
/Linux-v4.19/drivers/target/sbp/
Dsbp_target.c681 static int tgt_agent_rw_agent_state(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_agent_state() argument
686 switch (tcode) { in tgt_agent_rw_agent_state()
707 static int tgt_agent_rw_agent_reset(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_agent_reset() argument
710 switch (tcode) { in tgt_agent_rw_agent_reset()
723 static int tgt_agent_rw_orb_pointer(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_orb_pointer() argument
728 switch (tcode) { in tgt_agent_rw_orb_pointer()
762 static int tgt_agent_rw_doorbell(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_doorbell() argument
765 switch (tcode) { in tgt_agent_rw_doorbell()
793 int tcode, void *data, struct sbp_target_agent *agent) in tgt_agent_rw_unsolicited_status_enable() argument
795 switch (tcode) { in tgt_agent_rw_unsolicited_status_enable()
[all …]
/Linux-v4.19/sound/firewire/
Dlib.c33 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()
Dfcp.c235 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
Dlib.h16 int snd_fw_transaction(struct fw_unit *unit, int tcode,
/Linux-v4.19/include/uapi/linux/
Dfirewire-cdev.h135 __u32 tcode; member
194 __u32 tcode; member
506 __u32 tcode; member
/Linux-v4.19/include/linux/
Dfirewire.h285 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-v4.19/sound/firewire/oxfw/
Doxfw-scs1x.c96 int tcode, int destination, int source, int generation, in handle_hss() argument
108 if (tcode != TCODE_WRITE_QUADLET_REQUEST && in handle_hss()
109 tcode != TCODE_WRITE_BLOCK_REQUEST) { in handle_hss()
/Linux-v4.19/drivers/media/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-v4.19/sound/firewire/digi00x/
Ddigi00x-transaction.c25 int tcode, int destination, int source, in handle_message() argument
/Linux-v4.19/sound/firewire/dice/
Ddice-transaction.c134 int tcode, int destination, int source, in dice_notification() argument
142 if (tcode != TCODE_WRITE_QUADLET_REQUEST) { in dice_notification()
/Linux-v4.19/drivers/staging/fwserial/
Dfwserial.c224 static int fwtty_send_data_async(struct fwtty_peer *peer, int tcode, in fwtty_send_data_async() argument
241 fw_send_request(peer->serial->card, &txn->fw_txn, tcode, in fwtty_send_data_async()
248 struct fwtty_transaction *txn, int tcode, in fwtty_send_txn_async() argument
260 fw_send_request(peer->serial->card, &txn->fw_txn, tcode, in fwtty_send_txn_async()
597 int tcode, int destination, int source, in fwtty_port_handler() argument
618 switch (tcode) { in fwtty_port_handler()
2740 int tcode, int destination, int source, in fwserial_mgmt_handler() argument
2758 switch (tcode) { in fwserial_mgmt_handler()
/Linux-v4.19/sound/firewire/fireface/
Dff-transaction.c137 int tcode, int destination, int source, in handle_midi_msg() argument
/Linux-v4.19/sound/firewire/tascam/
Dtascam-transaction.c247 int tcode, int destination, int source, in handle_midi_tx() argument
/Linux-v4.19/sound/firewire/fireworks/
Dfireworks_transaction.c228 int tcode, int destination, int source, in efw_response() argument
/Linux-v4.19/arch/mips/kernel/
Dtraps.c1033 u32 opcode, tcode = 0; in do_tr() local
1052 tcode = (opcode >> 12) & ((1 << 4) - 1); in do_tr()
1058 tcode = (opcode >> 6) & ((1 << 10) - 1); in do_tr()
1061 do_trap_or_bp(regs, tcode, 0, "Trap"); in do_tr()

12