Lines Matching refs:init

32 pmu_code(struct nv50_devinit *init, u32 pmu, u32 img, u32 len, bool sec)  in pmu_code()  argument
34 struct nvkm_device *device = init->base.subdev.device; in pmu_code()
52 pmu_data(struct nv50_devinit *init, u32 pmu, u32 img, u32 len) in pmu_data() argument
54 struct nvkm_device *device = init->base.subdev.device; in pmu_data()
64 pmu_args(struct nv50_devinit *init, u32 argp, u32 argi) in pmu_args() argument
66 struct nvkm_device *device = init->base.subdev.device; in pmu_args()
73 pmu_exec(struct nv50_devinit *init, u32 init_addr) in pmu_exec() argument
75 struct nvkm_device *device = init->base.subdev.device; in pmu_exec()
82 pmu_load(struct nv50_devinit *init, u8 type, bool post, in pmu_load() argument
85 struct nvkm_subdev *subdev = &init->base.subdev; 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()
105 return pmu_exec(init, pmu.init_addr_pmu), 0; in pmu_load()
109 gm200_devinit_preos(struct nv50_devinit *init, bool post) in gm200_devinit_preos() argument
114 pmu_load(init, 0x01, post, NULL, NULL); in gm200_devinit_preos()
120 struct nv50_devinit *init = nv50_devinit(base); in gm200_devinit_post() local
121 struct nvkm_subdev *subdev = &init->base.subdev; in gm200_devinit_post()
135 ret = pmu_load(init, 0x04, post, &exec, &args); in gm200_devinit_post()
143 u32 pmu = pmu_args(init, args + 0x08, 0x08); in gm200_devinit_post()
146 pmu_data(init, pmu, img, len); in gm200_devinit_post()
151 u32 pmu = pmu_args(init, args + 0x08, 0x10); in gm200_devinit_post()
154 pmu_data(init, pmu, img, len); in gm200_devinit_post()
160 pmu_exec(init, exec); in gm200_devinit_post()
168 gm200_devinit_preos(init, post); in gm200_devinit_post()
175 .init = nv50_devinit_init,