Home
last modified time | relevance | path

Searched refs:dpriv (Results 1 – 6 of 6) sorted by relevance

/external/libusb/libusb/os/
Dnetbsd_usb.c118 struct device_priv *dpriv; in netbsd_get_device_list() local
153 dpriv = usbi_get_device_priv(dev); in netbsd_get_device_list()
154 strlcpy(dpriv->devnode, devnode, sizeof(devnode)); in netbsd_get_device_list()
155 dpriv->fd = -1; in netbsd_get_device_list()
194 struct device_priv *dpriv = usbi_get_device_priv(handle->dev); in netbsd_open() local
198 dpriv->fd = open(dpriv->devnode, O_RDWR); in netbsd_open()
199 if (dpriv->fd < 0) { in netbsd_open()
200 dpriv->fd = open(dpriv->devnode, O_RDONLY); in netbsd_open()
201 if (dpriv->fd < 0) in netbsd_open()
208 usbi_dbg("open %s: fd %d", dpriv->devnode, dpriv->fd); in netbsd_open()
[all …]
Dopenbsd_usb.c123 struct device_priv *dpriv; in obsd_get_device_list() local
178 dpriv = usbi_get_device_priv(dev); in obsd_get_device_list()
179 dpriv->fd = -1; in obsd_get_device_list()
180 dpriv->devname = udevname; in obsd_get_device_list()
225 struct device_priv *dpriv = usbi_get_device_priv(handle->dev); in obsd_open() local
228 if (dpriv->devname) { in obsd_open()
235 dpriv->devname); in obsd_open()
239 dpriv->fd = fd; in obsd_open()
241 usbi_dbg("open %s: fd %d", devnode, dpriv->fd); in obsd_open()
250 struct device_priv *dpriv = usbi_get_device_priv(handle->dev); in obsd_close() local
[all …]
Dsunos_usb.c80 static int sunos_usb_open_ep0(sunos_dev_handle_priv_t *hpriv, sunos_dev_priv_t *dpriv);
150 sunos_dev_priv_t *dpriv; in sunos_usb_ioctl() local
154 dpriv = usbi_get_device_priv(dev); in sunos_usb_ioctl()
155 phypath = dpriv->phypath; in sunos_usb_ioctl()
226 sunos_dev_priv_t *dpriv = usbi_get_device_priv(dev_handle->dev); in sunos_kernel_driver_active() local
230 usbi_dbg("%s", dpriv->ugenpath); in sunos_kernel_driver_active()
232 return (dpriv->ugenpath == NULL); in sunos_kernel_driver_active()
354 sunos_dev_priv_t *dpriv; in sunos_detach_kernel_driver() local
359 dpriv = usbi_get_device_priv(dev_handle->dev); in sunos_detach_kernel_driver()
360 snprintf(path_arg, sizeof(path_arg), "\'\"%s\"\'", dpriv->phypath); in sunos_detach_kernel_driver()
[all …]
Ddarwin_usb.c1200 struct darwin_cached_device *dpriv = DARWIN_CACHED_DEVICE(dev_handle->dev); in darwin_open() local
1203 if (0 == dpriv->open_count) { in darwin_open()
1205 kresult = (*(dpriv->device))->USBDeviceOpenSeize (dpriv->device); in darwin_open()
1220 kresult = (*(dpriv->device))->CreateDeviceAsyncEventSource (dpriv->device, &priv->cfSource); in darwin_open()
1225 (*(dpriv->device))->USBDeviceClose (dpriv->device); in darwin_open()
1240 dpriv->open_count++; in darwin_open()
1249 struct darwin_cached_device *dpriv = DARWIN_CACHED_DEVICE(dev_handle->dev); in darwin_close() local
1253 if (dpriv->open_count == 0) { in darwin_close()
1259 dpriv->open_count--; in darwin_close()
1266 if (0 == dpriv->open_count) { in darwin_close()
[all …]
Dsunos_usb.h46 sunos_dev_priv_t *dpriv; /* device private */ member
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_blit.h33 extern void intelCopyBuffer(const __DRIdrawable * dpriv,