/src/sys/arch/mac68k/dev/ |
grf_subr.c | 49 struct grfmode *gm = &sc->curr_mode; local in function:grf_establish 53 printf("%s: %d x %d, ", device_xname(sc->sc_dev), gm->width, gm->height); 54 if (gm->psize == 1) 57 printf("%hu-bpp color\n", gm->psize); 61 ga.ga_grfmode = gm;
|
grf_compat.c | 218 struct grfmode *gm; local in function:grfioctl 266 gm = (struct grfmode *)data; 267 memset(gm, 0, sizeof(struct grfmode)); 268 gm->fbbase = (char *)dc->dc_vaddr; 269 gm->fbsize = dc->dc_size; 270 gm->fboff = dc->dc_offset; 271 gm->rowbytes = dc->dc_rowbytes; 272 gm->width = dc->dc_wid; 273 gm->height = dc->dc_ht; 274 gm->psize = dc->dc_depth [all...] |
genfb_grfbus.c | 244 struct grfmode *gm = ga->ga_grfmode; local in function:genfb_grfbus_attach 248 sc->sc_width = gm->width; 249 sc->sc_height = gm->height; 254 sc->sc_depth = gm->psize == 16 ? 15 : gm->psize; 256 sc->sc_stride = gm->rowbytes; 257 sc->sc_paddr = ga->ga_phys + gm->fboff; 258 sc->sc_vaddr = (vaddr_t)gm->fbbase + gm->fboff;
|
macfb.c | 194 struct grfmode *gm = ga->ga_grfmode; local in function:macfb_attach 211 sc->sc_dc->dc_vaddr = (vaddr_t)gm->fbbase; 213 sc->sc_dc->dc_size = gm->fbsize; 215 sc->sc_dc->dc_wid = gm->width; 216 sc->sc_dc->dc_ht = gm->height; 217 sc->sc_dc->dc_depth = gm->psize; 218 sc->sc_dc->dc_rowbytes = gm->rowbytes; 220 sc->sc_dc->dc_offset = gm->fboff;
|
/src/usr.sbin/makefs/cd9660/ |
cd9660_conversion.c | 156 struct tm t, gm; local in function:cd9660_compute_gm_offset 159 (void)gmtime_r(&tim, &gm); 160 gm.tm_year -= t.tm_year; 161 gm.tm_yday -= t.tm_yday; 162 gm.tm_hour -= t.tm_hour; 163 gm.tm_min -= t.tm_min; 164 if (gm.tm_year < 0) 165 gm.tm_yday = -1; 166 else if (gm.tm_year > 0) 167 gm.tm_yday = 1 [all...] |
/src/sys/arch/mac68k/obio/ |
grf_obio.c | 198 struct grfmode *gm; local in function:grfiv_attach 360 gm = &(sc->curr_mode); 361 gm->mode_id = 0; 362 gm->psize = mac68k_video.mv_depth; 363 gm->ptype = 0; 364 gm->width = mac68k_video.mv_width; 365 gm->height = mac68k_video.mv_height; 366 gm->rowbytes = mac68k_video.mv_stride; 367 gm->hres = 80; /* XXX hack */ 368 gm->vres = 80; /* XXX hack * [all...] |
/src/sys/arch/mac68k/nubus/ |
grf_nubus.c | 137 struct grfmode *gm; local in function:grfmv_attach 200 gm = &sc->curr_mode; 201 gm->mode_id = mode; 202 gm->ptype = image.pixelType; 203 gm->psize = image.pixelSize; 204 gm->width = image.right - image.left; 205 gm->height = image.bottom - image.top; 206 gm->rowbytes = image.rowbytes; 207 gm->hres = image.hRes; 208 gm->vres = image.vRes [all...] |
/src/sys/arch/prep/pci/ |
gten.c | 246 struct grfinfo *gm; local in function:gten_ioctl
|
/src/sys/arch/macppc/dev/ |
ofb.c | 253 struct grfinfo *gm; local in function:ofb_ioctl 281 gm = (void *)data; 282 memset(gm, 0, sizeof(struct grfinfo)); 283 gm->gd_fbaddr = (void *)sc->sc_fbaddr; 284 gm->gd_fbrowbytes = ms->scr_ri.ri_stride;
|
/src/sys/external/bsd/drm2/dist/drm/i915/gvt/ |
gvt.h | 80 /* GM resources owned by a vGPU */ 188 struct intel_vgpu_gm gm; member in struct:intel_vgpu 236 /* validating GM healthy status*/ 315 struct intel_gvt_gm gm; member in struct:intel_gvt 373 /* Aperture/GM space definitions for GVT device */ 381 /* Aperture/GM space definitions for GVT device */ 401 /* Aperture/GM space definitions for vGPU */ 402 #define vgpu_aperture_offset(vgpu) ((vgpu)->gm.low_gm_node.start) 403 #define vgpu_hidden_offset(vgpu) ((vgpu)->gm.high_gm_node.start) 404 #define vgpu_aperture_sz(vgpu) ((vgpu)->gm.aperture_sz [all...] |