Home
last modified time | relevance | path

Searched refs:rep (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/OK3568_Linux_fs/external/xserver/hw/xquartz/xpr/
H A Dappledri.c92 xAppleDRIQueryVersionReply rep; in ProcAppleDRIQueryVersion() local
95 rep.type = X_Reply; in ProcAppleDRIQueryVersion()
96 rep.length = 0; in ProcAppleDRIQueryVersion()
97 rep.sequenceNumber = client->sequence; in ProcAppleDRIQueryVersion()
98 rep.majorVersion = SERVER_APPLEDRI_MAJOR_VERSION; in ProcAppleDRIQueryVersion()
99 rep.minorVersion = SERVER_APPLEDRI_MINOR_VERSION; in ProcAppleDRIQueryVersion()
100 rep.patchVersion = SERVER_APPLEDRI_PATCH_VERSION; in ProcAppleDRIQueryVersion()
102 swaps(&rep.sequenceNumber); in ProcAppleDRIQueryVersion()
103 swapl(&rep.length); in ProcAppleDRIQueryVersion()
104 swaps(&rep.majorVersion); in ProcAppleDRIQueryVersion()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/dri/
H A Dxf86dri.c82 xXF86DRIQueryVersionReply rep = { in ProcXF86DRIQueryVersion() local
93 swaps(&rep.sequenceNumber); in ProcXF86DRIQueryVersion()
94 swapl(&rep.length); in ProcXF86DRIQueryVersion()
95 swaps(&rep.majorVersion); in ProcXF86DRIQueryVersion()
96 swaps(&rep.minorVersion); in ProcXF86DRIQueryVersion()
97 swapl(&rep.patchVersion); in ProcXF86DRIQueryVersion()
99 WriteToClient(client, sizeof(xXF86DRIQueryVersionReply), &rep); in ProcXF86DRIQueryVersion()
106 xXF86DRIQueryDirectRenderingCapableReply rep; in ProcXF86DRIQueryDirectRenderingCapable() local
124 rep = (xXF86DRIQueryDirectRenderingCapableReply) { in ProcXF86DRIQueryDirectRenderingCapable()
132 swaps(&rep.sequenceNumber); in ProcXF86DRIQueryDirectRenderingCapable()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xwin/dri/
H A Dwindowsdri.c52 xWindowsDRIQueryVersionReply rep; in ProcWindowsDRIQueryVersion() local
55 rep.type = X_Reply; in ProcWindowsDRIQueryVersion()
56 rep.length = 0; in ProcWindowsDRIQueryVersion()
57 rep.sequenceNumber = client->sequence; in ProcWindowsDRIQueryVersion()
58 rep.majorVersion = SERVER_WINDOWSDRI_MAJOR_VERSION; in ProcWindowsDRIQueryVersion()
59 rep.minorVersion = SERVER_WINDOWSDRI_MINOR_VERSION; in ProcWindowsDRIQueryVersion()
60 rep.patchVersion = SERVER_WINDOWSDRI_PATCH_VERSION; in ProcWindowsDRIQueryVersion()
62 swaps(&rep.sequenceNumber); in ProcWindowsDRIQueryVersion()
63 swapl(&rep.length); in ProcWindowsDRIQueryVersion()
64 swaps(&rep.majorVersion); in ProcWindowsDRIQueryVersion()
[all …]
/OK3568_Linux_fs/external/xserver/pseudoramiX/
H A DpseudoramiX.c235 xPanoramiXGetStateReply rep; in ProcPseudoramiXGetState() local
245 rep.type = X_Reply; in ProcPseudoramiXGetState()
246 rep.length = 0; in ProcPseudoramiXGetState()
247 rep.sequenceNumber = client->sequence; in ProcPseudoramiXGetState()
248 rep.state = !noPseudoramiXExtension; in ProcPseudoramiXGetState()
249 rep.window = stuff->window; in ProcPseudoramiXGetState()
251 swaps(&rep.sequenceNumber); in ProcPseudoramiXGetState()
252 swapl(&rep.length); in ProcPseudoramiXGetState()
253 swapl(&rep.window); in ProcPseudoramiXGetState()
255 WriteToClient(client, sizeof(xPanoramiXGetStateReply),&rep); in ProcPseudoramiXGetState()
[all …]
/OK3568_Linux_fs/external/xserver/Xi/
H A Dxiquerypointer.c78 xXIQueryPointerReply rep; in ProcXIQueryPointer() local
127 rep = (xXIQueryPointerReply) { in ProcXIQueryPointer()
140 rep.mods.base_mods = state->base_mods; in ProcXIQueryPointer()
141 rep.mods.latched_mods = state->latched_mods; in ProcXIQueryPointer()
142 rep.mods.locked_mods = state->locked_mods; in ProcXIQueryPointer()
144 rep.group.base_group = state->base_group; in ProcXIQueryPointer()
145 rep.group.latched_group = state->latched_group; in ProcXIQueryPointer()
146 rep.group.locked_group = state->locked_group; in ProcXIQueryPointer()
152 rep.buttons_len = in ProcXIQueryPointer()
154 rep.length += rep.buttons_len; in ProcXIQueryPointer()
[all …]
H A Dgetfocus.c90 xGetDeviceFocusReply rep; in ProcXGetDeviceFocus() local
102 rep = (xGetDeviceFocusReply) { in ProcXGetDeviceFocus()
112 rep.focus = None; in ProcXGetDeviceFocus()
114 rep.focus = PointerRoot; in ProcXGetDeviceFocus()
116 rep.focus = FollowKeyboard; in ProcXGetDeviceFocus()
118 rep.focus = focus->win->drawable.id; in ProcXGetDeviceFocus()
120 rep.time = focus->time.milliseconds; in ProcXGetDeviceFocus()
121 rep.revertTo = focus->revert; in ProcXGetDeviceFocus()
122 WriteReplyToClient(client, sizeof(xGetDeviceFocusReply), &rep); in ProcXGetDeviceFocus()
134 SRepXGetDeviceFocus(ClientPtr client, int size, xGetDeviceFocusReply * rep) in SRepXGetDeviceFocus() argument
[all …]
H A Dsetmode.c89 xSetDeviceModeReply rep; in ProcXSetDeviceMode() local
95 rep = (xSetDeviceModeReply) { in ProcXSetDeviceMode()
112 rep.status = AlreadyGrabbed; in ProcXSetDeviceMode()
114 rep.status = SetDeviceMode(client, dev, stuff->mode); in ProcXSetDeviceMode()
116 if (rep.status == Success) in ProcXSetDeviceMode()
118 else if (rep.status != AlreadyGrabbed) { in ProcXSetDeviceMode()
119 switch (rep.status) { in ProcXSetDeviceMode()
125 rep.status = BadMode; in ProcXSetDeviceMode()
127 return rep.status; in ProcXSetDeviceMode()
130 WriteReplyToClient(client, sizeof(xSetDeviceModeReply), &rep); in ProcXSetDeviceMode()
[all …]
H A Dgetselev.c94 xGetSelectedExtensionEventsReply rep; in ProcXGetSelectedExtensionEvents() local
105 rep = (xGetSelectedExtensionEventsReply) { in ProcXGetSelectedExtensionEvents()
122 &rep.all_clients_count, COUNT); in ProcXGetSelectedExtensionEvents()
128 &rep.this_client_count, COUNT); in ProcXGetSelectedExtensionEvents()
132 total_length = (rep.all_clients_count + rep.this_client_count) * in ProcXGetSelectedExtensionEvents()
134 rep.length = bytes_to_int32(total_length); in ProcXGetSelectedExtensionEvents()
138 aclient = buf + rep.this_client_count; in ProcXGetSelectedExtensionEvents()
150 WriteReplyToClient(client, sizeof(xGetSelectedExtensionEventsReply), &rep); in ProcXGetSelectedExtensionEvents()
169 xGetSelectedExtensionEventsReply * rep) in SRepXGetSelectedExtensionEvents() argument
171 swaps(&rep->sequenceNumber); in SRepXGetSelectedExtensionEvents()
[all …]
H A Dgtmotion.c92 xGetDeviceMotionEventsReply rep; in ProcXGetDeviceMotionEvents() local
113 rep = (xGetDeviceMotionEventsReply) { in ProcXGetDeviceMotionEvents()
126 WriteReplyToClient(client, sizeof(xGetDeviceMotionEventsReply), &rep); in ProcXGetDeviceMotionEvents()
134 rep.nEvents = GetMotionHistory(dev, (xTimecoord **) &coords, /* XXX */ in ProcXGetDeviceMotionEvents()
138 if (rep.nEvents > 0) { in ProcXGetDeviceMotionEvents()
139 length = bytes_to_int32(rep.nEvents * size); in ProcXGetDeviceMotionEvents()
140 rep.length = length; in ProcXGetDeviceMotionEvents()
142 nEvents = rep.nEvents; in ProcXGetDeviceMotionEvents()
143 WriteReplyToClient(client, sizeof(xGetDeviceMotionEventsReply), &rep); in ProcXGetDeviceMotionEvents()
167 xGetDeviceMotionEventsReply * rep) in SRepXGetDeviceMotionEvents() argument
[all …]
H A Dsetdval.c89 xSetDeviceValuatorsReply rep; in ProcXSetDeviceValuators() local
95 rep = (xSetDeviceValuatorsReply) { in ProcXSetDeviceValuators()
120 rep.status = AlreadyGrabbed; in ProcXSetDeviceValuators()
122 rep.status = SetDeviceValuators(client, dev, (int *) &stuff[1], in ProcXSetDeviceValuators()
126 if (rep.status != Success && rep.status != AlreadyGrabbed) in ProcXSetDeviceValuators()
127 return rep.status; in ProcXSetDeviceValuators()
129 WriteReplyToClient(client, sizeof(xSetDeviceValuatorsReply), &rep); in ProcXSetDeviceValuators()
142 xSetDeviceValuatorsReply * rep) in SRepXSetDeviceValuators() argument
144 swaps(&rep->sequenceNumber); in SRepXSetDeviceValuators()
145 swapl(&rep->length); in SRepXSetDeviceValuators()
[all …]
H A Dgetbmap.c88 xGetDeviceButtonMappingReply rep; in ProcXGetDeviceButtonMapping() local
95 rep = (xGetDeviceButtonMappingReply) { in ProcXGetDeviceButtonMapping()
111 rep.nElts = b->numButtons; in ProcXGetDeviceButtonMapping()
112 rep.length = bytes_to_int32(rep.nElts); in ProcXGetDeviceButtonMapping()
113 WriteReplyToClient(client, sizeof(xGetDeviceButtonMappingReply), &rep); in ProcXGetDeviceButtonMapping()
114 WriteToClient(client, rep.nElts, &b->map[1]); in ProcXGetDeviceButtonMapping()
127 xGetDeviceButtonMappingReply * rep) in SRepXGetDeviceButtonMapping() argument
129 swaps(&rep->sequenceNumber); in SRepXGetDeviceButtonMapping()
130 swapl(&rep->length); in SRepXGetDeviceButtonMapping()
131 WriteToClient(client, size, rep); in SRepXGetDeviceButtonMapping()
H A Dextinit.c429 SReplyIDispatch(ClientPtr client, int len, xGrabDeviceReply * rep) in SReplyIDispatch() argument
433 if (rep->RepType == X_GetExtensionVersion) in SReplyIDispatch()
435 (xGetExtensionVersionReply *) rep); in SReplyIDispatch()
436 else if (rep->RepType == X_ListInputDevices) in SReplyIDispatch()
437 SRepXListInputDevices(client, len, (xListInputDevicesReply *) rep); in SReplyIDispatch()
438 else if (rep->RepType == X_OpenDevice) in SReplyIDispatch()
439 SRepXOpenDevice(client, len, (xOpenDeviceReply *) rep); in SReplyIDispatch()
440 else if (rep->RepType == X_SetDeviceMode) in SReplyIDispatch()
441 SRepXSetDeviceMode(client, len, (xSetDeviceModeReply *) rep); in SReplyIDispatch()
442 else if (rep->RepType == X_GetSelectedExtensionEvents) in SReplyIDispatch()
[all …]
/OK3568_Linux_fs/external/xserver/hw/dmx/
H A Ddmx.c209 xDMXQueryVersionReply rep = { in ProcDMXQueryVersion() local
221 swaps(&rep.sequenceNumber); in ProcDMXQueryVersion()
222 swapl(&rep.length); in ProcDMXQueryVersion()
223 swapl(&rep.majorVersion); in ProcDMXQueryVersion()
224 swapl(&rep.minorVersion); in ProcDMXQueryVersion()
225 swapl(&rep.patchVersion); in ProcDMXQueryVersion()
227 WriteToClient(client, sizeof(xDMXQueryVersionReply), &rep); in ProcDMXQueryVersion()
234 xDMXSyncReply rep; in ProcDMXSync() local
240 rep = (xDMXSyncReply) { in ProcDMXSync()
247 swaps(&rep.sequenceNumber); in ProcDMXSync()
[all …]
/OK3568_Linux_fs/kernel/tools/perf/
H A Dbuiltin-report.c112 struct report *rep = cb; in report__config() local
121 rep->min_percent = pcnt; in report__config()
130 return perf_config_u64(&rep->queue_size, var, value); in report__config()
145 struct report *rep = arg; in hist_iter__report_callback() local
152 if (!ui__has_annotation() && !rep->symbol_ipc) in hist_iter__report_callback()
163 } else if (rep->mem_mode) { in hist_iter__report_callback()
188 struct report *rep = arg; in hist_iter__branch_callback() local
194 branch_type_count(&rep->brtype_stat, &bi->flags, in hist_iter__branch_callback()
197 if (!ui__has_annotation() && !rep->symbol_ipc) in hist_iter__branch_callback()
220 struct report *rep = container_of(session->tool, struct report, tool); in process_feature_event() local
[all …]
/OK3568_Linux_fs/external/xserver/randr/
H A Drrxinerama.c94 xPanoramiXQueryVersionReply rep = { in ProcRRXineramaQueryVersion() local
104 swaps(&rep.sequenceNumber); in ProcRRXineramaQueryVersion()
105 swapl(&rep.length); in ProcRRXineramaQueryVersion()
106 swaps(&rep.majorVersion); in ProcRRXineramaQueryVersion()
107 swaps(&rep.minorVersion); in ProcRRXineramaQueryVersion()
109 WriteToClient(client, sizeof(xPanoramiXQueryVersionReply), &rep); in ProcRRXineramaQueryVersion()
118 xPanoramiXGetStateReply rep; in ProcRRXineramaGetState() local
136 rep = (xPanoramiXGetStateReply) { in ProcRRXineramaGetState()
144 swaps(&rep.sequenceNumber); in ProcRRXineramaGetState()
145 swapl(&rep.length); in ProcRRXineramaGetState()
[all …]
H A Drrscreen.c193 xRRGetScreenSizeRangeReply rep; in ProcRRGetScreenSizeRange() local
207 rep = (xRRGetScreenSizeRangeReply) { in ProcRRGetScreenSizeRange()
217 rep.minWidth = pScrPriv->minWidth; in ProcRRGetScreenSizeRange()
218 rep.minHeight = pScrPriv->minHeight; in ProcRRGetScreenSizeRange()
219 rep.maxWidth = pScrPriv->maxWidth; in ProcRRGetScreenSizeRange()
220 rep.maxHeight = pScrPriv->maxHeight; in ProcRRGetScreenSizeRange()
223 rep.maxWidth = rep.minWidth = pScreen->width; in ProcRRGetScreenSizeRange()
224 rep.maxHeight = rep.minHeight = pScreen->height; in ProcRRGetScreenSizeRange()
227 swaps(&rep.sequenceNumber); in ProcRRGetScreenSizeRange()
228 swapl(&rep.length); in ProcRRGetScreenSizeRange()
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/
H A Dib_rep.c11 mlx5_ib_set_vport_rep(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep) in mlx5_ib_set_vport_rep() argument
17 vport_index = rep->vport_index; in mlx5_ib_set_vport_rep()
19 ibdev->port[vport_index].rep = rep; in mlx5_ib_set_vport_rep()
20 rep->rep_data[REP_IB].priv = ibdev; in mlx5_ib_set_vport_rep()
23 mlx5_ib_get_rep_netdev(dev->priv.eswitch, rep->vport); in mlx5_ib_set_vport_rep()
30 mlx5_ib_vport_rep_load(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep) in mlx5_ib_vport_rep_load() argument
37 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5_ib_vport_rep_load()
40 return mlx5_ib_set_vport_rep(dev, rep); in mlx5_ib_vport_rep_load()
54 vport_index = rep->vport_index; in mlx5_ib_vport_rep_load()
55 ibdev->port[vport_index].rep = rep; in mlx5_ib_vport_rep_load()
[all …]
/OK3568_Linux_fs/external/xserver/dri3/
H A Ddri3_request.c53 xDRI3QueryVersionReply rep = { in proc_dri3_query_version() local
65 rep.minorVersion = 0; in proc_dri3_query_version()
72 rep.minorVersion = 0; in proc_dri3_query_version()
84 if (rep.majorVersion > stuff->majorVersion || in proc_dri3_query_version()
85 (rep.majorVersion == stuff->majorVersion && in proc_dri3_query_version()
86 rep.minorVersion > stuff->minorVersion)) { in proc_dri3_query_version()
87 rep.majorVersion = stuff->majorVersion; in proc_dri3_query_version()
88 rep.minorVersion = stuff->minorVersion; in proc_dri3_query_version()
92 swaps(&rep.sequenceNumber); in proc_dri3_query_version()
93 swapl(&rep.length); in proc_dri3_query_version()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/dri2/
H A Ddri2ext.c76 xDRI2QueryVersionReply rep = { in ProcDRI2QueryVersion() local
90 swaps(&rep.sequenceNumber); in ProcDRI2QueryVersion()
91 swapl(&rep.length); in ProcDRI2QueryVersion()
92 swapl(&rep.majorVersion); in ProcDRI2QueryVersion()
93 swapl(&rep.minorVersion); in ProcDRI2QueryVersion()
96 WriteToClient(client, sizeof(xDRI2QueryVersionReply), &rep); in ProcDRI2QueryVersion()
105 xDRI2ConnectReply rep = { in ProcDRI2Connect() local
126 rep.driverNameLength = strlen(driverName); in ProcDRI2Connect()
127 rep.deviceNameLength = strlen(deviceName); in ProcDRI2Connect()
128 rep.length = (rep.driverNameLength + 3) / 4 + in ProcDRI2Connect()
[all …]
/OK3568_Linux_fs/external/xserver/test/xi2/
H A Dprotocol-xiquerypointer.c57 xXIQueryPointerReply *rep = (xXIQueryPointerReply *) data; in reply_XIQueryPointer() local
60 if (!rep->repType) in reply_XIQueryPointer()
64 swapl(&rep->length); in reply_XIQueryPointer()
65 swaps(&rep->sequenceNumber); in reply_XIQueryPointer()
66 swapl(&rep->root); in reply_XIQueryPointer()
67 swapl(&rep->child); in reply_XIQueryPointer()
68 swapl(&rep->root_x); in reply_XIQueryPointer()
69 swapl(&rep->root_y); in reply_XIQueryPointer()
70 swapl(&rep->win_x); in reply_XIQueryPointer()
71 swapl(&rep->win_y); in reply_XIQueryPointer()
[all …]
/OK3568_Linux_fs/external/xserver/Xext/
H A Dxres.c196 xXResQueryVersionReply rep = { in ProcXResQueryVersion() local
207 swaps(&rep.sequenceNumber); in ProcXResQueryVersion()
208 swapl(&rep.length); in ProcXResQueryVersion()
209 swaps(&rep.server_major); in ProcXResQueryVersion()
210 swaps(&rep.server_minor); in ProcXResQueryVersion()
212 WriteToClient(client, sizeof(xXResQueryVersionReply), &rep); in ProcXResQueryVersion()
220 xXResQueryClientsReply rep; in ProcXResQueryClients() local
236 rep = (xXResQueryClientsReply) { in ProcXResQueryClients()
243 swaps(&rep.sequenceNumber); in ProcXResQueryClients()
244 swapl(&rep.length); in ProcXResQueryClients()
[all …]
H A Dvidmode.c198 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()
[all …]
H A Dxcmisc.c48 xXCMiscGetVersionReply rep = { in ProcXCMiscGetVersion() local
59 swaps(&rep.sequenceNumber); in ProcXCMiscGetVersion()
60 swaps(&rep.majorVersion); in ProcXCMiscGetVersion()
61 swaps(&rep.minorVersion); in ProcXCMiscGetVersion()
63 WriteToClient(client, sizeof(xXCMiscGetVersionReply), &rep); in ProcXCMiscGetVersion()
70 xXCMiscGetXIDRangeReply rep; in ProcXCMiscGetXIDRange() local
75 rep = (xXCMiscGetXIDRangeReply) { in ProcXCMiscGetXIDRange()
83 swaps(&rep.sequenceNumber); in ProcXCMiscGetXIDRange()
84 swapl(&rep.start_id); in ProcXCMiscGetXIDRange()
85 swapl(&rep.count); in ProcXCMiscGetXIDRange()
[all …]
/OK3568_Linux_fs/external/xserver/xkb/
H A Dxkb.c174 xkbUseExtensionReply rep; in ProcXkbUseExtension() local
198 rep = (xkbUseExtensionReply) { in ProcXkbUseExtension()
207 swaps(&rep.sequenceNumber); in ProcXkbUseExtension()
208 swaps(&rep.serverMajor); in ProcXkbUseExtension()
209 swaps(&rep.serverMinor); in ProcXkbUseExtension()
211 WriteToClient(client, SIZEOF(xkbUseExtensionReply), &rep); in ProcXkbUseExtension()
584 xkbGetStateReply rep; in ProcXkbGetState() local
595 rep = (xkbGetStateReply) { in ProcXkbGetState()
612 swaps(&rep.sequenceNumber); in ProcXkbGetState()
613 swaps(&rep.ptrBtnState); in ProcXkbGetState()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c176 struct mlx5_eswitch_rep *rep = rpriv->rep; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local
181 err = mlx5_eswitch_get_vport_stats(esw, rep->vport, &vf_stats); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
184 rep->vport, err); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
378 struct mlx5_eswitch_rep *rep) in mlx5e_sqs2vport_stop() argument
386 rpriv = mlx5e_rep_to_rep_priv(rep); in mlx5e_sqs2vport_stop()
395 struct mlx5_eswitch_rep *rep, in mlx5e_sqs2vport_start() argument
407 rpriv = mlx5e_rep_to_rep_priv(rep); in mlx5e_sqs2vport_start()
417 rep->vport, in mlx5e_sqs2vport_start()
430 mlx5e_sqs2vport_stop(esw, rep); in mlx5e_sqs2vport_start()
438 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_add_sqs_fwd_rules() local
[all …]

12345678910>>...14