Home
last modified time | relevance | path

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

12

/linux/drivers/parisc/ !
H A Dpdc_stable.c91 struct pdc_module_path devpath; /* device path in parisc representation */ member
141 struct pdc_module_path *devpath; in pdcspath_fetch() local
146 devpath = &entry->devpath; in pdcspath_fetch()
149 entry, devpath, entry->addr); in pdcspath_fetch()
152 if (pdc_stable_read(entry->addr, devpath, sizeof(*devpath)) != PDC_OK) in pdcspath_fetch()
158 entry->dev = hwpath_to_device((struct hardware_path *)devpath); in pdcspath_fetch()
182 struct pdc_module_path *devpath; in pdcspath_store() local
186 devpath = &entry->devpath; in pdcspath_store()
194 device_to_hwpath(entry->dev, (struct hardware_path *)devpath); in pdcspath_store()
199 entry, devpath, entry->addr); in pdcspath_store()
[all …]
/linux/tools/usb/usbip/src/ !
H A Dusbip_bind.c135 const char *devpath; in bind_device() local
144 devpath = udev_device_get_devpath(dev); in bind_device()
148 if (strstr(devpath, USBIP_VHCI_DRV_NAME)) { in bind_device()
150 devpath, USBIP_VHCI_DRV_NAME); in bind_device()
H A Dusbip_list.c181 const char *devpath; in list_devices() local
205 devpath = udev_device_get_devpath(dev); in list_devices()
206 if (strstr(devpath, USBIP_VHCI_DRV_NAME)) { in list_devices()
208 devpath, USBIP_VHCI_DRV_NAME); in list_devices()
/linux/lib/ !
H A Dkobject.c477 const char *devpath = NULL; in kobject_rename() local
490 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_rename()
491 if (!devpath) { in kobject_rename()
495 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename()
500 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_rename()
526 kfree(devpath); in kobject_rename()
542 const char *devpath = NULL; in kobject_move() local
556 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_move()
557 if (!devpath) { in kobject_move()
561 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
[all …]
/linux/drivers/media/common/siano/ !
H A Dsmscoreapi.c410 char devpath[32]; member
427 static struct smscore_registry_entry_t *smscore_find_registry(char *devpath) in smscore_find_registry() argument
437 if (!strncmp(entry->devpath, devpath, sizeof(entry->devpath))) { in smscore_find_registry()
445 strscpy(entry->devpath, devpath, sizeof(entry->devpath)); in smscore_find_registry()
453 int smscore_registry_getmode(char *devpath) in smscore_registry_getmode() argument
457 entry = smscore_find_registry(devpath); in smscore_registry_getmode()
467 static enum sms_device_type_st smscore_registry_gettype(char *devpath) in smscore_registry_gettype() argument
471 entry = smscore_find_registry(devpath); in smscore_registry_gettype()
480 static void smscore_registry_setmode(char *devpath, int mode) in smscore_registry_setmode() argument
484 entry = smscore_find_registry(devpath); in smscore_registry_setmode()
[all …]
H A Dsmsir.c58 strscpy(coredev->ir.phys, coredev->devpath, sizeof(coredev->ir.phys)); in sms_ir_init()
H A Dsmscoreapi.h125 char devpath[32]; member
165 char devpath[32]; member
1092 extern int smscore_registry_getmode(char *devpath);
/linux/drivers/media/usb/siano/ !
H A Dsmsusb.c453 usb_make_path(dev->udev, params.devpath, sizeof(params.devpath)); in smsusb_init_device()
509 char devpath[32]; in smsusb_probe() local
558 snprintf(devpath, sizeof(devpath), "usb\\%d-%s", in smsusb_probe()
559 udev->bus->busnum, udev->devpath); in smsusb_probe()
561 devpath); in smsusb_probe()
563 udev, smscore_registry_getmode(devpath), in smsusb_probe()
/linux/drivers/hid/bpf/progs/ !
H A DREADME66 …v000028BDp0000095A", RUN{program}+="/usr/local/bin/udev-hid-bpf add $sys$devpath /etc/udev-hid-bpf…
67 …hid:b0003g0001v000028BDp0000095A", RUN{program}+="/usr/local/bin/udev-hid-bpf remove $sys$devpath "
69 …v000028BDp0000095B", RUN{program}+="/usr/local/bin/udev-hid-bpf add $sys$devpath /etc/udev-hid-bpf…
70 …hid:b0003g0001v000028BDp0000095B", RUN{program}+="/usr/local/bin/udev-hid-bpf remove $sys$devpath "
/linux/Documentation/admin-guide/ !
H A Dsysfs-rules.rst47 - devpath (``/devices/pci0000:00/0000:00:1d.1/usb2/2-2/2-2:1.0``)
54 - all elements of a devpath must be real directories. Symlinks
57 That way the devpath to the device matches the devpath of the
59 - using or exposing symlink values as elements in a devpath string
64 - a directory name, identical to the last element of the devpath
164 Never depend on a specific parent device position in the devpath,
/linux/drivers/block/xen-blkback/ !
H A Dxenbus.c57 char *devpath, *devname; in blkback_name() local
60 devpath = xenbus_read(XBT_NIL, dev->nodename, "dev", NULL); in blkback_name()
61 if (IS_ERR(devpath)) in blkback_name()
62 return PTR_ERR(devpath); in blkback_name()
64 devname = strstr(devpath, "/dev/"); in blkback_name()
68 devname = devpath; in blkback_name()
71 kfree(devpath); in blkback_name()
/linux/drivers/media/mmc/siano/ !
H A Dsmssdio.c260 snprintf(params.devpath, sizeof(params.devpath), in smssdio_probe()
/linux/drivers/net/usb/ !
H A Dnet1080.c185 dev->udev->bus->bus_name, dev->udev->devpath, in nc_dump_usbctl()
228 dev->udev->bus->bus_name, dev->udev->devpath, in nc_dump_status()
269 dev->udev->bus->bus_name, dev->udev->devpath, retval); in net1080_reset()
H A Dcatc.c343 catc->usbdev->devpath, res); in catc_irq_done()
920 usbdev->bus->bus_name, usbdev->devpath, netdev->dev_addr); in catc_probe()
/linux/arch/sparc/include/asm/ !
H A Dopenprom.h40 int (*v2_dev_open)(char *devpath);
/linux/arch/m68k/include/asm/ !
H A Dopenprom.h48 int (*v2_dev_open)(char *devpath);
/linux/drivers/hid/usbhid/ !
H A Dusbmouse.c85 mouse->usbdev->devpath, status); in usb_mouse_irq()
H A Dusbkbd.c150 kbd->usbdev->devpath, i); in usb_kbd_irq()
/linux/drivers/input/tablet/ !
H A Dacecad.c90 udev->devpath, status); in usb_acecad_irq()
/linux/drivers/usb/host/ !
H A Dehci-q.c235 urb->dev->devpath, in qtd_copy_status()
267 __func__, urb->dev->devpath, urb, in ehci_urb_done()
1118 __func__, urb->dev->devpath, urb, in submit_async()
/linux/include/linux/ !
H A Dusb.h658 char devpath[16]; member
961 dev->devpath); in usb_make_path()
/linux/drivers/xen/ !
H A DKconfig51 …="memory", ACTION=="add", RUN+="/bin/sh -c '[ -f /sys$devpath/state ] && echo online > /sys$devpat…
/linux/drivers/most/ !
H A Dmost_usb.c992 usb_dev->devpath, in hdm_probe()
1051 usb_dev->devpath, in hdm_probe()
/linux/drivers/usb/core/ !
H A Dsysfs.c226 return sysfs_emit(buf, "%s\n", udev->devpath); in devpath_show()
228 static DEVICE_ATTR_RO(devpath);
/linux/drivers/usb/fotg210/ !
H A Dfotg210-hcd.c2169 urb->dev->devpath, in qtd_copy_status()
2216 __func__, urb->dev->devpath, urb, in fotg210_urb_done()
3027 __func__, urb->dev->devpath, urb, in submit_async()
3994 urb->dev->devpath, epnum, in iso_stream_find()
4359 urb->dev->devpath, stream->bEndpointAddress & 0x0f, in itd_link_urb()
4491 dev->devpath, stream->bEndpointAddress & 0x0f, in itd_complete()
4535 __func__, urb->dev->devpath, urb, in itd_submit()

12