/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/ |
nouveau_nvkm_engine_gr_base.c | 36 struct nvkm_gr *gr = device->gr; local in function:nvkm_gr_ctxsw_inst 37 if (gr && gr->func->ctxsw.inst) 38 return gr->func->ctxsw.inst(gr); 45 struct nvkm_gr *gr = device->gr; local in function:nvkm_gr_ctxsw_resume 46 if (gr && gr->func->ctxsw.resume 54 struct nvkm_gr *gr = device->gr; local in function:nvkm_gr_ctxsw_pause 63 struct nvkm_gr *gr = nvkm_gr(engine); local in function:nvkm_gr_chsw_load 72 struct nvkm_gr *gr = nvkm_gr(engine); local in function:nvkm_gr_tile 96 struct nvkm_gr *gr = nvkm_gr(oclass->engine); local in function:nvkm_gr_oclass_get 121 struct nvkm_gr *gr = nvkm_gr(oclass->engine); local in function:nvkm_gr_cclass_new 130 struct nvkm_gr *gr = nvkm_gr(engine); local in function:nvkm_gr_intr 137 struct nvkm_gr *gr = nvkm_gr(engine); local in function:nvkm_gr_oneinit 146 struct nvkm_gr *gr = nvkm_gr(engine); local in function:nvkm_gr_init 153 struct nvkm_gr *gr = nvkm_gr(engine); local in function:nvkm_gr_fini 162 struct nvkm_gr *gr = nvkm_gr(engine); local in function:nvkm_gr_dtor [all...] |
nouveau_nvkm_engine_gr_ctxgm20b.c | 30 gm20b_grctx_generate_main(struct gf100_gr *gr, struct gf100_grctx *info) 32 struct nvkm_device *device = gr->base.engine.subdev.device; 33 const struct gf100_grctx_func *grctx = gr->func->grctx; 37 gf100_gr_mmio(gr, gr->sw_ctx); 39 gf100_gr_wait_idle(gr); 45 grctx->unkn(gr); 47 gf100_grctx_generate_floorsweep(gr); 52 nvkm_wr32(device, 0x405b00, (gr->tpc_total << 8) | gr->gpc_nr) [all...] |
nouveau_nvkm_engine_gr_ctxgk20a.c | 33 gk20a_grctx_generate_main(struct gf100_gr *gr, struct gf100_grctx *info) 35 struct nvkm_device *device = gr->base.engine.subdev.device; 36 const struct gf100_grctx_func *grctx = gr->func->grctx; 40 gf100_gr_mmio(gr, gr->sw_ctx); 42 gf100_gr_wait_idle(gr); 48 grctx->unkn(gr); 50 gf100_grctx_generate_floorsweep(gr); 55 nvkm_wr32(device, 0x405b00, (gr->tpc_total << 8) | gr->gpc_nr) [all...] |
nouveau_nvkm_engine_gr_gf100.c | 56 gf100_gr_zbc_clear_color(struct gf100_gr *gr, int zbc) 58 struct nvkm_device *device = gr->base.engine.subdev.device; 59 if (gr->zbc_color[zbc].format) { 60 nvkm_wr32(device, 0x405804, gr->zbc_color[zbc].ds[0]); 61 nvkm_wr32(device, 0x405808, gr->zbc_color[zbc].ds[1]); 62 nvkm_wr32(device, 0x40580c, gr->zbc_color[zbc].ds[2]); 63 nvkm_wr32(device, 0x405810, gr->zbc_color[zbc].ds[3]); 65 nvkm_wr32(device, 0x405814, gr->zbc_color[zbc].format); 71 gf100_gr_zbc_color_get(struct gf100_gr *gr, int format, 74 struct nvkm_ltc *ltc = gr->base.engine.subdev.device->ltc 170 struct gf100_gr *gr = gf100_gr(nvkm_gr(object->engine)); local in function:gf100_fermi_mthd_zbc_color 216 struct gf100_gr *gr = gf100_gr(nvkm_gr(object->engine)); local in function:gf100_fermi_mthd_zbc_depth 308 struct gf100_gr *gr = gf100_gr(base); local in function:gf100_gr_object_get 331 struct gf100_gr *gr = chan->gr; local in function:gf100_gr_chan_bind 389 struct gf100_gr *gr = gf100_gr(base); local in function:gf100_gr_chan_new 754 struct gf100_gr *gr = gf100_gr(base); local in function:gf100_gr_fecs_start_ctxsw 769 struct gf100_gr *gr = gf100_gr(base); local in function:gf100_gr_fecs_stop_ctxsw 933 struct gf100_gr *gr = gf100_gr(base); local in function:gf100_gr_chsw_load 1109 struct gf100_gr *gr = gf100_gr(base); local in function:gf100_gr_units 1555 struct gf100_gr *gr = gf100_gr(base); local in function:gf100_gr_intr 1951 struct gf100_gr *gr = gf100_gr(base); local in function:gf100_gr_oneinit 1989 struct gf100_gr *gr = gf100_gr(base); local in function:gf100_gr_init_ 2009 struct gf100_gr *gr = gf100_gr(base); local in function:gf100_gr_fini 2019 struct gf100_gr *gr = gf100_gr(base); local in function:gf100_gr_dtor 2076 struct gf100_gr *gr; local in function:gf100_gr_new_ [all...] |
nouveau_nvkm_engine_gr_ctxgm200.c | 36 gm200_grctx_generate_r419a3c(struct gf100_gr *gr) 38 struct nvkm_device *device = gr->base.engine.subdev.device; 43 gm200_grctx_generate_r418e94(struct gf100_gr *gr) 45 struct nvkm_device *device = gr->base.engine.subdev.device; 51 gm200_grctx_generate_smid_config(struct gf100_gr *gr) 53 struct nvkm_device *device = gr->base.engine.subdev.device; 54 const u32 dist_nr = DIV_ROUND_UP(gr->tpc_total, 4); 59 for (sm = 0; sm < gr->sm_nr; sm++) { 60 const u8 gpc = gr->sm[sm].gpc; 61 const u8 tpc = gr->sm[sm].tpc [all...] |
nouveau_nvkm_engine_gr_tu102.c | 35 tu102_gr_init_fecs_exceptions(struct gf100_gr *gr) 37 nvkm_wr32(gr->base.engine.subdev.device, 0x409c24, 0x006f0002); 41 tu102_gr_init_fs(struct gf100_gr *gr) 43 struct nvkm_device *device = gr->base.engine.subdev.device; 46 gp100_grctx_generate_smid_config(gr); 47 gk104_grctx_generate_gpc_tpc_nr(gr); 49 for (sm = 0; sm < gr->sm_nr; sm++) { 50 nvkm_wr32(device, GPC_UNIT(gr->sm[sm].gpc, 0x0c10 + 51 gr->sm[sm].tpc * 4), sm); 54 gm200_grctx_generate_dist_skip_table(gr); [all...] |
nouveau_nvkm_engine_gr_gm200.c | 91 gm200_gr_rops(struct gf100_gr *gr) 93 return nvkm_rd32(gr->base.engine.subdev.device, 0x12006c); 97 gm200_gr_init_ds_hww_esr_2(struct gf100_gr *gr) 99 struct nvkm_device *device = gr->base.engine.subdev.device; 105 gm200_gr_init_num_active_ltcs(struct gf100_gr *gr) 107 struct nvkm_device *device = gr->base.engine.subdev.device; 113 gm200_gr_init_gpc_mmu(struct gf100_gr *gr) 115 struct nvkm_device *device = gr->base.engine.subdev.device; 127 gm200_gr_init_rop_active_fbps(struct gf100_gr *gr) 129 struct nvkm_device *device = gr->base.engine.subdev.device [all...] |
nouveau_nvkm_engine_gr_gk20a.c | 42 gk20a_gr_av_to_init(struct gf100_gr *gr, const char *path, const char *name, 45 struct nvkm_subdev *subdev = &gr->base.engine.subdev; 92 gk20a_gr_aiv_to_init(struct gf100_gr *gr, const char *path, const char *name, 95 struct nvkm_subdev *subdev = &gr->base.engine.subdev; 135 gk20a_gr_av_to_method(struct gf100_gr *gr, const char *path, const char *name, 138 struct nvkm_subdev *subdev = &gr->base.engine.subdev; 196 gk20a_gr_wait_mem_scrubbing(struct gf100_gr *gr) 198 struct nvkm_subdev *subdev = &gr->base.engine.subdev; 221 gk20a_gr_set_hww_esr_report_mask(struct gf100_gr *gr) 223 struct nvkm_device *device = gr->base.engine.subdev.device [all...] |
nouveau_nvkm_engine_gr_gp100.c | 38 gp100_gr_zbc_clear_color(struct gf100_gr *gr, int zbc) 40 struct nvkm_device *device = gr->base.engine.subdev.device; 44 if (gr->zbc_color[zbc].format) { 45 nvkm_wr32(device, 0x418010 + zoff, gr->zbc_color[zbc].ds[0]); 46 nvkm_wr32(device, 0x41804c + zoff, gr->zbc_color[zbc].ds[1]); 47 nvkm_wr32(device, 0x418088 + zoff, gr->zbc_color[zbc].ds[2]); 48 nvkm_wr32(device, 0x4180c4 + zoff, gr->zbc_color[zbc].ds[3]); 53 gr->zbc_color[zbc].format << ((znum % 4) * 7)); 57 gp100_gr_zbc_clear_depth(struct gf100_gr *gr, int zbc) 59 struct nvkm_device *device = gr->base.engine.subdev.device [all...] |
nouveau_nvkm_engine_gr_gp102.c | 35 gp102_gr_zbc_clear_stencil(struct gf100_gr *gr, int zbc) 37 struct nvkm_device *device = gr->base.engine.subdev.device; 41 if (gr->zbc_stencil[zbc].format) 42 nvkm_wr32(device, 0x41815c + zoff, gr->zbc_stencil[zbc].ds); 45 gr->zbc_stencil[zbc].format << ((znum % 4) * 7)); 49 gp102_gr_zbc_stencil_get(struct gf100_gr *gr, int format, 52 struct nvkm_ltc *ltc = gr->base.engine.subdev.device->ltc; 56 if (gr->zbc_stencil[i].format) { 57 if (gr->zbc_stencil[i].format != format) 59 if (gr->zbc_stencil[i].ds != ds [all...] |
/src/sys/arch/hppa/hppa/ |
hppa_machdep.c | 62 __greg_t *gr = mcp->__gregs; local in function:cpu_getmcontext 65 gr[0] = tf->tf_ipsw; 66 gr[1] = tf->tf_r1; 67 gr[2] = tf->tf_rp; 68 gr[3] = tf->tf_r3; 69 gr[4] = tf->tf_r4; 70 gr[5] = tf->tf_r5; 71 gr[6] = tf->tf_r6; 72 gr[7] = tf->tf_r7; 73 gr[8] = tf->tf_r8 135 const __greg_t *gr = mcp->__gregs; local in function:cpu_mcontext_validate 176 const __greg_t *gr = mcp->__gregs; local in function:cpu_setmcontext [all...] |
/src/lib/libc/arch/ia64/gen/ |
_lwp.c | 48 __greg_t *gr; 51 gr = u->uc_mcontext.__gregs; 58 gr[_REG_PC] = (unsigned long)start; 59 gr[_REG_T12] = (unsigned long) start; 60 gr[_REG_RA] = (unsigned long) _lwp_exit; 61 gr[_REG_A0] = (unsigned long) arg; 62 gr[_REG_SP] = ((unsigned long) (stack_base + stack_size)) & ~0x7; 63 gr[_REG_S6] = 0; 64 gr[_REG_UNIQUE] = (unsigned long)private;
|
/src/lib/libc/arch/alpha/gen/ |
_lwp.c | 50 __greg_t *gr; local in function:_lwp_makecontext 53 gr = u->uc_mcontext.__gregs; 60 gr[_REG_PC] = (unsigned long)start; 61 gr[_REG_T12] = (unsigned long) start; 62 gr[_REG_RA] = (unsigned long) _lwp_exit; 63 gr[_REG_A0] = (unsigned long) arg; 64 gr[_REG_SP] = ((unsigned long) (stack_base + stack_size)) & 66 gr[_REG_S6] = 0; 67 gr[_REG_UNIQUE] = (unsigned long)private;
|
/src/lib/libcurses/PSD.doc/ |
Makefile | 7 CEXAMPLES= ex1.gr ex2.gr life.gr twinkle1.gr twinkle2.gr win_st.gr 15 .SUFFIXES: .c .gr 25 .c.gr:
|
/src/sys/arch/arm/arm/ |
sig_machdep.c | 163 __greg_t * const gr = mcp->__gregs; local in function:cpu_getmcontext 167 gr[_REG_R0] = tf->tf_r0; 168 gr[_REG_R1] = tf->tf_r1; 169 gr[_REG_R2] = tf->tf_r2; 170 gr[_REG_R3] = tf->tf_r3; 171 gr[_REG_R4] = tf->tf_r4; 172 gr[_REG_R5] = tf->tf_r5; 173 gr[_REG_R6] = tf->tf_r6; 174 gr[_REG_R7] = tf->tf_r7; 175 gr[_REG_R8] = tf->tf_r8 207 const __greg_t * const gr = mcp->__gregs; local in function:cpu_mcontext_validate 219 const __greg_t * const gr = mcp->__gregs; local in function:cpu_setmcontext [all...] |
/src/lib/libc/arch/arm/gen/ |
makecontext.c | 47 __greg_t *gr = ucp->uc_mcontext.__gregs; local in function:makecontext 58 gr[_REG_SP] = (__greg_t)(uintptr_t)sp; 60 gr[_REG_FP] = 0; 62 gr[_REG_LR] = (__greg_t)(uintptr_t)_resumecontext; 63 gr[_REG_PC] = (__greg_t)(uintptr_t)func; 68 gr[_REG_R0 + i] = va_arg(ap, int);
|
/src/tests/lib/libc/gen/ |
t_getgrent.c | 76 struct group *gr; local in function:ATF_TC_BODY 86 while((gr = getgrent()) != NULL) 95 while((gr = getgrent()) != NULL) 110 while((gr = getgrent()) != NULL) 126 struct group *gr, *gr1, *gr2; local in function:ATF_TC_BODY 137 while((gr = getgrent()) != NULL) { 144 gr1 = getgrgid(gr->gr_gid); 149 gr2 = getgrnam(gr->gr_name); 154 rv = setgid(gr->gr_gid);
|
/src/lib/libc/arch/hppa/gen/ |
_lwp.c | 53 __greg_t *gr; local in function:_lwp_makecontext 58 gr = u->uc_mcontext.__gregs; 70 gr[_REG_R19] = gp[1]; 72 gr[_REG_PCOQH] = fp | HPPA_PC_PRIV_USER; 73 gr[_REG_PCOQT] = (fp + 4) | HPPA_PC_PRIV_USER; 74 gr[_REG_RP] = (__greg_t) _lwp_exit; 75 gr[_REG_ARG0] = (__greg_t) arg; 76 gr[_REG_SP] = (__greg_t) sp; 77 gr[_REG_CR27] = (__greg_t) private;
|
makecontext.c | 54 __greg_t *gr = ucp->uc_mcontext.__gregs; local in function:makecontext 70 gr[_REG_SP] = (__greg_t)sp; 77 gr[_REG_RP] = rp; 82 gr[_REG_R19] = gp[1]; 84 gr[_REG_PCOQH] = fp | HPPA_PC_PRIV_USER; 85 gr[_REG_PCOQT] = (fp + 4) | HPPA_PC_PRIV_USER; 87 gr[_REG_DP] = dp; 94 gr[_REG_ARG0 - i] = va_arg(ap, uintptr_t);
|
/src/lib/libc/arch/sparc64/gen/ |
_lwp.c | 45 __greg_t *gr; local in function:_lwp_makecontext 49 gr = u->uc_mcontext.__gregs; 69 gr[_REG_PC] = (ulong) start; 70 gr[_REG_nPC] = (ulong) start + 4; 72 gr[_REG_O0] = (ulong) arg; 73 gr[_REG_O6] = (ulong) sp; 74 gr[_REG_O7] = (ulong)_lwp_exit - 8; 75 gr[_REG_G7] = (ulong)private;
|
/src/lib/libc/arch/sparc/gen/ |
_lwp.c | 47 __greg_t *gr; local in function:_lwp_makecontext 51 gr = u->uc_mcontext.__gregs; 66 gr[_REG_PC] = (ulong) start; 67 gr[_REG_nPC] = (ulong) start + 4; 68 gr[_REG_O0] = (ulong)arg; 69 gr[_REG_O6] = (ulong)sp; 70 gr[_REG_O7] = (ulong)_lwp_exit - 8; 71 gr[_REG_G7] = (ulong)private;
|
/src/lib/libc/arch/or1k/gen/ |
makecontext.c | 51 __greg_t *gr = ucp->uc_mcontext.__gregs; local in function:makecontext 67 gr[_REG_SP] = (uintptr_t)sp; 68 gr[_REG_LR] = (uintptr_t)_resumecontext; 69 gr[_REG_PC] = (uintptr_t)func; 78 gr[_REG_R3 + i] = va_arg(ap, int);
|
/src/lib/libc/arch/powerpc/gen/ |
makecontext.c | 51 __greg_t *gr = ucp->uc_mcontext.__gregs; local in function:makecontext 68 gr[_REG_R1] = (__greg_t)sp; 69 gr[_REG_LR] = (__greg_t)_resumecontext; 70 gr[_REG_PC] = (__greg_t)func; 79 gr[_REG_R3 + i] = va_arg(ap, int);
|
/src/lib/libc/arch/sh3/gen/ |
makecontext.c | 47 __greg_t *gr = ucp->uc_mcontext.__gregs; local in function:makecontext 58 gr[_REG_SP] = (__greg_t)sp; 60 gr[_REG_PR] = (__greg_t)_resumecontext; 61 gr[_REG_PC] = (__greg_t)func; 66 gr[_REG_R4 - i] = va_arg(ap, int); /* sic! see mcontext.h */
|
/src/sys/arch/sh3/sh3/ |
sh3_machdep.c | 401 __greg_t *gr = mcp->__gregs; local in function:cpu_getmcontext 405 gr[_REG_GBR] = tf->tf_gbr; 406 gr[_REG_PC] = tf->tf_spc; 407 gr[_REG_SR] = tf->tf_ssr; 408 gr[_REG_MACL] = tf->tf_macl; 409 gr[_REG_MACH] = tf->tf_mach; 410 gr[_REG_PR] = tf->tf_pr; 411 gr[_REG_R14] = tf->tf_r14; 412 gr[_REG_R13] = tf->tf_r13; 413 gr[_REG_R12] = tf->tf_r12 442 const __greg_t *gr = mcp->__gregs; local in function:cpu_mcontext_validate 454 const __greg_t *gr = mcp->__gregs; local in function:cpu_setmcontext [all...] |