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

12

/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/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, argument
233 if (tcode == TCODE_STREAM_DATA) {
245 if (tcode > 0x10) {
246 ext_tcode = tcode & ~0x10;
247 tcode = TCODE_LOCK_REQUEST;
254 HEADER_TCODE(tcode) |
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) 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) argument
696 int tcode, ext_tcode, data_length; local
732 int tcode, tlabel, extended_tcode, source, destination; local
927 int tcode, destination, source; local
956 int tcode, destination, source; local
1028 int tcode, tlabel, source, rcode; 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) 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) 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) argument
[all...]
H A Duapi-test.c36 KUNIT_EXPECT_EQ(test, 12, offsetof(struct fw_cdev_event_request3, tcode));
H A Dcore-cdev.c619 if (request->tcode != TCODE_STREAM_DATA &&
623 if (request->tcode == TCODE_WRITE_QUADLET_REQUEST &&
658 fw_send_request_with_tstamp(client->device->card, &e->r.transaction, request->tcode,
671 switch (arg->send_request.tcode) {
708 int tcode, int destination, int source,
746 if (tcode & 0x10)
747 tcode = TCODE_LOCK_REQUEST;
750 req->tcode = tcode;
760 req->tcode
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) argument
[all...]
H A Dohci.c519 int tcode = header[0] >> 4 & 0xf; local
534 switch (tcode) {
547 switch (tcode) {
550 dir, evts[evt], tcodes[tcode]);
561 tcodes[tcode], header[1] & 0xffff, header[2], specific);
568 tcodes[tcode], specific);
849 u32 status, length, tcode; local
856 tcode = (p.header[0] >> 4) & 0x0f;
857 switch (tcode) {
892 ar_context_abort(ctx, "invalid tcode");
1339 int z, tcode; local
1563 int tcode, length, i; local
1590 int tcode, length, ext_tcode, sel, try; local
[all...]
H A Dnosy.c409 u32 tcode_mask, tcode, timestamp; local
416 tcode = __le32_to_cpu(lynx->rcv_buffer[1]) >> 4 & 0xf;
425 tcode_mask = 1 << tcode;
H A Dsbp2.c407 int tcode, int destination, int source,
416 if (tcode != TCODE_WRITE_BLOCK_REQUEST ||
406 sbp2_status_write(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/
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
/linux-master/arch/mips/kernel/
H A Dtraps.c1117 u32 opcode, tcode = 0; local
1132 tcode = (opcode >> 12) & ((1 << 4) - 1);
1138 tcode = (opcode >> 6) & ((1 << 10) - 1);
1141 do_trap_or_bp(regs, tcode, 0, "Trap");

Completed in 885 milliseconds

12