Home
last modified time | relevance | path

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

12

/linux/drivers/firewire/
A Dpacket-serdes-test.c23 async_header_set_tcode(header, tcode); in serialize_async_header_common()
287 unsigned int tcode; in test_async_header_write_quadlet_request() local
326 unsigned int tcode; in test_async_header_write_block_request() local
366 unsigned int tcode; in test_async_header_write_response() local
401 unsigned int tcode; in test_async_header_read_quadlet_request() local
436 unsigned int tcode; in test_async_header_read_quadlet_response() local
475 unsigned int tcode; in test_async_header_read_block_request() local
515 unsigned int tcode; in test_async_header_read_block_response() local
555 unsigned int tcode; in test_async_header_lock_request() local
595 unsigned int tcode; in test_async_header_lock_response() local
[all …]
A Dcore-transaction.c197 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()
223 switch (tcode) { in fw_fill_request()
674 switch (tcode) { in fw_get_response_length()
721 switch (tcode) { in fw_fill_response()
904 int tcode, destination, source; in handle_exclusive_region_request() local
931 int tcode, destination, source; in handle_fcp_region_request() local
968 unsigned int tcode; in fw_core_handle_request() local
[all …]
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()
A Dcore.h240 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()
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()
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()
A Dcore-cdev.c637 if (request->tcode != TCODE_STREAM_DATA && in init_request()
641 if (request->tcode == TCODE_WRITE_QUADLET_REQUEST && 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()
1520 switch (a->tcode) { in ioctl_send_broadcast_request()
[all …]
A Dohci.c563 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()
898 u32 status, length, tcode; in handle_ar_packet() local
906 switch (tcode) { in handle_ar_packet()
1399 int z, tcode; in at_context_queue_packet() local
1412 switch (tcode) { in at_context_queue_packet()
1438 if (tcode_is_block_packet(tcode)) in at_context_queue_packet()
1628 int tcode, length, i; in handle_local_rom() local
1631 if (tcode_is_block_packet(tcode)) in handle_local_rom()
[all …]
A Duapi-test.c36 KUNIT_EXPECT_EQ(test, 12, offsetof(struct fw_cdev_event_request3, tcode)); in structure_layout_event_request3()
A Dnosy.c411 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/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/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/include/linux/
A Dfirewire.h288 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/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/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/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/include/uapi/linux/
A Dfirewire-cdev.h182 __u32 tcode; member
209 __u32 tcode; member
280 __u32 tcode; member
646 __u32 tcode; member
/linux/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/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/sound/firewire/digi00x/
A Ddigi00x-transaction.c24 int tcode, int destination, int source, in handle_message() argument
/linux/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()

Completed in 66 milliseconds

12