Home
last modified time | relevance | path

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

/openbmc/linux/drivers/accel/habanalabs/goya/
H A Dgoya_coresight.c574 u32 cycle_cnt_idx; in goya_config_spmu() local
616 cycle_cnt_idx = output_arr_len - 1; in goya_config_spmu()
640 output[cycle_cnt_idx] = RREG32(base_reg + 0xFC); in goya_config_spmu()
641 output[cycle_cnt_idx] <<= 32; in goya_config_spmu()
642 output[cycle_cnt_idx] |= RREG32(base_reg + 0xF8); in goya_config_spmu()
/openbmc/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi_coresight.c776 u32 cycle_cnt_idx; in gaudi_config_spmu() local
818 cycle_cnt_idx = output_arr_len - 1; in gaudi_config_spmu()
842 output[cycle_cnt_idx] = RREG32(base_reg + 0xFC); in gaudi_config_spmu()
843 output[cycle_cnt_idx] <<= 32; in gaudi_config_spmu()
844 output[cycle_cnt_idx] |= RREG32(base_reg + 0xF8); in gaudi_config_spmu()
/openbmc/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2_coresight.c2422 u32 cycle_cnt_idx; in gaudi2_config_spmu() local
2494 cycle_cnt_idx = output_arr_len - 1; in gaudi2_config_spmu()
2513 output[cycle_cnt_idx] = RREG32(base_reg + mmSPMU_PMCCNTR_H_EL0_OFFSET); in gaudi2_config_spmu()
2514 output[cycle_cnt_idx] <<= 32; in gaudi2_config_spmu()
2515 output[cycle_cnt_idx] |= RREG32(base_reg + mmSPMU_PMCCNTR_L_EL0_OFFSET); in gaudi2_config_spmu()