Lines Matching refs:tcode
703 static int tgt_agent_rw_agent_state(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_agent_state() argument
708 switch (tcode) { in tgt_agent_rw_agent_state()
729 static int tgt_agent_rw_agent_reset(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_agent_reset() argument
732 switch (tcode) { in tgt_agent_rw_agent_reset()
745 static int tgt_agent_rw_orb_pointer(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_orb_pointer() argument
750 switch (tcode) { in tgt_agent_rw_orb_pointer()
784 static int tgt_agent_rw_doorbell(struct fw_card *card, int tcode, void *data, in tgt_agent_rw_doorbell() argument
787 switch (tcode) { in tgt_agent_rw_doorbell()
815 int tcode, void *data, struct sbp_target_agent *agent) in tgt_agent_rw_unsolicited_status_enable() argument
817 switch (tcode) { in tgt_agent_rw_unsolicited_status_enable()
832 int tcode, int destination, int source, int generation, in tgt_agent_rw() argument
863 rcode = tgt_agent_rw_agent_state(card, tcode, data, agent); in tgt_agent_rw()
866 rcode = tgt_agent_rw_agent_reset(card, tcode, data, agent); in tgt_agent_rw()
869 rcode = tgt_agent_rw_orb_pointer(card, tcode, data, agent); in tgt_agent_rw()
872 rcode = tgt_agent_rw_doorbell(card, tcode, data, agent); in tgt_agent_rw()
875 rcode = tgt_agent_rw_unsolicited_status_enable(card, tcode, in tgt_agent_rw()
1073 static int sbp_run_transaction(struct fw_card *card, int tcode, int destination_id, in sbp_run_transaction() argument
1080 ret = fw_run_transaction(card, tcode, destination_id, in sbp_run_transaction()
1104 int tcode, unsigned long long offset, void *payload, in sbp_run_request_transaction() argument
1119 ret = sbp_run_transaction(card, tcode, node_id, generation, speed, in sbp_run_request_transaction()
1261 int tcode, sg_miter_flags, max_payload, pg_size, speed, node_id, in sbp_rw_data() local
1270 tcode = TCODE_WRITE_BLOCK_REQUEST; in sbp_rw_data()
1273 tcode = TCODE_READ_BLOCK_REQUEST; in sbp_rw_data()
1325 rcode = sbp_run_transaction(card, tcode, node_id, in sbp_rw_data()
1588 struct fw_request *request, int tcode, int destination, int source, in sbp_mgt_agent_rw() argument
1602 if (tcode == TCODE_WRITE_BLOCK_REQUEST) { in sbp_mgt_agent_rw()
1633 } else if (tcode == TCODE_READ_BLOCK_REQUEST) { in sbp_mgt_agent_rw()