Home
last modified time | relevance | path

Searched refs:prev_cnt (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/perf/hisilicon/
Dhisi_pcie_pmu.c449 u64 new_cnt, prev_cnt, delta; in hisi_pcie_pmu_event_update() local
452 prev_cnt = local64_read(&hwc->prev_count); in hisi_pcie_pmu_event_update()
454 } while (local64_cmpxchg(&hwc->prev_count, prev_cnt, in hisi_pcie_pmu_event_update()
455 new_cnt) != prev_cnt); in hisi_pcie_pmu_event_update()
457 delta = (new_cnt - prev_cnt) & HISI_PCIE_MAX_PERIOD; in hisi_pcie_pmu_event_update()
536 u64 prev_cnt; in hisi_pcie_pmu_start() local
550 prev_cnt = local64_read(&hwc->prev_count); in hisi_pcie_pmu_start()
551 hisi_pcie_pmu_writeq(pcie_pmu, hwc->event_base, idx, prev_cnt); in hisi_pcie_pmu_start()
Dhns3_pmu.c1281 u64 new_cnt, prev_cnt, delta; in hns3_pmu_read() local
1284 prev_cnt = local64_read(&hwc->prev_count); in hns3_pmu_read()
1286 } while (local64_cmpxchg(&hwc->prev_count, prev_cnt, new_cnt) != in hns3_pmu_read()
1287 prev_cnt); in hns3_pmu_read()
1289 delta = new_cnt - prev_cnt; in hns3_pmu_read()
/linux-6.12.1/drivers/perf/
Dcxl_pmu.c685 u64 new_cnt, prev_cnt, delta; in __cxl_pmu_read() local
688 prev_cnt = local64_read(&hwc->prev_count); in __cxl_pmu_read()
690 } while (local64_cmpxchg(&hwc->prev_count, prev_cnt, new_cnt) != prev_cnt); in __cxl_pmu_read()
696 delta = (new_cnt - prev_cnt) & GENMASK_ULL(info->counter_width - 1, 0); in __cxl_pmu_read()
/linux-6.12.1/drivers/net/ethernet/neterion/
Ds2io.c4889 int i, j, prev_cnt; in s2io_set_multicast() local
4991 prev_cnt = sp->mc_addr_count; in s2io_set_multicast()
4995 for (i = 0; i < prev_cnt; i++) { in s2io_set_multicast()