/linux-6.14.4/drivers/firewire/ |
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 …]
|
D | core-transaction.c | 191 static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, in fw_fill_request() argument 197 if (tcode == TCODE_STREAM_DATA) { in fw_fill_request() 210 if (tcode > 0x10) { in fw_fill_request() 211 ext_tcode = tcode & ~0x10; in fw_fill_request() 212 tcode = TCODE_LOCK_REQUEST; in fw_fill_request() 218 async_header_set_tcode(packet->header, tcode); in fw_fill_request() 223 switch (tcode) { in fw_fill_request() 252 WARN(1, "wrong tcode %d\n", tcode); in fw_fill_request() 329 void __fw_send_request(struct fw_card *card, struct fw_transaction *t, int tcode, in __fw_send_request() argument 372 fw_fill_request(&t->packet, tcode, t->tlabel, destination_id, card->node_id, generation, in __fw_send_request() [all …]
|
D | ohci-serdes-test.c | 55 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()
|
D | core.h | 240 static inline bool tcode_is_read_request(unsigned int tcode) in tcode_is_read_request() argument 242 return (tcode & ~1u) == 4u; in tcode_is_read_request() 245 static inline bool tcode_is_block_packet(unsigned int tcode) in tcode_is_block_packet() argument 247 return (tcode & 1u) != 0u; in tcode_is_block_packet() 250 static inline bool tcode_is_link_internal(unsigned int tcode) in tcode_is_link_internal() argument 252 return (tcode == TCODE_LINK_INTERNAL); in tcode_is_link_internal()
|
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()
|
D | ohci.h | 228 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()
|
D | core-cdev.c | 637 if (request->tcode != TCODE_STREAM_DATA && in init_request() 641 if (request->tcode == TCODE_WRITE_QUADLET_REQUEST && in init_request() 676 fw_send_request_with_tstamp(client->device->card, &e->r.transaction, request->tcode, in init_request() 689 switch (arg->send_request.tcode) { in ioctl_send_request() 725 int tcode, int destination, int source, in handle_request() argument 763 if (tcode & 0x10) in handle_request() 764 tcode = TCODE_LOCK_REQUEST; in handle_request() 767 req->tcode = tcode; in handle_request() 777 req->tcode = tcode; in handle_request() 791 req->tcode = tcode; in handle_request() [all …]
|
D | ohci.c | 548 int tcode = async_header_get_tcode(header); in log_ar_at_event() local 563 switch (tcode) { in log_ar_at_event() 583 switch (tcode) { in log_ar_at_event() 586 dir, evts[evt], tcodes[tcode]); in log_ar_at_event() 601 evts[evt], tcodes[tcode], async_header_get_offset(header), specific); in log_ar_at_event() 608 evts[evt], tcodes[tcode], specific); in log_ar_at_event() 898 u32 status, length, tcode; in handle_ar_packet() local 905 tcode = async_header_get_tcode(p.header); in handle_ar_packet() 906 switch (tcode) { in handle_ar_packet() 963 if (evt == OHCI1394_evt_no_status && tcode == TCODE_LINK_INTERNAL) in handle_ar_packet() [all …]
|
D | uapi-test.c | 36 KUNIT_EXPECT_EQ(test, 12, offsetof(struct fw_cdev_event_request3, tcode)); in structure_layout_event_request3()
|
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-6.14.4/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-6.14.4/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() 128 static void handle_msg(struct fw_card *card, struct fw_request *request, int tcode, in handle_msg() argument
|
/linux-6.14.4/include/linux/ |
D | firewire.h | 288 int tcode, int destination, int source, 362 void __fw_send_request(struct fw_card *card, struct fw_transaction *t, int tcode, 385 static inline void fw_send_request(struct fw_card *card, struct fw_transaction *t, int tcode, in fw_send_request() argument 393 __fw_send_request(card, t, tcode, destination_id, generation, speed, offset, payload, in fw_send_request() 415 int tcode, int destination_id, int generation, int speed, unsigned long long offset, in fw_send_request_with_tstamp() argument 422 __fw_send_request(card, t, tcode, destination_id, generation, speed, offset, payload, in fw_send_request_with_tstamp() 428 int fw_run_transaction(struct fw_card *card, int tcode, int destination_id,
|
/linux-6.14.4/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-6.14.4/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-6.14.4/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 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
|
D | lib.h | 16 int snd_fw_transaction(struct fw_unit *unit, int tcode,
|
/linux-6.14.4/include/uapi/linux/ |
D | firewire-cdev.h | 182 __u32 tcode; member 209 __u32 tcode; member 280 __u32 tcode; member 646 __u32 tcode; member
|
/linux-6.14.4/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-6.14.4/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-6.14.4/sound/firewire/digi00x/ |
D | digi00x-transaction.c | 24 int tcode, int destination, int source, in handle_message() argument
|
/linux-6.14.4/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()
|