Lines Matching refs:acc_range
3589 int bar_num, acc_range, bar_size; in lpfc_idiag_baracc_read() local
3615 acc_range = idiag.cmd.data[IDIAG_BARACC_ACC_MOD_INDX]; in lpfc_idiag_baracc_read()
3620 if (acc_range == 0) in lpfc_idiag_baracc_read()
3642 if (acc_range == SINGLE_WORD) { in lpfc_idiag_baracc_read()
3667 if (acc_range == LPFC_PCI_BAR_BROWSE) { in lpfc_idiag_baracc_read()
3675 (acc_range * sizeof(uint32_t))) { in lpfc_idiag_baracc_read()
3696 if (acc_range == LPFC_PCI_BAR_BROWSE) { in lpfc_idiag_baracc_read()
3701 (acc_range * sizeof(uint32_t))) in lpfc_idiag_baracc_read()
3705 if (acc_range == LPFC_PCI_BAR_BROWSE) in lpfc_idiag_baracc_read()
3739 uint32_t bar_num, bar_size, offset, value, acc_range; in lpfc_idiag_baracc_write() local
3805 acc_range = idiag.cmd.data[IDIAG_BARACC_ACC_MOD_INDX]; in lpfc_idiag_baracc_write()
3806 if (acc_range == LPFC_PCI_BAR_BROWSE) { in lpfc_idiag_baracc_write()
3811 } else if (acc_range > SINGLE_WORD) { in lpfc_idiag_baracc_write()
3812 if (offset + acc_range * sizeof(uint32_t) > bar_size) in lpfc_idiag_baracc_write()
3816 } else if (acc_range != SINGLE_WORD) in lpfc_idiag_baracc_write()
3825 acc_range = SINGLE_WORD; in lpfc_idiag_baracc_write()