/Linux-v6.1/drivers/scsi/lpfc/ |
D | lpfc_hbadisc.c | 1594 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, &mboxq->u.mqe.un.reg_fcfi); in lpfc_mbx_cmpl_reg_fcfi() 1638 if (fab_name[0] != bf_get(lpfc_fcf_record_fab_name_0, new_fcf_record)) in lpfc_fab_name_match() 1640 if (fab_name[1] != bf_get(lpfc_fcf_record_fab_name_1, new_fcf_record)) in lpfc_fab_name_match() 1642 if (fab_name[2] != bf_get(lpfc_fcf_record_fab_name_2, new_fcf_record)) in lpfc_fab_name_match() 1644 if (fab_name[3] != bf_get(lpfc_fcf_record_fab_name_3, new_fcf_record)) in lpfc_fab_name_match() 1646 if (fab_name[4] != bf_get(lpfc_fcf_record_fab_name_4, new_fcf_record)) in lpfc_fab_name_match() 1648 if (fab_name[5] != bf_get(lpfc_fcf_record_fab_name_5, new_fcf_record)) in lpfc_fab_name_match() 1650 if (fab_name[6] != bf_get(lpfc_fcf_record_fab_name_6, new_fcf_record)) in lpfc_fab_name_match() 1652 if (fab_name[7] != bf_get(lpfc_fcf_record_fab_name_7, new_fcf_record)) in lpfc_fab_name_match() 1669 if (sw_name[0] != bf_get(lpfc_fcf_record_switch_name_0, new_fcf_record)) in lpfc_sw_name_match() [all …]
|
D | lpfc_init.c | 706 bf_get(cfg_mi_ver, mbx_sli4_parameters); in lpfc_sli4_refresh_params() 711 bf_get(cfg_cmf, mbx_sli4_parameters); in lpfc_sli4_refresh_params() 713 bf_get(cfg_pvl, mbx_sli4_parameters); in lpfc_sli4_refresh_params() 936 switch (bf_get(lpfc_wcqe_c_code, &cq_event->cqe.wcqe_cmpl)) { in lpfc_sli4_free_sp_events() 1919 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) >= in lpfc_sli4_port_sta_fn_reset() 2013 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_handle_eratt_s4() 2037 smphr_port_status = bf_get(lpfc_port_smphr_port_status, in lpfc_handle_eratt_s4() 2058 bf_get(lpfc_port_smphr_port_status, in lpfc_handle_eratt_s4() 2092 if (bf_get(lpfc_sliport_status_oti, &portstat_reg)) { in lpfc_handle_eratt_s4() 4605 bf_get(lpfc_mqe_command, &mboxq->u.mqe), in lpfc_get_wwpn() [all …]
|
D | lpfc_sli.c | 331 if_type = bf_get(lpfc_sli_intf_if_type, in lpfc_sli4_wq_put() 1792 status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_cmf_sync_cmpl() 1798 bf_get(lpfc_wcqe_c_request_tag, wcqe), in lpfc_cmf_sync_cmpl() 1799 bf_get(lpfc_wcqe_c_status, wcqe), in lpfc_cmf_sync_cmpl() 1800 bf_get(lpfc_wcqe_c_hw_status, wcqe), in lpfc_cmf_sync_cmpl() 1816 tdp = bf_get(lpfc_wcqe_c_cmf_bw, wcqe); in lpfc_cmf_sync_cmpl() 1817 cg = bf_get(lpfc_wcqe_c_cmf_cg, wcqe); in lpfc_cmf_sync_cmpl() 1824 bf_get(lpfc_wcqe_c_request_tag, wcqe)); in lpfc_cmf_sync_cmpl() 1830 asig = bf_get(cmf_sync_asig, &wqe->cmf_sync); in lpfc_cmf_sync_cmpl() 1831 afpin = bf_get(cmf_sync_afpin, &wqe->cmf_sync); in lpfc_cmf_sync_cmpl() [all …]
|
D | lpfc_nvme.c | 326 status = bf_get(lpfc_wcqe_c_status, wcqe) & LPFC_IOCB_STATUS_MASK; in __lpfc_nvme_ls_req_cmp() 370 status = bf_get(lpfc_wcqe_c_status, wcqe) & LPFC_IOCB_STATUS_MASK; in lpfc_nvme_ls_req_cmp() 377 if (bf_get(lpfc_wcqe_c_xb, wcqe)) in lpfc_nvme_ls_req_cmp() 976 status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_nvme_io_cmd_cmpl() 984 if (bf_get(lpfc_wcqe_c_xb, wcqe)) in lpfc_nvme_io_cmd_cmpl() 1004 code = bf_get(lpfc_wcqe_c_code, wcqe); in lpfc_nvme_io_cmd_cmpl() 1022 sqhd = bf_get(lpfc_wcqe_c_sqhead, wcqe); in lpfc_nvme_io_cmd_cmpl() 1031 data = bf_get(lpfc_wcqe_c_ersp0, wcqe); in lpfc_nvme_io_cmd_cmpl() 1110 bf_get(lpfc_wcqe_c_xb, wcqe)); in lpfc_nvme_io_cmd_cmpl() 1130 if (bf_get(lpfc_wcqe_c_xb, wcqe) && !offline) in lpfc_nvme_io_cmd_cmpl() [all …]
|
D | lpfc_mbox.c | 450 mb->un.varCfgLnk.bbscn = bf_get(lpfc_bbscn_def, in lpfc_config_link() 1798 if (bf_get(lpfc_mbox_hdr_emb, &sli4_cfg->header.cfg_mhdr)) { in lpfc_sli4_mbox_cmd_free() 1804 sgecount = bf_get(lpfc_mbox_hdr_sge_cnt, &sli4_cfg->header.cfg_mhdr); in lpfc_sli4_mbox_cmd_free() 2028 if (bf_get(lpfc_mbox_hdr_emb, &sli4_cfg->header.cfg_mhdr)) { in lpfc_sli_config_mbox_subsys_get() 2030 return bf_get(lpfc_mbox_hdr_subsystem, &cfg_shdr->request); in lpfc_sli_config_mbox_subsys_get() 2037 return bf_get(lpfc_mbox_hdr_subsystem, &cfg_shdr->request); in lpfc_sli_config_mbox_subsys_get() 2061 if (bf_get(lpfc_mbox_hdr_emb, &sli4_cfg->header.cfg_mhdr)) { in lpfc_sli_config_mbox_opcode_get() 2063 return bf_get(lpfc_mbox_hdr_opcode, &cfg_shdr->request); in lpfc_sli_config_mbox_opcode_get() 2070 return bf_get(lpfc_mbox_hdr_opcode, &cfg_shdr->request); in lpfc_sli_config_mbox_opcode_get() 2255 bbscn_max = bf_get(lpfc_bbscn_max, in lpfc_reg_vfi() [all …]
|
D | lpfc_attr.c | 1121 ((bf_get(lpfc_sli_intf_if_type, in lpfc_link_state_show() 1126 if (bf_get(lpfc_conf_trunk_port0, &phba->sli4_hba)) in lpfc_link_state_show() 1133 if (bf_get(lpfc_conf_trunk_port1, &phba->sli4_hba)) in lpfc_link_state_show() 1140 if (bf_get(lpfc_conf_trunk_port2, &phba->sli4_hba)) in lpfc_link_state_show() 1147 if (bf_get(lpfc_conf_trunk_port3, &phba->sli4_hba)) in lpfc_link_state_show() 1643 if (!bf_get(lpfc_sliport_status_rn, &portstat_reg) && in lpfc_sli4_pdev_status_reg_wait() 1644 !bf_get(lpfc_sliport_status_err, &portstat_reg)) in lpfc_sli4_pdev_status_reg_wait() 1653 if (!bf_get(lpfc_sliport_status_err, &portstat_reg)) in lpfc_sli4_pdev_status_reg_wait() 1655 if (!bf_get(lpfc_sliport_status_rn, &portstat_reg)) in lpfc_sli4_pdev_status_reg_wait() 1657 if (!bf_get(lpfc_sliport_status_rdy, &portstat_reg)) in lpfc_sli4_pdev_status_reg_wait() [all …]
|
D | lpfc.h | 1819 return bf_get(lpfc_wcqe_c_status, &iocbq->wcqe_cmpl); in get_job_ulpstatus() 1837 return bf_get(wqe_cmnd, &iocbq->wqe.generic.wqe_com); in get_job_cmnd() 1846 return bf_get(wqe_ctxt_tag, &iocbq->wqe.generic.wqe_com); in get_job_ulpcontext() 1855 return bf_get(wqe_rcvoxid, &iocbq->wqe.generic.wqe_com); in get_job_rcvoxid() 1882 return bf_get(wqe_els_did, &iocbq->wqe.els_req.wqe_dest); in get_job_els_rsp64_did()
|
D | lpfc_bsg.c | 1076 bf_get(wqe_els_did, in lpfc_bsg_ct_unsol_event() 2238 else if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) >= in lpfc_bsg_diag_loopback_mode() 2278 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) < in lpfc_sli4_bsg_diag_mode_end() 2366 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) < in lpfc_sli4_bsg_link_diag_test() 2428 shdr_status = bf_get(lpfc_mbox_hdr_status, &shdr->response); in lpfc_sli4_bsg_link_diag_test() 2429 shdr_add_status = bf_get(lpfc_mbox_hdr_add_status, &shdr->response); in lpfc_sli4_bsg_link_diag_test() 3848 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) < in lpfc_bsg_sli_cfg_read_cmd_ext() 4035 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) < in lpfc_bsg_sli_cfg_write_cmd_ext() 4787 mode = bf_get(lpfc_event_log, rdEventLog); in lpfc_bsg_issue_mbox() 4843 if (!bf_get(lpfc_mbox_hdr_emb, in lpfc_bsg_issue_mbox() [all …]
|
D | lpfc_els.c | 1317 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) == in lpfc_issue_els_flogi() 2233 bf_get(lpfc_ftr_ashdr, &phba->sli4_hba.sli4_flags)) in lpfc_issue_els_plogi() 5484 bf_get(wqe_ctxt_tag, in lpfc_els_rsp_acc() 5489 bf_get(wqe_rcvoxid, in lpfc_els_rsp_acc() 5519 bf_get(wqe_ctxt_tag, in lpfc_els_rsp_acc() 5524 bf_get(wqe_rcvoxid, in lpfc_els_rsp_acc() 5597 bf_get(wqe_ctxt_tag, in lpfc_els_rsp_acc() 5602 bf_get(wqe_rcvoxid, in lpfc_els_rsp_acc() 5635 bf_get(wqe_ctxt_tag, in lpfc_els_rsp_acc() 5640 bf_get(wqe_rcvoxid, in lpfc_els_rsp_acc() [all …]
|
D | lpfc_scsi.c | 449 xri = bf_get(lpfc_wcqe_xa_xri, axri); in lpfc_sli4_io_xri_aborted() 450 rxid = bf_get(lpfc_wcqe_xa_remote_xid, axri); in lpfc_sli4_io_xri_aborted() 2038 if (!(bf_get(lpfc_sli4_sge_type, sgl) & LPFC_SGE_TYPE_LSP)) { in lpfc_bg_setup_sgl() 2895 status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_parse_bg_err() 2899 if (bf_get(lpfc_wcqe_c_bg_ge, wcqe)) in lpfc_parse_bg_err() 2903 if (bf_get(lpfc_wcqe_c_bg_ae, wcqe)) in lpfc_parse_bg_err() 2907 if (bf_get(lpfc_wcqe_c_bg_re, wcqe)) in lpfc_parse_bg_err() 2913 if (bf_get(lpfc_wcqe_c_bg_tdpv, wcqe)) { in lpfc_parse_bg_err() 3167 if (!(bf_get(lpfc_sli4_sge_type, sgl) & in lpfc_scsi_prep_dma_buf_s4() 4066 status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_fcp_io_cmd_wqe_cmpl() [all …]
|
D | lpfc_nvmet.c | 303 status = bf_get(lpfc_wcqe_c_status, wcqe) & LPFC_IOCB_STATUS_MASK; in __lpfc_nvme_xmt_ls_rsp_cmp() 353 status = bf_get(lpfc_wcqe_c_status, wcqe) & LPFC_IOCB_STATUS_MASK; in lpfc_nvmet_xmt_ls_rsp_cmp() 362 if (bf_get(lpfc_wcqe_c_xb, wcqe)) in lpfc_nvmet_xmt_ls_rsp_cmp() 737 status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_nvmet_xmt_fcp_op_cmp() 760 if (bf_get(lpfc_wcqe_c_xb, wcqe)) { in lpfc_nvmet_xmt_fcp_op_cmp() 1772 uint16_t xri = bf_get(lpfc_wcqe_xa_xri, axri); in lpfc_sli4_nvmet_xri_aborted() 1773 uint16_t rxid = bf_get(lpfc_wcqe_xa_remote_xid, axri); in lpfc_sli4_nvmet_xri_aborted()
|
D | lpfc_ct.c | 292 did = bf_get(els_rsp64_sid, &ctiocbq->wqe.xmit_els_rsp); in lpfc_ct_handle_mibreq() 318 bf_get(wqe_ctxt_tag, in lpfc_ct_handle_mibreq() 320 bf_get(wqe_rcvoxid, in lpfc_ct_handle_mibreq()
|
D | lpfc_nportdisc.c | 471 vport->fc_myDID = bf_get(els_rsp64_sid, in lpfc_rcv_plogi() 561 remote_did = bf_get(wqe_els_did, &wqe->xmit_els_rsp.wqe_dest); in lpfc_rcv_plogi()
|
D | lpfc_debugfs.c | 3623 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_idiag_baracc_read() 3757 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_idiag_baracc_write()
|
D | lpfc_hw4.h | 53 #define bf_get(name, ptr) \ macro
|