Home
last modified time | relevance | path

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

12

/Linux-v4.19/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-v4.19/lib/
Dkobject_uevent.c198 const char *msg = NULL, *devpath; in kobject_synth_uevent() local
226 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_synth_uevent()
228 devpath ?: "unknown device", in kobject_synth_uevent()
230 kfree(devpath); in kobject_synth_uevent()
279 const char *devpath) in alloc_uevent_skb() argument
287 len = strlen(action_string) + strlen(devpath) + 2; in alloc_uevent_skb()
294 sprintf(scratch, "%s@%s", action_string, devpath); in alloc_uevent_skb()
309 const char *devpath) in uevent_net_broadcast_untagged() argument
324 skb = alloc_uevent_skb(env, action_string, devpath); in uevent_net_broadcast_untagged()
343 const char *devpath) in uevent_net_broadcast_tagged() argument
[all …]
Dkobject.c473 const char *devpath = NULL; in kobject_rename() local
484 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_rename()
485 if (!devpath) { in kobject_rename()
489 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename()
494 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_rename()
520 kfree(devpath); in kobject_rename()
536 const char *devpath = NULL; in kobject_move() local
550 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_move()
551 if (!devpath) { in kobject_move()
555 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
[all …]
/Linux-v4.19/tools/usb/usbip/src/
Dusbip_bind.c147 const char *devpath; in bind_device() local
156 devpath = udev_device_get_devpath(dev); in bind_device()
160 if (strstr(devpath, USBIP_VHCI_DRV_NAME)) { in bind_device()
162 devpath, USBIP_VHCI_DRV_NAME); in bind_device()
Dusbip_list.c192 const char *devpath; in list_devices() local
216 devpath = udev_device_get_devpath(dev); in list_devices()
217 if (strstr(devpath, USBIP_VHCI_DRV_NAME)) { in list_devices()
219 devpath, USBIP_VHCI_DRV_NAME); in list_devices()
/Linux-v4.19/drivers/media/common/siano/
Dsmscoreapi.c418 char devpath[32]; member
435 static struct smscore_registry_entry_t *smscore_find_registry(char *devpath) in smscore_find_registry() argument
445 if (!strncmp(entry->devpath, devpath, sizeof(entry->devpath))) { in smscore_find_registry()
453 strlcpy(entry->devpath, devpath, sizeof(entry->devpath)); in smscore_find_registry()
461 int smscore_registry_getmode(char *devpath) in smscore_registry_getmode() argument
465 entry = smscore_find_registry(devpath); in smscore_registry_getmode()
475 static enum sms_device_type_st smscore_registry_gettype(char *devpath) in smscore_registry_gettype() argument
479 entry = smscore_find_registry(devpath); in smscore_registry_gettype()
488 static void smscore_registry_setmode(char *devpath, int mode) in smscore_registry_setmode() argument
492 entry = smscore_find_registry(devpath); in smscore_registry_setmode()
[all …]
Dsmsir.c58 strlcpy(coredev->ir.phys, coredev->devpath, sizeof(coredev->ir.phys)); in sms_ir_init()
Dsmscoreapi.h142 char devpath[32]; member
182 char devpath[32]; member
1123 extern int smscore_registry_getmode(char *devpath);
Dsmsdvb-debugfs.c456 client->debugfs = debugfs_create_dir(coredev->devpath, in smsdvb_debugfs_create()
460 coredev->devpath); in smsdvb_debugfs_create()
/Linux-v4.19/drivers/media/usb/siano/
Dsmsusb.c453 usb_make_path(dev->udev, params.devpath, sizeof(params.devpath)); in smsusb_init_device()
505 char devpath[32]; in smsusb_probe() local
554 snprintf(devpath, sizeof(devpath), "usb\\%d-%s", in smsusb_probe()
555 udev->bus->busnum, udev->devpath); in smsusb_probe()
557 devpath); in smsusb_probe()
559 udev, smscore_registry_getmode(devpath), in smsusb_probe()
/Linux-v4.19/drivers/usb/core/
Dusb.c616 dev->devpath[0] = '0'; in usb_alloc_dev()
625 if (parent->devpath[0] == '0') { in usb_alloc_dev()
626 snprintf(dev->devpath, sizeof dev->devpath, in usb_alloc_dev()
631 snprintf(dev->devpath, sizeof dev->devpath, in usb_alloc_dev()
632 "%s.%d", parent->devpath, port1); in usb_alloc_dev()
643 dev_set_name(&dev->dev, "%d-%s", bus->busnum, dev->devpath); in usb_alloc_dev()
/Linux-v4.19/Documentation/admin-guide/
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-v4.19/security/apparmor/
Dmount.c376 char *buffer, struct path *devpath, char *devbuffer, in match_mnt() argument
384 AA_BUG(devpath && !devbuffer); in match_mnt()
389 if (devpath) { in match_mnt()
390 error = aa_path_name(devpath, path_flags(profile, devpath), in match_mnt()
/Linux-v4.19/drivers/block/xen-blkback/
Dxenbus.c65 char *devpath, *devname; in blkback_name() local
68 devpath = xenbus_read(XBT_NIL, dev->nodename, "dev", NULL); in blkback_name()
69 if (IS_ERR(devpath)) in blkback_name()
70 return PTR_ERR(devpath); in blkback_name()
72 devname = strstr(devpath, "/dev/"); in blkback_name()
76 devname = devpath; in blkback_name()
79 kfree(devpath); in blkback_name()
/Linux-v4.19/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()
282 dev->udev->bus->bus_name, dev->udev->devpath, retval); in net1080_reset()
Dusbnet.c826 dev->udev->bus->bus_name, dev->udev->devpath, in usbnet_stop()
875 dev->udev->devpath, in usbnet_open()
886 dev->udev->devpath, in usbnet_open()
1221 dev->udev->devpath, in usbnet_deferred_kevent()
1597 xdev->bus->bus_name, xdev->devpath, in usbnet_disconnect()
1801 xdev->bus->bus_name, xdev->devpath, in usbnet_probe()
/Linux-v4.19/drivers/media/mmc/siano/
Dsmssdio.c265 snprintf(params.devpath, sizeof(params.devpath), in smssdio_probe()
/Linux-v4.19/drivers/usb/host/
Dr8a66597-hcd.c237 static int is_child_device(char *devpath) in is_child_device() argument
239 return (devpath[2] ? 1 : 0); in is_child_device()
242 static int is_hub_limit(char *devpath) in is_hub_limit() argument
244 return ((strlen(devpath) >= 4) ? 1 : 0); in is_hub_limit()
248 char *devpath, u16 *root_port, u16 *hub_port) in get_port_number() argument
251 *root_port = (devpath[0] & 0x0F) - 1; in get_port_number()
256 *hub_port = devpath[2] & 0x0F; in get_port_number()
354 get_port_number(r8a66597, urb->dev->devpath, in make_r8a66597_device()
356 if (!is_child_device(urb->dev->devpath)) in make_r8a66597_device()
373 if (is_hub_limit(urb->dev->devpath)) { in alloc_usb_address()
[all …]
Dehci-q.c227 urb->dev->devpath, in qtd_copy_status()
259 __func__, urb->dev->devpath, urb, in ehci_urb_done()
1110 __func__, urb->dev->devpath, urb, in submit_async()
/Linux-v4.19/arch/sparc/include/asm/
Dopenprom.h40 int (*v2_dev_open)(char *devpath);
/Linux-v4.19/arch/m68k/include/asm/
Dopenprom.h48 int (*v2_dev_open)(char *devpath);
/Linux-v4.19/drivers/hid/usbhid/
Dusbmouse.c97 mouse->usbdev->devpath, status); in usb_mouse_irq()
/Linux-v4.19/drivers/input/tablet/
Dacecad.c106 udev->devpath, status); in usb_acecad_irq()
/Linux-v4.19/drivers/usb/storage/
Donetouch.c115 onetouch->udev->devpath, retval); in usb_onetouch_irq()
/Linux-v4.19/drivers/media/usb/usbvision/
Dusbvision-i2c.c192 usbvision->dev->bus->busnum, usbvision->dev->devpath); in usbvision_i2c_register()

12