Home
last modified time | relevance | path

Searched refs:bf_get (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.15/drivers/scsi/lpfc/
Dlpfc_hbadisc.c1421 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, &mboxq->u.mqe.un.reg_fcfi); in lpfc_mbx_cmpl_reg_fcfi()
1465 if (fab_name[0] != bf_get(lpfc_fcf_record_fab_name_0, new_fcf_record)) in lpfc_fab_name_match()
1467 if (fab_name[1] != bf_get(lpfc_fcf_record_fab_name_1, new_fcf_record)) in lpfc_fab_name_match()
1469 if (fab_name[2] != bf_get(lpfc_fcf_record_fab_name_2, new_fcf_record)) in lpfc_fab_name_match()
1471 if (fab_name[3] != bf_get(lpfc_fcf_record_fab_name_3, new_fcf_record)) in lpfc_fab_name_match()
1473 if (fab_name[4] != bf_get(lpfc_fcf_record_fab_name_4, new_fcf_record)) in lpfc_fab_name_match()
1475 if (fab_name[5] != bf_get(lpfc_fcf_record_fab_name_5, new_fcf_record)) in lpfc_fab_name_match()
1477 if (fab_name[6] != bf_get(lpfc_fcf_record_fab_name_6, new_fcf_record)) in lpfc_fab_name_match()
1479 if (fab_name[7] != bf_get(lpfc_fcf_record_fab_name_7, new_fcf_record)) in lpfc_fab_name_match()
1496 if (sw_name[0] != bf_get(lpfc_fcf_record_switch_name_0, new_fcf_record)) in lpfc_sw_name_match()
[all …]
Dlpfc_init.c881 switch (bf_get(lpfc_wcqe_c_code, &cq_event->cqe.wcqe_cmpl)) { in lpfc_sli4_free_sp_events()
1859 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) >= in lpfc_sli4_port_sta_fn_reset()
1953 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_handle_eratt_s4()
1977 smphr_port_status = bf_get(lpfc_port_smphr_port_status, in lpfc_handle_eratt_s4()
1998 bf_get(lpfc_port_smphr_port_status, in lpfc_handle_eratt_s4()
2032 if (bf_get(lpfc_sliport_status_oti, &portstat_reg)) { in lpfc_handle_eratt_s4()
4432 bf_get(lpfc_mqe_command, &mboxq->u.mqe), in lpfc_get_wwpn()
4433 bf_get(lpfc_mqe_status, &mboxq->u.mqe)); in lpfc_get_wwpn()
5027 switch (bf_get(lpfc_acqe_link_fault, acqe_link)) { in lpfc_sli4_parse_latt_fault()
5036 bf_get(lpfc_acqe_link_fault, acqe_link)); in lpfc_sli4_parse_latt_fault()
[all …]
Dlpfc_sli.c333 if_type = bf_get(lpfc_sli_intf_if_type, in lpfc_sli4_wq_put()
1795 status = bf_get(lpfc_wcqe_c_status, cmf_cmpl); in lpfc_cmf_sync_cmpl()
1801 bf_get(lpfc_wcqe_c_request_tag, cmf_cmpl), in lpfc_cmf_sync_cmpl()
1802 bf_get(lpfc_wcqe_c_status, cmf_cmpl), in lpfc_cmf_sync_cmpl()
1803 bf_get(lpfc_wcqe_c_hw_status, cmf_cmpl), in lpfc_cmf_sync_cmpl()
1819 tdp = bf_get(lpfc_wcqe_c_cmf_bw, cmf_cmpl); in lpfc_cmf_sync_cmpl()
1820 cg = bf_get(lpfc_wcqe_c_cmf_cg, cmf_cmpl); in lpfc_cmf_sync_cmpl()
1827 bf_get(lpfc_wcqe_c_request_tag, cmf_cmpl)); in lpfc_cmf_sync_cmpl()
1833 asig = bf_get(cmf_sync_asig, &wqe->cmf_sync); in lpfc_cmf_sync_cmpl()
1834 afpin = bf_get(cmf_sync_afpin, &wqe->cmf_sync); in lpfc_cmf_sync_cmpl()
[all …]
Dlpfc_nvme.c317 status = bf_get(lpfc_wcqe_c_status, wcqe) & LPFC_IOCB_STATUS_MASK; in __lpfc_nvme_ls_req_cmp()
360 status = bf_get(lpfc_wcqe_c_status, wcqe) & LPFC_IOCB_STATUS_MASK; in lpfc_nvme_ls_req_cmp()
367 if (bf_get(lpfc_wcqe_c_xb, wcqe)) in lpfc_nvme_ls_req_cmp()
963 status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_nvme_io_cmd_wqe_cmpl()
971 if (bf_get(lpfc_wcqe_c_xb, wcqe)) in lpfc_nvme_io_cmd_wqe_cmpl()
991 code = bf_get(lpfc_wcqe_c_code, wcqe); in lpfc_nvme_io_cmd_wqe_cmpl()
1009 sqhd = bf_get(lpfc_wcqe_c_sqhead, wcqe); in lpfc_nvme_io_cmd_wqe_cmpl()
1018 data = bf_get(lpfc_wcqe_c_ersp0, wcqe); in lpfc_nvme_io_cmd_wqe_cmpl()
1085 bf_get(lpfc_wcqe_c_xb, wcqe)); in lpfc_nvme_io_cmd_wqe_cmpl()
1104 if (bf_get(lpfc_wcqe_c_xb, wcqe)) in lpfc_nvme_io_cmd_wqe_cmpl()
[all …]
Dlpfc_mbox.c382 mb->un.varCfgLnk.bbscn = bf_get(lpfc_bbscn_def, in lpfc_config_link()
1739 if (bf_get(lpfc_mbox_hdr_emb, &sli4_cfg->header.cfg_mhdr)) { in lpfc_sli4_mbox_cmd_free()
1745 sgecount = bf_get(lpfc_mbox_hdr_sge_cnt, &sli4_cfg->header.cfg_mhdr); in lpfc_sli4_mbox_cmd_free()
1969 if (bf_get(lpfc_mbox_hdr_emb, &sli4_cfg->header.cfg_mhdr)) { in lpfc_sli_config_mbox_subsys_get()
1971 return bf_get(lpfc_mbox_hdr_subsystem, &cfg_shdr->request); in lpfc_sli_config_mbox_subsys_get()
1978 return bf_get(lpfc_mbox_hdr_subsystem, &cfg_shdr->request); in lpfc_sli_config_mbox_subsys_get()
2002 if (bf_get(lpfc_mbox_hdr_emb, &sli4_cfg->header.cfg_mhdr)) { in lpfc_sli_config_mbox_opcode_get()
2004 return bf_get(lpfc_mbox_hdr_opcode, &cfg_shdr->request); in lpfc_sli_config_mbox_opcode_get()
2011 return bf_get(lpfc_mbox_hdr_opcode, &cfg_shdr->request); in lpfc_sli_config_mbox_opcode_get()
2196 bbscn_max = bf_get(lpfc_bbscn_max, in lpfc_reg_vfi()
[all …]
Dlpfc_attr.c1133 ((bf_get(lpfc_sli_intf_if_type, in lpfc_link_state_show()
1138 if (bf_get(lpfc_conf_trunk_port0, &phba->sli4_hba)) in lpfc_link_state_show()
1145 if (bf_get(lpfc_conf_trunk_port1, &phba->sli4_hba)) in lpfc_link_state_show()
1152 if (bf_get(lpfc_conf_trunk_port2, &phba->sli4_hba)) in lpfc_link_state_show()
1159 if (bf_get(lpfc_conf_trunk_port3, &phba->sli4_hba)) in lpfc_link_state_show()
1652 if (!bf_get(lpfc_sliport_status_rn, &portstat_reg) && in lpfc_sli4_pdev_status_reg_wait()
1653 !bf_get(lpfc_sliport_status_err, &portstat_reg)) in lpfc_sli4_pdev_status_reg_wait()
1662 if (!bf_get(lpfc_sliport_status_err, &portstat_reg)) in lpfc_sli4_pdev_status_reg_wait()
1664 if (!bf_get(lpfc_sliport_status_rn, &portstat_reg)) in lpfc_sli4_pdev_status_reg_wait()
1666 if (!bf_get(lpfc_sliport_status_rdy, &portstat_reg)) in lpfc_sli4_pdev_status_reg_wait()
[all …]
Dlpfc_bsg.c2281 else if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) >= in lpfc_bsg_diag_loopback_mode()
2321 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) < in lpfc_sli4_bsg_diag_mode_end()
2409 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) < in lpfc_sli4_bsg_link_diag_test()
2471 shdr_status = bf_get(lpfc_mbox_hdr_status, &shdr->response); in lpfc_sli4_bsg_link_diag_test()
2472 shdr_add_status = bf_get(lpfc_mbox_hdr_add_status, &shdr->response); in lpfc_sli4_bsg_link_diag_test()
3923 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) < in lpfc_bsg_sli_cfg_read_cmd_ext()
4110 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) < in lpfc_bsg_sli_cfg_write_cmd_ext()
4862 mode = bf_get(lpfc_event_log, rdEventLog); in lpfc_bsg_issue_mbox()
4918 if (!bf_get(lpfc_mbox_hdr_emb, in lpfc_bsg_issue_mbox()
5731 bf_get(lpfc_conf_trunk_port0, &phba->sli4_hba)); in lpfc_get_trunk_info()
[all …]
Dlpfc_scsi.c496 uint16_t xri = bf_get(lpfc_wcqe_xa_xri, axri); in lpfc_sli4_io_xri_aborted()
497 uint16_t rxid = bf_get(lpfc_wcqe_xa_remote_xid, axri); in lpfc_sli4_io_xri_aborted()
2083 if (!(bf_get(lpfc_sli4_sge_type, sgl) & LPFC_SGE_TYPE_LSP)) { in lpfc_bg_setup_sgl()
2931 u32 status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_sli4_parse_bg_err()
2937 if (bf_get(lpfc_wcqe_c_bg_ge, wcqe)) /* Guard Check failed */ in lpfc_sli4_parse_bg_err()
2939 if (bf_get(lpfc_wcqe_c_bg_ae, wcqe)) /* AppTag Check failed */ in lpfc_sli4_parse_bg_err()
2941 if (bf_get(lpfc_wcqe_c_bg_re, wcqe)) /* RefTag Check failed */ in lpfc_sli4_parse_bg_err()
2945 if (bf_get(lpfc_wcqe_c_bg_tdpv, wcqe)) { in lpfc_sli4_parse_bg_err()
3314 if (!(bf_get(lpfc_sli4_sge_type, sgl) & in lpfc_scsi_prep_dma_buf_s4()
4192 if (bf_get(lpfc_wcqe_c_xb, wcqe)) { in lpfc_fcp_io_cmd_wqe_cmpl()
[all …]
Dlpfc_nvmet.c302 status = bf_get(lpfc_wcqe_c_status, wcqe) & LPFC_IOCB_STATUS_MASK; in __lpfc_nvme_xmt_ls_rsp_cmp()
351 status = bf_get(lpfc_wcqe_c_status, wcqe) & LPFC_IOCB_STATUS_MASK; in lpfc_nvmet_xmt_ls_rsp_cmp()
360 if (bf_get(lpfc_wcqe_c_xb, wcqe)) in lpfc_nvmet_xmt_ls_rsp_cmp()
734 status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_nvmet_xmt_fcp_op_cmp()
757 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()
Dlpfc_els.c1338 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) == in lpfc_issue_els_flogi()
2212 bf_get(lpfc_ftr_ashdr, &phba->sli4_hba.sli4_flags)) in lpfc_issue_els_plogi()
6083 rxid = bf_get(rrq_rxid, rrq); in lpfc_els_clear_rrq()
6088 be32_to_cpu(bf_get(rrq_did, rrq)), in lpfc_els_clear_rrq()
6089 bf_get(rrq_oxid, rrq), in lpfc_els_clear_rrq()
6096 if (vport->fc_myDID == be32_to_cpu(bf_get(rrq_did, rrq))) in lpfc_els_clear_rrq()
6097 xri = bf_get(rrq_oxid, rrq); in lpfc_els_clear_rrq()
6599 if (bf_get(lpfc_read_link_stat_gec2, stat) == 0) in lpfc_rdp_res_fec_desc()
6941 bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) < in lpfc_els_rcv_rdp()
7035 shdr_status = bf_get(lpfc_mbox_hdr_status, &shdr->response); in lpfc_els_lcb_rsp()
[all …]
Dlpfc_debugfs.c3623 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()
Dlpfc_hw4.h53 #define bf_get(name, ptr) \ macro