• Home
  • Raw
  • Download

Lines Matching refs:bsg_reply

26 	struct fc_bsg_reply *bsg_reply = bsg_job->reply;  in qla2x00_bsg_job_done()  local
35 bsg_reply->result = res; in qla2x00_bsg_job_done()
36 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_bsg_job_done()
37 bsg_reply->reply_payload_rcv_len); in qla2x00_bsg_job_done()
145 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla24xx_proc_fcp_prio_cfg_cmd() local
172 bsg_reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd()
175 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
187 bsg_reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd()
190 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
200 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
204 bsg_reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd()
205 bsg_reply->reply_payload_rcv_len = in qla24xx_proc_fcp_prio_cfg_cmd()
216 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
227 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
241 bsg_reply->result = (DID_ERROR << 16); in qla24xx_proc_fcp_prio_cfg_cmd()
255 bsg_reply->result = DID_OK; in qla24xx_proc_fcp_prio_cfg_cmd()
263 bsg_job_done(bsg_job, bsg_reply->result, in qla24xx_proc_fcp_prio_cfg_cmd()
264 bsg_reply->reply_payload_rcv_len); in qla24xx_proc_fcp_prio_cfg_cmd()
742 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_process_loopback() local
942 bsg_reply->result = (DID_ERROR << 16); in qla2x00_process_loopback()
943 bsg_reply->reply_payload_rcv_len = 0; in qla2x00_process_loopback()
947 bsg_reply->result = (DID_OK << 16); in qla2x00_process_loopback()
976 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_process_loopback()
977 bsg_reply->reply_payload_rcv_len); in qla2x00_process_loopback()
986 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla84xx_reset() local
1009 bsg_reply->result = DID_OK; in qla84xx_reset()
1010 bsg_job_done(bsg_job, bsg_reply->result, in qla84xx_reset()
1011 bsg_reply->reply_payload_rcv_len); in qla84xx_reset()
1021 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla84xx_updatefw() local
1109 bsg_reply->result = DID_OK; in qla84xx_updatefw()
1122 bsg_job_done(bsg_job, bsg_reply->result, in qla84xx_updatefw()
1123 bsg_reply->reply_payload_rcv_len); in qla84xx_updatefw()
1131 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla84xx_mgmt_cmd() local
1290 bsg_reply->result = DID_OK; in qla84xx_mgmt_cmd()
1294 bsg_reply->reply_payload_rcv_len = in qla84xx_mgmt_cmd()
1318 bsg_job_done(bsg_job, bsg_reply->result, in qla84xx_mgmt_cmd()
1319 bsg_reply->reply_payload_rcv_len); in qla84xx_mgmt_cmd()
1327 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla24xx_iidma() local
1397 rsp_ptr = ((uint8_t *)bsg_reply) + in qla24xx_iidma()
1404 bsg_reply->result = DID_OK; in qla24xx_iidma()
1405 bsg_job_done(bsg_job, bsg_reply->result, in qla24xx_iidma()
1406 bsg_reply->reply_payload_rcv_len); in qla24xx_iidma()
1485 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_read_optrom() local
1508 bsg_reply->reply_payload_rcv_len = ha->optrom_region_size; in qla2x00_read_optrom()
1509 bsg_reply->result = DID_OK; in qla2x00_read_optrom()
1514 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_read_optrom()
1515 bsg_reply->reply_payload_rcv_len); in qla2x00_read_optrom()
1522 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_update_optrom() local
1546 bsg_reply->result = -EINVAL; in qla2x00_update_optrom()
1549 bsg_reply->result = DID_OK; in qla2x00_update_optrom()
1555 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_update_optrom()
1556 bsg_reply->reply_payload_rcv_len); in qla2x00_update_optrom()
1563 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_update_fru_versions() local
1576 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_update_fru_versions()
1592 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_update_fru_versions()
1599 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = 0; in qla2x00_update_fru_versions()
1606 bsg_reply->result = DID_OK << 16; in qla2x00_update_fru_versions()
1607 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_update_fru_versions()
1608 bsg_reply->reply_payload_rcv_len); in qla2x00_update_fru_versions()
1616 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_read_fru_status() local
1627 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_read_fru_status()
1641 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_read_fru_status()
1649 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = 0; in qla2x00_read_fru_status()
1656 bsg_reply->reply_payload_rcv_len = sizeof(*sr); in qla2x00_read_fru_status()
1657 bsg_reply->result = DID_OK << 16; in qla2x00_read_fru_status()
1658 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_read_fru_status()
1659 bsg_reply->reply_payload_rcv_len); in qla2x00_read_fru_status()
1667 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_write_fru_status() local
1678 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_write_fru_status()
1692 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_write_fru_status()
1697 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = 0; in qla2x00_write_fru_status()
1704 bsg_reply->result = DID_OK << 16; in qla2x00_write_fru_status()
1705 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_write_fru_status()
1706 bsg_reply->reply_payload_rcv_len); in qla2x00_write_fru_status()
1714 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_write_i2c() local
1725 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_write_i2c()
1738 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_write_i2c()
1743 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = 0; in qla2x00_write_i2c()
1750 bsg_reply->result = DID_OK << 16; in qla2x00_write_i2c()
1751 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_write_i2c()
1752 bsg_reply->reply_payload_rcv_len); in qla2x00_write_i2c()
1760 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_read_i2c() local
1771 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_read_i2c()
1783 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_read_i2c()
1792 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = 0; in qla2x00_read_i2c()
1799 bsg_reply->reply_payload_rcv_len = sizeof(*i2c); in qla2x00_read_i2c()
1800 bsg_reply->result = DID_OK << 16; in qla2x00_read_i2c()
1801 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_read_i2c()
1802 bsg_reply->reply_payload_rcv_len); in qla2x00_read_i2c()
1810 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla24xx_process_bidir_cmd() local
1975 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = rval; in qla24xx_process_bidir_cmd()
1977 bsg_reply->reply_payload_rcv_len = 0; in qla24xx_process_bidir_cmd()
1978 bsg_reply->result = (DID_OK) << 16; in qla24xx_process_bidir_cmd()
1979 bsg_job_done(bsg_job, bsg_reply->result, in qla24xx_process_bidir_cmd()
1980 bsg_reply->reply_payload_rcv_len); in qla24xx_process_bidir_cmd()
2111 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla26xx_serdes_op() local
2125 bsg_reply->reply_payload_rcv_len = 0; in qla26xx_serdes_op()
2131 bsg_reply->reply_payload_rcv_len = sizeof(sr); in qla26xx_serdes_op()
2140 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla26xx_serdes_op()
2144 bsg_reply->result = DID_OK << 16; in qla26xx_serdes_op()
2145 bsg_job_done(bsg_job, bsg_reply->result, in qla26xx_serdes_op()
2146 bsg_reply->reply_payload_rcv_len); in qla26xx_serdes_op()
2153 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla8044_serdes_op() local
2167 bsg_reply->reply_payload_rcv_len = 0; in qla8044_serdes_op()
2173 bsg_reply->reply_payload_rcv_len = sizeof(sr); in qla8044_serdes_op()
2182 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla8044_serdes_op()
2186 bsg_reply->result = DID_OK << 16; in qla8044_serdes_op()
2187 bsg_job_done(bsg_job, bsg_reply->result, in qla8044_serdes_op()
2188 bsg_reply->reply_payload_rcv_len); in qla8044_serdes_op()
2195 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla27xx_get_flash_upd_cap() local
2212 bsg_reply->reply_payload_rcv_len = sizeof(cap); in qla27xx_get_flash_upd_cap()
2214 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla27xx_get_flash_upd_cap()
2218 bsg_reply->result = DID_OK << 16; in qla27xx_get_flash_upd_cap()
2219 bsg_job_done(bsg_job, bsg_reply->result, in qla27xx_get_flash_upd_cap()
2220 bsg_reply->reply_payload_rcv_len); in qla27xx_get_flash_upd_cap()
2227 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla27xx_set_flash_upd_cap() local
2247 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla27xx_set_flash_upd_cap()
2253 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla27xx_set_flash_upd_cap()
2258 bsg_reply->reply_payload_rcv_len = 0; in qla27xx_set_flash_upd_cap()
2260 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla27xx_set_flash_upd_cap()
2264 bsg_reply->result = DID_OK << 16; in qla27xx_set_flash_upd_cap()
2265 bsg_job_done(bsg_job, bsg_reply->result, in qla27xx_set_flash_upd_cap()
2266 bsg_reply->reply_payload_rcv_len); in qla27xx_set_flash_upd_cap()
2273 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla27xx_get_bbcr_data() local
2318 bsg_reply->reply_payload_rcv_len = sizeof(bbcr); in qla27xx_get_bbcr_data()
2320 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = EXT_STATUS_OK; in qla27xx_get_bbcr_data()
2323 bsg_reply->result = DID_OK << 16; in qla27xx_get_bbcr_data()
2324 bsg_job_done(bsg_job, bsg_reply->result, in qla27xx_get_bbcr_data()
2325 bsg_reply->reply_payload_rcv_len); in qla27xx_get_bbcr_data()
2333 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_get_priv_stats() local
2373 bsg_reply->reply_payload_rcv_len = sizeof(*stats); in qla2x00_get_priv_stats()
2374 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_get_priv_stats()
2377 bsg_job->reply_len = sizeof(*bsg_reply); in qla2x00_get_priv_stats()
2378 bsg_reply->result = DID_OK << 16; in qla2x00_get_priv_stats()
2379 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_get_priv_stats()
2380 bsg_reply->reply_payload_rcv_len); in qla2x00_get_priv_stats()
2391 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_do_dport_diagnostics() local
2418 bsg_reply->reply_payload_rcv_len = sizeof(*dd); in qla2x00_do_dport_diagnostics()
2419 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = in qla2x00_do_dport_diagnostics()
2422 bsg_job->reply_len = sizeof(*bsg_reply); in qla2x00_do_dport_diagnostics()
2423 bsg_reply->result = DID_OK << 16; in qla2x00_do_dport_diagnostics()
2424 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_do_dport_diagnostics()
2425 bsg_reply->reply_payload_rcv_len); in qla2x00_do_dport_diagnostics()
2436 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_get_flash_image_status() local
2461 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = EXT_STATUS_OK; in qla2x00_get_flash_image_status()
2462 bsg_reply->reply_payload_rcv_len = sizeof(regions); in qla2x00_get_flash_image_status()
2463 bsg_reply->result = DID_OK << 16; in qla2x00_get_flash_image_status()
2465 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_get_flash_image_status()
2466 bsg_reply->reply_payload_rcv_len); in qla2x00_get_flash_image_status()
2475 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_manage_host_stats() local
2526 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = EXT_STATUS_OK; in qla2x00_manage_host_stats()
2527 bsg_reply->reply_payload_rcv_len = in qla2x00_manage_host_stats()
2533 bsg_reply->result = DID_OK; in qla2x00_manage_host_stats()
2534 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_manage_host_stats()
2535 bsg_reply->reply_payload_rcv_len); in qla2x00_manage_host_stats()
2544 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_get_host_stats() local
2594 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = EXT_STATUS_BUFFER_TOO_SMALL; in qla2x00_get_host_stats()
2597 bsg_reply->reply_payload_rcv_len = in qla2x00_get_host_stats()
2602 bsg_reply->result = DID_OK; in qla2x00_get_host_stats()
2603 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_get_host_stats()
2604 bsg_reply->reply_payload_rcv_len); in qla2x00_get_host_stats()
2618 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = EXT_STATUS_OK; in qla2x00_get_host_stats()
2620 bsg_reply->reply_payload_rcv_len = sg_copy_from_buffer(bsg_job->reply_payload.sg_list, in qla2x00_get_host_stats()
2623 bsg_reply->result = DID_OK; in qla2x00_get_host_stats()
2624 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_get_host_stats()
2625 bsg_reply->reply_payload_rcv_len); in qla2x00_get_host_stats()
2649 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_get_tgt_stats() local
2692 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = EXT_STATUS_BUFFER_TOO_SMALL; in qla2x00_get_tgt_stats()
2695 bsg_reply->reply_payload_rcv_len = in qla2x00_get_tgt_stats()
2700 bsg_reply->result = DID_OK; in qla2x00_get_tgt_stats()
2701 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_get_tgt_stats()
2702 bsg_reply->reply_payload_rcv_len); in qla2x00_get_tgt_stats()
2717 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = EXT_STATUS_OK; in qla2x00_get_tgt_stats()
2719 bsg_reply->reply_payload_rcv_len = in qla2x00_get_tgt_stats()
2723 bsg_reply->result = DID_OK; in qla2x00_get_tgt_stats()
2724 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_get_tgt_stats()
2725 bsg_reply->reply_payload_rcv_len); in qla2x00_get_tgt_stats()
2738 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_manage_host_port() local
2778 bsg_reply->reply_data.vendor_reply.vendor_rsp[0] = EXT_STATUS_OK; in qla2x00_manage_host_port()
2781 bsg_reply->reply_payload_rcv_len = in qla2x00_manage_host_port()
2785 bsg_reply->result = DID_OK; in qla2x00_manage_host_port()
2786 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_manage_host_port()
2787 bsg_reply->reply_payload_rcv_len); in qla2x00_manage_host_port()
2895 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla24xx_bsg_request() local
2902 bsg_reply->reply_payload_rcv_len = 0; in qla24xx_bsg_request()
2921 bsg_reply->result = DID_ERROR; in qla24xx_bsg_request()
2930 SET_DID_STATUS(bsg_reply->result, DID_ERROR); in qla24xx_bsg_request()
2935 SET_DID_STATUS(bsg_reply->result, DID_ERROR); in qla24xx_bsg_request()
2972 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla24xx_bsg_timeout() local
3010 bsg_reply->result = -EIO; in qla24xx_bsg_timeout()
3014 bsg_reply->result = 0; in qla24xx_bsg_timeout()
3024 bsg_reply->result = -ENXIO; in qla24xx_bsg_timeout()