Lines Matching refs:pmu
32 pmu_code(struct nv50_devinit *init, u32 pmu, u32 img, u32 len, bool sec) in pmu_code() argument
38 nvkm_wr32(device, 0x10a180, 0x01000000 | (sec ? 0x10000000 : 0) | pmu); in pmu_code()
41 nvkm_wr32(device, 0x10a188, (pmu + i) >> 8); in pmu_code()
52 pmu_data(struct nv50_devinit *init, u32 pmu, u32 img, u32 len) in pmu_data() argument
58 nvkm_wr32(device, 0x10a1c0, 0x01000000 | pmu); in pmu_data()
87 struct nvbios_pmuR pmu; in pmu_load() local
89 if (!nvbios_pmuRm(bios, type, &pmu)) in pmu_load()
95 pmu_code(init, pmu.boot_addr_pmu, pmu.boot_addr, pmu.boot_size, false); in pmu_load()
96 pmu_code(init, pmu.code_addr_pmu, pmu.code_addr, pmu.code_size, true); in pmu_load()
97 pmu_data(init, pmu.data_addr_pmu, pmu.data_addr, pmu.data_size); in pmu_load()
100 *init_addr_pmu = pmu.init_addr_pmu; in pmu_load()
101 *args_addr_pmu = pmu.args_addr_pmu; in pmu_load()
105 return pmu_exec(init, pmu.init_addr_pmu), 0; in pmu_load()
143 u32 pmu = pmu_args(init, args + 0x08, 0x08); in gm200_devinit_post() local
146 pmu_data(init, pmu, img, len); in gm200_devinit_post()
151 u32 pmu = pmu_args(init, args + 0x08, 0x10); in gm200_devinit_post() local
154 pmu_data(init, pmu, img, len); in gm200_devinit_post()