Home
last modified time | relevance | path

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

/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()
697 switch (tcode) { in fw_get_response_length()
744 switch (tcode) { in fw_fill_response()
927 int tcode, destination, source; in handle_exclusive_region_request() local
932 if (tcode == TCODE_LOCK_REQUEST) in handle_exclusive_region_request()
1040 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()
1515 switch (a->tcode) { in ioctl_send_broadcast_request()
[all …]
A Dohci.c566 switch (tcode) { in log_ar_at_event()
586 switch (tcode) { in log_ar_at_event()
589 dir, evts[evt], tcodes[tcode]); in log_ar_at_event()
901 u32 status, length, tcode; in handle_ar_packet() local
909 switch (tcode) { in handle_ar_packet()
1396 int z, tcode; in at_context_queue_packet() local
1409 switch (tcode) { in at_context_queue_packet()
1435 if (tcode_is_block_packet(tcode)) in at_context_queue_packet()
1630 int tcode, length, i; in handle_local_rom() local
1633 if (tcode_is_block_packet(tcode)) in handle_local_rom()
[all …]
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()
A Duapi-test.c36 KUNIT_EXPECT_EQ(test, 12, offsetof(struct fw_cdev_event_request3, tcode)); in structure_layout_event_request3()
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()
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()
/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 …]
/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

Completed in 870 milliseconds