Lines Matching refs:rep
198 xXF86VidModeQueryVersionReply rep = { in ProcVidModeQueryVersion() local
211 swaps(&rep.sequenceNumber); in ProcVidModeQueryVersion()
212 swapl(&rep.length); in ProcVidModeQueryVersion()
213 swaps(&rep.majorVersion); in ProcVidModeQueryVersion()
214 swaps(&rep.minorVersion); in ProcVidModeQueryVersion()
216 WriteToClient(client, sizeof(xXF86VidModeQueryVersionReply), &rep); in ProcVidModeQueryVersion()
224 xXF86VidModeGetModeLineReply rep = { in ProcVidModeGetModeLine() local
240 rep.length = bytes_to_int32(SIZEOF(xXF86OldVidModeGetModeLineReply) - in ProcVidModeGetModeLine()
244 rep.length = bytes_to_int32(SIZEOF(xXF86VidModeGetModeLineReply) - in ProcVidModeGetModeLine()
258 rep.dotclock = dotClock; in ProcVidModeGetModeLine()
259 rep.hdisplay = VidModeGetModeValue(mode, VIDMODE_H_DISPLAY); in ProcVidModeGetModeLine()
260 rep.hsyncstart = VidModeGetModeValue(mode, VIDMODE_H_SYNCSTART); in ProcVidModeGetModeLine()
261 rep.hsyncend = VidModeGetModeValue(mode, VIDMODE_H_SYNCEND); in ProcVidModeGetModeLine()
262 rep.htotal = VidModeGetModeValue(mode, VIDMODE_H_TOTAL); in ProcVidModeGetModeLine()
263 rep.hskew = VidModeGetModeValue(mode, VIDMODE_H_SKEW); in ProcVidModeGetModeLine()
264 rep.vdisplay = VidModeGetModeValue(mode, VIDMODE_V_DISPLAY); in ProcVidModeGetModeLine()
265 rep.vsyncstart = VidModeGetModeValue(mode, VIDMODE_V_SYNCSTART); in ProcVidModeGetModeLine()
266 rep.vsyncend = VidModeGetModeValue(mode, VIDMODE_V_SYNCEND); in ProcVidModeGetModeLine()
267 rep.vtotal = VidModeGetModeValue(mode, VIDMODE_V_TOTAL); in ProcVidModeGetModeLine()
268 rep.flags = VidModeGetModeValue(mode, VIDMODE_FLAGS); in ProcVidModeGetModeLine()
271 stuff->screen, (unsigned long) rep.dotclock); in ProcVidModeGetModeLine()
273 rep.hdisplay, rep.hsyncstart, rep.hsyncend, rep.htotal); in ProcVidModeGetModeLine()
275 rep.vdisplay, rep.vsyncstart, rep.vsyncend, in ProcVidModeGetModeLine()
276 rep.vtotal, (unsigned long) rep.flags); in ProcVidModeGetModeLine()
283 rep.privsize = 0; in ProcVidModeGetModeLine()
286 swaps(&rep.sequenceNumber); in ProcVidModeGetModeLine()
287 swapl(&rep.length); in ProcVidModeGetModeLine()
288 swapl(&rep.dotclock); in ProcVidModeGetModeLine()
289 swaps(&rep.hdisplay); in ProcVidModeGetModeLine()
290 swaps(&rep.hsyncstart); in ProcVidModeGetModeLine()
291 swaps(&rep.hsyncend); in ProcVidModeGetModeLine()
292 swaps(&rep.htotal); in ProcVidModeGetModeLine()
293 swaps(&rep.hskew); in ProcVidModeGetModeLine()
294 swaps(&rep.vdisplay); in ProcVidModeGetModeLine()
295 swaps(&rep.vsyncstart); in ProcVidModeGetModeLine()
296 swaps(&rep.vsyncend); in ProcVidModeGetModeLine()
297 swaps(&rep.vtotal); in ProcVidModeGetModeLine()
298 swapl(&rep.flags); in ProcVidModeGetModeLine()
299 swapl(&rep.privsize); in ProcVidModeGetModeLine()
303 .type = rep.type, in ProcVidModeGetModeLine()
304 .sequenceNumber = rep.sequenceNumber, in ProcVidModeGetModeLine()
305 .length = rep.length, in ProcVidModeGetModeLine()
306 .dotclock = rep.dotclock, in ProcVidModeGetModeLine()
307 .hdisplay = rep.hdisplay, in ProcVidModeGetModeLine()
308 .hsyncstart = rep.hsyncstart, in ProcVidModeGetModeLine()
309 .hsyncend = rep.hsyncend, in ProcVidModeGetModeLine()
310 .htotal = rep.htotal, in ProcVidModeGetModeLine()
311 .vdisplay = rep.vdisplay, in ProcVidModeGetModeLine()
312 .vsyncstart = rep.vsyncstart, in ProcVidModeGetModeLine()
313 .vsyncend = rep.vsyncend, in ProcVidModeGetModeLine()
314 .vtotal = rep.vtotal, in ProcVidModeGetModeLine()
315 .flags = rep.flags, in ProcVidModeGetModeLine()
316 .privsize = rep.privsize in ProcVidModeGetModeLine()
321 WriteToClient(client, sizeof(xXF86VidModeGetModeLineReply), &rep); in ProcVidModeGetModeLine()
330 xXF86VidModeGetAllModeLinesReply rep; in ProcVidModeGetAllModeLines() local
356 rep = (xXF86VidModeGetAllModeLinesReply) { in ProcVidModeGetAllModeLines()
364 rep.length += modecount * sizeof(xXF86OldVidModeModeInfo); in ProcVidModeGetAllModeLines()
366 rep.length += modecount * sizeof(xXF86VidModeModeInfo); in ProcVidModeGetAllModeLines()
367 rep.length >>= 2; in ProcVidModeGetAllModeLines()
369 swaps(&rep.sequenceNumber); in ProcVidModeGetAllModeLines()
370 swapl(&rep.length); in ProcVidModeGetAllModeLines()
371 swapl(&rep.modecount); in ProcVidModeGetAllModeLines()
373 WriteToClient(client, sizeof(xXF86VidModeGetAllModeLinesReply), &rep); in ProcVidModeGetAllModeLines()
876 xXF86VidModeValidateModeLineReply rep; in ProcVidModeValidateModeLine() local
980 rep = (xXF86VidModeValidateModeLineReply) { in ProcVidModeValidateModeLine()
988 swaps(&rep.sequenceNumber); in ProcVidModeValidateModeLine()
989 swapl(&rep.length); in ProcVidModeValidateModeLine()
990 swapl(&rep.status); in ProcVidModeValidateModeLine()
992 WriteToClient(client, sizeof(xXF86VidModeValidateModeLineReply), &rep); in ProcVidModeValidateModeLine()
1159 xXF86VidModeGetMonitorReply rep = { in ProcVidModeGetMonitor() local
1184 rep.vendorLength = strlen((char *) (pVidMode->GetMonitorValue(pScreen, in ProcVidModeGetMonitor()
1188 rep.vendorLength = 0; in ProcVidModeGetMonitor()
1190 rep.modelLength = strlen((char *) (pVidMode->GetMonitorValue(pScreen, in ProcVidModeGetMonitor()
1194 rep.modelLength = 0; in ProcVidModeGetMonitor()
1195 rep.length = in ProcVidModeGetMonitor()
1199 pad_to_int32(rep.vendorLength) + in ProcVidModeGetMonitor()
1200 pad_to_int32(rep.modelLength)); in ProcVidModeGetMonitor()
1201 rep.nhsync = nHsync; in ProcVidModeGetMonitor()
1202 rep.nvsync = nVrefresh; in ProcVidModeGetMonitor()
1232 swaps(&rep.sequenceNumber); in ProcVidModeGetMonitor()
1233 swapl(&rep.length); in ProcVidModeGetMonitor()
1235 WriteToClient(client, SIZEOF(xXF86VidModeGetMonitorReply), &rep); in ProcVidModeGetMonitor()
1239 if (rep.vendorLength) in ProcVidModeGetMonitor()
1240 WriteToClient(client, rep.vendorLength, in ProcVidModeGetMonitor()
1242 if (rep.modelLength) in ProcVidModeGetMonitor()
1243 WriteToClient(client, rep.modelLength, in ProcVidModeGetMonitor()
1256 xXF86VidModeGetViewPortReply rep; in ProcVidModeGetViewPort() local
1275 rep = (xXF86VidModeGetViewPortReply) { in ProcVidModeGetViewPort()
1284 swaps(&rep.sequenceNumber); in ProcVidModeGetViewPort()
1285 swapl(&rep.length); in ProcVidModeGetViewPort()
1286 swapl(&rep.x); in ProcVidModeGetViewPort()
1287 swapl(&rep.y); in ProcVidModeGetViewPort()
1289 WriteToClient(client, SIZEOF(xXF86VidModeGetViewPortReply), &rep); in ProcVidModeGetViewPort()
1322 xXF86VidModeGetDotClocksReply rep; in ProcVidModeGetDotClocks() local
1345 rep = (xXF86VidModeGetDotClocksReply) { in ProcVidModeGetDotClocks()
1365 rep.flags |= CLKFLAG_PROGRAMABLE; in ProcVidModeGetDotClocks()
1368 swaps(&rep.sequenceNumber); in ProcVidModeGetDotClocks()
1369 swapl(&rep.length); in ProcVidModeGetDotClocks()
1370 swapl(&rep.clocks); in ProcVidModeGetDotClocks()
1371 swapl(&rep.maxclocks); in ProcVidModeGetDotClocks()
1372 swapl(&rep.flags); in ProcVidModeGetDotClocks()
1374 WriteToClient(client, sizeof(xXF86VidModeGetDotClocksReply), &rep); in ProcVidModeGetDotClocks()
1422 xXF86VidModeGetGammaReply rep; in ProcVidModeGetGamma() local
1441 rep = (xXF86VidModeGetGammaReply) { in ProcVidModeGetGamma()
1450 swaps(&rep.sequenceNumber); in ProcVidModeGetGamma()
1451 swapl(&rep.length); in ProcVidModeGetGamma()
1452 swapl(&rep.red); in ProcVidModeGetGamma()
1453 swapl(&rep.green); in ProcVidModeGetGamma()
1454 swapl(&rep.blue); in ProcVidModeGetGamma()
1456 WriteToClient(client, sizeof(xXF86VidModeGetGammaReply), &rep); in ProcVidModeGetGamma()
1503 xXF86VidModeGetGammaRampReply rep; in ProcVidModeGetGammaRamp() local
1535 rep = (xXF86VidModeGetGammaRampReply) { in ProcVidModeGetGammaRamp()
1542 swaps(&rep.sequenceNumber); in ProcVidModeGetGammaRamp()
1543 swapl(&rep.length); in ProcVidModeGetGammaRamp()
1544 swaps(&rep.size); in ProcVidModeGetGammaRamp()
1547 WriteToClient(client, sizeof(xXF86VidModeGetGammaRampReply), &rep); in ProcVidModeGetGammaRamp()
1561 xXF86VidModeGetGammaRampSizeReply rep; in ProcVidModeGetGammaRampSize() local
1577 rep = (xXF86VidModeGetGammaRampSizeReply) { in ProcVidModeGetGammaRampSize()
1584 swaps(&rep.sequenceNumber); in ProcVidModeGetGammaRampSize()
1585 swapl(&rep.length); in ProcVidModeGetGammaRampSize()
1586 swaps(&rep.size); in ProcVidModeGetGammaRampSize()
1588 WriteToClient(client, sizeof(xXF86VidModeGetGammaRampSizeReply), &rep); in ProcVidModeGetGammaRampSize()
1596 xXF86VidModeGetPermissionsReply rep = { in ProcVidModeGetPermissions() local
1611 rep.permissions |= XF86VM_WRITE_PERMISSION; in ProcVidModeGetPermissions()
1614 swaps(&rep.sequenceNumber); in ProcVidModeGetPermissions()
1615 swapl(&rep.length); in ProcVidModeGetPermissions()
1616 swapl(&rep.permissions); in ProcVidModeGetPermissions()
1618 WriteToClient(client, sizeof(xXF86VidModeGetPermissionsReply), &rep); in ProcVidModeGetPermissions()