Lines Matching refs:bsg_reply

20 	struct fc_bsg_reply *bsg_reply = bsg_job->reply;  in qla2x00_bsg_job_done()  local
22 bsg_reply->result = res; in qla2x00_bsg_job_done()
23 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_bsg_job_done()
24 bsg_reply->reply_payload_rcv_len); in qla2x00_bsg_job_done()
125 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla24xx_proc_fcp_prio_cfg_cmd() local
152 bsg_reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd()
155 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
167 bsg_reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd()
170 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
180 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
184 bsg_reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd()
185 bsg_reply->reply_payload_rcv_len = in qla24xx_proc_fcp_prio_cfg_cmd()
196 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
207 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
222 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
236 bsg_reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd()
244 bsg_job_done(bsg_job, bsg_reply->result, in qla24xx_proc_fcp_prio_cfg_cmd()
245 bsg_reply->reply_payload_rcv_len); in qla24xx_proc_fcp_prio_cfg_cmd()
710 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_process_loopback() local
909 bsg_reply->result = (DID_ERROR << 16); in qla2x00_process_loopback()
910 bsg_reply->reply_payload_rcv_len = 0; in qla2x00_process_loopback()
914 bsg_reply->result = (DID_OK << 16); in qla2x00_process_loopback()
943 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_process_loopback()
944 bsg_reply->reply_payload_rcv_len); in qla2x00_process_loopback()
953 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla84xx_reset() local
976 bsg_reply->result = DID_OK; in qla84xx_reset()
977 bsg_job_done(bsg_job, bsg_reply->result, in qla84xx_reset()
978 bsg_reply->reply_payload_rcv_len); in qla84xx_reset()
988 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla84xx_updatefw() local
1077 bsg_reply->result = DID_OK; in qla84xx_updatefw()
1090 bsg_job_done(bsg_job, bsg_reply->result, in qla84xx_updatefw()
1091 bsg_reply->reply_payload_rcv_len); in qla84xx_updatefw()
1099 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla84xx_mgmt_cmd() local
1259 bsg_reply->result = DID_OK; in qla84xx_mgmt_cmd()
1263 bsg_reply->reply_payload_rcv_len = in qla84xx_mgmt_cmd()
1287 bsg_job_done(bsg_job, bsg_reply->result, in qla84xx_mgmt_cmd()
1288 bsg_reply->reply_payload_rcv_len); in qla84xx_mgmt_cmd()
1296 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla24xx_iidma() local
1366 rsp_ptr = ((uint8_t *)bsg_reply) + in qla24xx_iidma()
1373 bsg_reply->result = DID_OK; in qla24xx_iidma()
1374 bsg_job_done(bsg_job, bsg_reply->result, in qla24xx_iidma()
1375 bsg_reply->reply_payload_rcv_len); in qla24xx_iidma()
1453 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_read_optrom() local
1476 bsg_reply->reply_payload_rcv_len = ha->optrom_region_size; in qla2x00_read_optrom()
1477 bsg_reply->result = DID_OK; in qla2x00_read_optrom()
1482 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_read_optrom()
1483 bsg_reply->reply_payload_rcv_len); in qla2x00_read_optrom()
1490 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_update_optrom() local
1513 bsg_reply->result = DID_OK; in qla2x00_update_optrom()
1518 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_update_optrom()
1519 bsg_reply->reply_payload_rcv_len); in qla2x00_update_optrom()
1526 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_update_fru_versions() local
1538 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_update_fru_versions()
1554 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_update_fru_versions()
1561 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = 0; in qla2x00_update_fru_versions()
1568 bsg_reply->result = DID_OK << 16; in qla2x00_update_fru_versions()
1569 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_update_fru_versions()
1570 bsg_reply->reply_payload_rcv_len); in qla2x00_update_fru_versions()
1578 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_read_fru_status() local
1588 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_read_fru_status()
1602 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_read_fru_status()
1610 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = 0; in qla2x00_read_fru_status()
1617 bsg_reply->reply_payload_rcv_len = sizeof(*sr); in qla2x00_read_fru_status()
1618 bsg_reply->result = DID_OK << 16; in qla2x00_read_fru_status()
1619 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_read_fru_status()
1620 bsg_reply->reply_payload_rcv_len); in qla2x00_read_fru_status()
1628 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_write_fru_status() local
1638 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_write_fru_status()
1652 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_write_fru_status()
1657 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = 0; in qla2x00_write_fru_status()
1664 bsg_reply->result = DID_OK << 16; in qla2x00_write_fru_status()
1665 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_write_fru_status()
1666 bsg_reply->reply_payload_rcv_len); in qla2x00_write_fru_status()
1674 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_write_i2c() local
1684 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_write_i2c()
1697 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_write_i2c()
1702 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = 0; in qla2x00_write_i2c()
1709 bsg_reply->result = DID_OK << 16; in qla2x00_write_i2c()
1710 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_write_i2c()
1711 bsg_reply->reply_payload_rcv_len); in qla2x00_write_i2c()
1719 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_read_i2c() local
1729 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_read_i2c()
1741 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_read_i2c()
1750 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = 0; in qla2x00_read_i2c()
1757 bsg_reply->reply_payload_rcv_len = sizeof(*i2c); in qla2x00_read_i2c()
1758 bsg_reply->result = DID_OK << 16; in qla2x00_read_i2c()
1759 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_read_i2c()
1760 bsg_reply->reply_payload_rcv_len); in qla2x00_read_i2c()
1768 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla24xx_process_bidir_cmd() local
1934 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = rval; in qla24xx_process_bidir_cmd()
1936 bsg_reply->reply_payload_rcv_len = 0; in qla24xx_process_bidir_cmd()
1937 bsg_reply->result = (DID_OK) << 16; in qla24xx_process_bidir_cmd()
1938 bsg_job_done(bsg_job, bsg_reply->result, in qla24xx_process_bidir_cmd()
1939 bsg_reply->reply_payload_rcv_len); in qla24xx_process_bidir_cmd()
2070 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla26xx_serdes_op() local
2084 bsg_reply->reply_payload_rcv_len = 0; in qla26xx_serdes_op()
2090 bsg_reply->reply_payload_rcv_len = sizeof(sr); in qla26xx_serdes_op()
2099 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla26xx_serdes_op()
2103 bsg_reply->result = DID_OK << 16; in qla26xx_serdes_op()
2104 bsg_job_done(bsg_job, bsg_reply->result, in qla26xx_serdes_op()
2105 bsg_reply->reply_payload_rcv_len); in qla26xx_serdes_op()
2112 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla8044_serdes_op() local
2126 bsg_reply->reply_payload_rcv_len = 0; in qla8044_serdes_op()
2132 bsg_reply->reply_payload_rcv_len = sizeof(sr); in qla8044_serdes_op()
2141 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla8044_serdes_op()
2145 bsg_reply->result = DID_OK << 16; in qla8044_serdes_op()
2146 bsg_job_done(bsg_job, bsg_reply->result, in qla8044_serdes_op()
2147 bsg_reply->reply_payload_rcv_len); in qla8044_serdes_op()
2154 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla27xx_get_flash_upd_cap() local
2171 bsg_reply->reply_payload_rcv_len = sizeof(cap); in qla27xx_get_flash_upd_cap()
2173 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla27xx_get_flash_upd_cap()
2177 bsg_reply->result = DID_OK << 16; in qla27xx_get_flash_upd_cap()
2178 bsg_job_done(bsg_job, bsg_reply->result, in qla27xx_get_flash_upd_cap()
2179 bsg_reply->reply_payload_rcv_len); in qla27xx_get_flash_upd_cap()
2186 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla27xx_set_flash_upd_cap() local
2206 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla27xx_set_flash_upd_cap()
2212 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla27xx_set_flash_upd_cap()
2217 bsg_reply->reply_payload_rcv_len = 0; in qla27xx_set_flash_upd_cap()
2219 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla27xx_set_flash_upd_cap()
2223 bsg_reply->result = DID_OK << 16; in qla27xx_set_flash_upd_cap()
2224 bsg_job_done(bsg_job, bsg_reply->result, in qla27xx_set_flash_upd_cap()
2225 bsg_reply->reply_payload_rcv_len); in qla27xx_set_flash_upd_cap()
2232 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla27xx_get_bbcr_data() local
2277 bsg_reply->reply_payload_rcv_len = sizeof(bbcr); in qla27xx_get_bbcr_data()
2279 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = EXT_STATUS_OK; in qla27xx_get_bbcr_data()
2282 bsg_reply->result = DID_OK << 16; in qla27xx_get_bbcr_data()
2283 bsg_job_done(bsg_job, bsg_reply->result, in qla27xx_get_bbcr_data()
2284 bsg_reply->reply_payload_rcv_len); in qla27xx_get_bbcr_data()
2292 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_get_priv_stats() local
2332 bsg_reply->reply_payload_rcv_len = sizeof(*stats); in qla2x00_get_priv_stats()
2333 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_get_priv_stats()
2336 bsg_job->reply_len = sizeof(*bsg_reply); in qla2x00_get_priv_stats()
2337 bsg_reply->result = DID_OK << 16; in qla2x00_get_priv_stats()
2338 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_get_priv_stats()
2339 bsg_reply->reply_payload_rcv_len); in qla2x00_get_priv_stats()
2350 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_do_dport_diagnostics() local
2376 bsg_reply->reply_payload_rcv_len = sizeof(*dd); in qla2x00_do_dport_diagnostics()
2377 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_do_dport_diagnostics()
2380 bsg_job->reply_len = sizeof(*bsg_reply); in qla2x00_do_dport_diagnostics()
2381 bsg_reply->result = DID_OK << 16; in qla2x00_do_dport_diagnostics()
2382 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_do_dport_diagnostics()
2383 bsg_reply->reply_payload_rcv_len); in qla2x00_do_dport_diagnostics()
2472 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla24xx_bsg_request() local
2479 bsg_reply->reply_payload_rcv_len = 0; in qla24xx_bsg_request()
2524 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla24xx_bsg_timeout() local
2552 bsg_reply->result = -EIO; in qla24xx_bsg_timeout()
2557 bsg_reply->result = 0; in qla24xx_bsg_timeout()
2567 bsg_reply->result = -ENXIO; in qla24xx_bsg_timeout()