Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
Dbase.c125 u64 pmc_enable = 0; in nvkm_mc_reset_mask() local
127 if (!(pmc_enable = nvkm_top_reset(device, type, inst))) { in nvkm_mc_reset_mask()
131 pmc_enable = map->stat; in nvkm_mc_reset_mask()
138 return pmc_enable; in nvkm_mc_reset_mask()
144 u64 pmc_enable = nvkm_mc_reset_mask(device, true, type, inst); in nvkm_mc_reset() local
145 if (pmc_enable) { in nvkm_mc_reset()
146 nvkm_mask(device, 0x000200, pmc_enable, 0x00000000); in nvkm_mc_reset()
147 nvkm_mask(device, 0x000200, pmc_enable, pmc_enable); in nvkm_mc_reset()
155 u64 pmc_enable = nvkm_mc_reset_mask(device, false, type, inst); in nvkm_mc_disable() local
156 if (pmc_enable) in nvkm_mc_disable()
[all …]
/linux-6.1.9/tools/testing/selftests/powerpc/pmu/ebb/
Debb.h28 bool pmc_enable[6]; member
43 ebb_state.pmc_enable[PMC_INDEX(pmc)] = true; in ebb_enable_pmc_counting()
Debb.c118 if (ebb_state.pmc_enable[PMC_INDEX(i)]) in standard_ebb_callee()