Lines Matching refs:bar_num
3589 int bar_num, acc_range, bar_size; in lpfc_idiag_baracc_read() local
3613 bar_num = idiag.cmd.data[IDIAG_BARACC_BAR_NUM_INDX]; in lpfc_idiag_baracc_read()
3625 if (bar_num == IDIAG_BARACC_BAR_0) in lpfc_idiag_baracc_read()
3627 else if (bar_num == IDIAG_BARACC_BAR_1) in lpfc_idiag_baracc_read()
3629 else if (bar_num == IDIAG_BARACC_BAR_2) in lpfc_idiag_baracc_read()
3634 if (bar_num == IDIAG_BARACC_BAR_0) in lpfc_idiag_baracc_read()
3739 uint32_t bar_num, bar_size, offset, value, acc_range; in lpfc_idiag_baracc_write() local
3758 bar_num = idiag.cmd.data[IDIAG_BARACC_BAR_NUM_INDX]; in lpfc_idiag_baracc_write()
3761 if ((bar_num != IDIAG_BARACC_BAR_0) && in lpfc_idiag_baracc_write()
3762 (bar_num != IDIAG_BARACC_BAR_1) && in lpfc_idiag_baracc_write()
3763 (bar_num != IDIAG_BARACC_BAR_2)) in lpfc_idiag_baracc_write()
3766 if (bar_num != IDIAG_BARACC_BAR_0) in lpfc_idiag_baracc_write()
3772 if (bar_num == IDIAG_BARACC_BAR_0) { in lpfc_idiag_baracc_write()
3776 } else if (bar_num == IDIAG_BARACC_BAR_1) { in lpfc_idiag_baracc_write()
3780 } else if (bar_num == IDIAG_BARACC_BAR_2) { in lpfc_idiag_baracc_write()
3787 if (bar_num == IDIAG_BARACC_BAR_0) { in lpfc_idiag_baracc_write()