Searched refs:devpath (Results 1 - 25 of 33) sorted by relevance

12

/drivers/parisc/
H A Dpdc_stable.c104 struct device_path devpath; /* device path in parisc representation */ member in struct:pdcspath_entry
154 struct device_path *devpath; local
159 devpath = &entry->devpath;
162 entry, devpath, entry->addr);
164 /* addr, devpath and count must be word aligned */
165 if (pdc_stable_read(entry->addr, devpath, sizeof(*devpath)) != PDC_OK)
171 entry->dev = hwpath_to_device((struct hardware_path *)devpath);
184 * It can be used in two ways: either by passing it a preset devpath struc
195 struct device_path *devpath; local
239 struct device_path *devpath; local
359 struct device_path *devpath; local
[all...]
/drivers/media/dvb/siano/
H A Dsmscoreapi.c87 char devpath[32]; member in struct:smscore_registry_entry_t
104 static struct smscore_registry_entry_t *smscore_find_registry(char *devpath) argument
114 if (!strcmp(entry->devpath, devpath)) {
122 strcpy(entry->devpath, devpath);
130 int smscore_registry_getmode(char *devpath) argument
134 entry = smscore_find_registry(devpath);
144 static enum sms_device_type_st smscore_registry_gettype(char *devpath) argument
148 entry = smscore_find_registry(devpath);
157 smscore_registry_setmode(char *devpath, int mode) argument
168 smscore_registry_settype(char *devpath, enum sms_device_type_st type) argument
[all...]
H A Dsmsusb.c354 usb_make_path(dev->udev, params.devpath, sizeof(params.devpath));
396 char devpath[32]; local
426 snprintf(devpath, sizeof(devpath), "usb\\%d-%s",
427 udev->bus->busnum, udev->devpath);
430 udev, smscore_registry_getmode(devpath),
H A Dsmsir.c74 strlcpy(coredev->ir.phys, coredev->devpath, sizeof(coredev->ir.phys));
H A Dsmssdio.c251 snprintf(params.devpath, sizeof(params.devpath),
H A Dsmscoreapi.h100 char devpath[32]; member in struct:smsdevice_params_t
139 char devpath[32]; member in struct:smscore_device_t
693 extern void smscore_registry_setmode(char *devpath, int mode);
694 extern int smscore_registry_getmode(char *devpath);
/drivers/staging/usbip/userspace/src/
H A Dusbip_list.c172 struct sysfs_attribute *devpath; local
176 devpath = sysfs_get_device_attr(dev, "devpath");
177 if (devpath && *devpath->value != '0')
/drivers/usb/core/
H A Dusb.c411 * dev->devpath will be stable until USB is re-cabled, and hubs
417 dev->devpath[0] = '0';
425 if (parent->devpath[0] == '0') {
426 snprintf(dev->devpath, sizeof dev->devpath,
431 snprintf(dev->devpath, sizeof dev->devpath,
432 "%s.%d", parent->devpath, port1);
443 dev_set_name(&dev->dev, "%d-%s", bus->busnum, dev->devpath);
H A Dsysfs.c157 return sprintf(buf, "%s\n", udev->devpath);
159 static DEVICE_ATTR(devpath, S_IRUGO, show_devpath, NULL);
H A Dmessage.c287 io->dev->devpath,
1833 dev->bus->busnum, dev->devpath,
/drivers/block/xen-blkback/
H A Dxenbus.c46 char *devpath, *devname; local
49 devpath = xenbus_read(XBT_NIL, dev->nodename, "dev", NULL);
50 if (IS_ERR(devpath))
51 return PTR_ERR(devpath);
53 devname = strstr(devpath, "/dev/");
57 devname = devpath;
60 kfree(devpath);
/drivers/net/usb/
H A Dnet1080.c209 dev->udev->bus->bus_name, dev->udev->devpath,
252 dev->udev->bus->bus_name, dev->udev->devpath,
285 dev->udev->bus->bus_name, dev->udev->devpath,
304 dev->udev->bus->bus_name, dev->udev->devpath, retval);
H A Dusbnet.c706 dev->udev->bus->bus_name, dev->udev->devpath,
750 dev->udev->devpath,
761 dev->udev->devpath,
1009 dev->udev->devpath,
1295 xdev->bus->bus_name, xdev->devpath,
1474 xdev->bus->bus_name, xdev->devpath,
H A Dcatc.c350 catc->usbdev->devpath, res);
901 usbdev->bus->bus_name, usbdev->devpath, netdev->dev_addr);
/drivers/staging/bcm/
H A DBcmnet.c221 net->name, xdev->bus->bus_name, xdev->devpath,
236 net->name, xdev->bus->bus_name, xdev->devpath);
/drivers/usb/host/
H A Dr8a66597-hcd.c255 static int is_child_device(char *devpath) argument
257 return (devpath[2] ? 1 : 0);
260 static int is_hub_limit(char *devpath) argument
262 return ((strlen(devpath) >= 4) ? 1 : 0);
266 char *devpath, u16 *root_port, u16 *hub_port)
269 *root_port = (devpath[0] & 0x0F) - 1;
274 *hub_port = devpath[2] & 0x0F;
372 get_port_number(r8a66597, urb->dev->devpath,
374 if (!is_child_device(urb->dev->devpath))
391 if (is_hub_limit(urb->dev->devpath)) {
265 get_port_number(struct r8a66597 *r8a66597, char *devpath, u16 *root_port, u16 *hub_port) argument
[all...]
H A Dehci-q.c234 ehci_dbg(ehci, "devpath %s ep%d%s 3strikes\n",
235 urb->dev->devpath,
283 __func__, urb->dev->devpath, urb,
1122 __func__, urb->dev->devpath, urb,
H A Dehci-sched.c1144 urb->dev->devpath, epnum,
1638 urb->dev->devpath, stream->bEndpointAddress & 0x0f,
1783 dev->devpath, stream->bEndpointAddress & 0x0f,
1835 __func__, urb->dev->devpath, urb,
2058 urb->dev->devpath, stream->bEndpointAddress & 0x0f,
2179 dev->devpath, stream->bEndpointAddress & 0x0f,
2230 urb, urb->dev->devpath,
/drivers/hid/usbhid/
H A Dusbmouse.c97 mouse->usbdev->devpath, status);
H A Dusbkbd.c163 kbd->usbdev->devpath, i);
/drivers/input/tablet/
H A Dacecad.c109 acecad->usbdev->bus->bus_name, acecad->usbdev->devpath, status);
/drivers/usb/storage/
H A Donetouch.c130 onetouch->udev->devpath, retval);
/drivers/media/video/usbvision/
H A Dusbvision-i2c.c196 usbvision->dev->bus->busnum, usbvision->dev->devpath);
/drivers/media/video/uvc/
H A Duvc_driver.c1810 "(%04x:%04x)\n", udev->devpath, id->idVendor,
1814 udev->devpath);
1868 strcpy(dev->mdev.bus_info, udev->devpath);
/drivers/staging/usbip/
H A Dusbip_common.c97 dev_dbg(dev, " devnum(%d) devpath(%s) ",
98 udev->devnum, udev->devpath);

Completed in 480 milliseconds

12