Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/accel/habanalabs/goya/
Dgoya_coresight.c583 u32 cycle_cnt_idx; in goya_config_spmu() local
625 cycle_cnt_idx = output_arr_len - 1; in goya_config_spmu()
649 output[cycle_cnt_idx] = RREG32(base_reg + 0xFC); in goya_config_spmu()
650 output[cycle_cnt_idx] <<= 32; in goya_config_spmu()
651 output[cycle_cnt_idx] |= RREG32(base_reg + 0xF8); in goya_config_spmu()
/linux-6.12.1/drivers/accel/habanalabs/gaudi/
Dgaudi_coresight.c788 u32 cycle_cnt_idx; in gaudi_config_spmu() local
830 cycle_cnt_idx = output_arr_len - 1; in gaudi_config_spmu()
854 output[cycle_cnt_idx] = RREG32(base_reg + 0xFC); in gaudi_config_spmu()
855 output[cycle_cnt_idx] <<= 32; in gaudi_config_spmu()
856 output[cycle_cnt_idx] |= RREG32(base_reg + 0xF8); in gaudi_config_spmu()
/linux-6.12.1/drivers/accel/habanalabs/gaudi2/
Dgaudi2_coresight.c2439 u32 cycle_cnt_idx; in gaudi2_config_spmu() local
2512 cycle_cnt_idx = output_arr_len - 1; in gaudi2_config_spmu()
2531 output[cycle_cnt_idx] = RREG32(base_reg + mmSPMU_PMCCNTR_H_EL0_OFFSET); in gaudi2_config_spmu()
2532 output[cycle_cnt_idx] <<= 32; in gaudi2_config_spmu()
2533 output[cycle_cnt_idx] |= RREG32(base_reg + mmSPMU_PMCCNTR_L_EL0_OFFSET); in gaudi2_config_spmu()