Lines Matching refs:bar_num
1717 int bar_num, acc_range, bar_size; in lpfc_idiag_baracc_read() local
1741 bar_num = idiag.cmd.data[IDIAG_BARACC_BAR_NUM_INDX]; in lpfc_idiag_baracc_read()
1753 if (bar_num == IDIAG_BARACC_BAR_0) in lpfc_idiag_baracc_read()
1755 else if (bar_num == IDIAG_BARACC_BAR_1) in lpfc_idiag_baracc_read()
1757 else if (bar_num == IDIAG_BARACC_BAR_2) in lpfc_idiag_baracc_read()
1762 if (bar_num == IDIAG_BARACC_BAR_0) in lpfc_idiag_baracc_read()
1867 uint32_t bar_num, bar_size, offset, value, acc_range; in lpfc_idiag_baracc_write() local
1886 bar_num = idiag.cmd.data[IDIAG_BARACC_BAR_NUM_INDX]; in lpfc_idiag_baracc_write()
1889 if ((bar_num != IDIAG_BARACC_BAR_0) && in lpfc_idiag_baracc_write()
1890 (bar_num != IDIAG_BARACC_BAR_1) && in lpfc_idiag_baracc_write()
1891 (bar_num != IDIAG_BARACC_BAR_2)) in lpfc_idiag_baracc_write()
1894 if (bar_num != IDIAG_BARACC_BAR_0) in lpfc_idiag_baracc_write()
1900 if (bar_num == IDIAG_BARACC_BAR_0) { in lpfc_idiag_baracc_write()
1904 } else if (bar_num == IDIAG_BARACC_BAR_1) { in lpfc_idiag_baracc_write()
1908 } else if (bar_num == IDIAG_BARACC_BAR_2) { in lpfc_idiag_baracc_write()
1915 if (bar_num == IDIAG_BARACC_BAR_0) { in lpfc_idiag_baracc_write()