Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/scsi/lpfc/
Dlpfc_hbadisc.c1627 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, &mboxq->u.mqe.un.reg_fcfi); in lpfc_mbx_cmpl_reg_fcfi()
1667 if (fab_name[0] != bf_get(lpfc_fcf_record_fab_name_0, new_fcf_record)) in lpfc_fab_name_match()
1669 if (fab_name[1] != bf_get(lpfc_fcf_record_fab_name_1, new_fcf_record)) in lpfc_fab_name_match()
1671 if (fab_name[2] != bf_get(lpfc_fcf_record_fab_name_2, new_fcf_record)) in lpfc_fab_name_match()
1673 if (fab_name[3] != bf_get(lpfc_fcf_record_fab_name_3, new_fcf_record)) in lpfc_fab_name_match()
1675 if (fab_name[4] != bf_get(lpfc_fcf_record_fab_name_4, new_fcf_record)) in lpfc_fab_name_match()
1677 if (fab_name[5] != bf_get(lpfc_fcf_record_fab_name_5, new_fcf_record)) in lpfc_fab_name_match()
1679 if (fab_name[6] != bf_get(lpfc_fcf_record_fab_name_6, new_fcf_record)) in lpfc_fab_name_match()
1681 if (fab_name[7] != bf_get(lpfc_fcf_record_fab_name_7, new_fcf_record)) in lpfc_fab_name_match()
1698 if (sw_name[0] != bf_get(lpfc_fcf_record_switch_name_0, new_fcf_record)) in lpfc_sw_name_match()
[all …]
Dlpfc_init.c705 bf_get(cfg_mi_ver, mbx_sli4_parameters); in lpfc_sli4_refresh_params()
710 bf_get(cfg_mi_ver, mbx_sli4_parameters); in lpfc_sli4_refresh_params()
715 bf_get(cfg_cmf, mbx_sli4_parameters); in lpfc_sli4_refresh_params()
717 bf_get(cfg_pvl, mbx_sli4_parameters); in lpfc_sli4_refresh_params()
938 switch (bf_get(lpfc_wcqe_c_code, &cq_event->cqe.wcqe_cmpl)) { in lpfc_sli4_free_sp_events()
1910 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) >= in lpfc_sli4_port_sta_fn_reset()
2004 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_handle_eratt_s4()
2028 smphr_port_status = bf_get(lpfc_port_smphr_port_status, in lpfc_handle_eratt_s4()
2049 bf_get(lpfc_port_smphr_port_status, in lpfc_handle_eratt_s4()
2083 if (bf_get(lpfc_sliport_status_oti, &portstat_reg)) { in lpfc_handle_eratt_s4()
[all …]
Dlpfc_sli.c331 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 …]
Dlpfc_nvme.c325 status = bf_get(lpfc_wcqe_c_status, wcqe); in __lpfc_nvme_ls_req_cmp()
372 status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_nvme_ls_req_cmp()
379 if (bf_get(lpfc_wcqe_c_xb, wcqe)) in lpfc_nvme_ls_req_cmp()
978 status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_nvme_io_cmd_cmpl()
986 if (bf_get(lpfc_wcqe_c_xb, wcqe)) in lpfc_nvme_io_cmd_cmpl()
1006 code = bf_get(lpfc_wcqe_c_code, wcqe); in lpfc_nvme_io_cmd_cmpl()
1024 sqhd = bf_get(lpfc_wcqe_c_sqhead, wcqe); in lpfc_nvme_io_cmd_cmpl()
1033 data = bf_get(lpfc_wcqe_c_ersp0, wcqe); in lpfc_nvme_io_cmd_cmpl()
1112 bf_get(lpfc_wcqe_c_xb, wcqe)); in lpfc_nvme_io_cmd_cmpl()
1134 if (bf_get(lpfc_wcqe_c_xb, wcqe) && !offline) in lpfc_nvme_io_cmd_cmpl()
[all …]
Dlpfc_mbox.c443 mb->un.varCfgLnk.bbscn = bf_get(lpfc_bbscn_def, in lpfc_config_link()
1791 if (bf_get(lpfc_mbox_hdr_emb, &sli4_cfg->header.cfg_mhdr)) { in lpfc_sli4_mbox_cmd_free()
1797 sgecount = bf_get(lpfc_mbox_hdr_sge_cnt, &sli4_cfg->header.cfg_mhdr); in lpfc_sli4_mbox_cmd_free()
2023 if (bf_get(lpfc_mbox_hdr_emb, &sli4_cfg->header.cfg_mhdr)) { in lpfc_sli_config_mbox_subsys_get()
2025 return bf_get(lpfc_mbox_hdr_subsystem, &cfg_shdr->request); in lpfc_sli_config_mbox_subsys_get()
2032 return bf_get(lpfc_mbox_hdr_subsystem, &cfg_shdr->request); in lpfc_sli_config_mbox_subsys_get()
2056 if (bf_get(lpfc_mbox_hdr_emb, &sli4_cfg->header.cfg_mhdr)) { in lpfc_sli_config_mbox_opcode_get()
2058 return bf_get(lpfc_mbox_hdr_opcode, &cfg_shdr->request); in lpfc_sli_config_mbox_opcode_get()
2065 return bf_get(lpfc_mbox_hdr_opcode, &cfg_shdr->request); in lpfc_sli_config_mbox_opcode_get()
2250 bbscn_max = bf_get(lpfc_bbscn_max, in lpfc_reg_vfi()
[all …]
Dlpfc.h1826 return bf_get(lpfc_wcqe_c_status, &iocbq->wcqe_cmpl); in get_job_ulpstatus()
1844 return bf_get(wqe_cmnd, &iocbq->wqe.generic.wqe_com); in get_job_cmnd()
1853 return bf_get(wqe_ctxt_tag, &iocbq->wqe.generic.wqe_com); in get_job_ulpcontext()
1862 return bf_get(wqe_rcvoxid, &iocbq->wqe.generic.wqe_com); in get_job_rcvoxid()
1889 return bf_get(wqe_els_did, &iocbq->wqe.els_req.wqe_dest); in get_job_els_rsp64_did()
Dlpfc_bsg.c1076 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()
3851 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) < in lpfc_bsg_sli_cfg_read_cmd_ext()
4038 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) < in lpfc_bsg_sli_cfg_write_cmd_ext()
4790 mode = bf_get(lpfc_event_log, rdEventLog); in lpfc_bsg_issue_mbox()
4846 if (!bf_get(lpfc_mbox_hdr_emb, in lpfc_bsg_issue_mbox()
[all …]
Dlpfc_els.c1327 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) == in lpfc_issue_els_flogi()
2268 bf_get(lpfc_ftr_ashdr, &phba->sli4_hba.sli4_flags)) in lpfc_issue_els_plogi()
5553 bf_get(wqe_ctxt_tag, in lpfc_els_rsp_acc()
5558 bf_get(wqe_rcvoxid, in lpfc_els_rsp_acc()
5588 bf_get(wqe_ctxt_tag, in lpfc_els_rsp_acc()
5593 bf_get(wqe_rcvoxid, in lpfc_els_rsp_acc()
5666 bf_get(wqe_ctxt_tag, in lpfc_els_rsp_acc()
5671 bf_get(wqe_rcvoxid, in lpfc_els_rsp_acc()
5704 bf_get(wqe_ctxt_tag, in lpfc_els_rsp_acc()
5709 bf_get(wqe_rcvoxid, in lpfc_els_rsp_acc()
[all …]
Dlpfc_attr.c1122 ((bf_get(lpfc_sli_intf_if_type, in lpfc_link_state_show()
1127 if (bf_get(lpfc_conf_trunk_port0, &phba->sli4_hba)) in lpfc_link_state_show()
1134 if (bf_get(lpfc_conf_trunk_port1, &phba->sli4_hba)) in lpfc_link_state_show()
1141 if (bf_get(lpfc_conf_trunk_port2, &phba->sli4_hba)) in lpfc_link_state_show()
1148 if (bf_get(lpfc_conf_trunk_port3, &phba->sli4_hba)) in lpfc_link_state_show()
1646 if (!bf_get(lpfc_sliport_status_rn, &portstat_reg) && in lpfc_sli4_pdev_status_reg_wait()
1647 !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_scsi.c442 xri = bf_get(lpfc_wcqe_xa_xri, axri); in lpfc_sli4_io_xri_aborted()
443 rxid = bf_get(lpfc_wcqe_xa_remote_xid, axri); in lpfc_sli4_io_xri_aborted()
2024 if (!(bf_get(lpfc_sli4_sge_type, sgl) & LPFC_SGE_TYPE_LSP)) { in lpfc_bg_setup_sgl()
2876 status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_parse_bg_err()
2880 if (bf_get(lpfc_wcqe_c_bg_ge, wcqe)) in lpfc_parse_bg_err()
2884 if (bf_get(lpfc_wcqe_c_bg_ae, wcqe)) in lpfc_parse_bg_err()
2888 if (bf_get(lpfc_wcqe_c_bg_re, wcqe)) in lpfc_parse_bg_err()
2894 if (bf_get(lpfc_wcqe_c_bg_tdpv, wcqe)) { in lpfc_parse_bg_err()
3148 if (!(bf_get(lpfc_sli4_sge_type, sgl) & in lpfc_scsi_prep_dma_buf_s4()
4056 lpfc_cmd->status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_fcp_io_cmd_wqe_cmpl()
[all …]
Dlpfc_sli4.h1198 return bf_get(lpfc_sliport_status_err, portstat_reg) && in lpfc_sli4_unrecoverable_port()
1199 !bf_get(lpfc_sliport_status_rn, portstat_reg); in lpfc_sli4_unrecoverable_port()
Dlpfc_nvmet.c303 status = bf_get(lpfc_wcqe_c_status, wcqe); in __lpfc_nvme_xmt_ls_rsp_cmp()
353 status = bf_get(lpfc_wcqe_c_status, wcqe); 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()
1780 uint16_t xri = bf_get(lpfc_wcqe_xa_xri, axri); in lpfc_sli4_nvmet_xri_aborted()
1781 uint16_t rxid = bf_get(lpfc_wcqe_xa_remote_xid, axri); in lpfc_sli4_nvmet_xri_aborted()
Dlpfc_mem.c67 bf_get(lpfc_mqe_command, &mbox->u.mqe) == MBX_SLI4_CONFIG) { in lpfc_mem_free_sli_mbox()
Dlpfc_ct.c292 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()
Dlpfc_nportdisc.c494 vport->fc_myDID = bf_get(els_rsp64_sid, in lpfc_rcv_plogi()
584 remote_did = bf_get(wqe_els_did, &wqe->xmit_els_rsp.wqe_dest); in lpfc_rcv_plogi()
Dlpfc_debugfs.c3628 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_idiag_baracc_read()
3762 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