Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/misc/habanalabs/goya/
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()
/Linux-v5.10/drivers/misc/habanalabs/gaudi/
Dgaudi_coresight.c769 u32 cycle_cnt_idx; in gaudi_config_spmu() local
811 cycle_cnt_idx = output_arr_len - 1; in gaudi_config_spmu()
835 output[cycle_cnt_idx] = RREG32(base_reg + 0xFC); in gaudi_config_spmu()
836 output[cycle_cnt_idx] <<= 32; in gaudi_config_spmu()
837 output[cycle_cnt_idx] |= RREG32(base_reg + 0xF8); in gaudi_config_spmu()