Home
last modified time | relevance | path

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

/linux/drivers/firewire/
H A Dpacket-serdes-test.c17 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 Dcore-transaction.c240 static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, in fw_fill_request() argument
246 if (tcode == TCODE_STREAM_DATA) { in fw_fill_request()
259 if (tcode > 0x10) { in fw_fill_request()
260 ext_tcode = tcode & ~0x10; in fw_fill_request()
261 tcode = TCODE_LOCK_REQUEST; in fw_fill_request()
267 async_header_set_tcode(packet->header, tcode); in fw_fill_request()
272 switch (tcode) { in fw_fill_request()
301 WARN(1, "wrong tcode %d\n", tcode); in fw_fill_request()
381 void __fw_send_request(struct fw_card *card, struct fw_transaction *t, int tcode, in __fw_send_request() argument
428 fw_fill_request(&t->packet, tcode, t->tlabel, destination_id, card->node_id, in __fw_send_request()
[all …]
H A Dohci-serdes-test.c55 unsigned int tcode = ohci1394_at_data_get_tcode(expected); in test_at_data_serdes() local
63 KUNIT_EXPECT_EQ(test, 0x08, tcode); in test_at_data_serdes()
69 ohci1394_at_data_set_tcode(quadlets, tcode); in test_at_data_serdes()
86 unsigned int tcode = ohci1394_it_data_get_tcode(expected); in test_it_data_serdes() local
93 KUNIT_EXPECT_EQ(test, 0x0a, tcode); in test_it_data_serdes()
100 ohci1394_it_data_set_tcode(quadlets, tcode); in test_it_data_serdes()
H A Dpacket-header-definitions.h115 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 Dohci.h228 static inline void ohci1394_at_data_set_tcode(__le32 *data, unsigned int tcode) in ohci1394_at_data_set_tcode() argument
231 …data[0] |= cpu_to_le32((tcode << OHCI1394_AT_DATA_Q0_tCode_SHIFT) & OHCI1394_AT_DATA_Q0_tCode_MASK… in ohci1394_at_data_set_tcode()
328 static inline void ohci1394_it_data_set_tcode(__le32 *data, unsigned int tcode) in ohci1394_it_data_set_tcode() argument
331 …data[0] |= cpu_to_le32((tcode << OHCI1394_IT_DATA_Q0_tcode_SHIFT) & OHCI1394_IT_DATA_Q0_tcode_MASK… in ohci1394_it_data_set_tcode()
H A Duapi-test.c36 KUNIT_EXPECT_EQ(test, 12, offsetof(struct fw_cdev_event_request3, tcode)); in structure_layout_event_request3()
H A Dnosy.c413 u32 tcode_mask, tcode, timestamp; in packet_irq_handler() local
420 tcode = __le32_to_cpu(lynx->rcv_buffer[1]) >> 4 & 0xf; in packet_irq_handler()
429 tcode_mask = 1 << tcode; in packet_irq_handler()
H A Dsbp2.c407 int tcode, int destination, int source, in sbp2_status_write() argument
416 if (tcode != TCODE_WRITE_BLOCK_REQUEST || in sbp2_status_write()
H A Dnet.c703 int tcode, int destination, int source, int generation, in fwnet_receive_packet() argument
718 } else if (tcode != TCODE_WRITE_BLOCK_REQUEST) { in fwnet_receive_packet()
/linux/tools/firewire/
H 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()
H A Dnosy-dump.h82 uint32_t tcode:4; member
148 uint32_t tcode:4; member
H A Ddecode-fcp.c182 if (t->request->packet.common.tcode != TCODE_WRITE_BLOCK_REQUEST) in decode_fcp()
/linux/drivers/target/sbp/
H A Dsbp_target.c667 static int tgt_agent_rw_agent_state(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_agent_state() argument
672 switch (tcode) { in tgt_agent_rw_agent_state()
693 static int tgt_agent_rw_agent_reset(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_agent_reset() argument
696 switch (tcode) { in tgt_agent_rw_agent_reset()
709 static int tgt_agent_rw_orb_pointer(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_orb_pointer() argument
714 switch (tcode) { in tgt_agent_rw_orb_pointer()
748 static int tgt_agent_rw_doorbell(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_doorbell() argument
751 switch (tcode) { in tgt_agent_rw_doorbell()
779 int tcode, void *data, struct sbp_target_agent *agent) in tgt_agent_rw_unsolicited_status_enable() argument
781 switch (tcode) { in tgt_agent_rw_unsolicited_status_enable()
[all …]
/linux/sound/firewire/
H 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()
H A Dlib.h16 int snd_fw_transaction(struct fw_unit *unit, int tcode,
/linux/sound/firewire/oxfw/
H 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/drivers/media/firewire/
H 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/arch/mips/kernel/
H A Dtraps.c1118 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()
/linux/sound/firewire/tascam/
H A Dtascam-transaction.c246 int tcode, int destination, int source, in handle_midi_tx() argument