Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_hbadisc.c1620 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, &mboxq->u.mqe.un.reg_fcfi); in lpfc_mbx_cmpl_reg_fcfi()
1664 if (fab_name[0] != bf_get(lpfc_fcf_record_fab_name_0, new_fcf_record)) in lpfc_fab_name_match()
1666 if (fab_name[1] != bf_get(lpfc_fcf_record_fab_name_1, new_fcf_record)) in lpfc_fab_name_match()
1668 if (fab_name[2] != bf_get(lpfc_fcf_record_fab_name_2, new_fcf_record)) in lpfc_fab_name_match()
1670 if (fab_name[3] != bf_get(lpfc_fcf_record_fab_name_3, new_fcf_record)) in lpfc_fab_name_match()
1672 if (fab_name[4] != bf_get(lpfc_fcf_record_fab_name_4, new_fcf_record)) in lpfc_fab_name_match()
1674 if (fab_name[5] != bf_get(lpfc_fcf_record_fab_name_5, new_fcf_record)) in lpfc_fab_name_match()
1676 if (fab_name[6] != bf_get(lpfc_fcf_record_fab_name_6, new_fcf_record)) in lpfc_fab_name_match()
1678 if (fab_name[7] != bf_get(lpfc_fcf_record_fab_name_7, new_fcf_record)) in lpfc_fab_name_match()
1695 if (sw_name[0] != bf_get(lpfc_fcf_record_switch_name_0, new_fcf_record)) in lpfc_sw_name_match()
[all …]
H A Dlpfc_init.c703 bf_get(cfg_mi_ver, mbx_sli4_parameters); in lpfc_sli4_refresh_params()
708 bf_get(cfg_mi_ver, mbx_sli4_parameters); in lpfc_sli4_refresh_params()
713 bf_get(cfg_cmf, mbx_sli4_parameters); in lpfc_sli4_refresh_params()
715 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()
1921 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) >= in lpfc_sli4_port_sta_fn_reset()
2015 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_handle_eratt_s4()
2039 smphr_port_status = bf_get(lpfc_port_smphr_port_status, in lpfc_handle_eratt_s4()
2060 bf_get(lpfc_port_smphr_port_status, in lpfc_handle_eratt_s4()
2094 if (bf_get(lpfc_sliport_status_oti, &portstat_reg)) { in lpfc_handle_eratt_s4()
[all …]
H A Dlpfc_sli.c331 if_type = bf_get(lpfc_sli_intf_if_type, in lpfc_sli4_wq_put()
1790 status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_cmf_sync_cmpl()
1796 bf_get(lpfc_wcqe_c_request_tag, wcqe), in lpfc_cmf_sync_cmpl()
1797 bf_get(lpfc_wcqe_c_status, wcqe), in lpfc_cmf_sync_cmpl()
1798 bf_get(lpfc_wcqe_c_hw_status, wcqe), in lpfc_cmf_sync_cmpl()
1814 tdp = bf_get(lpfc_wcqe_c_cmf_bw, wcqe); in lpfc_cmf_sync_cmpl()
1815 cg = bf_get(lpfc_wcqe_c_cmf_cg, wcqe); in lpfc_cmf_sync_cmpl()
1822 bf_get(lpfc_wcqe_c_request_tag, wcqe)); in lpfc_cmf_sync_cmpl()
1828 asig = bf_get(cmf_sync_asig, &wqe->cmf_sync); in lpfc_cmf_sync_cmpl()
1829 afpin = bf_get(cmf_sync_afpin, &wqe->cmf_sync); in lpfc_cmf_sync_cmpl()
[all …]
H A 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()
1132 if (bf_get(lpfc_wcqe_c_xb, wcqe) && !offline) in lpfc_nvme_io_cmd_cmpl()
[all …]
H A Dlpfc_mbox.c450 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 …]
H A Dlpfc.h1808 return bf_get(lpfc_wcqe_c_status, &iocbq->wcqe_cmpl); in get_job_ulpstatus()
1826 return bf_get(wqe_cmnd, &iocbq->wqe.generic.wqe_com); in get_job_cmnd()
1835 return bf_get(wqe_ctxt_tag, &iocbq->wqe.generic.wqe_com); in get_job_ulpcontext()
1844 return bf_get(wqe_rcvoxid, &iocbq->wqe.generic.wqe_com); in get_job_rcvoxid()
1871 return bf_get(wqe_els_did, &iocbq->wqe.els_req.wqe_dest); in get_job_els_rsp64_did()
H A 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()
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 …]
H A Dlpfc_els.c1344 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) == in lpfc_issue_els_flogi()
2263 bf_get(lpfc_ftr_ashdr, &phba->sli4_hba.sli4_flags)) in lpfc_issue_els_plogi()
5542 bf_get(wqe_ctxt_tag, in lpfc_els_rsp_acc()
5547 bf_get(wqe_rcvoxid, in lpfc_els_rsp_acc()
5577 bf_get(wqe_ctxt_tag, in lpfc_els_rsp_acc()
5582 bf_get(wqe_rcvoxid, in lpfc_els_rsp_acc()
5655 bf_get(wqe_ctxt_tag, in lpfc_els_rsp_acc()
5660 bf_get(wqe_rcvoxid, in lpfc_els_rsp_acc()
5693 bf_get(wqe_ctxt_tag, in lpfc_els_rsp_acc()
5698 bf_get(wqe_rcvoxid, in lpfc_els_rsp_acc()
[all …]
H A Dlpfc_attr.c1121 ((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()
1659 if (!bf_get(lpfc_sliport_status_err, &portstat_reg)) in lpfc_sli4_pdev_status_reg_wait()
1661 if (!bf_get(lpfc_sliport_status_rn, &portstat_reg)) in lpfc_sli4_pdev_status_reg_wait()
1663 if (!bf_get(lpfc_sliport_status_rdy, &portstat_reg)) in lpfc_sli4_pdev_status_reg_wait()
[all …]
H A 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()
2022 if (!(bf_get(lpfc_sli4_sge_type, sgl) & LPFC_SGE_TYPE_LSP)) { in lpfc_bg_setup_sgl()
2874 status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_parse_bg_err()
2878 if (bf_get(lpfc_wcqe_c_bg_ge, wcqe)) in lpfc_parse_bg_err()
2882 if (bf_get(lpfc_wcqe_c_bg_ae, wcqe)) in lpfc_parse_bg_err()
2886 if (bf_get(lpfc_wcqe_c_bg_re, wcqe)) in lpfc_parse_bg_err()
2892 if (bf_get(lpfc_wcqe_c_bg_tdpv, wcqe)) { in lpfc_parse_bg_err()
3146 if (!(bf_get(lpfc_sli4_sge_type, sgl) & in lpfc_scsi_prep_dma_buf_s4()
4045 lpfc_cmd->status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_fcp_io_cmd_wqe_cmpl()
[all …]
H A Dlpfc_sli4.h1197 return bf_get(lpfc_sliport_status_err, portstat_reg) && in lpfc_sli4_unrecoverable_port()
1198 !bf_get(lpfc_sliport_status_rn, portstat_reg); in lpfc_sli4_unrecoverable_port()
H A 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()
1769 uint16_t xri = bf_get(lpfc_wcqe_xa_xri, axri); in lpfc_sli4_nvmet_xri_aborted()
1770 uint16_t rxid = bf_get(lpfc_wcqe_xa_remote_xid, axri); in lpfc_sli4_nvmet_xri_aborted()
H A 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()
H A Dlpfc_nportdisc.c471 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()
H A Dlpfc_debugfs.c3630 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_idiag_baracc_read()
3764 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_idiag_baracc_write()
H A Dlpfc_hw4.h53 #define bf_get(name, ptr) \ macro