Searched refs:PERF_IDX2OFF (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/perf/ |
H A D | arm_spe_pmu.c | 99 #define PERF_IDX2OFF(idx, buf) ((idx) % ((buf)->nr_pages << PAGE_SHIFT)) macro 396 u64 head = PERF_IDX2OFF(handle->head, buf); in arm_spe_pmu_pad_buf() 407 u64 head = PERF_IDX2OFF(handle->head, buf); in arm_spe_pmu_next_snapshot_off() 425 handle->head = PERF_IDX2OFF(limit, buf); in arm_spe_pmu_next_snapshot_off() 454 head = PERF_IDX2OFF(handle->head, buf); in __arm_spe_pmu_next_off() 460 head = PERF_IDX2OFF(handle->head, buf); in __arm_spe_pmu_next_off() 468 tail = PERF_IDX2OFF(handle->head + handle->size, buf); in __arm_spe_pmu_next_off() 469 wakeup = PERF_IDX2OFF(handle->wakeup, buf); in __arm_spe_pmu_next_off() 507 u64 head = PERF_IDX2OFF(handle->head, buf); in arm_spe_pmu_next_off() 545 base = (u64)buf->base + PERF_IDX2OFF(handle->head, buf); in arm_spe_perf_aux_output_begin() [all …]
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-trbe.c | 24 #define PERF_IDX2OFF(idx, buf) ((idx) % ((buf)->nr_pages << PAGE_SHIFT)) macro 349 u64 head = PERF_IDX2OFF(handle->head, buf); in trbe_pad_buf() 405 head = PERF_IDX2OFF(handle->head, buf); in __trbe_normal_offset() 428 head = PERF_IDX2OFF(handle->head, buf); in __trbe_normal_offset() 444 tail = PERF_IDX2OFF(handle->head + handle->size, buf); in __trbe_normal_offset() 445 wakeup = PERF_IDX2OFF(handle->wakeup, buf); in __trbe_normal_offset() 550 u64 head = PERF_IDX2OFF(handle->head, buf); in trbe_normal_offset() 563 head = PERF_IDX2OFF(handle->head, buf); in trbe_normal_offset() 709 start_off = PERF_IDX2OFF(handle->head, buf); in trbe_get_trace_size() 989 buf->trbe_write = buf->trbe_base + PERF_IDX2OFF(handle->head, buf); in __arm_trbe_enable()
|
H A D | coresight-tmc-etr.c | 48 #define PERF_IDX2OFF(idx, buf) \ macro 1488 head = PERF_IDX2OFF(head, etr_perf); in tmc_etr_sync_perf_buffer()
|