Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
H A Dbase.c55 u64 pmc_enable = 0; in nvkm_mc_reset_mask() local
57 if (!(pmc_enable = nvkm_top_reset(device, type, inst))) { in nvkm_mc_reset_mask()
61 pmc_enable = map->stat; in nvkm_mc_reset_mask()
68 return pmc_enable; in nvkm_mc_reset_mask()
74 u64 pmc_enable = nvkm_mc_reset_mask(device, true, type, inst); in nvkm_mc_reset() local
75 if (pmc_enable) { in nvkm_mc_reset()
76 device->mc->func->device->disable(device->mc, pmc_enable); in nvkm_mc_reset()
77 device->mc->func->device->enable(device->mc, pmc_enable); in nvkm_mc_reset()
84 u64 pmc_enable = nvkm_mc_reset_mask(device, false, type, inst); in nvkm_mc_disable() local
85 if (pmc_enable) in nvkm_mc_disable()
[all …]
/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Debb.h28 bool pmc_enable[6]; member
43 ebb_state.pmc_enable[PMC_INDEX(pmc)] = true; in ebb_enable_pmc_counting()
H A Debb.c118 if (ebb_state.pmc_enable[PMC_INDEX(i)]) in standard_ebb_callee()