Home
last modified time | relevance | path

Searched refs:deviceid (Results 1 – 25 of 138) sorted by relevance

123456

/OK3568_Linux_fs/external/xserver/test/xi2/
H A Dprotocol-xiwarppointer.c70 assert(client->errorValue == req->deviceid); in request_XIWarpPointer()
85 swaps(&req->deviceid); in request_XIWarpPointer()
91 assert(client->errorValue == req->deviceid); in request_XIWarpPointer()
112 request.deviceid = XIAllDevices; in test_XIWarpPointer()
115 request.deviceid = XIAllMasterDevices; in test_XIWarpPointer()
120 request.deviceid = devices.vcp->id; in test_XIWarpPointer()
122 request.deviceid = devices.vck->id; in test_XIWarpPointer()
124 request.deviceid = devices.mouse->id; in test_XIWarpPointer()
126 request.deviceid = devices.kbd->id; in test_XIWarpPointer()
130 request.deviceid = devices.mouse->id; in test_XIWarpPointer()
[all …]
H A Dprotocol-xisetclientpointer.c65 assert(client_request.errorValue == req->deviceid); in request_XISetClientPointer()
70 swaps(&req->deviceid); in request_XISetClientPointer()
75 assert(client_request.errorValue == req->deviceid); in request_XISetClientPointer()
90 request.deviceid = XIAllDevices; in test_XISetClientPointer()
93 request.deviceid = XIAllMasterDevices; in test_XISetClientPointer()
97 request.deviceid = devices.vcp->id; /* 2 */ in test_XISetClientPointer()
101 request.deviceid = devices.vck->id; /* 3 */ in test_XISetClientPointer()
107 request.deviceid = i; in test_XISetClientPointer()
113 request.deviceid = devices.vcp->id; /* 2 */ in test_XISetClientPointer()
119 request.deviceid = devices.vcp->id; in test_XISetClientPointer()
H A Dprotocol-xiquerypointer.c120 assert(client_request.errorValue == req->deviceid); in request_XIQueryPointer()
123 swaps(&req->deviceid); in request_XIQueryPointer()
130 assert(client_request.errorValue == req->deviceid); in request_XIQueryPointer()
147 request.deviceid = XIAllDevices; in test_XIQueryPointer()
150 request.deviceid = XIAllMasterDevices; in test_XIQueryPointer()
157 request.deviceid = devices.vcp->id; in test_XIQueryPointer()
159 request.deviceid = devices.vck->id; in test_XIQueryPointer()
161 request.deviceid = devices.mouse->id; in test_XIQueryPointer()
163 request.deviceid = devices.kbd->id; in test_XIQueryPointer()
168 request.deviceid = devices.mouse->id; in test_XIQueryPointer()
[all …]
H A Dprotocol-xiquerydevice.c103 swaps(&info->deviceid); in reply_XIQueryDevice_data()
111 assert(info->deviceid == querydata->which_device); in reply_XIQueryDevice_data()
113 assert(info->deviceid >= 2); /* 0 and 1 is reserved */ in reply_XIQueryDevice_data()
115 switch (info->deviceid) { in reply_XIQueryDevice_data()
159 switch (info->deviceid) { in reply_XIQueryDevice_data()
223 if (info->deviceid == 2) /* VCP */ in reply_XIQueryDevice_data()
255 if (info->deviceid == 2) /* VCP */ in reply_XIQueryDevice_data()
278 request_XIQueryDevice(struct test_data *querydata, int deviceid, int error) in request_XIQueryDevice() argument
288 querydata->which_device = deviceid; in request_XIQueryDevice()
290 request.deviceid = deviceid; in request_XIQueryDevice()
[all …]
H A Dprotocol-eventconvert.c53 swaps(&out->deviceid); in test_values_XIRawEvent()
65 assert(out->deviceid == in->deviceid); in test_values_XIRawEvent()
241 in.deviceid = 1; in test_convert_XIRawEvent()
243 in.deviceid = 1 << 8; in test_convert_XIRawEvent()
245 in.deviceid = ~0 & 0xFF; in test_convert_XIRawEvent()
282 swaps(&out->deviceid); in test_values_XIDeviceEvent()
308 assert(out->deviceid == in->deviceid); in test_values_XIDeviceEvent()
428 in.deviceid = 1; in test_convert_XIDeviceEvent()
472 in.deviceid = 1; in test_convert_XIDeviceEvent()
474 in.deviceid = 1 << 8; in test_convert_XIDeviceEvent()
[all …]
H A Dprotocol-xiselectevents.c106 swaps(&mask->deviceid); in request_XISelectEvent()
154 mask->deviceid = XIAllDevices; in request_XISelectEvents_masks()
223 mask->deviceid = XIAllDevices; in request_XISelectEvents_masks()
226 mask->deviceid = j; in request_XISelectEvents_masks()
240 mask->deviceid = j; in request_XISelectEvents_masks()
305 mask->deviceid = 0; in test_XISelectEvents()
313 mask->deviceid = i; in test_XISelectEvents()
325 mask->deviceid = i; in test_XISelectEvents()
H A Dprotocol-xipassivegrabdevice.c148 swaps(&req->deviceid); in request_XIPassiveGrabDevice()
183 request->deviceid = 12; in test_XIPassiveGrabDevice()
185 request->deviceid); in test_XIPassiveGrabDevice()
194 request->deviceid = XIAllMasterDevices; in test_XIPassiveGrabDevice()
229 request->deviceid = XIAllDevices; in test_XIPassiveGrabDevice()
/OK3568_Linux_fs/external/xserver/Xi/
H A Dxiselectev.c47 static int check_for_touch_selection_conflicts(ClientPtr B, WindowPtr win, int deviceid) in check_for_touch_selection_conflicts() argument
60 if (deviceid == XIAllDevices) in check_for_touch_selection_conflicts()
62 else if (deviceid == XIAllMasterDevices) in check_for_touch_selection_conflicts()
65 dixLookupDevice(&tmp, deviceid, serverClient, DixReadAccess); in check_for_touch_selection_conflicts()
71 if (deviceid == XIAllDevices) in check_for_touch_selection_conflicts()
77 if (deviceid == XIAllMasterDevices) in check_for_touch_selection_conflicts()
132 swaps(&evmask->deviceid); in SProcXISelectEvents()
176 if (evmask->deviceid != XIAllDevices && in ProcXISelectEvents()
177 evmask->deviceid != XIAllMasterDevices) in ProcXISelectEvents()
178 rc = dixLookupDevice(&dev, evmask->deviceid, client, DixUseAccess); in ProcXISelectEvents()
[all …]
H A Dxisetclientpointer.c58 swaps(&stuff->deviceid); in SProcXISetClientPointer()
72 rc = dixLookupDevice(&pDev, stuff->deviceid, client, DixManageAccess); in ProcXISetClientPointer()
74 client->errorValue = stuff->deviceid; in ProcXISetClientPointer()
79 client->errorValue = stuff->deviceid; in ProcXISetClientPointer()
98 client->errorValue = stuff->deviceid; in ProcXISetClientPointer()
H A Dxibarriers.c72 int deviceid; member
110 pbd->deviceid = -1; /* must be set by caller */ in AllocBarrierDevice()
130 static struct PointerBarrierDevice *GetBarrierDevice(struct PointerBarrierClient *c, int deviceid) in GetBarrierDevice() argument
135 if (pbd->deviceid == deviceid) in GetBarrierDevice()
406 .deviceid = dev->id, in input_constrain_cursor()
612 pbd->deviceid = dev->id; in CreatePointerBarrierClient()
685 ev.deviceid = dev->id; in BarrierFreeBarrier()
709 int *deviceid = devid; in add_master_func() local
716 pbd->deviceid = *deviceid; in add_master_func()
729 int *deviceid = devid; in remove_master_func() local
[all …]
H A Dxipassivegrab.c59 swaps(&stuff->deviceid); in SProcXIPassiveGrabDevice()
101 if (stuff->deviceid == XIAllDevices) in ProcXIPassiveGrabDevice()
103 else if (stuff->deviceid == XIAllMasterDevices) in ProcXIPassiveGrabDevice()
106 ret = dixLookupDevice(&dev, stuff->deviceid, client, DixGrabAccess); in ProcXIPassiveGrabDevice()
108 client->errorValue = stuff->deviceid; in ProcXIPassiveGrabDevice()
145 xi2mask_set_one_mask(mask.xi2mask, stuff->deviceid, in ProcXIPassiveGrabDevice()
269 swaps(&stuff->deviceid); in SProcXIPassiveUngrabDevice()
296 if (stuff->deviceid == XIAllDevices) in ProcXIPassiveUngrabDevice()
298 else if (stuff->deviceid == XIAllMasterDevices) in ProcXIPassiveUngrabDevice()
301 rc = dixLookupDevice(&dev, stuff->deviceid, client, DixGrabAccess); in ProcXIPassiveUngrabDevice()
H A Dxichangehierarchy.c85 info->deviceid = dev->id; in XISendDeviceHierarchyEvent()
93 info->deviceid = dev->id; in XISendDeviceHierarchyEvent()
103 info->deviceid = i; in XISendDeviceHierarchyEvent()
227 rc = dixLookupDevice(&ptr, r->deviceid, client, DixDestroyAccess); in remove_master()
232 client->errorValue = r->deviceid; in remove_master()
338 rc = dixLookupDevice(&dev, c->deviceid, client, DixManageAccess); in detach_slave()
343 client->errorValue = c->deviceid; in detach_slave()
350 client->errorValue = c->deviceid; in detach_slave()
370 rc = dixLookupDevice(&dev, c->deviceid, client, DixManageAccess); in attach_slave()
375 client->errorValue = c->deviceid; in attach_slave()
[all …]
H A Dxiquerydevice.c48 static Bool ShouldSkipDevice(ClientPtr client, int deviceid, DeviceIntPtr d);
60 swaps(&stuff->deviceid); in SProcXIQueryDevice()
78 if (stuff->deviceid != XIAllDevices && in ProcXIQueryDevice()
79 stuff->deviceid != XIAllMasterDevices) { in ProcXIQueryDevice()
80 rc = dixLookupDevice(&dev, stuff->deviceid, client, DixGetAttrAccess); in ProcXIQueryDevice()
82 client->errorValue = stuff->deviceid; in ProcXIQueryDevice()
93 skip[i] = ShouldSkipDevice(client, stuff->deviceid, dev); in ProcXIQueryDevice()
99 skip[i] = ShouldSkipDevice(client, stuff->deviceid, dev); in ProcXIQueryDevice()
174 ShouldSkipDevice(ClientPtr client, int deviceid, DeviceIntPtr dev) in ShouldSkipDevice() argument
177 if (deviceid == XIAllDevices || IsMaster(dev)) { in ShouldSkipDevice()
[all …]
H A Dxisetdevfocus.c50 swaps(&stuff->deviceid); in SProcXISetFocus()
64 swaps(&stuff->deviceid); in SProcXIGetFocus()
78 ret = dixLookupDevice(&dev, stuff->deviceid, client, DixSetFocusAccess); in ProcXISetFocus()
98 ret = dixLookupDevice(&dev, stuff->deviceid, client, DixGetFocusAccess); in ProcXIGetFocus()
H A Dxigrabdev.c57 swaps(&stuff->deviceid); in SProcXIGrabDevice()
81 ret = dixLookupDevice(&dev, stuff->deviceid, client, DixGrabAccess); in ProcXIGrabDevice()
142 swaps(&stuff->deviceid); in SProcXIUngrabDevice()
159 ret = dixLookupDevice(&dev, stuff->deviceid, client, DixGetAttrAccess); in ProcXIUngrabDevice()
H A Dxiwarppointer.c70 swaps(&stuff->deviceid); in SProcXIWarpPointer()
91 rc = dixLookupDevice(&pDev, stuff->deviceid, client, DixWriteAccess); in ProcXIWarpPointer()
94 client->errorValue = stuff->deviceid; in ProcXIWarpPointer()
100 client->errorValue = stuff->deviceid; in ProcXIWarpPointer()
H A Dxiproperty.c190 .deviceid = dev->id, in send_property_event()
200 .deviceid = dev->id, in send_property_event()
862 rc = dixLookupDevice(&dev, stuff->deviceid, client, DixListPropAccess); in ProcXListDeviceProperties()
899 rc = dixLookupDevice(&dev, stuff->deviceid, client, DixSetPropAccess); in ProcXChangeDeviceProperty()
927 rc = dixLookupDevice(&dev, stuff->deviceid, client, DixSetPropAccess); in ProcXDeleteDeviceProperty()
954 rc = dixLookupDevice(&dev, stuff->deviceid, client, in ProcXGetDeviceProperty()
975 .deviceid = dev->id in ProcXGetDeviceProperty()
1101 rc = dixLookupDevice(&dev, stuff->deviceid, client, DixListPropAccess); in ProcXIListProperties()
1138 rc = dixLookupDevice(&dev, stuff->deviceid, client, DixSetPropAccess); in ProcXIChangeProperty()
1166 rc = dixLookupDevice(&dev, stuff->deviceid, client, DixSetPropAccess); in ProcXIDeleteProperty()
[all …]
H A Dxiquerypointer.c69 swaps(&stuff->deviceid); in SProcXIQueryPointer()
100 rc = dixLookupDevice(&pDev, stuff->deviceid, client, DixReadAccess); in ProcXIQueryPointer()
102 client->errorValue = stuff->deviceid; in ProcXIQueryPointer()
107 client->errorValue = stuff->deviceid; in ProcXIQueryPointer()
/OK3568_Linux_fs/kernel/drivers/parport/
H A Ddaisy.c108 char *deviceid; in parport_daisy_init() local
176 deviceid = kmalloc(1024, GFP_KERNEL); in parport_daisy_init()
177 if (deviceid) { in parport_daisy_init()
178 if (parport_device_id(numdevs - 1, deviceid, 1024) > 2) in parport_daisy_init()
181 kfree(deviceid); in parport_daisy_init()
434 char *deviceid; in assign_addrs() local
499 deviceid = kmalloc(1024, GFP_KERNEL); in assign_addrs()
500 if (!deviceid) return 0; in assign_addrs()
503 parport_device_id(thisdev, deviceid, 1024); in assign_addrs()
505 kfree(deviceid); in assign_addrs()
/OK3568_Linux_fs/external/xserver/dix/
H A Dinpututils.c99 .deviceid = dev->id, in do_butmap_change()
750 event->deviceid = dev->id; in init_device_event()
1144 xi2mask_set(XI2Mask *mask, int deviceid, int event_type) in xi2mask_set() argument
1146 BUG_WARN(deviceid < 0); in xi2mask_set()
1147 BUG_WARN(deviceid >= mask->nmasks); in xi2mask_set()
1150 SetBit(mask->masks[deviceid], event_type); in xi2mask_set()
1158 xi2mask_zero(XI2Mask *mask, int deviceid) in xi2mask_zero() argument
1162 BUG_WARN(deviceid > 0 && deviceid >= mask->nmasks); in xi2mask_zero()
1164 if (deviceid >= 0) in xi2mask_zero()
1165 memset(mask->masks[deviceid], 0, mask->mask_size); in xi2mask_zero()
[all …]
H A Deventconvert.c304 if (ev->detail.button > 0xFF || ev->deviceid >= 0x80) { in eventToKeyButtonPointer()
342 kbp->deviceid = ev->deviceid; in eventToKeyButtonPointer()
348 kbp->deviceid |= MORE_EVENTS; in eventToKeyButtonPointer()
421 dixLookupDevice(&dev, ev->deviceid, serverClient, DixUseAccess); in getValuatorEvents()
436 xv->deviceid = ev->deviceid; in getValuatorEvents()
445 xv->deviceid |= MORE_EVENTS; in getValuatorEvents()
588 dcce->deviceid = dce->deviceid; in eventToDeviceChanged()
678 xde->deviceid = ev->deviceid; in eventToDeviceEvent()
737 xtoe->deviceid = ev->deviceid; in eventToTouchOwnershipEvent()
769 raw->deviceid = ev->deviceid; in eventToRawEvent()
[all …]
/OK3568_Linux_fs/external/xserver/include/
H A Dinpututils.h65 void xi2mask_set(XI2Mask *mask, int deviceid, int event_type);
66 void xi2mask_zero(XI2Mask *mask, int deviceid);
70 void xi2mask_set_one_mask(XI2Mask *xi2mask, int deviceid,
72 const unsigned char *xi2mask_get_one_mask(const XI2Mask *xi2mask, int deviceid);
H A Deventstr.h101 int deviceid; /**< Device to post this event for */ member
149 int deviceid; /**< Device to post this event for */ member
174 int deviceid; /**< Device whose capabilities have changed */ member
230 int deviceid; /**< Device to post this event for */ member
249 int deviceid; /**< Device to post this event for */ member
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/
H A Dpci.c1874 u16 deviceid; in _rtl_pci_find_adapter() local
1881 deviceid = pdev->device; in _rtl_pci_find_adapter()
1891 if (deviceid == RTL_PCI_8192SE_DID && in _rtl_pci_find_adapter()
1895 if (deviceid == RTL_PCI_8192_DID || in _rtl_pci_find_adapter()
1896 deviceid == RTL_PCI_0044_DID || in _rtl_pci_find_adapter()
1897 deviceid == RTL_PCI_0047_DID || in _rtl_pci_find_adapter()
1898 deviceid == RTL_PCI_8192SE_DID || in _rtl_pci_find_adapter()
1899 deviceid == RTL_PCI_8174_DID || in _rtl_pci_find_adapter()
1900 deviceid == RTL_PCI_8173_DID || in _rtl_pci_find_adapter()
1901 deviceid == RTL_PCI_8172_DID || in _rtl_pci_find_adapter()
[all …]
/OK3568_Linux_fs/kernel/drivers/mfd/
H A Dda9052-i2c.c160 const struct of_device_id *deviceid; in da9052_i2c_probe() local
162 deviceid = of_match_node(dialog_dt_ids, np); in da9052_i2c_probe()
163 id = deviceid->data; in da9052_i2c_probe()

123456