Searched refs:prev_cnt (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/perf/hisilicon/ |
D | hisi_pcie_pmu.c | 426 u64 new_cnt, prev_cnt, delta; in hisi_pcie_pmu_event_update() local 429 prev_cnt = local64_read(&hwc->prev_count); in hisi_pcie_pmu_event_update() 431 } while (local64_cmpxchg(&hwc->prev_count, prev_cnt, in hisi_pcie_pmu_event_update() 432 new_cnt) != prev_cnt); in hisi_pcie_pmu_event_update() 434 delta = (new_cnt - prev_cnt) & HISI_PCIE_MAX_PERIOD; in hisi_pcie_pmu_event_update() 499 u64 prev_cnt; in hisi_pcie_pmu_start() local 513 prev_cnt = local64_read(&hwc->prev_count); in hisi_pcie_pmu_start() 514 hisi_pcie_pmu_writeq(pcie_pmu, hwc->event_base, idx, prev_cnt); in hisi_pcie_pmu_start()
|
D | hns3_pmu.c | 1279 u64 new_cnt, prev_cnt, delta; in hns3_pmu_read() local 1282 prev_cnt = local64_read(&hwc->prev_count); in hns3_pmu_read() 1284 } while (local64_cmpxchg(&hwc->prev_count, prev_cnt, new_cnt) != in hns3_pmu_read() 1285 prev_cnt); in hns3_pmu_read() 1287 delta = new_cnt - prev_cnt; in hns3_pmu_read()
|
/Linux-v6.6/drivers/perf/ |
D | cxl_pmu.c | 696 u64 new_cnt, prev_cnt, delta; in __cxl_pmu_read() local 699 prev_cnt = local64_read(&hwc->prev_count); in __cxl_pmu_read() 701 } while (local64_cmpxchg(&hwc->prev_count, prev_cnt, new_cnt) != prev_cnt); in __cxl_pmu_read() 707 delta = (new_cnt - prev_cnt) & GENMASK_ULL(info->counter_width - 1, 0); in __cxl_pmu_read()
|
/Linux-v6.6/drivers/net/ethernet/neterion/ |
D | s2io.c | 4888 int i, j, prev_cnt; in s2io_set_multicast() local 4990 prev_cnt = sp->mc_addr_count; in s2io_set_multicast() 4994 for (i = 0; i < prev_cnt; i++) { in s2io_set_multicast()
|