Home
last modified time | relevance | path

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

/drivers/firewire/
Dcore-transaction.c47 #define HEADER_TCODE(tcode) ((tcode) << 4) argument
55 #define HEADER_EXTENDED_TCODE(tcode) ((tcode) << 0) argument
211 static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, in fw_fill_request() argument
217 if (tcode == TCODE_STREAM_DATA) { in fw_fill_request()
229 if (tcode > 0x10) { in fw_fill_request()
230 ext_tcode = tcode & ~0x10; in fw_fill_request()
231 tcode = TCODE_LOCK_REQUEST; in fw_fill_request()
238 HEADER_TCODE(tcode) | in fw_fill_request()
245 switch (tcode) { in fw_fill_request()
276 WARN(1, "wrong tcode %d\n", tcode); in fw_fill_request()
[all …]
Dcore.h229 #define TCODE_IS_READ_REQUEST(tcode) (((tcode) & ~1) == 4) argument
230 #define TCODE_IS_BLOCK_PACKET(tcode) (((tcode) & 1) != 0) argument
231 #define TCODE_IS_LINK_INTERNAL(tcode) ((tcode) == TCODE_LINK_INTERNAL) argument
232 #define TCODE_IS_REQUEST(tcode) (((tcode) & 2) == 0) argument
233 #define TCODE_IS_RESPONSE(tcode) (((tcode) & 2) != 0) argument
234 #define TCODE_HAS_REQUEST_DATA(tcode) (((tcode) & 12) != 4) argument
235 #define TCODE_HAS_RESPONSE_DATA(tcode) (((tcode) & 12) != 0) argument
Dcore-cdev.c595 if (request->tcode != TCODE_STREAM_DATA && in init_request()
599 if (request->tcode == TCODE_WRITE_QUADLET_REQUEST && in init_request()
624 request->tcode, destination_id, request->generation, in init_request()
637 switch (arg->send_request.tcode) { in ioctl_send_request()
679 int tcode, int destination, int source, in handle_request() argument
723 if (tcode & 0x10) in handle_request()
724 tcode = TCODE_LOCK_REQUEST; in handle_request()
727 req->tcode = tcode; in handle_request()
737 req->tcode = tcode; in handle_request()
1456 switch (a->tcode) { in ioctl_send_broadcast_request()
[all …]
Dohci.c487 int tcode = header[0] >> 4 & 0xf; in log_ar_at_event() local
502 switch (tcode) { in log_ar_at_event()
515 switch (tcode) { in log_ar_at_event()
518 dir, evts[evt], tcodes[tcode]); in log_ar_at_event()
529 tcodes[tcode], header[1] & 0xffff, header[2], specific); in log_ar_at_event()
536 tcodes[tcode], specific); in log_ar_at_event()
817 u32 status, length, tcode; in handle_ar_packet() local
824 tcode = (p.header[0] >> 4) & 0x0f; in handle_ar_packet()
825 switch (tcode) { in handle_ar_packet()
1311 int z, tcode; in at_context_queue_packet() local
[all …]
Dnosy.c421 u32 tcode_mask, tcode; in packet_irq_handler() local
428 tcode = __le32_to_cpu(lynx->rcv_buffer[1]) >> 4 & 0xf; in packet_irq_handler()
436 tcode_mask = 1 << tcode; in packet_irq_handler()
Dsbp2.c419 int tcode, int destination, int source, in sbp2_status_write() argument
428 if (tcode != TCODE_WRITE_BLOCK_REQUEST || in sbp2_status_write()
Dnet.c713 int tcode, int destination, int source, int generation, in fwnet_receive_packet() argument
728 else if (tcode != TCODE_WRITE_BLOCK_REQUEST) in fwnet_receive_packet()
/drivers/target/sbp/
Dsbp_target.c699 static int tgt_agent_rw_agent_state(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_agent_state() argument
704 switch (tcode) { in tgt_agent_rw_agent_state()
725 static int tgt_agent_rw_agent_reset(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_agent_reset() argument
728 switch (tcode) { in tgt_agent_rw_agent_reset()
741 static int tgt_agent_rw_orb_pointer(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_orb_pointer() argument
746 switch (tcode) { in tgt_agent_rw_orb_pointer()
780 static int tgt_agent_rw_doorbell(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_doorbell() argument
783 switch (tcode) { in tgt_agent_rw_doorbell()
811 int tcode, void *data, struct sbp_target_agent *agent) in tgt_agent_rw_unsolicited_status_enable() argument
813 switch (tcode) { in tgt_agent_rw_unsolicited_status_enable()
[all …]
/drivers/media/firewire/
Dfiredtv-fw.c37 int tcode) in node_req() argument
44 rcode = fw_run_transaction(device->card, tcode, device->node_id, in node_req()
195 int tcode, int destination, int source, int generation, in handle_fcp() argument
/drivers/staging/fwserial/
Dfwserial.c240 static int fwtty_send_data_async(struct fwtty_peer *peer, int tcode, in fwtty_send_data_async() argument
257 fw_send_request(peer->serial->card, &txn->fw_txn, tcode, in fwtty_send_data_async()
264 struct fwtty_transaction *txn, int tcode, in fwtty_send_txn_async() argument
276 fw_send_request(peer->serial->card, &txn->fw_txn, tcode, in fwtty_send_txn_async()
612 int tcode, int destination, int source, in fwtty_port_handler() argument
633 switch (tcode) { in fwtty_port_handler()
2778 int tcode, int destination, int source, in fwserial_mgmt_handler() argument
2796 switch (tcode) { in fwserial_mgmt_handler()