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

12

/linux-master/drivers/firewire/
H A Dpacket-serdes-test.c16 unsigned int retry, unsigned int tcode,
22 async_header_set_tcode(header, tcode);
29 unsigned int retry, unsigned int tcode,
32 serialize_async_header_common(header, dst_id, tlabel, retry, tcode, priority, src_id);
38 unsigned int retry, unsigned int tcode,
42 serialize_async_header_request(header, dst_id, tlabel, retry, tcode, priority, src_id,
48 unsigned int retry, unsigned int tcode,
53 serialize_async_header_request(header, dst_id, tlabel, retry, tcode, priority, src_id,
61 unsigned int retry, unsigned int tcode,
65 serialize_async_header_common(header, dst_id, tlabel, retry, tcode, priorit
14 serialize_async_header_common(u32 header[ASYNC_HEADER_QUADLET_COUNT], unsigned int dst_id, unsigned int tlabel, unsigned int retry, unsigned int tcode, unsigned int priority, unsigned int src_id) argument
27 serialize_async_header_request(u32 header[ASYNC_HEADER_QUADLET_COUNT], unsigned int dst_id, unsigned int tlabel, unsigned int retry, unsigned int tcode, unsigned int priority, unsigned int src_id, u64 offset) argument
36 serialize_async_header_quadlet_request(u32 header[ASYNC_HEADER_QUADLET_COUNT], unsigned int dst_id, unsigned int tlabel, unsigned int retry, unsigned int tcode, unsigned int priority, unsigned int src_id, u64 offset) argument
46 serialize_async_header_block_request(u32 header[ASYNC_HEADER_QUADLET_COUNT], unsigned int dst_id, unsigned int tlabel, unsigned int retry, unsigned int tcode, unsigned int priority, unsigned int src_id, u64 offset, unsigned int data_length, unsigned int extended_tcode) argument
59 serialize_async_header_response(u32 header[ASYNC_HEADER_QUADLET_COUNT], unsigned int dst_id, unsigned int tlabel, unsigned int retry, unsigned int tcode, unsigned int priority, unsigned int src_id, unsigned int rcode) argument
69 serialize_async_header_quadlet_response(u32 header[ASYNC_HEADER_QUADLET_COUNT], unsigned int dst_id, unsigned int tlabel, unsigned int retry, unsigned int tcode, unsigned int priority, unsigned int src_id, unsigned int rcode) argument
79 serialize_async_header_block_response(u32 header[ASYNC_HEADER_QUADLET_COUNT], unsigned int dst_id, unsigned int tlabel, unsigned int retry, unsigned int tcode, unsigned int priority, unsigned int src_id, unsigned int rcode, unsigned int data_length, unsigned int extended_tcode) argument
92 deserialize_async_header_common(const u32 header[ASYNC_HEADER_QUADLET_COUNT], unsigned int *dst_id, unsigned int *tlabel, unsigned int *retry, unsigned int *tcode, unsigned int *priority, unsigned int *src_id) argument
105 deserialize_async_header_request(const u32 header[ASYNC_HEADER_QUADLET_COUNT], unsigned int *dst_id, unsigned int *tlabel, unsigned int *retry, unsigned int *tcode, unsigned int *priority, unsigned int *src_id, u64 *offset) argument
115 deserialize_async_header_quadlet_request(const u32 header[ASYNC_HEADER_QUADLET_COUNT], unsigned int *dst_id, unsigned int *tlabel, unsigned int *retry, unsigned int *tcode, unsigned int *priority, unsigned int *src_id, u64 *offset) argument
125 deserialize_async_header_block_request(const u32 header[ASYNC_HEADER_QUADLET_COUNT], unsigned int *dst_id, unsigned int *tlabel, unsigned int *retry, unsigned int *tcode, unsigned int *priority, unsigned int *src_id, u64 *offset, unsigned int *data_length, unsigned int *extended_tcode) argument
139 deserialize_async_header_response(const u32 header[ASYNC_HEADER_QUADLET_COUNT], unsigned int *dst_id, unsigned int *tlabel, unsigned int *retry, unsigned int *tcode, unsigned int *priority, unsigned int *src_id, unsigned int *rcode) argument
149 deserialize_async_header_quadlet_response(const u32 header[ASYNC_HEADER_QUADLET_COUNT], unsigned int *dst_id, unsigned int *tlabel, unsigned int *retry, unsigned int *tcode, unsigned int *priority, unsigned int *src_id, unsigned int *rcode) argument
158 deserialize_async_header_block_response(const u32 header[ASYNC_HEADER_QUADLET_COUNT], unsigned int *dst_id, unsigned int *tlabel, unsigned int *retry, unsigned int *tcode, unsigned int *priority, unsigned int *src_id, unsigned int *rcode, unsigned int *data_length, unsigned int *extended_tcode) argument
170 serialize_isoc_header(u32 *header, unsigned int data_length, unsigned int tag, unsigned int channel, unsigned int tcode, unsigned int sy) argument
180 deserialize_isoc_header(u32 header, unsigned int *data_length, unsigned int *tag, unsigned int *channel, unsigned int *tcode, unsigned int *sy) argument
203 unsigned int tcode; local
242 unsigned int tcode; local
282 unsigned int tcode; local
317 unsigned int tcode; local
352 unsigned int tcode; local
391 unsigned int tcode; local
431 unsigned int tcode; local
471 unsigned int tcode; local
511 unsigned int tcode; local
546 unsigned int tcode; local
[all...]
H A Dcore-transaction.c212 static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, argument
218 if (tcode == TCODE_STREAM_DATA) {
231 if (tcode > 0x10) {
232 ext_tcode = tcode & ~0x10;
233 tcode = TCODE_LOCK_REQUEST;
239 async_header_set_tcode(packet->header, tcode);
244 switch (tcode) {
273 WARN(1, "wrong tcode %d\n", tcode);
304 * @tcode
350 __fw_send_request(struct fw_card *card, struct fw_transaction *t, int tcode, int destination_id, int generation, int speed, unsigned long long offset, void *payload, size_t length, union fw_transaction_callback callback, bool with_tstamp, void *callback_data) argument
441 fw_run_transaction(struct fw_card *card, int tcode, int destination_id, int generation, int speed, unsigned long long offset, void *payload, size_t length) argument
689 int tcode, ext_tcode, data_length; local
725 int tcode, tlabel, extended_tcode, source, destination; local
922 int tcode, destination, source; local
951 int tcode, destination, source; local
991 unsigned int tcode; local
1030 int tcode, tlabel, source, rcode; local
1136 handle_topology_map(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, unsigned long long offset, void *payload, size_t length, void *callback_data) argument
1181 handle_registers(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, unsigned long long offset, void *payload, size_t length, void *callback_data) argument
1301 handle_low_memory(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, unsigned long long offset, void *payload, size_t length, void *callback_data) argument
[all...]
H A Dcore.h228 static inline bool tcode_is_read_request(unsigned int tcode) argument
230 return (tcode & ~1u) == 4u;
233 static inline bool tcode_is_block_packet(unsigned int tcode) argument
235 return (tcode & 1u) != 0u;
238 static inline bool tcode_is_link_internal(unsigned int tcode) argument
240 return (tcode == TCODE_LINK_INTERNAL);
H A Dpacket-header-definitions.h113 unsigned int tcode)
116 header[0] |= (((u32)tcode) << ASYNC_HEADER_Q0_TCODE_SHIFT) & ASYNC_HEADER_Q0_TCODE_MASK;
222 static inline void isoc_header_set_tcode(u32 *header, unsigned int tcode) argument
225 *header |= (((u32)tcode) << ISOC_HEADER_TCODE_SHIFT) & ISOC_HEADER_TCODE_MASK;
112 async_header_set_tcode(u32 header[ASYNC_HEADER_QUADLET_COUNT], unsigned int tcode) argument
H A Duapi-test.c36 KUNIT_EXPECT_EQ(test, 12, offsetof(struct fw_cdev_event_request3, tcode));
H A Dcore-cdev.c620 if (request->tcode != TCODE_STREAM_DATA &&
624 if (request->tcode == TCODE_WRITE_QUADLET_REQUEST &&
659 fw_send_request_with_tstamp(client->device->card, &e->r.transaction, request->tcode,
672 switch (arg->send_request.tcode) {
709 int tcode, int destination, int source,
747 if (tcode & 0x10)
748 tcode = TCODE_LOCK_REQUEST;
751 req->tcode = tcode;
761 req->tcode
708 handle_request(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, unsigned long long offset, void *payload, size_t length, void *callback_data) argument
[all...]
H A Dohci.c513 int tcode = async_header_get_tcode(header); local
528 switch (tcode) {
548 switch (tcode) {
551 dir, evts[evt], tcodes[tcode]);
566 evts[evt], tcodes[tcode], async_header_get_offset(header), specific);
573 evts[evt], tcodes[tcode], specific);
854 u32 status, length, tcode; local
861 tcode = async_header_get_tcode(p.header);
862 switch (tcode) {
897 ar_context_abort(ctx, "invalid tcode");
1343 int z, tcode; local
1563 int tcode, length, i; local
1592 int tcode, length, ext_tcode, sel, try; local
[all...]
H A Dnosy.c411 u32 tcode_mask, tcode, timestamp; local
418 tcode = __le32_to_cpu(lynx->rcv_buffer[1]) >> 4 & 0xf;
427 tcode_mask = 1 << tcode;
/linux-master/sound/firewire/motu/
H A Dmotu-transaction.c18 int tcode; local
23 tcode = TCODE_READ_QUADLET_REQUEST;
25 tcode = TCODE_READ_BLOCK_REQUEST;
27 return snd_fw_transaction(motu->unit, tcode,
34 int tcode; local
39 tcode = TCODE_WRITE_QUADLET_REQUEST;
41 tcode = TCODE_WRITE_BLOCK_REQUEST;
43 return snd_fw_transaction(motu->unit, tcode,
48 int tcode, int destination, int source,
56 if (tcode !
47 handle_message(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, unsigned long long offset, void *data, size_t length, void *callback_data) argument
[all...]
/linux-master/sound/firewire/
H A Dlib.c20 * @tcode: the transaction code
33 int snd_fw_transaction(struct fw_unit *unit, int tcode, argument
46 rcode = fw_run_transaction(device->card, tcode,
H A Dlib.h16 int snd_fw_transaction(struct fw_unit *unit, int tcode,
H A Dfcp.c235 int tcode, ret, tries = 0; local
250 tcode = command_size == 4 ? TCODE_WRITE_QUADLET_REQUEST
252 ret = snd_fw_transaction(t.unit, tcode,
339 int tcode, int destination, int source,
338 fcp_response(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, unsigned long long offset, void *data, size_t length, void *callback_data) argument
/linux-master/sound/firewire/fireface/
H A Dff-transaction.c63 int tcode; local
94 tcode = TCODE_WRITE_QUADLET_REQUEST;
96 tcode = TCODE_WRITE_BLOCK_REQUEST;
108 fw_send_request(fw_dev->card, &ff->transactions[port], tcode,
128 static void handle_msg(struct fw_card *card, struct fw_request *request, int tcode, argument
/linux-master/include/linux/
H A Dfirewire.h286 int tcode, int destination, int source,
360 void __fw_send_request(struct fw_card *card, struct fw_transaction *t, int tcode,
370 * @tcode: transaction code
383 static inline void fw_send_request(struct fw_card *card, struct fw_transaction *t, int tcode, argument
391 __fw_send_request(card, t, tcode, destination_id, generation, speed, offset, payload,
400 * @tcode: transaction code
413 int tcode, int destination_id, int generation, int speed, unsigned long long offset,
420 __fw_send_request(card, t, tcode, destination_id, generation, speed, offset, payload,
426 int fw_run_transaction(struct fw_card *card, int tcode, int destination_id,
412 fw_send_request_with_tstamp(struct fw_card *card, struct fw_transaction *t, int tcode, int destination_id, int generation, int speed, unsigned long long offset, void *payload, size_t length, fw_transaction_callback_with_tstamp_t callback, void *callback_data) argument
/linux-master/tools/firewire/
H A Dnosy-dump.h82 uint32_t tcode:4; member in struct:link_packet::__anon14856::__anon14857
148 uint32_t tcode:4; member in struct:link_packet::__anon14856::__anon14866
H A Dnosy-dump.c325 { "tcode", 24, 4, PACKET_FIELD_TRANSACTION, tcode_names }, \
334 { "tcode", 24, 4, 0, tcode_names }, \
396 { "tcode", 24, 4, 0, tcode_names },
506 if (prev->packet.common.tcode != sa->packet.common.tcode ||
517 if (p->common.tcode != TCODE_WRITE_QUADLET_REQUEST &&
518 p->common.tcode != TCODE_WRITE_BLOCK_REQUEST)
572 if (prev->packet.common.tcode != sa->packet.common.tcode ||
586 if (packet_info[prev->packet.common.tcode]
[all...]
H A Ddecode-fcp.c182 if (t->request->packet.common.tcode != TCODE_WRITE_BLOCK_REQUEST)
/linux-master/sound/firewire/digi00x/
H A Ddigi00x-transaction.c24 int tcode, int destination, int source,
23 handle_message(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, unsigned long long offset, void *data, size_t length, void *callback_data) argument
/linux-master/include/uapi/linux/
H A Dfirewire-cdev.h169 * @tcode: Transaction code of the incoming request
182 __u32 tcode; member in struct:fw_cdev_event_request
193 * @tcode: Transaction code of the incoming request
209 __u32 tcode; member in struct:fw_cdev_event_request2
224 * @tcode: Transaction code of the incoming request
247 * Unlike &fw_cdev_event_request, @tcode of lock requests is one of the
280 __u32 tcode; member in struct:fw_cdev_event_request3
334 * channel, 4 bits tcode, 4 bits sy, in big endian byte order.
632 * @tcode: Transaction code of the request
646 __u32 tcode; member in struct:fw_cdev_send_request
[all...]
/linux-master/drivers/target/sbp/
H A Dsbp_target.c668 static int tgt_agent_rw_agent_state(struct fw_card *card, int tcode, void *data, argument
673 switch (tcode) {
694 static int tgt_agent_rw_agent_reset(struct fw_card *card, int tcode, void *data, argument
697 switch (tcode) {
710 static int tgt_agent_rw_orb_pointer(struct fw_card *card, int tcode, void *data, argument
715 switch (tcode) {
749 static int tgt_agent_rw_doorbell(struct fw_card *card, int tcode, void *data, argument
752 switch (tcode) {
780 int tcode, void *data, struct sbp_target_agent *agent)
782 switch (tcode) {
779 tgt_agent_rw_unsolicited_status_enable(struct fw_card *card, int tcode, void *data, struct sbp_target_agent *agent) argument
796 tgt_agent_rw(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, unsigned long long offset, void *data, size_t length, void *callback_data) argument
1055 sbp_run_transaction(struct fw_card *card, int tcode, int destination_id, int generation, int speed, unsigned long long offset, void *payload, size_t length) argument
1085 sbp_run_request_transaction(struct sbp_target_request *req, int tcode, unsigned long long offset, void *payload, size_t length) argument
1242 int tcode, sg_miter_flags, max_payload, pg_size, speed, node_id, local
1578 sbp_mgt_agent_rw(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, unsigned long long offset, void *data, size_t length, void *callback_data) argument
[all...]
/linux-master/sound/firewire/oxfw/
H A Doxfw-scs1x.c95 int tcode, int destination, int source, int generation,
107 if (tcode != TCODE_WRITE_QUADLET_REQUEST &&
108 tcode != TCODE_WRITE_BLOCK_REQUEST) {
94 handle_hss(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, unsigned long long offset, void *data, size_t length, void *callback_data) argument
/linux-master/drivers/media/firewire/
H A Dfiredtv-fw.c38 int tcode)
45 rcode = fw_run_transaction(device->card, tcode, device->node_id,
196 int tcode, int destination, int source, int generation,
37 node_req(struct firedtv *fdtv, u64 addr, void *data, size_t len, int tcode) argument
195 handle_fcp(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, unsigned long long offset, void *payload, size_t length, void *callback_data) argument
/linux-master/sound/firewire/dice/
H A Ddice-transaction.c133 int tcode, int destination, int source,
141 if (tcode != TCODE_WRITE_QUADLET_REQUEST) {
132 dice_notification(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, unsigned long long offset, void *data, size_t length, void *callback_data) argument
/linux-master/sound/firewire/fireworks/
H A Dfireworks_transaction.c227 int tcode, int destination, int source,
226 efw_response(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, unsigned long long offset, void *data, size_t length, void *callback_data) argument
/linux-master/sound/firewire/tascam/
H A Dtascam-transaction.c246 int tcode, int destination, int source,
245 handle_midi_tx(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, unsigned long long offset, void *data, size_t length, void *callback_data) argument

Completed in 468 milliseconds

12