Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/firewire/
H A Dcore.h228 #define TCODE_IS_READ_REQUEST(tcode) (((tcode) & ~1) == 4)
229 #define TCODE_IS_BLOCK_PACKET(tcode) (((tcode) & 1) != 0)
230 #define TCODE_IS_LINK_INTERNAL(tcode) ((tcode) == TCODE_LINK_INTERNAL)
231 #define TCODE_IS_REQUEST(tcode) (((tcode) & 2) == 0)
232 #define TCODE_IS_RESPONSE(tcode) (((tcode)
[all...]
H A Dcore-transaction.c34 #define HEADER_TCODE(tcode) ((tcode) << 4)
42 #define HEADER_EXTENDED_TCODE(tcode) ((tcode) << 0)
199 static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, in fw_fill_request() argument
205 if (tcode == TCODE_STREAM_DATA) { in fw_fill_request()
217 if (tcode > 0x10) { in fw_fill_request()
218 ext_tcode = tcode & ~0x10; in fw_fill_request()
219 tcode = TCODE_LOCK_REQUEST; in fw_fill_request()
226 HEADER_TCODE(tcode) | in fw_fill_request()
338 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, fw_transaction_callback_t callback, void *callback_data) fw_send_request() argument
415 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) fw_run_transaction() argument
638 int tcode, ext_tcode, data_length; fw_get_response_length() local
674 int tcode, tlabel, extended_tcode, source, destination; fw_fill_response() local
842 int tcode, destination, source; handle_exclusive_region_request() local
871 int tcode, destination, source; handle_fcp_region_request() local
943 int tcode, tlabel, source, rcode; fw_core_handle_response() local
1041 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) handle_topology_map() argument
1086 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) handle_registers() argument
1206 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) handle_low_memory() argument
[all...]
/kernel/linux/linux-6.6/drivers/firewire/
H A Dcore.h228 #define TCODE_IS_READ_REQUEST(tcode) (((tcode) & ~1) == 4)
229 #define TCODE_IS_BLOCK_PACKET(tcode) (((tcode) & 1) != 0)
230 #define TCODE_IS_LINK_INTERNAL(tcode) ((tcode) == TCODE_LINK_INTERNAL)
231 #define TCODE_IS_REQUEST(tcode) (((tcode) & 2) == 0)
232 #define TCODE_IS_RESPONSE(tcode) (((tcode)
[all...]
H A Dcore-transaction.c34 #define HEADER_TCODE(tcode) ((tcode) << 4)
42 #define HEADER_EXTENDED_TCODE(tcode) ((tcode) << 0)
227 static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, in fw_fill_request() argument
233 if (tcode == TCODE_STREAM_DATA) { in fw_fill_request()
245 if (tcode > 0x10) { in fw_fill_request()
246 ext_tcode = tcode & ~0x10; in fw_fill_request()
247 tcode = TCODE_LOCK_REQUEST; in fw_fill_request()
254 HEADER_TCODE(tcode) | in fw_fill_request()
369 __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) __fw_send_request() argument
457 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) fw_run_transaction() argument
696 int tcode, ext_tcode, data_length; fw_get_response_length() local
732 int tcode, tlabel, extended_tcode, source, destination; fw_fill_response() local
927 int tcode, destination, source; handle_exclusive_region_request() local
956 int tcode, destination, source; handle_fcp_region_request() local
1028 int tcode, tlabel, source, rcode; fw_core_handle_response() local
1131 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) handle_topology_map() argument
1176 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) handle_registers() argument
1296 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) handle_low_memory() argument
[all...]
H A Dcore-cdev.c619 if (request->tcode != TCODE_STREAM_DATA && in init_request()
623 if (request->tcode == TCODE_WRITE_QUADLET_REQUEST && in init_request()
658 fw_send_request_with_tstamp(client->device->card, &e->r.transaction, request->tcode, in init_request()
671 switch (arg->send_request.tcode) { in ioctl_send_request()
708 int tcode, int destination, int source, in handle_request()
746 if (tcode & 0x10) in handle_request()
747 tcode = TCODE_LOCK_REQUEST; in handle_request()
750 req->tcode = tcode; in handle_request()
760 req->tcode in handle_request()
707 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) handle_request() argument
[all...]
/kernel/linux/linux-5.10/sound/firewire/motu/
H 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()
56 if (tcode ! in handle_message()
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) handle_message() argument
[all...]
/kernel/linux/linux-6.6/sound/firewire/motu/
H 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()
56 if (tcode ! in handle_message()
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) handle_message() argument
[all...]
/kernel/linux/linux-5.10/sound/firewire/fireface/
H 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()
129 int tcode, int destination, int source, in handle_midi_msg()
128 handle_midi_msg(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) handle_midi_msg() argument
/kernel/linux/linux-6.6/sound/firewire/fireface/
H 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
/kernel/linux/linux-5.10/drivers/target/sbp/
H A Dsbp_target.c668 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()
782 switch (tcode) { in tgt_agent_rw_unsolicited_status_enable()
779 tgt_agent_rw_unsolicited_status_enable(struct fw_card *card, int tcode, void *data, struct sbp_target_agent *agent) tgt_agent_rw_unsolicited_status_enable() 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) tgt_agent_rw() 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) sbp_run_transaction() argument
1085 sbp_run_request_transaction(struct sbp_target_request *req, int tcode, unsigned long long offset, void *payload, size_t length) sbp_run_request_transaction() argument
1244 int tcode, sg_miter_flags, max_payload, pg_size, speed, node_id, sbp_rw_data() local
1581 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) sbp_mgt_agent_rw() argument
[all...]
/kernel/linux/linux-6.6/drivers/target/sbp/
H A Dsbp_target.c668 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()
782 switch (tcode) { in tgt_agent_rw_unsolicited_status_enable()
779 tgt_agent_rw_unsolicited_status_enable(struct fw_card *card, int tcode, void *data, struct sbp_target_agent *agent) tgt_agent_rw_unsolicited_status_enable() 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) tgt_agent_rw() 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) sbp_run_transaction() argument
1085 sbp_run_request_transaction(struct sbp_target_request *req, int tcode, unsigned long long offset, void *payload, size_t length) sbp_run_request_transaction() argument
1242 int tcode, sg_miter_flags, max_payload, pg_size, speed, node_id, sbp_rw_data() 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) sbp_mgt_agent_rw() argument
[all...]
/kernel/linux/linux-6.6/sound/firewire/
H A Dlib.c20 * @tcode: the transaction code
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()
H 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()
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) fcp_response() argument
/kernel/linux/linux-6.6/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, in fw_send_request() argument
391 __fw_send_request(card, t, tcode, destination_id, generation, speed, offset, payload, in fw_send_request()
400 * @tcode: transaction code
413 int tcode, int destination_id, int generation, int speed, unsigned long long offset, in fw_send_request_with_tstamp()
420 __fw_send_request(card, t, tcode, destination_id, generation, speed, offset, payload, in fw_send_request_with_tstamp()
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) fw_send_request_with_tstamp() argument
/kernel/linux/linux-5.10/sound/firewire/
H A Dlib.c20 * @tcode: the transaction code
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()
H 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()
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) fcp_response() argument
/kernel/linux/linux-5.10/tools/firewire/
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 || 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] in handle_response_packet()
[all...]
H A Dnosy-dump.h82 uint32_t tcode:4; member
148 uint32_t tcode:4; member
/kernel/linux/linux-6.6/tools/firewire/
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 || 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] in handle_response_packet()
[all...]
H A Dnosy-dump.h82 uint32_t tcode:4; member
148 uint32_t tcode:4; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dfirewire-cdev.h169 * @tcode: Transaction code of the incoming request
182 __u32 tcode; member
193 * @tcode: Transaction code of the incoming request
209 __u32 tcode; member
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
334 * channel, 4 bits tcode, 4 bits sy, in big endian byte order.
632 * @tcode: Transaction code of the request
646 __u32 tcode; member
[all...]
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dfirewire-cdev.h128 * @tcode: Transaction code of the incoming request
141 __u32 tcode; member
152 * @tcode: Transaction code of the incoming request
171 * Unlike &fw_cdev_event_request, @tcode of lock requests is one of the
200 __u32 tcode; member
252 * channel, 4 bits tcode, 4 bits sy, in big endian byte order.
498 * @tcode: Transaction code of the request
512 __u32 tcode; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dfirewire-cdev.h58 __u32 tcode; member
67 __u32 tcode; member
148 __u32 tcode; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dfirewire-cdev.h58 __u32 tcode; member
67 __u32 tcode; member
148 __u32 tcode; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dfirewire-cdev.h45 __u32 tcode; member
54 __u32 tcode; member
135 __u32 tcode; member

Completed in 37 milliseconds

123