Searched refs:bf_get (Results 1 – 9 of 9) sorted by relevance
/linux-2.6.39/drivers/scsi/lpfc/ |
D | lpfc_hbadisc.c | 1126 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, &mboxq->u.mqe.un.reg_fcfi); in lpfc_mbx_cmpl_reg_fcfi() 1169 if (fab_name[0] != bf_get(lpfc_fcf_record_fab_name_0, new_fcf_record)) in lpfc_fab_name_match() 1171 if (fab_name[1] != bf_get(lpfc_fcf_record_fab_name_1, new_fcf_record)) in lpfc_fab_name_match() 1173 if (fab_name[2] != bf_get(lpfc_fcf_record_fab_name_2, new_fcf_record)) in lpfc_fab_name_match() 1175 if (fab_name[3] != bf_get(lpfc_fcf_record_fab_name_3, new_fcf_record)) in lpfc_fab_name_match() 1177 if (fab_name[4] != bf_get(lpfc_fcf_record_fab_name_4, new_fcf_record)) in lpfc_fab_name_match() 1179 if (fab_name[5] != bf_get(lpfc_fcf_record_fab_name_5, new_fcf_record)) in lpfc_fab_name_match() 1181 if (fab_name[6] != bf_get(lpfc_fcf_record_fab_name_6, new_fcf_record)) in lpfc_fab_name_match() 1183 if (fab_name[7] != bf_get(lpfc_fcf_record_fab_name_7, new_fcf_record)) in lpfc_fab_name_match() 1200 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 | 1435 if_type = bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf); in lpfc_handle_eratt_s4() 1444 if (bf_get(lpfc_sliport_status_oti, &portstat_reg)) { in lpfc_handle_eratt_s4() 1455 if (bf_get(lpfc_sliport_status_rn, &portstat_reg)) { in lpfc_handle_eratt_s4() 3049 switch (bf_get(lpfc_acqe_link_fault, acqe_link)) { in lpfc_sli4_parse_latt_fault() 3058 bf_get(lpfc_acqe_link_fault, acqe_link)); in lpfc_sli4_parse_latt_fault() 3081 switch (bf_get(lpfc_acqe_link_status, acqe_link)) { in lpfc_sli4_parse_latt_type() 3096 bf_get(lpfc_acqe_link_status, acqe_link)); in lpfc_sli4_parse_latt_type() 3119 switch (bf_get(lpfc_acqe_link_speed, acqe_link)) { in lpfc_sli4_parse_latt_link_speed() 3134 bf_get(lpfc_acqe_link_speed, acqe_link)); in lpfc_sli4_parse_latt_link_speed() 3198 bf_get(lpfc_acqe_link_speed, acqe_link); in lpfc_sli4_async_link_evt() [all …]
|
D | lpfc_sli.c | 2147 if (bf_get(lpfc_mqe_command, &pmb->u.mqe) == MBX_SLI4_CONFIG) in lpfc_sli_def_mbox_cmpl() 3359 switch (bf_get(lpfc_wcqe_c_code, &cq_event->cqe.wcqe_cmpl)) { in lpfc_sli_handle_slow_ring_event_s4() 4553 bf_get(lpfc_mqe_command, mqe), in lpfc_sli4_read_fcoe_params() 4554 bf_get(lpfc_mqe_status, mqe), in lpfc_sli4_read_fcoe_params() 4760 phba->sli_rev = bf_get(lpfc_mbx_rd_rev_sli_lvl, &mqe->un.read_rev); in lpfc_sli4_hba_setup() 4761 if (bf_get(lpfc_mbx_rd_rev_fcoe, &mqe->un.read_rev)) in lpfc_sli4_hba_setup() 4766 if (bf_get(lpfc_mbx_rd_rev_cee_ver, &mqe->un.read_rev) == in lpfc_sli4_hba_setup() 4800 phba->vpd.rev.fcphHigh = bf_get(lpfc_mbx_rd_rev_fcph_high, in lpfc_sli4_hba_setup() 4802 phba->vpd.rev.fcphLow = bf_get(lpfc_mbx_rd_rev_fcph_low, in lpfc_sli4_hba_setup() 4804 phba->vpd.rev.feaLevelHigh = bf_get(lpfc_mbx_rd_rev_ftr_lvl_high, in lpfc_sli4_hba_setup() [all …]
|
D | lpfc_mbox.c | 1665 if (bf_get(lpfc_mbox_hdr_emb, &sli4_cfg->header.cfg_mhdr)) { in lpfc_sli4_mbox_cmd_free() 1671 sgecount = bf_get(lpfc_mbox_hdr_sge_cnt, &sli4_cfg->header.cfg_mhdr); in lpfc_sli4_mbox_cmd_free() 1819 if (bf_get(lpfc_mbox_hdr_emb, &sli4_cfg->header.cfg_mhdr)) { in lpfc_sli4_mbox_opcode_get() 1821 return bf_get(lpfc_mbox_hdr_opcode, &cfg_shdr->request); in lpfc_sli4_mbox_opcode_get() 1828 return bf_get(lpfc_mbox_hdr_opcode, &cfg_shdr->request); in lpfc_sli4_mbox_opcode_get()
|
D | lpfc_attr.c | 926 *mrpi = bf_get(lpfc_mbx_rd_conf_rpi_count, rd_config); in lpfc_get_hba_info() 928 *arpi = bf_get(lpfc_mbx_rd_conf_rpi_count, rd_config) - in lpfc_get_hba_info() 931 *mxri = bf_get(lpfc_mbx_rd_conf_xri_count, rd_config); in lpfc_get_hba_info() 933 *axri = bf_get(lpfc_mbx_rd_conf_xri_count, rd_config) - in lpfc_get_hba_info() 939 max_vpi = (bf_get(lpfc_mbx_rd_conf_vpi_count, rd_config) > 0) ? in lpfc_get_hba_info() 940 (bf_get(lpfc_mbx_rd_conf_vpi_count, rd_config) - 1) : 0; in lpfc_get_hba_info()
|
D | lpfc_els.c | 1089 (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) == in lpfc_issue_els_flogi() 4110 rxid = be16_to_cpu(bf_get(rrq_rxid, rrq)); in lpfc_els_clear_rrq() 4115 be32_to_cpu(bf_get(rrq_did, rrq)), in lpfc_els_clear_rrq() 4116 be16_to_cpu(bf_get(rrq_oxid, rrq)), in lpfc_els_clear_rrq() 4123 if (vport->fc_myDID == be32_to_cpu(bf_get(rrq_did, rrq))) in lpfc_els_clear_rrq() 4124 xri = be16_to_cpu(bf_get(rrq_oxid, rrq)); in lpfc_els_clear_rrq() 7217 (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) == in lpfc_issue_els_fdisc() 7750 uint16_t xri = bf_get(lpfc_wcqe_xa_xri, axri); in lpfc_sli4_els_xri_aborted() 7751 uint16_t rxid = bf_get(lpfc_wcqe_xa_remote_xid, axri); in lpfc_sli4_els_xri_aborted()
|
D | lpfc_scsi.c | 649 uint16_t xri = bf_get(lpfc_wcqe_xa_xri, axri); in lpfc_sli4_fcp_xri_aborted() 650 uint16_t rxid = bf_get(lpfc_wcqe_xa_remote_xid, axri); in lpfc_sli4_fcp_xri_aborted()
|
D | lpfc_hw4.h | 46 #define bf_get(name, ptr) \ macro
|
D | lpfc_bsg.c | 2801 uint32_t mode = bf_get(lpfc_event_log, rdEventLog); in lpfc_bsg_issue_mbox()
|