Lines Matching refs:fecs

441 	mutex_lock(&gr->fecs.mutex);  in gf100_gr_chan_new()
449 mutex_unlock(&gr->fecs.mutex); in gf100_gr_chan_new()
775 mutex_lock(&gr->fecs.mutex); in gf100_gr_fecs_start_ctxsw()
776 if (!--gr->fecs.disable) { in gf100_gr_fecs_start_ctxsw()
778 gr->fecs.disable++; in gf100_gr_fecs_start_ctxsw()
780 mutex_unlock(&gr->fecs.mutex); in gf100_gr_fecs_start_ctxsw()
790 mutex_lock(&gr->fecs.mutex); in gf100_gr_fecs_stop_ctxsw()
791 if (!gr->fecs.disable++) { in gf100_gr_fecs_stop_ctxsw()
793 gr->fecs.disable--; in gf100_gr_fecs_stop_ctxsw()
795 mutex_unlock(&gr->fecs.mutex); in gf100_gr_fecs_stop_ctxsw()
805 mutex_lock(&gr->fecs.mutex); in gf100_gr_fecs_halt_pipeline()
807 mutex_unlock(&gr->fecs.mutex); in gf100_gr_fecs_halt_pipeline()
1763 gf100_gr_init_fw(&gr->fecs.falcon, &gr->fecs.inst, in gf100_gr_init_ctxctl_ext()
1764 &gr->fecs.data); in gf100_gr_init_ctxctl_ext()
1790 nvkm_falcon_start(&gr->fecs.falcon); in gf100_gr_init_ctxctl_ext()
1837 if (!gr->func->fecs.ucode) { in gf100_gr_init_ctxctl_int()
1843 nvkm_falcon_load_dmem(&gr->fecs.falcon, in gf100_gr_init_ctxctl_int()
1844 gr->func->fecs.ucode->data.data, 0x0, in gf100_gr_init_ctxctl_int()
1845 gr->func->fecs.ucode->data.size, 0); in gf100_gr_init_ctxctl_int()
1846 nvkm_falcon_load_imem(&gr->fecs.falcon, in gf100_gr_init_ctxctl_int()
1847 gr->func->fecs.ucode->code.data, 0x0, in gf100_gr_init_ctxctl_int()
1848 gr->func->fecs.ucode->code.size, 0, 0, false); in gf100_gr_init_ctxctl_int()
2098 ret = nvkm_falcon_get(&gr->fecs.falcon, subdev); in gf100_gr_init_()
2123 nvkm_falcon_put(&gr->fecs.falcon, subdev); in gf100_gr_fini()
2140 nvkm_falcon_dtor(&gr->fecs.falcon); in gf100_gr_dtor()
2142 nvkm_blob_dtor(&gr->fecs.inst); in gf100_gr_dtor()
2143 nvkm_blob_dtor(&gr->fecs.data); in gf100_gr_dtor()
2545 .fecs.ucode = &gf100_gr_fecs_ucode,
2546 .fecs.reset = gf100_gr_fecs_reset,
2602 if (gf100_gr_load_fw(gr, "fuc409c", &gr->fecs.inst) || in gf100_gr_load()
2603 gf100_gr_load_fw(gr, "fuc409d", &gr->fecs.data) || in gf100_gr_load()
2641 "fecs", 0x409000, &gr->fecs.falcon); in gf100_gr_new_()
2645 mutex_init(&gr->fecs.mutex); in gf100_gr_new_()