Home
last modified time | relevance | path

Searched refs:PERF_IDX2OFF (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/
H A Dcoresight-trbe.c21 #define PERF_IDX2OFF(idx, buf) ((idx) % ((buf)->nr_pages << PAGE_SHIFT)) macro
184 u64 head = PERF_IDX2OFF(handle->head, buf); in trbe_pad_buf()
221 head = PERF_IDX2OFF(handle->head, buf); in __trbe_normal_offset()
244 head = PERF_IDX2OFF(handle->head, buf); in __trbe_normal_offset()
264 tail = PERF_IDX2OFF(handle->head + handle->size, buf); in __trbe_normal_offset()
265 wakeup = PERF_IDX2OFF(handle->wakeup, buf); in __trbe_normal_offset()
371 u64 head = PERF_IDX2OFF(handle->head, buf); in trbe_normal_offset()
626 if (WARN_ON_ONCE(offset < PERF_IDX2OFF(handle->head, buf))) in arm_trbe_update_buffer()
629 size = offset - PERF_IDX2OFF(handle->head, buf); in arm_trbe_update_buffer()
656 buf->trbe_write = buf->trbe_base + PERF_IDX2OFF(handle->head, buf); in arm_trbe_enable()
[all …]
H A Dcoresight-tmc-etr.c50 #define PERF_IDX2OFF(idx, buf) ((idx) % ((buf)->nr_pages << PAGE_SHIFT)) macro
1634 etr_perf->head = PERF_IDX2OFF(handle->head, etr_perf); in tmc_enable_etr_sink_perf()
/OK3568_Linux_fs/kernel/drivers/perf/
H A Darm_spe_pmu.c96 #define PERF_IDX2OFF(idx, buf) ((idx) % ((buf)->nr_pages << PAGE_SHIFT)) macro
368 u64 head = PERF_IDX2OFF(handle->head, buf); in arm_spe_pmu_pad_buf()
379 u64 head = PERF_IDX2OFF(handle->head, buf); in arm_spe_pmu_next_snapshot_off()
397 handle->head = PERF_IDX2OFF(limit, buf); in arm_spe_pmu_next_snapshot_off()
426 head = PERF_IDX2OFF(handle->head, buf); in __arm_spe_pmu_next_off()
432 head = PERF_IDX2OFF(handle->head, buf); in __arm_spe_pmu_next_off()
440 tail = PERF_IDX2OFF(handle->head + handle->size, buf); in __arm_spe_pmu_next_off()
441 wakeup = PERF_IDX2OFF(handle->wakeup, buf); in __arm_spe_pmu_next_off()
479 u64 head = PERF_IDX2OFF(handle->head, buf); in arm_spe_pmu_next_off()
517 base = (u64)buf->base + PERF_IDX2OFF(handle->head, buf); in arm_spe_perf_aux_output_begin()
[all …]