Home
last modified time | relevance | path

Searched refs:devpath (Results 1 – 43 of 43) sorted by relevance

/linux-4.4.14/drivers/parisc/
Dpdc_stable.c104 struct device_path devpath; /* device path in parisc representation */ member
154 struct device_path *devpath; in pdcspath_fetch() local
159 devpath = &entry->devpath; in pdcspath_fetch()
162 entry, devpath, entry->addr); in pdcspath_fetch()
165 if (pdc_stable_read(entry->addr, devpath, sizeof(*devpath)) != PDC_OK) in pdcspath_fetch()
171 entry->dev = hwpath_to_device((struct hardware_path *)devpath); in pdcspath_fetch()
195 struct device_path *devpath; in pdcspath_store() local
199 devpath = &entry->devpath; in pdcspath_store()
207 device_to_hwpath(entry->dev, (struct hardware_path *)devpath); in pdcspath_store()
212 entry, devpath, entry->addr); in pdcspath_store()
[all …]
/linux-4.4.14/lib/
Dkobject_uevent.c169 const char *devpath = NULL; in kobject_uevent_env() local
232 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_uevent_env()
233 if (!devpath) { in kobject_uevent_env()
242 retval = add_uevent_var(env, "DEVPATH=%s", devpath); in kobject_uevent_env()
299 len = strlen(action_string) + strlen(devpath) + 2; in kobject_uevent_env()
306 sprintf(scratch, "%s@%s", action_string, devpath); in kobject_uevent_env()
357 kfree(devpath); in kobject_uevent_env()
Dkobject.c458 const char *devpath = NULL; in kobject_rename() local
469 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_rename()
470 if (!devpath) { in kobject_rename()
474 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename()
479 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_rename()
505 kfree(devpath); in kobject_rename()
521 const char *devpath = NULL; in kobject_move() local
535 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_move()
536 if (!devpath) { in kobject_move()
540 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
[all …]
/linux-4.4.14/drivers/media/usb/siano/
Dsmsusb.c360 strcpy(mdev->bus_info, udev->devpath); in siano_media_device_register()
434 usb_make_path(dev->udev, params.devpath, sizeof(params.devpath)); in smsusb_init_device()
486 char devpath[32]; in smsusb_probe() local
535 snprintf(devpath, sizeof(devpath), "usb\\%d-%s", in smsusb_probe()
536 udev->bus->busnum, udev->devpath); in smsusb_probe()
538 devpath); in smsusb_probe()
540 udev, smscore_registry_getmode(devpath), in smsusb_probe()
/linux-4.4.14/drivers/usb/core/
Dusb.c468 dev->devpath[0] = '0'; in usb_alloc_dev()
476 if (parent->devpath[0] == '0') { in usb_alloc_dev()
477 snprintf(dev->devpath, sizeof dev->devpath, in usb_alloc_dev()
482 snprintf(dev->devpath, sizeof dev->devpath, in usb_alloc_dev()
483 "%s.%d", parent->devpath, port1); in usb_alloc_dev()
494 dev_set_name(&dev->dev, "%d-%s", bus->busnum, dev->devpath); in usb_alloc_dev()
Dsysfs.c177 return sprintf(buf, "%s\n", udev->devpath); in devpath_show()
179 static DEVICE_ATTR_RO(devpath);
Dmessage.c287 io->dev->devpath, in sg_complete()
1874 dev->bus->busnum, dev->devpath, in usb_set_configuration()
/linux-4.4.14/drivers/media/common/siano/
Dsmscoreapi.c422 char devpath[32]; member
439 static struct smscore_registry_entry_t *smscore_find_registry(char *devpath) in smscore_find_registry() argument
449 if (!strcmp(entry->devpath, devpath)) { in smscore_find_registry()
457 strcpy(entry->devpath, devpath); in smscore_find_registry()
465 int smscore_registry_getmode(char *devpath) in smscore_registry_getmode() argument
469 entry = smscore_find_registry(devpath); in smscore_registry_getmode()
479 static enum sms_device_type_st smscore_registry_gettype(char *devpath) in smscore_registry_gettype() argument
483 entry = smscore_find_registry(devpath); in smscore_registry_gettype()
492 static void smscore_registry_setmode(char *devpath, int mode) in smscore_registry_setmode() argument
496 entry = smscore_find_registry(devpath); in smscore_registry_setmode()
[all …]
Dsmsir.c73 strlcpy(coredev->ir.phys, coredev->devpath, sizeof(coredev->ir.phys)); in sms_ir_init()
Dsmscoreapi.h141 char devpath[32]; member
180 char devpath[32]; member
1119 extern int smscore_registry_getmode(char *devpath);
Dsmsdvb-debugfs.c474 client->debugfs = debugfs_create_dir(coredev->devpath, in smsdvb_debugfs_create()
478 coredev->devpath); in smsdvb_debugfs_create()
/linux-4.4.14/drivers/net/usb/
Dnet1080.c198 dev->udev->bus->bus_name, dev->udev->devpath, in nc_dump_usbctl()
241 dev->udev->bus->bus_name, dev->udev->devpath, in nc_dump_status()
274 dev->udev->bus->bus_name, dev->udev->devpath, in nc_dump_ttl()
290 dev->udev->bus->bus_name, dev->udev->devpath, retval); in net1080_reset()
Dusbnet.c819 dev->udev->bus->bus_name, dev->udev->devpath, in usbnet_stop()
868 dev->udev->devpath, in usbnet_open()
879 dev->udev->devpath, in usbnet_open()
1180 dev->udev->devpath, in usbnet_deferred_kevent()
1550 xdev->bus->bus_name, xdev->devpath, in usbnet_disconnect()
1747 xdev->bus->bus_name, xdev->devpath, in usbnet_probe()
Dcatc.c354 catc->usbdev->devpath, res); in catc_irq_done()
913 usbdev->bus->bus_name, usbdev->devpath, netdev->dev_addr); in catc_probe()
Drtl8150.c512 dev->udev->bus->bus_name, dev->udev->devpath, res); in intr_callback()
Dkaweth.c506 kaweth->dev->devpath, status); in kaweth_resubmit_int_urb()
/linux-4.4.14/Documentation/
Dsysfs-rules.txt45 o devpath (/devices/pci0000:00/0000:00:1d.1/usb2/2-2/2-2:1.0)
51 - all elements of a devpath must be real directories. Symlinks
54 That way the devpath to the device matches the devpath of the
56 - using or exposing symlink values as elements in a devpath string
60 - a directory name, identical to the last element of the devpath
157 Never depend on a specific parent device position in the devpath,
/linux-4.4.14/drivers/block/xen-blkback/
Dxenbus.c66 char *devpath, *devname; in blkback_name() local
69 devpath = xenbus_read(XBT_NIL, dev->nodename, "dev", NULL); in blkback_name()
70 if (IS_ERR(devpath)) in blkback_name()
71 return PTR_ERR(devpath); in blkback_name()
73 devname = strstr(devpath, "/dev/"); in blkback_name()
77 devname = devpath; in blkback_name()
80 kfree(devpath); in blkback_name()
/linux-4.4.14/drivers/media/mmc/siano/
Dsmssdio.c265 snprintf(params.devpath, sizeof(params.devpath), in smssdio_probe()
/linux-4.4.14/drivers/usb/host/
Dr8a66597-hcd.c250 static int is_child_device(char *devpath) in is_child_device() argument
252 return (devpath[2] ? 1 : 0); in is_child_device()
255 static int is_hub_limit(char *devpath) in is_hub_limit() argument
257 return ((strlen(devpath) >= 4) ? 1 : 0); in is_hub_limit()
261 char *devpath, u16 *root_port, u16 *hub_port) in get_port_number() argument
264 *root_port = (devpath[0] & 0x0F) - 1; in get_port_number()
269 *hub_port = devpath[2] & 0x0F; in get_port_number()
367 get_port_number(r8a66597, urb->dev->devpath, in make_r8a66597_device()
369 if (!is_child_device(urb->dev->devpath)) in make_r8a66597_device()
386 if (is_hub_limit(urb->dev->devpath)) { in alloc_usb_address()
[all …]
Dehci-q.c236 urb->dev->devpath, in qtd_copy_status()
268 __func__, urb->dev->devpath, urb, in ehci_urb_done()
1116 __func__, urb->dev->devpath, urb, in submit_async()
Dfotg210-hcd.c2199 urb->dev->devpath, in qtd_copy_status()
2246 __func__, urb->dev->devpath, urb, in fotg210_urb_done()
3065 __func__, urb->dev->devpath, urb, in submit_async()
4031 urb->dev->devpath, epnum, in iso_stream_find()
4398 urb->dev->devpath, stream->bEndpointAddress & 0x0f, in itd_link_urb()
4531 dev->devpath, stream->bEndpointAddress & 0x0f, in itd_complete()
4575 __func__, urb->dev->devpath, urb, in itd_submit()
Dehci-sched.c1180 urb->dev->devpath, epnum, in iso_stream_find()
1961 __func__, urb->dev->devpath, urb, in itd_submit()
2341 urb, urb->dev->devpath, in sitd_submit()
Doxu210hp-hcd.c905 urb->dev->devpath, in qtd_copy_status()
957 __func__, urb->dev->devpath, urb, in ehci_urb_done()
1631 __func__, urb->dev->devpath, urb, in submit_async()
Dohci-q.c888 urb, urb->dev->devpath, in ed_halted()
Dxhci.c1597 urb, urb->dev->devpath, in xhci_urb_dequeue()
/linux-4.4.14/arch/sparc/include/asm/
Dopenprom.h39 int (*v2_dev_open)(char *devpath);
/linux-4.4.14/arch/m68k/include/asm/
Dopenprom.h47 int (*v2_dev_open)(char *devpath);
/linux-4.4.14/drivers/hid/usbhid/
Dusbmouse.c98 mouse->usbdev->devpath, status); in usb_mouse_irq()
Dusbkbd.c163 kbd->usbdev->devpath, i); in usb_kbd_irq()
Dhid-core.c326 hid_to_usb_dev(hid)->devpath, in hid_irq_in()
/linux-4.4.14/drivers/input/tablet/
Dacecad.c114 acecad->usbdev->devpath, status); in usb_acecad_irq()
/linux-4.4.14/drivers/usb/storage/
Donetouch.c132 onetouch->udev->devpath, retval); in usb_onetouch_irq()
/linux-4.4.14/drivers/xen/
DKconfig54 …="memory", ACTION=="add", RUN+="/bin/sh -c '[ -f /sys$devpath/state ] && echo online > /sys$devpat…
/linux-4.4.14/drivers/media/usb/usbvision/
Dusbvision-i2c.c195 usbvision->dev->bus->busnum, usbvision->dev->devpath); in usbvision_i2c_register()
/linux-4.4.14/include/linux/
Dusb.h547 char devpath[16]; member
824 dev->devpath); in usb_make_path()
/linux-4.4.14/drivers/media/usb/dvb-usb/
Ddvb-usb-dvb.c114 strcpy(mdev->bus_info, udev->devpath); in dvb_usb_media_device_register()
/linux-4.4.14/drivers/staging/most/hdm-usb/
Dhdm_usb.c1260 usb_dev->devpath, in hdm_probe()
1325 usb_dev->devpath, in hdm_probe()
/linux-4.4.14/drivers/media/usb/uvc/
Duvc_driver.c1858 "(%04x:%04x)\n", udev->devpath, id->idVendor, in uvc_probe()
1862 udev->devpath); in uvc_probe()
1916 strcpy(dev->mdev.bus_info, udev->devpath); in uvc_probe()
Duvc_ctrl.c1714 info.selector, dev->udev->devpath, ctrl->entity->id); in uvc_ctrl_init_xu_ctrl()
1908 dev->udev->devpath, ctrl->entity->id); in uvc_ctrl_add_info()
/linux-4.4.14/drivers/usb/usbip/
Dusbip_common.c104 udev->devnum, udev->devpath, usb_speed_string(udev->speed)); in usbip_dump_usb_device()
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/
Ddvb_usb_core.c419 strcpy(mdev->bus_info, udev->devpath); in dvb_usbv2_media_device_register()
/linux-4.4.14/drivers/media/usb/cx231xx/
Dcx231xx-cards.c1223 strcpy(mdev->bus_info, udev->devpath); in cx231xx_media_device_register()