Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/scsi/lpfc/
Dlpfc_hbadisc.c1269 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, &mboxq->u.mqe.un.reg_fcfi); in lpfc_mbx_cmpl_reg_fcfi()
1313 if (fab_name[0] != bf_get(lpfc_fcf_record_fab_name_0, new_fcf_record)) in lpfc_fab_name_match()
1315 if (fab_name[1] != bf_get(lpfc_fcf_record_fab_name_1, new_fcf_record)) in lpfc_fab_name_match()
1317 if (fab_name[2] != bf_get(lpfc_fcf_record_fab_name_2, new_fcf_record)) in lpfc_fab_name_match()
1319 if (fab_name[3] != bf_get(lpfc_fcf_record_fab_name_3, new_fcf_record)) in lpfc_fab_name_match()
1321 if (fab_name[4] != bf_get(lpfc_fcf_record_fab_name_4, new_fcf_record)) in lpfc_fab_name_match()
1323 if (fab_name[5] != bf_get(lpfc_fcf_record_fab_name_5, new_fcf_record)) in lpfc_fab_name_match()
1325 if (fab_name[6] != bf_get(lpfc_fcf_record_fab_name_6, new_fcf_record)) in lpfc_fab_name_match()
1327 if (fab_name[7] != bf_get(lpfc_fcf_record_fab_name_7, new_fcf_record)) in lpfc_fab_name_match()
1344 if (sw_name[0] != bf_get(lpfc_fcf_record_switch_name_0, new_fcf_record)) in lpfc_sw_name_match()
[all …]
Dlpfc_init.c879 switch (bf_get(lpfc_wcqe_c_code, &cq_event->cqe.wcqe_cmpl)) { in lpfc_sli4_free_sp_events()
1820 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) >= in lpfc_sli4_port_sta_fn_reset()
1896 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_handle_eratt_s4()
1920 smphr_port_status = bf_get(lpfc_port_smphr_port_status, in lpfc_handle_eratt_s4()
1941 bf_get(lpfc_port_smphr_port_status, in lpfc_handle_eratt_s4()
1975 if (bf_get(lpfc_sliport_status_oti, &portstat_reg)) { in lpfc_handle_eratt_s4()
4272 bf_get(lpfc_mqe_command, &mboxq->u.mqe), in lpfc_get_wwpn()
4273 bf_get(lpfc_mqe_status, &mboxq->u.mqe)); in lpfc_get_wwpn()
4775 switch (bf_get(lpfc_acqe_link_fault, acqe_link)) { in lpfc_sli4_parse_latt_fault()
4784 bf_get(lpfc_acqe_link_fault, acqe_link)); in lpfc_sli4_parse_latt_fault()
[all …]
Dlpfc_sli.c206 if_type = bf_get(lpfc_sli_intf_if_type, in lpfc_sli4_wq_put()
2557 if (bf_get(lpfc_mqe_command, &pmb->u.mqe) == MBX_SLI4_CONFIG) in lpfc_sli_def_mbox_cmpl()
2584 (bf_get(lpfc_sli_intf_if_type, in lpfc_sli4_unreg_rpi_cmpl_clr()
2822 size = bf_get(lpfc_rcqe_length, &nvmebuf->cq_event.cqe.rcqe_cmpl); in lpfc_nvme_unsol_ls_handler()
4019 switch (bf_get(lpfc_wcqe_c_code, &cq_event->cqe.wcqe_cmpl)) { in lpfc_sli_handle_slow_ring_event_s4()
5357 bf_get(lpfc_mqe_command, mqe), in lpfc_sli4_read_fcoe_params()
5358 bf_get(lpfc_mqe_status, mqe), in lpfc_sli4_read_fcoe_params()
5518 shdr_status = bf_get(lpfc_mbox_hdr_status, &shdr->response); in lpfc_sli4_get_ctl_attr()
5519 shdr_add_status = bf_get(lpfc_mbox_hdr_add_status, &shdr->response); in lpfc_sli4_get_ctl_attr()
5524 bf_get(lpfc_mqe_command, &mboxq->u.mqe), in lpfc_sli4_get_ctl_attr()
[all …]
Dlpfc_nvme.c480 status = bf_get(lpfc_wcqe_c_status, wcqe) & LPFC_IOCB_STATUS_MASK; in __lpfc_nvme_ls_req_cmp()
523 status = bf_get(lpfc_wcqe_c_status, wcqe) & LPFC_IOCB_STATUS_MASK; in lpfc_nvme_ls_req_cmp()
530 if (bf_get(lpfc_wcqe_c_xb, wcqe)) in lpfc_nvme_ls_req_cmp()
1115 status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_nvme_io_cmd_wqe_cmpl()
1123 if (bf_get(lpfc_wcqe_c_xb, wcqe)) in lpfc_nvme_io_cmd_wqe_cmpl()
1143 code = bf_get(lpfc_wcqe_c_code, wcqe); in lpfc_nvme_io_cmd_wqe_cmpl()
1161 sqhd = bf_get(lpfc_wcqe_c_sqhead, wcqe); in lpfc_nvme_io_cmd_wqe_cmpl()
1170 data = bf_get(lpfc_wcqe_c_ersp0, wcqe); in lpfc_nvme_io_cmd_wqe_cmpl()
1227 bf_get(lpfc_wcqe_c_xb, wcqe)); in lpfc_nvme_io_cmd_wqe_cmpl()
1246 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()
1737 if (bf_get(lpfc_mbox_hdr_emb, &sli4_cfg->header.cfg_mhdr)) { in lpfc_sli4_mbox_cmd_free()
1743 sgecount = bf_get(lpfc_mbox_hdr_sge_cnt, &sli4_cfg->header.cfg_mhdr); in lpfc_sli4_mbox_cmd_free()
1967 if (bf_get(lpfc_mbox_hdr_emb, &sli4_cfg->header.cfg_mhdr)) { in lpfc_sli_config_mbox_subsys_get()
1969 return bf_get(lpfc_mbox_hdr_subsystem, &cfg_shdr->request); in lpfc_sli_config_mbox_subsys_get()
1976 return bf_get(lpfc_mbox_hdr_subsystem, &cfg_shdr->request); in lpfc_sli_config_mbox_subsys_get()
2000 if (bf_get(lpfc_mbox_hdr_emb, &sli4_cfg->header.cfg_mhdr)) { in lpfc_sli_config_mbox_opcode_get()
2002 return bf_get(lpfc_mbox_hdr_opcode, &cfg_shdr->request); in lpfc_sli_config_mbox_opcode_get()
2009 return bf_get(lpfc_mbox_hdr_opcode, &cfg_shdr->request); in lpfc_sli_config_mbox_opcode_get()
2188 bbscn_max = bf_get(lpfc_bbscn_max, in lpfc_reg_vfi()
[all …]
Dlpfc_attr.c960 ((bf_get(lpfc_sli_intf_if_type, in lpfc_link_state_show()
965 if (bf_get(lpfc_conf_trunk_port0, &phba->sli4_hba)) in lpfc_link_state_show()
972 if (bf_get(lpfc_conf_trunk_port1, &phba->sli4_hba)) in lpfc_link_state_show()
979 if (bf_get(lpfc_conf_trunk_port2, &phba->sli4_hba)) in lpfc_link_state_show()
986 if (bf_get(lpfc_conf_trunk_port3, &phba->sli4_hba)) in lpfc_link_state_show()
1480 if (!bf_get(lpfc_sliport_status_rn, &portstat_reg) && in lpfc_sli4_pdev_status_reg_wait()
1481 !bf_get(lpfc_sliport_status_err, &portstat_reg)) in lpfc_sli4_pdev_status_reg_wait()
1490 if (!bf_get(lpfc_sliport_status_err, &portstat_reg)) in lpfc_sli4_pdev_status_reg_wait()
1492 if (!bf_get(lpfc_sliport_status_rn, &portstat_reg)) in lpfc_sli4_pdev_status_reg_wait()
1494 if (!bf_get(lpfc_sliport_status_rdy, &portstat_reg)) in lpfc_sli4_pdev_status_reg_wait()
[all …]
Dlpfc_bsg.c2297 else if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) >= in lpfc_bsg_diag_loopback_mode()
2337 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) < in lpfc_sli4_bsg_diag_mode_end()
2425 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) < in lpfc_sli4_bsg_link_diag_test()
2485 shdr_status = bf_get(lpfc_mbox_hdr_status, &shdr->response); in lpfc_sli4_bsg_link_diag_test()
2486 shdr_add_status = bf_get(lpfc_mbox_hdr_add_status, &shdr->response); in lpfc_sli4_bsg_link_diag_test()
3936 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) < in lpfc_bsg_sli_cfg_read_cmd_ext()
4122 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) < in lpfc_bsg_sli_cfg_write_cmd_ext()
4873 mode = bf_get(lpfc_event_log, rdEventLog); in lpfc_bsg_issue_mbox()
4929 if (!bf_get(lpfc_mbox_hdr_emb, in lpfc_bsg_issue_mbox()
5742 bf_get(lpfc_conf_trunk_port0, &phba->sli4_hba)); in lpfc_get_trunk_info()
[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()
735 status = bf_get(lpfc_wcqe_c_status, wcqe); in lpfc_nvmet_xmt_fcp_op_cmp()
758 if (bf_get(lpfc_wcqe_c_xb, wcqe)) { in lpfc_nvmet_xmt_fcp_op_cmp()
1765 uint16_t xri = bf_get(lpfc_wcqe_xa_xri, axri); in lpfc_sli4_nvmet_xri_aborted()
1766 uint16_t rxid = bf_get(lpfc_wcqe_xa_remote_xid, axri); in lpfc_sli4_nvmet_xri_aborted()
Dlpfc_els.c1306 if (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) == in lpfc_issue_els_flogi()
5303 rxid = bf_get(rrq_rxid, rrq); in lpfc_els_clear_rrq()
5308 be32_to_cpu(bf_get(rrq_did, rrq)), in lpfc_els_clear_rrq()
5309 bf_get(rrq_oxid, rrq), in lpfc_els_clear_rrq()
5316 if (vport->fc_myDID == be32_to_cpu(bf_get(rrq_did, rrq))) in lpfc_els_clear_rrq()
5317 xri = bf_get(rrq_oxid, rrq); in lpfc_els_clear_rrq()
5801 if (bf_get(lpfc_read_link_stat_gec2, stat) == 0) in lpfc_rdp_res_fec_desc()
6118 bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) < in lpfc_els_rcv_rdp()
6207 shdr_status = bf_get(lpfc_mbox_hdr_status, &shdr->response); in lpfc_els_lcb_rsp()
6208 shdr_add_status = bf_get(lpfc_mbox_hdr_add_status, &shdr->response); in lpfc_els_lcb_rsp()
[all …]
Dlpfc_scsi.c508 uint16_t xri = bf_get(lpfc_wcqe_xa_xri, axri); in lpfc_sli4_io_xri_aborted()
509 uint16_t rxid = bf_get(lpfc_wcqe_xa_remote_xid, axri); in lpfc_sli4_io_xri_aborted()
2053 if (!(bf_get(lpfc_sli4_sge_type, sgl) & LPFC_SGE_TYPE_LSP)) { in lpfc_bg_setup_sgl()
3151 if (!(bf_get(lpfc_sli4_sge_type, sgl) & in lpfc_scsi_prep_dma_buf_s4()
Dlpfc_debugfs.c3626 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_idiag_baracc_read()
3760 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_idiag_baracc_write()
Dlpfc_hw4.h52 #define bf_get(name, ptr) \ macro