Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/firewire/
A Dcore-transaction.c34 #define HEADER_TCODE(tcode) ((tcode) << 4) argument
42 #define HEADER_EXTENDED_TCODE(tcode) ((tcode) << 0) argument
205 if (tcode == TCODE_STREAM_DATA) { in fw_fill_request()
217 if (tcode > 0x10) { in fw_fill_request()
218 ext_tcode = tcode & ~0x10; in fw_fill_request()
219 tcode = TCODE_LOCK_REQUEST; in fw_fill_request()
226 HEADER_TCODE(tcode) | in fw_fill_request()
233 switch (tcode) { in fw_fill_request()
658 switch (tcode) { in fw_get_response_length()
707 switch (tcode) { in fw_fill_response()
[all …]
A Dcore.h228 #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
A Dcore-cdev.c584 if (request->tcode != TCODE_STREAM_DATA && in init_request()
588 if (request->tcode == TCODE_WRITE_QUADLET_REQUEST && in init_request()
613 request->tcode, destination_id, request->generation, in init_request()
626 switch (arg->send_request.tcode) { in ioctl_send_request()
663 int tcode, int destination, int source, in handle_request() argument
701 if (tcode & 0x10) in handle_request()
702 tcode = TCODE_LOCK_REQUEST; in handle_request()
705 req->tcode = tcode; in handle_request()
715 req->tcode = tcode; in handle_request()
1455 switch (a->tcode) { in ioctl_send_broadcast_request()
[all …]
A Dohci.c474 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()
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
1311 switch (tcode) { in at_context_queue_packet()
1516 int tcode, length, i; in handle_local_rom() local
[all …]
A Dnosy.c409 u32 tcode_mask, tcode, timestamp; in packet_irq_handler() local
416 tcode = __le32_to_cpu(lynx->rcv_buffer[1]) >> 4 & 0xf; in packet_irq_handler()
425 tcode_mask = 1 << tcode; in packet_irq_handler()
A Dsbp2.c406 int tcode, int destination, int source, in sbp2_status_write() argument
415 if (tcode != TCODE_WRITE_BLOCK_REQUEST || in sbp2_status_write()
A Dnet.c701 int tcode, int destination, int source, int generation, in fwnet_receive_packet() argument
716 else if (tcode != TCODE_WRITE_BLOCK_REQUEST) in fwnet_receive_packet()
/linux-6.3-rc2/sound/firewire/motu/
A Dmotu-transaction.c18 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-6.3-rc2/sound/firewire/fireface/
A Dff-transaction.c63 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-6.3-rc2/tools/firewire/
A Dnosy-dump.c506 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()
A Dnosy-dump.h82 uint32_t tcode:4; member
148 uint32_t tcode:4; member
A Ddecode-fcp.c182 if (t->request->packet.common.tcode != TCODE_WRITE_BLOCK_REQUEST) in decode_fcp()
/linux-6.3-rc2/drivers/target/sbp/
A Dsbp_target.c673 switch (tcode) { in tgt_agent_rw_agent_state()
697 switch (tcode) { in tgt_agent_rw_agent_reset()
715 switch (tcode) { in tgt_agent_rw_orb_pointer()
752 switch (tcode) { in tgt_agent_rw_doorbell()
782 switch (tcode) { in tgt_agent_rw_unsolicited_status_enable()
1086 int tcode, unsigned long long offset, void *payload, in sbp_run_request_transaction() argument
1251 tcode = TCODE_WRITE_BLOCK_REQUEST; in sbp_rw_data()
1254 tcode = TCODE_READ_BLOCK_REQUEST; in sbp_rw_data()
1305 rcode = sbp_run_transaction(card, tcode, node_id, in sbp_rw_data()
1593 if (tcode == TCODE_WRITE_BLOCK_REQUEST) { in sbp_mgt_agent_rw()
[all …]
/linux-6.3-rc2/sound/firewire/
A 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()
A Dfcp.c235 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
A Dlib.h16 int snd_fw_transaction(struct fw_unit *unit, int tcode,
/linux-6.3-rc2/include/uapi/linux/
A Dfirewire-cdev.h141 __u32 tcode; member
200 __u32 tcode; member
512 __u32 tcode; member
/linux-6.3-rc2/include/linux/
A Dfirewire.h277 int tcode, int destination, int source,
349 int tcode, int destination_id, int generation, int speed,
354 int fw_run_transaction(struct fw_card *card, int tcode, int destination_id,
/linux-6.3-rc2/sound/firewire/oxfw/
A Doxfw-scs1x.c95 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-6.3-rc2/drivers/media/firewire/
A Dfiredtv-fw.c38 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-6.3-rc2/sound/firewire/digi00x/
A Ddigi00x-transaction.c24 int tcode, int destination, int source, in handle_message() argument
/linux-6.3-rc2/sound/firewire/dice/
A Ddice-transaction.c133 int tcode, int destination, int source, in dice_notification() argument
141 if (tcode != TCODE_WRITE_QUADLET_REQUEST) { in dice_notification()
/linux-6.3-rc2/sound/firewire/fireworks/
A Dfireworks_transaction.c227 int tcode, int destination, int source, in efw_response() argument
/linux-6.3-rc2/sound/firewire/tascam/
A Dtascam-transaction.c246 int tcode, int destination, int source, in handle_midi_tx() argument
/linux-6.3-rc2/arch/mips/kernel/
A Dtraps.c1116 u32 opcode, tcode = 0; in do_tr() local
1131 tcode = (opcode >> 12) & ((1 << 4) - 1); in do_tr()
1137 tcode = (opcode >> 6) & ((1 << 10) - 1); in do_tr()
1140 do_trap_or_bp(regs, tcode, 0, "Trap"); in do_tr()

Completed in 66 milliseconds