Lines Matching defs:tcode

668 static int tgt_agent_rw_agent_state(struct fw_card *card, int tcode, void *data,
673 switch (tcode) {
694 static int tgt_agent_rw_agent_reset(struct fw_card *card, int tcode, void *data,
697 switch (tcode) {
710 static int tgt_agent_rw_orb_pointer(struct fw_card *card, int tcode, void *data,
715 switch (tcode) {
749 static int tgt_agent_rw_doorbell(struct fw_card *card, int tcode, void *data,
752 switch (tcode) {
780 int tcode, void *data, struct sbp_target_agent *agent)
782 switch (tcode) {
797 int tcode, int destination, int source, int generation,
828 rcode = tgt_agent_rw_agent_state(card, tcode, data, agent);
831 rcode = tgt_agent_rw_agent_reset(card, tcode, data, agent);
834 rcode = tgt_agent_rw_orb_pointer(card, tcode, data, agent);
837 rcode = tgt_agent_rw_doorbell(card, tcode, data, agent);
840 rcode = tgt_agent_rw_unsolicited_status_enable(card, tcode,
1055 static int sbp_run_transaction(struct fw_card *card, int tcode, int destination_id,
1062 ret = fw_run_transaction(card, tcode, destination_id,
1086 int tcode, unsigned long long offset, void *payload,
1101 ret = sbp_run_transaction(card, tcode, node_id, generation, speed,
1242 int tcode, sg_miter_flags, max_payload, pg_size, speed, node_id,
1251 tcode = TCODE_WRITE_BLOCK_REQUEST;
1254 tcode = TCODE_READ_BLOCK_REQUEST;
1305 rcode = sbp_run_transaction(card, tcode, node_id,
1579 struct fw_request *request, int tcode, int destination, int source,
1593 if (tcode == TCODE_WRITE_BLOCK_REQUEST) {
1623 } else if (tcode == TCODE_READ_BLOCK_REQUEST) {