| /Linux-v5.10/drivers/scsi/lpfc/ |
| D | lpfc_hbadisc.c | 1269 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 …]
|
| D | lpfc_init.c | 879 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 …]
|
| D | lpfc_sli.c | 206 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 …]
|
| D | lpfc_nvme.c | 480 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 …]
|
| D | lpfc_mbox.c | 382 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 …]
|
| D | lpfc_attr.c | 960 ((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 …]
|
| D | lpfc_bsg.c | 2297 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 …]
|
| D | lpfc_nvmet.c | 302 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()
|
| D | lpfc_els.c | 1306 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 …]
|
| D | lpfc_scsi.c | 508 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()
|
| D | lpfc_debugfs.c | 3626 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()
|
| D | lpfc_hw4.h | 52 #define bf_get(name, ptr) \ macro
|