Lines Matching defs:tcode

704 static int tgt_agent_rw_agent_state(struct fw_card *card, int tcode, void *data,
709 switch (tcode) {
730 static int tgt_agent_rw_agent_reset(struct fw_card *card, int tcode, void *data,
733 switch (tcode) {
746 static int tgt_agent_rw_orb_pointer(struct fw_card *card, int tcode, void *data,
751 switch (tcode) {
785 static int tgt_agent_rw_doorbell(struct fw_card *card, int tcode, void *data,
788 switch (tcode) {
816 int tcode, void *data, struct sbp_target_agent *agent)
818 switch (tcode) {
833 int tcode, int destination, int source, int generation,
864 rcode = tgt_agent_rw_agent_state(card, tcode, data, agent);
867 rcode = tgt_agent_rw_agent_reset(card, tcode, data, agent);
870 rcode = tgt_agent_rw_orb_pointer(card, tcode, data, agent);
873 rcode = tgt_agent_rw_doorbell(card, tcode, data, agent);
876 rcode = tgt_agent_rw_unsolicited_status_enable(card, tcode,
1074 static int sbp_run_transaction(struct fw_card *card, int tcode, int destination_id,
1081 ret = fw_run_transaction(card, tcode, destination_id,
1105 int tcode, unsigned long long offset, void *payload,
1120 ret = sbp_run_transaction(card, tcode, node_id, generation, speed,
1262 int tcode, sg_miter_flags, max_payload, pg_size, speed, node_id,
1271 tcode = TCODE_WRITE_BLOCK_REQUEST;
1274 tcode = TCODE_READ_BLOCK_REQUEST;
1326 rcode = sbp_run_transaction(card, tcode, node_id,
1589 struct fw_request *request, int tcode, int destination, int source,
1603 if (tcode == TCODE_WRITE_BLOCK_REQUEST) {
1634 } else if (tcode == TCODE_READ_BLOCK_REQUEST) {