Home
last modified time | relevance | path

Searched refs:wdf (Results 1 – 25 of 37) sorted by relevance

12

/openbsd/sys/arch/sparc64/dev/
H A Dgfb.c106 struct wsdisplay_fbinfo *wdf; in gfb_ioctl() local
116 wdf = (void *)data; in gfb_ioctl()
117 wdf->height = sc->sc_sunfb.sf_height; in gfb_ioctl()
118 wdf->width = sc->sc_sunfb.sf_width; in gfb_ioctl()
119 wdf->depth = sc->sc_sunfb.sf_depth; in gfb_ioctl()
120 wdf->stride = sc->sc_sunfb.sf_linebytes; in gfb_ioctl()
121 wdf->offset = 0; in gfb_ioctl()
122 wdf->cmsize = 256; in gfb_ioctl()
H A Dvgafb.c194 struct wsdisplay_fbinfo *wdf; in vgafb_ioctl() local
210 wdf = (void *)data; in vgafb_ioctl()
211 wdf->height = sc->sc_sunfb.sf_height; in vgafb_ioctl()
212 wdf->width = sc->sc_sunfb.sf_width; in vgafb_ioctl()
213 wdf->depth = sc->sc_sunfb.sf_depth; in vgafb_ioctl()
214 wdf->stride = sc->sc_sunfb.sf_linebytes; in vgafb_ioctl()
215 wdf->offset = 0; in vgafb_ioctl()
216 wdf->cmsize = 256; in vgafb_ioctl()
H A Dradeonfb.c244 struct wsdisplay_fbinfo *wdf; in radeonfb_ioctl() local
267 wdf = (void *)data; in radeonfb_ioctl()
268 wdf->height = sc->sc_sunfb.sf_height; in radeonfb_ioctl()
269 wdf->width = sc->sc_sunfb.sf_width; in radeonfb_ioctl()
270 wdf->depth = sc->sc_sunfb.sf_depth; in radeonfb_ioctl()
271 wdf->stride = sc->sc_sunfb.sf_linebytes; in radeonfb_ioctl()
272 wdf->offset = 0; in radeonfb_ioctl()
274 wdf->cmsize = 0; in radeonfb_ioctl()
276 wdf->cmsize = 256; in radeonfb_ioctl()
H A Dgfxp.c256 struct wsdisplay_fbinfo *wdf; in gfxp_ioctl() local
273 wdf = (void *)data; in gfxp_ioctl()
274 wdf->height = sc->sc_sunfb.sf_height; in gfxp_ioctl()
275 wdf->width = sc->sc_sunfb.sf_width; in gfxp_ioctl()
276 wdf->depth = sc->sc_sunfb.sf_depth; in gfxp_ioctl()
277 wdf->stride = sc->sc_sunfb.sf_linebytes; in gfxp_ioctl()
278 wdf->offset = 0; in gfxp_ioctl()
280 wdf->cmsize = 0; in gfxp_ioctl()
282 wdf->cmsize = 256; in gfxp_ioctl()
H A Draptor.c243 struct wsdisplay_fbinfo *wdf; in raptor_ioctl() local
256 wdf = (void *)data; in raptor_ioctl()
257 wdf->height = sc->sc_sunfb.sf_height; in raptor_ioctl()
258 wdf->width = sc->sc_sunfb.sf_width; in raptor_ioctl()
259 wdf->depth = sc->sc_sunfb.sf_depth; in raptor_ioctl()
260 wdf->stride = sc->sc_sunfb.sf_linebytes; in raptor_ioctl()
261 wdf->offset = 0; in raptor_ioctl()
262 wdf->cmsize = 256; in raptor_ioctl()
/openbsd/sys/dev/sbus/
H A Dbwtwo.c208 struct wsdisplay_fbinfo *wdf; in bwtwo_ioctl() local
215 wdf = (void *)data; in bwtwo_ioctl()
216 wdf->height = sc->sc_sunfb.sf_height; in bwtwo_ioctl()
217 wdf->width = sc->sc_sunfb.sf_width; in bwtwo_ioctl()
218 wdf->depth = sc->sc_sunfb.sf_depth; in bwtwo_ioctl()
219 wdf->stride = sc->sc_sunfb.sf_linebytes; in bwtwo_ioctl()
220 wdf->offset = 0; in bwtwo_ioctl()
221 wdf->cmsize = 0; in bwtwo_ioctl()
H A Dtvtwo.c301 struct wsdisplay_fbinfo *wdf; in tvtwo_ioctl() local
312 wdf = (struct wsdisplay_fbinfo *)data; in tvtwo_ioctl()
313 wdf->height = sc->sc_sunfb.sf_height; in tvtwo_ioctl()
314 wdf->width = sc->sc_sunfb.sf_width; in tvtwo_ioctl()
315 wdf->depth = 32; in tvtwo_ioctl()
316 wdf->stride = sc->sc_sunfb.sf_linebytes * 4; in tvtwo_ioctl()
317 wdf->offset = 0; in tvtwo_ioctl()
318 wdf->cmsize = 0; in tvtwo_ioctl()
H A Dagten.c227 struct wsdisplay_fbinfo *wdf; in agten_ioctl() local
235 wdf = (struct wsdisplay_fbinfo *)data; in agten_ioctl()
236 wdf->height = sc->sc_sunfb.sf_height; in agten_ioctl()
237 wdf->width = sc->sc_sunfb.sf_width; in agten_ioctl()
238 wdf->depth = sc->sc_sunfb.sf_depth; in agten_ioctl()
239 wdf->stride = sc->sc_sunfb.sf_linebytes; in agten_ioctl()
240 wdf->offset = 0; in agten_ioctl()
241 wdf->cmsize = (sc->sc_sunfb.sf_depth == 8) ? 256 : 0; in agten_ioctl()
H A Dcgtwelve.c266 struct wsdisplay_fbinfo *wdf; in cgtwelve_ioctl() local
278 wdf = (struct wsdisplay_fbinfo *)data; in cgtwelve_ioctl()
279 wdf->height = sc->sc_sunfb.sf_height; in cgtwelve_ioctl()
280 wdf->width = sc->sc_sunfb.sf_width; in cgtwelve_ioctl()
281 wdf->depth = 32; in cgtwelve_ioctl()
282 wdf->stride = sc->sc_sunfb.sf_linebytes * 32; in cgtwelve_ioctl()
283 wdf->offset = 0; in cgtwelve_ioctl()
284 wdf->cmsize = 0; in cgtwelve_ioctl()
H A Drfx.c312 struct wsdisplay_fbinfo *wdf; in rfx_ioctl() local
320 wdf = (struct wsdisplay_fbinfo *)data; in rfx_ioctl()
321 wdf->height = sc->sc_sunfb.sf_height; in rfx_ioctl()
322 wdf->width = sc->sc_sunfb.sf_width; in rfx_ioctl()
323 wdf->depth = sc->sc_sunfb.sf_depth; in rfx_ioctl()
324 wdf->stride = sc->sc_sunfb.sf_linebytes; in rfx_ioctl()
325 wdf->offset = 0; in rfx_ioctl()
326 wdf->cmsize = 256; in rfx_ioctl()
H A Dvigra.c321 struct wsdisplay_fbinfo *wdf; in vigra_ioctl() local
329 wdf = (struct wsdisplay_fbinfo *)data; in vigra_ioctl()
330 wdf->height = sc->sc_sunfb.sf_height; in vigra_ioctl()
331 wdf->width = sc->sc_sunfb.sf_width; in vigra_ioctl()
332 wdf->depth = sc->sc_sunfb.sf_depth; in vigra_ioctl()
333 wdf->stride = sc->sc_sunfb.sf_linebytes; in vigra_ioctl()
334 wdf->offset = 0; in vigra_ioctl()
335 wdf->cmsize = 256; in vigra_ioctl()
H A Dcgthree.c269 struct wsdisplay_fbinfo *wdf; in cgthree_ioctl() local
281 wdf = (void *)data; in cgthree_ioctl()
282 wdf->height = sc->sc_sunfb.sf_height; in cgthree_ioctl()
283 wdf->width = sc->sc_sunfb.sf_width; in cgthree_ioctl()
284 wdf->depth = sc->sc_sunfb.sf_depth; in cgthree_ioctl()
285 wdf->stride = sc->sc_sunfb.sf_linebytes; in cgthree_ioctl()
286 wdf->offset = 0; in cgthree_ioctl()
287 wdf->cmsize = 256; in cgthree_ioctl()
H A Dmgx.c350 struct wsdisplay_fbinfo *wdf; in mgx_ioctl() local
358 wdf = (struct wsdisplay_fbinfo *)data; in mgx_ioctl()
359 wdf->height = sc->sc_sunfb.sf_height; in mgx_ioctl()
360 wdf->width = sc->sc_sunfb.sf_width; in mgx_ioctl()
361 wdf->depth = sc->sc_sunfb.sf_depth; in mgx_ioctl()
362 wdf->stride = sc->sc_sunfb.sf_linebytes; in mgx_ioctl()
363 wdf->offset = 0; in mgx_ioctl()
364 wdf->cmsize = 256; in mgx_ioctl()
H A Dzx.c315 struct wsdisplay_fbinfo *wdf; in zx_ioctl() local
327 wdf = (struct wsdisplay_fbinfo *)data; in zx_ioctl()
328 wdf->height = sc->sc_sunfb.sf_height; in zx_ioctl()
329 wdf->width = sc->sc_sunfb.sf_width; in zx_ioctl()
330 wdf->depth = 32; in zx_ioctl()
331 wdf->stride = sc->sc_sunfb.sf_linebytes; in zx_ioctl()
332 wdf->offset = 0; in zx_ioctl()
333 wdf->cmsize = 0; in zx_ioctl()
/openbsd/sys/arch/powerpc64/dev/
H A Dastfb.c193 struct wsdisplay_fbinfo *wdf; in astfb_wsioctl() local
200 wdf = (void *)data; in astfb_wsioctl()
201 wdf->width = ri->ri_width; in astfb_wsioctl()
202 wdf->height = ri->ri_height; in astfb_wsioctl()
203 wdf->depth = ri->ri_depth; in astfb_wsioctl()
204 wdf->stride = ri->ri_stride; in astfb_wsioctl()
205 wdf->offset = 0; in astfb_wsioctl()
206 wdf->cmsize = 0; /* color map is unavailable */ in astfb_wsioctl()
/openbsd/sys/dev/fdt/
H A Dsimplefb.c243 struct wsdisplay_fbinfo *wdf; in simplefb_wsioctl() local
258 wdf = (struct wsdisplay_fbinfo *)data; in simplefb_wsioctl()
259 wdf->width = ri->ri_width; in simplefb_wsioctl()
260 wdf->height = ri->ri_height; in simplefb_wsioctl()
261 wdf->depth = ri->ri_depth; in simplefb_wsioctl()
262 wdf->stride = ri->ri_stride; in simplefb_wsioctl()
263 wdf->offset = sc->sc_paddr & PAGE_MASK; in simplefb_wsioctl()
264 wdf->cmsize = 0; /* color map is unavailable */ in simplefb_wsioctl()
H A Drkdrm.c249 struct wsdisplay_fbinfo *wdf; in rkdrm_wsioctl() local
264 wdf = (struct wsdisplay_fbinfo *)data; in rkdrm_wsioctl()
265 wdf->width = ri->ri_width; in rkdrm_wsioctl()
266 wdf->height = ri->ri_height; in rkdrm_wsioctl()
267 wdf->depth = ri->ri_depth; in rkdrm_wsioctl()
268 wdf->stride = ri->ri_stride; in rkdrm_wsioctl()
269 wdf->offset = 0; in rkdrm_wsioctl()
270 wdf->cmsize = 0; in rkdrm_wsioctl()
/openbsd/sys/dev/pci/drm/apple/
H A Dapldrm.c127 struct wsdisplay_fbinfo *wdf; in apldrm_wsioctl() local
137 wdf = (struct wsdisplay_fbinfo *)data; in apldrm_wsioctl()
138 wdf->width = ri->ri_width; in apldrm_wsioctl()
139 wdf->height = ri->ri_height; in apldrm_wsioctl()
140 wdf->depth = ri->ri_depth; in apldrm_wsioctl()
141 wdf->stride = ri->ri_stride; in apldrm_wsioctl()
142 wdf->offset = 0; /* XXX */ in apldrm_wsioctl()
143 wdf->cmsize = 0; in apldrm_wsioctl()
/openbsd/sys/arch/macppc/pci/
H A Dvgafb.c219 struct wsdisplay_fbinfo *wdf; in vgafb_ioctl() local
227 wdf = (struct wsdisplay_fbinfo *)data; in vgafb_ioctl()
228 wdf->width = ri->ri_width; in vgafb_ioctl()
229 wdf->height = ri->ri_height; in vgafb_ioctl()
230 wdf->depth = ri->ri_depth; in vgafb_ioctl()
231 wdf->stride = ri->ri_stride; in vgafb_ioctl()
232 wdf->offset = 0; in vgafb_ioctl()
233 wdf->cmsize = 256; in vgafb_ioctl()
/openbsd/sys/arch/amd64/amd64/
H A Defifb.c272 struct wsdisplay_fbinfo *wdf; in efifb_ioctl() local
289 wdf = (struct wsdisplay_fbinfo *)data; in efifb_ioctl()
290 wdf->width = ri->ri_width; in efifb_ioctl()
291 wdf->height = ri->ri_height; in efifb_ioctl()
292 wdf->depth = ri->ri_depth; in efifb_ioctl()
293 wdf->stride = ri->ri_stride; in efifb_ioctl()
294 wdf->offset = 0; in efifb_ioctl()
295 wdf->cmsize = 0; /* color map is unavailable */ in efifb_ioctl()
/openbsd/sys/arch/loongson/dev/
H A Dsisfb.c291 struct wsdisplay_fbinfo *wdf; in sisfb_ioctl() local
299 wdf = (struct wsdisplay_fbinfo *)data; in sisfb_ioctl()
300 wdf->width = ri->ri_width; in sisfb_ioctl()
301 wdf->height = ri->ri_height; in sisfb_ioctl()
302 wdf->depth = ri->ri_depth; in sisfb_ioctl()
303 wdf->stride = ri->ri_stride; in sisfb_ioctl()
304 wdf->offset = 0; in sisfb_ioctl()
305 wdf->cmsize = 256; in sisfb_ioctl()
H A Dradeonfb.c286 struct wsdisplay_fbinfo *wdf; in radeonfb_ioctl() local
305 wdf = (struct wsdisplay_fbinfo *)data; in radeonfb_ioctl()
306 wdf->width = ri->ri_width; in radeonfb_ioctl()
307 wdf->height = ri->ri_height; in radeonfb_ioctl()
308 wdf->depth = ri->ri_depth; in radeonfb_ioctl()
309 wdf->stride = ri->ri_stride; in radeonfb_ioctl()
310 wdf->offset = 0; in radeonfb_ioctl()
311 wdf->cmsize = 0; in radeonfb_ioctl()
H A Dsmfb.c273 struct wsdisplay_fbinfo *wdf; in smfb_ioctl() local
280 wdf = (struct wsdisplay_fbinfo *)data; in smfb_ioctl()
281 wdf->width = ri->ri_width; in smfb_ioctl()
282 wdf->height = ri->ri_height; in smfb_ioctl()
283 wdf->depth = ri->ri_depth; in smfb_ioctl()
284 wdf->stride = ri->ri_stride; in smfb_ioctl()
285 wdf->offset = 0; in smfb_ioctl()
286 wdf->cmsize = 0; in smfb_ioctl()
/openbsd/sys/dev/pcmcia/
H A Dcfxga.c583 struct wsdisplay_fbinfo *wdf; in cfxga_ioctl() local
592 wdf = (struct wsdisplay_fbinfo *)data; in cfxga_ioctl()
596 wdf->height = wdf->width = wdf->depth = 0; in cfxga_ioctl()
597 wdf->stride = wdf->offset = wdf->cmsize = 0; in cfxga_ioctl()
599 wdf->height = scr->scr_ri.ri_height; in cfxga_ioctl()
600 wdf->width = scr->scr_ri.ri_width; in cfxga_ioctl()
601 wdf->depth = scr->scr_ri.ri_depth; in cfxga_ioctl()
602 wdf->stride = scr->scr_ri.ri_stride; in cfxga_ioctl()
603 wdf->offset = 0; in cfxga_ioctl()
604 wdf->cmsize = scr->scr_ri.ri_depth <= 8 ? in cfxga_ioctl()
/openbsd/sys/arch/armv7/omap/
H A Damdisplay.c586 struct wsdisplay_fbinfo *wdf; in amdisplay_ioctl() local
593 wdf = (struct wsdisplay_fbinfo *)data; in amdisplay_ioctl()
594 wdf->width = ri->ri_width; in amdisplay_ioctl()
595 wdf->height = ri->ri_height; in amdisplay_ioctl()
596 wdf->depth = ri->ri_depth; in amdisplay_ioctl()
597 wdf->stride = ri->ri_stride; in amdisplay_ioctl()
598 wdf->offset = 0; in amdisplay_ioctl()
599 wdf->cmsize = 0; in amdisplay_ioctl()

12