Lines Matching refs:pmc_enable
55 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()
86 device->mc->func->device->disable(device->mc, pmc_enable); in nvkm_mc_disable()
92 u64 pmc_enable = nvkm_mc_reset_mask(device, false, type, inst); in nvkm_mc_enable() local
93 if (pmc_enable) in nvkm_mc_enable()
94 device->mc->func->device->enable(device->mc, pmc_enable); in nvkm_mc_enable()
100 u64 pmc_enable = nvkm_mc_reset_mask(device, false, type, inst); in nvkm_mc_enabled() local
102 return (pmc_enable != 0) && device->mc->func->device->enabled(device->mc, pmc_enable); in nvkm_mc_enabled()