Home
last modified time | relevance | path

Searched refs:pDev (Results 1 – 25 of 88) sorted by relevance

1234

/OK3568_Linux_fs/kernel/drivers/net/usb/GobiNet/
H A DQMIDevice.c236 static u8 QMIXactionIDGet( sGobiUSBNet *pDev) in QMIXactionIDGet() argument
240 if( 0 == (transactionID = atomic_add_return( 1, &pDev->mQMIDev.mQMICTLTransactionID)) ) in QMIXactionIDGet()
242 transactionID = atomic_add_return( 1, &pDev->mQMIDev.mQMICTLTransactionID ); in QMIXactionIDGet()
251 spin_lock_irqsave( &pDev->mQMIDev.mClientMemLock, flags ); in QMIXactionIDGet()
252 while (PopFromReadMemList( pDev, in QMIXactionIDGet()
260 spin_unlock_irqrestore( &pDev->mQMIDev.mClientMemLock, flags ); in QMIXactionIDGet()
303 static bool IsDeviceValid( sGobiUSBNet * pDev ) in IsDeviceValid() argument
305 if (pDev == NULL) in IsDeviceValid()
310 if (pDev->mbQMIValid == false) in IsDeviceValid()
389 sGobiUSBNet * pDev, in QuecGobiSetDownReason() argument
[all …]
H A DQMIDevice.h108 static bool IsDeviceValid( sGobiUSBNet * pDev );
140 sGobiUSBNet * pDev,
148 sGobiUSBNet * pDev,
155 sGobiUSBNet * pDev,
169 sGobiUSBNet * pDev,
180 sGobiUSBNet * pDev,
185 sGobiUSBNet * pDev,
190 sGobiUSBNet * pDev,
195 sGobiUSBNet * pDev,
204 sGobiUSBNet * pDev,
[all …]
H A DGobiUSBNet.c380 struct usbnet * pDev = netdev_priv( pNet ); in bridge_mode_show() local
381 sGobiUSBNet * pGobiDev = (sGobiUSBNet *)pDev->data[0]; in bridge_mode_show()
404 struct usbnet * pDev = netdev_priv( pNet ); in bridge_mode_store() local
405 sGobiUSBNet * pGobiDev = (sGobiUSBNet *)pDev->data[0]; in bridge_mode_store()
427 struct usbnet * pDev = netdev_priv( pNet ); in bridge_ipv4_show() local
428 sGobiUSBNet * pGobiDev = (sGobiUSBNet *)pDev->data[0]; in bridge_ipv4_show()
448 struct usbnet * pDev = netdev_priv( pNet ); in bridge_ipv4_store() local
449 sGobiUSBNet * pGobiDev = (sGobiUSBNet *)pDev->data[0]; in bridge_ipv4_store()
907 static int qmap_register_device(sGobiUSBNet * pDev, u8 offset_id) in qmap_register_device() argument
909 struct net_device *real_dev = pDev->mpNetDev->net; in qmap_register_device()
[all …]
/OK3568_Linux_fs/external/xserver/mi/
H A Dmisprite.c208 static void miSpriteComputeSaved(DeviceIntPtr pDev, ScreenPtr pScreen);
210 static Bool miSpriteDeviceCursorInitialize(DeviceIntPtr pDev,
212 static void miSpriteDeviceCursorCleanup(DeviceIntPtr pDev, ScreenPtr pScreen);
223 static Bool miSpriteRealizeCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
225 static Bool miSpriteUnrealizeCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
227 static void miSpriteSetCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
229 static void miSpriteMoveCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
245 static void miSpriteRemoveCursor(DeviceIntPtr pDev, ScreenPtr pScreen);
246 static void miSpriteSaveUnderCursor(DeviceIntPtr pDev, ScreenPtr pScreen);
247 static void miSpriteRestoreCursor(DeviceIntPtr pDev, ScreenPtr pScreen);
[all …]
H A Dmipointer.c93 static Bool miPointerRealizeCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
95 static Bool miPointerUnrealizeCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
97 static Bool miPointerDisplayCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
99 static void miPointerConstrainCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
101 static void miPointerCursorLimits(DeviceIntPtr pDev, ScreenPtr pScreen,
104 static Bool miPointerSetCursorPosition(DeviceIntPtr pDev, ScreenPtr pScreen,
107 static void miPointerMove(DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y);
108 static Bool miPointerDeviceInitialize(DeviceIntPtr pDev, ScreenPtr pScreen);
109 static void miPointerDeviceCleanup(DeviceIntPtr pDev, ScreenPtr pScreen);
110 static void miPointerMoveNoEvent(DeviceIntPtr pDev, ScreenPtr pScreen, int x,
[all …]
/OK3568_Linux_fs/external/xserver/dix/
H A Dgetevents.c93 set_button_down(DeviceIntPtr pDev, int button, int type) in set_button_down() argument
96 SetBit(pDev->button->down, button); in set_button_down()
98 SetBit(pDev->button->postdown, button); in set_button_down()
102 set_button_up(DeviceIntPtr pDev, int button, int type) in set_button_up() argument
105 ClearBit(pDev->button->down, button); in set_button_up()
107 ClearBit(pDev->button->postdown, button); in set_button_up()
111 button_is_down(DeviceIntPtr pDev, int button, int type) in button_is_down() argument
116 ret = ret || BitIsOn(pDev->button->down, button); in button_is_down()
118 ret = ret || BitIsOn(pDev->button->postdown, button); in button_is_down()
124 set_key_down(DeviceIntPtr pDev, int key_code, int type) in set_key_down() argument
[all …]
H A Devents.c211 static void CheckVirtualMotion(DeviceIntPtr pDev, QdEventPtr qe,
213 static void CheckPhysLimits(DeviceIntPtr pDev, CursorPtr cursor,
307 DevHasCursor(DeviceIntPtr pDev) in DevHasCursor() argument
309 return pDev->spriteInfo->spriteOwner; in DevHasCursor()
505 static void PostNewCursor(DeviceIntPtr pDev);
508 XineramaSetCursorPosition(DeviceIntPtr pDev, int x, int y, Bool generateEvent) in XineramaSetCursorPosition() argument
512 SpritePtr pSprite = pDev->spriteInfo->sprite; in XineramaSetCursorPosition()
539 return (*pScreen->SetCursorPosition) (pDev, pScreen, x, y, generateEvent); in XineramaSetCursorPosition()
543 XineramaConstrainCursor(DeviceIntPtr pDev) in XineramaConstrainCursor() argument
545 SpritePtr pSprite = pDev->spriteInfo->sprite; in XineramaConstrainCursor()
[all …]
/OK3568_Linux_fs/external/xserver/hw/dmx/input/
H A Ddmxcommon.h74 DevicePtr pDev = &pDevice->public; \
75 DMXLocalInputInfoPtr dmxLocal = pDev->devicePrivate
85 DMXLocalInputInfoPtr dmxLocal = pDev->devicePrivate
101 extern void dmxCommonKbdGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
102 extern void dmxCommonKbdGetMap(DevicePtr pDev,
104 extern void dmxCommonKbdCtrl(DevicePtr pDev, KeybdCtrl * ctrl);
105 extern void dmxCommonKbdBell(DevicePtr pDev, int percent,
107 extern int dmxCommonKbdOn(DevicePtr pDev);
108 extern void dmxCommonKbdOff(DevicePtr pDev);
109 extern void dmxCommonMouGetMap(DevicePtr pDev,
[all …]
H A Dusb-mouse.c51 = ((DMXLocalInputInfoPtr)(pDev->devicePrivate))->private
70 mouUSBRead(DevicePtr pDev, in mouUSBRead() argument
74 usbRead(pDev, motion, enqueue, BTN_MISC, block); in mouUSBRead()
79 mouUSBInit(DevicePtr pDev) in mouUSBInit() argument
81 usbInit(pDev, usbMouse); in mouUSBInit()
86 mouUSBOn(DevicePtr pDev) in mouUSBOn() argument
91 mouUSBInit(pDev); in mouUSBOn()
96 mouUSBGetMap(DevicePtr pDev, unsigned char *map, int *nButtons) in mouUSBGetMap() argument
110 mouUSBGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info) in mouUSBGetInfo() argument
115 mouUSBGetMap(pDev, info->map, &info->numButtons); in mouUSBGetInfo()
H A Dusb-other.c53 = ((DMXLocalInputInfoPtr)(pDev->devicePrivate))->private
72 othUSBRead(DevicePtr pDev, in othUSBRead() argument
76 usbRead(pDev, motion, enqueue, 0xffff, block); in othUSBRead()
81 othUSBInit(DevicePtr pDev) in othUSBInit() argument
83 usbInit(pDev, usbOther); in othUSBInit()
88 othUSBOn(DevicePtr pDev) in othUSBOn() argument
93 othUSBInit(pDev); in othUSBOn()
100 othUSBGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info) in othUSBGetInfo() argument
H A Dusb-other.h39 extern void othUSBRead(DevicePtr pDev,
43 extern void othUSBInit(DevicePtr pDev);
44 extern void othUSBGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
45 extern int othUSBOn(DevicePtr pDev);
46 extern void othUSBCtrl(DevicePtr pDev, PtrCtrl * ctrl);
H A Dusb-mouse.h39 extern void mouUSBRead(DevicePtr pDev,
43 extern void mouUSBInit(DevicePtr pDev);
44 extern void mouUSBGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
45 extern int mouUSBOn(DevicePtr pDev);
46 extern void mouUSBCtrl(DevicePtr pDev, PtrCtrl * ctrl);
H A Dusb-keyboard.h39 extern void kbdUSBInit(DevicePtr pDev);
40 extern void kbdUSBGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
41 extern int kbdUSBOn(DevicePtr pDev);
42 extern void kbdUSBRead(DevicePtr pDev,
46 extern void kbdUSBCtrl(DevicePtr pDev, KeybdCtrl * ctrl);
/OK3568_Linux_fs/external/xserver/Xi/
H A Dxiquerypointer.c79 DeviceIntPtr pDev, kbd; in ProcXIQueryPointer() local
100 rc = dixLookupDevice(&pDev, stuff->deviceid, client, DixReadAccess); in ProcXIQueryPointer()
106 …if (pDev->valuator == NULL || IsKeyboardDevice(pDev) || (!IsMaster(pDev) && !IsFloating(pDev))) { … in ProcXIQueryPointer()
117 if (pDev->valuator->motionHintWindow) in ProcXIQueryPointer()
118 MaybeStopHint(pDev, client); in ProcXIQueryPointer()
120 if (IsMaster(pDev)) in ProcXIQueryPointer()
121 kbd = GetMaster(pDev, MASTER_KEYBOARD); in ProcXIQueryPointer()
123 kbd = (pDev->key) ? pDev : NULL; in ProcXIQueryPointer()
125 pSprite = pDev->spriteInfo->sprite; in ProcXIQueryPointer()
132 .root = (GetCurrentRootWindow(pDev))->drawable.id, in ProcXIQueryPointer()
[all …]
H A Dxiwarppointer.c80 DeviceIntPtr pDev; in ProcXIWarpPointer() local
91 rc = dixLookupDevice(&pDev, stuff->deviceid, client, DixWriteAccess); in ProcXIWarpPointer()
98 if ((!IsMaster(pDev) && !IsFloating(pDev)) || in ProcXIWarpPointer()
99 (IsMaster(pDev) && !IsPointerDevice(pDev))) { in ProcXIWarpPointer()
112 pSprite = pDev->spriteInfo->sprite; in ProcXIWarpPointer()
177 ConfineToShape(pDev, pSprite->hotShape, &x, &y); in ProcXIWarpPointer()
178 (*newScreen->SetCursorPosition) (pDev, newScreen, x, y, TRUE); in ProcXIWarpPointer()
180 else if (!PointerConfinedToScreen(pDev)) { in ProcXIWarpPointer()
181 NewCurrentScreen(pDev, newScreen, x, y); in ProcXIWarpPointer()
185 pDev->last.valuators[0] = x; in ProcXIWarpPointer()
[all …]
H A Dxisetclientpointer.c65 DeviceIntPtr pDev; in ProcXISetClientPointer() local
72 rc = dixLookupDevice(&pDev, stuff->deviceid, client, DixManageAccess); in ProcXISetClientPointer()
78 if (!IsMaster(pDev)) { in ProcXISetClientPointer()
83 pDev = GetMaster(pDev, MASTER_POINTER); in ProcXISetClientPointer()
96 rc = SetClientPointer(targetClient, pDev); in ProcXISetClientPointer()
/OK3568_Linux_fs/external/xserver/render/
H A Danimcur.c105 AnimCurCursorLimits(DeviceIntPtr pDev, in AnimCurCursorLimits() argument
115 (*pScreen->CursorLimits) (pDev, pScreen, ac->elts[0].pCursor, in AnimCurCursorLimits()
119 (*pScreen->CursorLimits) (pDev, pScreen, pCursor, pHotBox, pTopLeftBox); in AnimCurCursorLimits()
156 AnimCurCancelTimer(DeviceIntPtr pDev) in AnimCurCancelTimer() argument
158 CursorPtr cur = pDev->spriteInfo->sprite ? in AnimCurCancelTimer()
159 pDev->spriteInfo->sprite->current : NULL; in AnimCurCancelTimer()
166 AnimCurDisplayCursor(DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCursor) in AnimCurDisplayCursor() argument
171 if (IsFloating(pDev)) in AnimCurDisplayCursor()
176 if (pCursor != pDev->spriteInfo->sprite->current) { in AnimCurDisplayCursor()
179 AnimCurCancelTimer(pDev); in AnimCurDisplayCursor()
[all …]
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Ddpt_i2o.c192 struct pci_dev *pDev = NULL; in adpt_detect() local
199 while ((pDev = pci_get_device( PCI_DPT_VENDOR_ID, PCI_ANY_ID, pDev))) { in adpt_detect()
200 if(pDev->device == PCI_DPT_DEVICE_ID || in adpt_detect()
201 pDev->device == PCI_DPT_RAPTOR_DEVICE_ID){ in adpt_detect()
202 if(adpt_install_hba(sht, pDev) ){ in adpt_detect()
207 pci_dev_get(pDev); in adpt_detect()
328 buf = dma_alloc_coherent(&pHba->pDev->dev, 80, &addr, GFP_KERNEL); in adpt_inquiry()
392 dma_free_coherent(&pHba->pDev->dev, 80, buf, addr); in adpt_inquiry()
401 dma_free_coherent(&pHba->pDev->dev, 80, buf, addr); in adpt_inquiry()
422 struct adpt_device* pDev = NULL; /* dpt per device information */ in adpt_queue_lck() local
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/ramdac/
H A Dxf86CursorRD.c43 static void xf86CursorRecolorCursor(DeviceIntPtr pDev, ScreenPtr, CursorPtr,
186 xf86CursorRecolorCursor(DeviceIntPtr pDev, in xf86CursorRecolorCursor() argument
197 (*ScreenPriv->RecolorCursor) (pDev, pScreen, pCurs, displayed); in xf86CursorRecolorCursor()
207 DeviceIntPtr pDev = inputInfo.pointer; in xf86CursorEnableDisableFBAccess() local
217 xf86CursorSetCursor(pDev, pScreen, NullCursor, ScreenPriv->x, in xf86CursorEnableDisableFBAccess()
232 xf86CursorSetCursor(pDev, pScreen, ScreenPriv->SavedCursor, in xf86CursorEnableDisableFBAccess()
269 xf86CursorRealizeCursor(DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCurs) in xf86CursorRealizeCursor() argument
279 return (*ScreenPriv->spriteFuncs->RealizeCursor) (pDev, pScreen, pCurs); in xf86CursorRealizeCursor()
283 xf86CursorUnrealizeCursor(DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCurs) in xf86CursorUnrealizeCursor() argument
296 return (*ScreenPriv->spriteFuncs->UnrealizeCursor) (pDev, pScreen, pCurs); in xf86CursorUnrealizeCursor()
[all …]
/OK3568_Linux_fs/external/xserver/randr/
H A Drrpointer.c55 RRPointerToNearestCrtc(DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y, in RRPointerToNearestCrtc() argument
99 (*pScreen->SetCursorPosition) (pDev, pScreen, x + best_dx, y + best_dy, in RRPointerToNearestCrtc()
141 DeviceIntPtr pDev; in RRPointerScreenConfigured() local
143 for (pDev = inputInfo.devices; pDev; pDev = pDev->next) { in RRPointerScreenConfigured()
144 if (IsPointerDevice(pDev)) { in RRPointerScreenConfigured()
145 pRoot = GetCurrentRootWindow(pDev); in RRPointerScreenConfigured()
149 GetSpritePosition(pDev, &x, &y); in RRPointerScreenConfigured()
150 RRPointerToNearestCrtc(pDev, pScreen, x, y, NULL); in RRPointerScreenConfigured()
/OK3568_Linux_fs/external/xserver/hw/xnest/
H A DKeyboard.c66 xnestBell(int volume, DeviceIntPtr pDev, void *ctrl, int cls) in xnestBell() argument
78 xnestChangeKeyboardControl(DeviceIntPtr pDev, KeybdCtrl * ctrl) in xnestChangeKeyboardControl() argument
114 xnestKeyboardProc(DeviceIntPtr pDev, int onoff) in xnestKeyboardProc() argument
184 InitKeyboardDeviceStruct(pDev, NULL, in xnestKeyboardProc()
187 XkbApplyMappingChange(pDev, &keySyms, keySyms.minKeyCode, in xnestKeyboardProc()
191 XkbDDXChangeControls(pDev, xkb->ctrls, xkb->ctrls); in xnestKeyboardProc()
215 InitKeyboardDeviceStruct(pDev, NULL, xnestBell, xnestChangeKeyboardControl); in xnestKeyboardProc()
221 LegalModifier(unsigned int key, DeviceIntPtr pDev) in LegalModifier() argument
229 DeviceIntPtr pDev = xnestKeyboardDevice; in xnestUpdateModifierState() local
230 KeyClassPtr keyc = pDev->key; in xnestUpdateModifierState()
[all …]
H A DXNCursor.h42 Bool xnestRealizeCursor(DeviceIntPtr pDev,
44 Bool xnestUnrealizeCursor(DeviceIntPtr pDev,
47 void xnestSetCursor(DeviceIntPtr pDev,
49 void xnestMoveCursor(DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y);
50 Bool xnestDeviceCursorInitialize(DeviceIntPtr pDev, ScreenPtr pScreen);
51 void xnestDeviceCursorCleanup(DeviceIntPtr pDev, ScreenPtr pScreen);
/OK3568_Linux_fs/external/xserver/hw/vfb/
H A DInitInput.c47 LegalModifier(unsigned int key, DeviceIntPtr pDev) in LegalModifier() argument
69 DevicePtr pDev = (DevicePtr) pDevice; in vfbKeybdProc() local
76 pDev->on = TRUE; in vfbKeybdProc()
79 pDev->on = FALSE; in vfbKeybdProc()
94 DevicePtr pDev = (DevicePtr) pDevice; in vfbMouseProc() local
111 InitPointerDeviceStruct(pDev, map, NBUTTONS, btn_labels, in vfbMouseProc()
117 pDev->on = TRUE; in vfbMouseProc()
121 pDev->on = FALSE; in vfbMouseProc()
/OK3568_Linux_fs/external/xserver/hw/xquartz/
H A DdarwinEvents.c418 DarwinInputReleaseButtonsAndKeys(DeviceIntPtr pDev) in DarwinInputReleaseButtonsAndKeys() argument
423 if (pDev->button) { in DarwinInputReleaseButtonsAndKeys()
424 for (i = 0; i < pDev->button->numButtons; i++) { in DarwinInputReleaseButtonsAndKeys()
425 if (BitIsOn(pDev->button->down, i)) { in DarwinInputReleaseButtonsAndKeys()
426 QueuePointerEvents(pDev, ButtonRelease, i, in DarwinInputReleaseButtonsAndKeys()
433 if (pDev->key) { in DarwinInputReleaseButtonsAndKeys()
435 if (BitIsOn(pDev->key->down, i + MIN_KEYCODE)) { in DarwinInputReleaseButtonsAndKeys()
436 QueueKeyboardEvents(pDev, KeyRelease, i + MIN_KEYCODE); in DarwinInputReleaseButtonsAndKeys()
445 DarwinSendTabletEvents(DeviceIntPtr pDev, int ev_type, int ev_button, in DarwinSendTabletEvents() argument
453 screen = miPointerGetScreen(pDev); in DarwinSendTabletEvents()
[all …]
H A DquartzKeyboard.c319 DarwinKeyboardInit(DeviceIntPtr pDev) in DarwinKeyboardInit() argument
326 InitKeyboardDeviceStruct(pDev, NULL, NULL, DarwinChangeKeyboardControl); in DarwinKeyboardInit()
330 CopyKeyClass(pDev, inputInfo.keyboard); in DarwinKeyboardInit()
337 DarwinKeyboardSetRepeat(DeviceIntPtr pDev, int initialKeyRepeatValue, in DarwinKeyboardSetRepeat() argument
342 XkbSetRepeatKeys(pDev, -1, AutoRepeatModeOff); in DarwinKeyboardSetRepeat()
350 XkbSetRepeatKeys(pDev, -1, AutoRepeatModeOn); in DarwinKeyboardSetRepeat()
353 ctrl = pDev->key->xkbInfo->desc->ctrls; in DarwinKeyboardSetRepeat()
378 if (pDev->kbdfeed) in DarwinKeyboardSetRepeat()
379 memcpy(pDev->kbdfeed->ctrl.autoRepeats, ctrl->per_key_repeat, in DarwinKeyboardSetRepeat()
387 XkbDDXChangeControls(pDev, &old, ctrl); in DarwinKeyboardSetRepeat()
[all …]

1234