| /src/sys/arch/amiga/dev/ |
| H A D | grf.c | 174 struct grf_softc *gp; local in function:grfattach 177 gp = device_private(parent); 178 gp->g_device = self; 179 grfsp[gp->g_unit] = gp; 185 gp->g_grfdev = makedev(maj, gp->g_unit); 188 printf(": width %d height %d", gp->g_display.gd_dwidth, 189 gp->g_display.gd_dheight); 190 if (gp 241 struct grf_softc *gp; local in function:grfopen 259 struct grf_softc *gp; local in function:grfclose 271 struct grf_softc *gp; local in function:grfioctl 362 struct grf_softc *gp; local in function:grfmmap 388 struct grf_softc *gp; local in function:grfon 406 struct grf_softc *gp; local in function:grfoff 430 struct grf_softc *gp; local in function:grfsinfo 448 struct grf_softc *gp; local in function:grfcnprobe 471 struct grf_softc *gp; local in function:grfcninit 507 struct grf_softc *gp; local in function:grf_init_screen 515 grf_setup_rasops(struct grf_softc * gp,struct vcons_screen * scr) argument 553 struct grf_softc *gp; local in function:grf_wsioctl 607 struct grf_softc *gp; local in function:grf_wsmmap [all...] |
| H A D | grf_cc.c | 122 struct grf_softc *gp; local in function:grfccattach 125 gp = &congrf; 126 gp->g_device = &temp; 127 temp.dv_private = gp; 129 gp = device_private(self); 130 gp->g_device = self; 138 memcpy(&gp->g_display, &congrf.g_display, 139 (char *)&gp[1] - (char *)&gp->g_display); 141 gp 174 cc_mode(struct grf_softc * gp,u_long cmd,void * arg,u_long a2,int a3) argument 193 grf_cc_on(struct grf_softc * gp) argument [all...] |
| H A D | grf_cl.c | 398 struct grf_softc *gp; local in function:grfclattach 412 gp = &congrf; 413 gp->g_device = &temp; 414 temp.dv_private = gp; 416 gp = device_private(self); 417 gp->g_device = self; 424 memcpy(&gp->g_display, &congrf.g_display, 425 (char *) &gp[1] - (char *) &gp->g_display); 427 gp 530 cl_boardinit(struct grf_softc * gp) argument 670 cl_getvmode(struct grf_softc * gp,struct grfvideo_mode * vm) argument 706 cl_setvmode(struct grf_softc * gp,unsigned mode) argument 719 cl_off(struct grf_softc * gp) argument 736 cl_blank(struct grf_softc * gp,int on) argument 745 cl_isblank(struct grf_softc * gp) argument 756 cl_mode(register struct grf_softc * gp,u_long cmd,void * arg,u_long a2,int a3) argument 802 cl_ioctl(register struct grf_softc * gp,u_long cmd,void * data) argument 843 cl_getmousepos(struct grf_softc * gp,struct grf_position * data) argument 905 cl_setmousepos(struct grf_softc * gp,struct grf_position * data) argument 945 cl_getspriteinfo(struct grf_softc * gp,struct grf_spriteinfo * data) argument 954 cl_setspriteinfo(struct grf_softc * gp,struct grf_spriteinfo * data) argument 1088 cl_getspritemax(struct grf_softc * gp,struct grf_position * data) argument 1098 cl_setmonitor(struct grf_softc * gp,struct grfvideo_mode * gv) argument 1141 u_char red[256], green[256], blue[256], *rp, *gp, *bp; local in function:cl_getcmap 1207 u_char red[256], green[256], blue[256], *rp, *gp, *bp; local in function:cl_putcmap 1254 cl_toggle(struct grf_softc * gp,unsigned short wopp) argument 1411 cl_load_mon(struct grf_softc * gp,struct grfcltext_mode * md) argument 1720 cl_inittextmode(struct grf_softc * gp) argument 1863 struct grf_softc *gp; local in function:cl_wscursor 1898 struct grf_softc *gp; local in function:cl_wsputchar 1920 struct grf_softc *gp; local in function:cl_wscopycols 1964 struct grf_softc *gp; local in function:cl_wserasecols 1989 struct grf_softc *gp; local in function:cl_wscopyrows 2032 struct grf_softc *gp; local in function:cl_wseraserows 2081 struct grf_softc *gp; local in function:cl_wsioctl 2139 cl_get_fbinfo(struct grf_softc * gp,struct wsdisplayio_fbinfo * fbi) argument [all...] |
| H A D | grf_et.c | 334 struct grf_softc *gp; local in function:grfetattach 344 gp = &congrf; 345 gp->g_device = &temp; 346 temp.dv_private = gp; 348 gp = device_private(self); 349 gp->g_device = self; 356 memcpy(&gp->g_display, &congrf.g_display, 357 (char *) &gp[1] - (char *) &gp->g_display); 359 gp 450 et_boardinit(struct grf_softc * gp) argument 629 et_getvmode(struct grf_softc * gp,struct grfvideo_mode * vm) argument 665 et_setvmode(struct grf_softc * gp,unsigned mode) argument 679 et_off(struct grf_softc * gp) argument 690 et_blank(struct grf_softc * gp,int on) argument 699 et_isblank(struct grf_softc * gp) argument 713 et_mode(register struct grf_softc * gp,u_long cmd,void * arg,u_long a2,int a3) argument 761 et_ioctl(register struct grf_softc * gp,u_long cmd,void * data) argument 802 et_getmousepos(struct grf_softc * gp,struct grf_position * data) argument 818 et_setmousepos(struct grf_softc * gp,struct grf_position * data) argument 846 et_getspriteinfo(struct grf_softc * gp,struct grf_spriteinfo * data) argument 854 et_setspriteinfo(struct grf_softc * gp,struct grf_spriteinfo * data) argument 862 et_getspritemax(struct grf_softc * gp,struct grf_position * data) argument 870 et_setmonitor(struct grf_softc * gp,struct grfvideo_mode * gv) argument 914 u_char red[256], green[256], blue[256], *rp, *gp, *bp; local in function:et_getcmap 965 u_char red[256], green[256], blue[256], *rp, *gp, *bp; local in function:et_putcmap 1019 et_toggle(struct grf_softc * gp,unsigned short wopp) argument 1130 et_load_mon(struct grf_softc * gp,struct grfettext_mode * md) argument 1482 et_inittextmode(struct grf_softc * gp) argument 1557 et_getControllerType(struct grf_softc * gp) argument 1597 et_getDACType(struct grf_softc * gp) argument 1689 struct grf_softc *gp; local in function:et_wscursor 1725 struct grf_softc *gp; local in function:et_wsputchar 1747 struct grf_softc *gp; local in function:et_wscopycols 1791 struct grf_softc *gp; local in function:et_wserasecols 1816 struct grf_softc *gp; local in function:et_wscopyrows 1859 struct grf_softc *gp; local in function:et_wseraserows 1908 struct grf_softc *gp; local in function:et_wsioctl 1966 et_get_fbinfo(struct grf_softc * gp,struct wsdisplayio_fbinfo * fbi) argument [all...] |
| H A D | grf_rh.c | 67 int rh_load_mon(struct grf_softc *gp, struct MonDef *md); 68 int rh_getvmode(struct grf_softc *gp, struct grfvideo_mode *vm); 69 int rh_setvmode(struct grf_softc *gp, unsigned int mode, enum mode_type type); 152 RZ3DisableHWC(struct grf_softc *gp) argument 154 volatile void *ba = gp->g_regkva; 160 RZ3SetupHWC(struct grf_softc *gp, unsigned char col1, unsigned col2, argument 163 volatile unsigned char *ba = gp->g_regkva; 167 struct MonDef *MonitorDef = (struct MonDef *) gp->g_data; 220 RZ3AlphaErase(struct grf_softc *gp, unsigned short xd, unsigned short yd, argument 223 const struct MonDef * md = (struct MonDef *) gp 228 RZ3AlphaCopy(struct grf_softc * gp,unsigned short xs,unsigned short ys,unsigned short xd,unsigned short yd,unsigned short w,unsigned short h) argument 300 RZ3BitBlit(struct grf_softc * gp,struct grf_bitblt * gbb) argument 376 RZ3BitBlit16(struct grf_softc * gp,struct grf_bitblt * gbb) argument 455 RZ3BitBlit24(struct grf_softc * gp,struct grf_bitblt * gbb) argument 536 RZ3SetCursorPos(struct grf_softc * gp,unsigned short pos) argument 546 RZ3LoadPalette(struct grf_softc * gp,unsigned char * pal,unsigned char firstcol,unsigned char colors) argument 572 RZ3SetPalette(struct grf_softc * gp,unsigned char colornum,unsigned char red,unsigned char green,unsigned char blue) argument 586 RZ3SetPanning(struct grf_softc * gp,unsigned short xoff,unsigned short yoff) argument 621 RZ3SetHWCloc(struct grf_softc * gp,unsigned short x,unsigned short y) argument 728 rh_load_mon(struct grf_softc * gp,struct MonDef * md) argument 1585 struct grf_softc *gp; local in function:grfrhattach 1633 rh_getvmode(struct grf_softc * gp,struct grfvideo_mode * vm) argument 1702 rh_setvmode(struct grf_softc * gp,unsigned mode,enum mode_type type) argument 1726 rh_mode(register struct grf_softc * gp,u_long cmd,void * arg,u_long a2,int a3) argument 1763 rh_ioctl(register struct grf_softc * gp,u_long cmd,void * data) argument 1810 u_char red[256], green[256], blue[256], *rp, *gp, *bp; local in function:rh_getcmap 1845 u_char red[256], green[256], blue[256], *rp, *gp, *bp; local in function:rh_putcmap 1879 rh_getspritepos(struct grf_softc * gp,struct grf_position * pos) argument 1904 rh_setspritepos(struct grf_softc * gp,struct grf_position * pos) argument 1911 rh_getspriteinfo(struct grf_softc * gp,struct grf_spriteinfo * info) argument 2003 rh_setspriteinfo(struct grf_softc * gp,struct grf_spriteinfo * info) argument 2129 rh_getspritemax(struct grf_softc * gp,struct grf_position * pos) argument 2144 rh_bitblt(struct grf_softc * gp,struct grf_bitblt * bb) argument 2159 rh_blank(struct grf_softc * gp,int * on) argument [all...] |
| /src/sys/arch/atari/dev/ |
| H A D | grf.c | 171 struct grf_softc *gp; local in function:grfopen 176 gp = grfsp[GRFUNIT(dev)]; 177 if (gp == NULL) 180 if ((gp->g_flags & GF_ALIVE) == 0) 183 if ((gp->g_flags & (GF_OPEN|GF_EXCLUDE)) == (GF_OPEN|GF_EXCLUDE)) 185 grf_viewsync(gp); 194 struct grf_softc *gp; local in function:grfclose 196 gp = grfsp[GRFUNIT(dev)]; 198 gp->g_flags &= GF_ALIVE; 206 struct grf_softc *gp; local in function:grfioctl 271 struct grf_softc *gp; local in function:grfmmap 304 struct grf_softc *gp; local in function:grfon 322 struct grf_softc *gp; local in function:grfoff 346 struct grf_softc *gp; local in function:grfsinfo 364 grf_viewsync(struct grf_softc * gp) argument 417 grf_mode(struct grf_softc * gp,int cmd,void * arg,int a2,int a3) argument [all...] |
| /src/sys/dev/fdt/ |
| H A D | fdt_gpio.c | 115 struct fdtbus_gpio_pin *gp = NULL; local in function:fdtbus_gpio_acquire_index 134 gp = kmem_alloc(sizeof(*gp), KM_SLEEP); 135 gp->gp_gc = gc; 136 gp->gp_priv = gc->gc_funcs->acquire(gc->gc_dev, 138 if (gp->gp_priv == NULL) { 139 kmem_free(gp, sizeof(*gp)); 148 return gp; 152 fdtbus_gpio_release(struct fdtbus_gpio_pin *gp) argument 161 fdtbus_gpio_read(struct fdtbus_gpio_pin * gp) argument 169 fdtbus_gpio_write(struct fdtbus_gpio_pin * gp,int val) argument 177 fdtbus_gpio_read_raw(struct fdtbus_gpio_pin * gp) argument 185 fdtbus_gpio_write_raw(struct fdtbus_gpio_pin * gp,int val) argument [all...] |
| /src/sys/arch/x68k/dev/ |
| H A D | grf.c | 115 struct grf_softc *gp; local in function:grfopen 118 gp = device_lookup_private(&grf_cd, GRFUNIT(dev)); 119 if (gp == NULL) 122 if ((gp->g_flags & GF_ALIVE) == 0) 125 if ((gp->g_flags & (GF_OPEN|GF_EXCLUDE)) == (GF_OPEN|GF_EXCLUDE)) 133 if ((gp->g_flags & GF_OPEN) == 0) { 134 gp->g_flags |= GF_OPEN; 135 error = grfon(gp); 144 struct grf_softc *gp = device_lookup_private(&grf_cd, GRFUNIT(dev)); local in function:grfclose 146 if ((gp 160 struct grf_softc *gp = device_lookup_private(&grf_cd, GRFUNIT(dev)); local in function:grfioctl 212 grfon(struct grf_softc * gp) argument 227 grfoff(struct grf_softc * gp) argument 243 grfaddr(struct grf_softc * gp,off_t off) argument 263 struct grf_softc *gp = device_lookup_private(&grf_cd, GRFUNIT(dev)); local in function:grfmap 284 struct grf_softc *gp = device_lookup_private(&grf_cd, GRFUNIT(dev)); local in function:grfunmap [all...] |
| H A D | grf_machdep.c | 136 struct grf_softc *gp; local in function:grfattach 143 gp = device_private(self); 144 gp->g_device = self; 145 gp->g_cfaddr = addr; 146 grfinit(gp, addr); 149 gp->g_display.gd_dwidth, gp->g_display.gd_dheight); 150 if (gp->g_display.gd_colors == 2) 153 aprint_normal("%d colors", gp->g_display.gd_colors); 154 aprint_normal(" %s display\n", gp 172 grfinit(struct grf_softc * gp,int cfaddr) argument [all...] |
| H A D | grf_gv.c | 66 gv_init(struct grf_softc *gp, void *addr) argument 68 struct grfinfo *gi = &gp->g_display; 77 gp->g_regkva = addr; 78 gp->g_fbkva = addr; 114 gv_mode(struct grf_softc *gp, u_long cmd, void *data) argument 128 gp->g_data = data; 132 gp->g_data = 0; 137 struct grfinfo *gi = &gp->g_display;
|
| H A D | grf_tv.c | 66 cc_init(struct grf_softc *gp, void *addr) argument 68 struct grfinfo *gi = &gp->g_display; 77 gp->g_regkva = addr; 78 gp->g_fbkva = addr; 114 cc_mode(struct grf_softc *gp, u_long cmd, void *data) argument 128 gp->g_data = data; 132 gp->g_data = 0; 137 struct grfinfo *gi = &gp->g_display;
|
| /src/games/hangman/ |
| H A D | getword.c | 51 char *wp, *gp; local in function:getword 71 gp = Known; 74 *gp++ = '-'; 77 *gp = '\0';
|
| /src/lib/csu/arch/alpha/ |
| H A D | crtn.S | 36 ldq gp, 8(sp) 42 ldq gp, 8(sp)
|
| H A D | crti.S | 44 stq gp, 8(sp) 54 stq gp, 8(sp)
|
| /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
| H A D | tsan_rtl_mips64.S | 15 sd $gp,8($sp) 18 lui $gp,%hi(%neg(%gp_rel(setjmp))) 19 daddu $gp,$gp,$t9 20 daddiu $gp,$gp,%lo(%neg(%gp_rel(setjmp))) 21 move $s0,$gp 36 // restore gp 37 move $gp,$s0 43 ld $gp, [all...] |
| /src/tests/kernel/arch/alpha/ |
| H A D | contextspfunc.S | 46 ldq at_reg, contextsp(gp) !literal 48 ldq pv, contextdone(gp) !literal
|
| H A D | execsp.S | 47 ldq at_reg, startsp(gp) !literal 49 ldq pv, __start(gp) !literal 61 ldq at_reg, ctorsp(gp) !literal 81 ldq at_reg, mainsp(gp) !literal 96 ldq at_reg, dtorsp(gp) !literal 98 ldq pv, execsp_main(gp) !literal
|
| H A D | signalsphandler.S | 46 ldq at_reg, signalsp(gp) !literal
|
| /src/lib/libc/arch/hppa/gen/ |
| H A D | makecontext.c | 55 __greg_t *gp, rp, fp; local in function:makecontext 73 gp = (__greg_t *)(rp & ~3); 74 rp = gp[0]; 75 sp[-8] = gp[1]; 80 gp = (__greg_t *)(fp & ~3); 81 fp = gp[0]; 82 gr[_REG_R19] = gp[1];
|
| H A D | _lwp.c | 54 __greg_t *gp; local in function:_lwp_makecontext 68 gp = (__greg_t *)(fp & ~3); 69 fp = gp[0]; 70 gr[_REG_R19] = gp[1];
|
| /src/usr.sbin/umcpmioctl/ |
| H A D | putflash.c | 56 uint8_t *gp; local in function:mcp2221_parse_flash_gp_req 69 req->u.gp.gp0_settings = current_flash.res.mcp2221_get_flash_res.u.gp.gp0_settings; 70 req->u.gp.gp1_settings = current_flash.res.mcp2221_get_flash_res.u.gp.gp1_settings; 71 req->u.gp.gp2_settings = current_flash.res.mcp2221_get_flash_res.u.gp.gp2_settings; 72 req->u.gp.gp3_settings = current_flash.res.mcp2221_get_flash_res.u.gp.gp3_settings; 75 fprintf(stderr, "CURRENT FLASH: %02x %02x %02x %02x\n", current_flash.res.mcp2221_get_flash_res.u.gp 172 uint8_t *gp; local in function:mcp2210_parse_flash_gp_req [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/xray/ |
| H A D | xray_trampoline_mips64.S | 28 sd $gp, 128($sp) 46 lui $gp, %hi(%neg(%gp_rel(__xray_FunctionEntry))) 47 daddu $gp, $gp, $t9 48 daddiu $gp ,$gp, %lo(%neg(%gp_rel(__xray_FunctionEntry))) 79 ld $gp, 128($sp) 98 sd $gp, 48($sp) 106 lui $gp, %hi(%neg(%gp_rel(__xray_FunctionExit))) 107 daddu $gp, [all...] |
| /src/sys/arch/ia64/stand/ia64/ski/ |
| H A D | start.S | 40 movl gp=__gp 44 add r2=@gprel(stack),gp
|
| /src/lib/libc/arch/mips/sys/ |
| H A D | cerror.S | 53 PIC_PROLOGUE(__cerror) # saves caller gp in t3 (n32/n64) 58 PTR_S t3, CALLFRAME_GP(sp) # save caller gp (in t3) 68 PTR_L gp, CALLFRAME_GP(sp) # restore caller gp
|
| /src/lib/csu/arch/riscv/ |
| H A D | crt0.S | 44 lla gp, __global_pointer$
|