Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/parisc/
A Dpdc_stable.c141 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()
182 struct pdc_module_path *devpath; in pdcspath_store() local
186 devpath = &entry->devpath; in pdcspath_store()
199 entry, devpath, entry->addr); in pdcspath_store()
202 if (pdc_stable_write(entry->addr, devpath, sizeof(*devpath)) != PDC_OK) in pdcspath_store()
231 devpath = &entry->devpath; in pdcspath_hwpath_read()
239 if (devpath->path.bc[i] < 0) in pdcspath_hwpath_read()
[all …]
/linux-6.3-rc2/lib/
A Dkobject_uevent.c230 kfree(devpath); in kobject_synth_uevent()
281 const char *devpath) in alloc_uevent_skb() argument
311 const char *devpath) in uevent_net_broadcast_untagged() argument
345 const char *devpath) in uevent_net_broadcast_tagged() argument
384 const char *devpath) in kobject_uevent_net_broadcast() argument
410 devpath); in kobject_uevent_net_broadcast()
413 action_string, devpath); in kobject_uevent_net_broadcast()
462 const char *devpath = NULL; in kobject_uevent_env() local
530 if (!devpath) { in kobject_uevent_env()
594 devpath); in kobject_uevent_env()
[all …]
A Dkobject.c469 const char *devpath = NULL; in kobject_rename() local
482 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_rename()
483 if (!devpath) { in kobject_rename()
487 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename()
492 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_rename()
518 kfree(devpath); in kobject_rename()
534 const char *devpath = NULL; in kobject_move() local
548 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_move()
549 if (!devpath) { in kobject_move()
558 sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); in kobject_move()
[all …]
/linux-6.3-rc2/tools/usb/usbip/src/
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()
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-6.3-rc2/drivers/media/common/siano/
A Dsmscoreapi.c410 char devpath[32]; member
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()
471 entry = smscore_find_registry(devpath); in smscore_registry_gettype()
484 entry = smscore_find_registry(devpath); in smscore_registry_setmode()
491 static void smscore_registry_settype(char *devpath, in smscore_registry_settype() argument
496 entry = smscore_find_registry(devpath); in smscore_registry_settype()
730 strscpy(dev->devpath, params->devpath, sizeof(dev->devpath)); in smscore_register_device()
[all …]
A Dsmsir.c58 strscpy(coredev->ir.phys, coredev->devpath, sizeof(coredev->ir.phys)); in sms_ir_init()
A Dsmscoreapi.h126 char devpath[32]; member
166 char devpath[32]; member
1107 extern int smscore_registry_getmode(char *devpath);
A Dsmsdvb-debugfs.c462 client->debugfs = debugfs_create_dir(coredev->devpath, in smsdvb_debugfs_create()
466 coredev->devpath); in smsdvb_debugfs_create()
/linux-6.3-rc2/fs/pstore/
A Dblk.c206 const char *devpath) in __register_pstore_blk() argument
212 psblk_file = filp_open(devpath, O_RDWR | O_DSYNC | O_NOATIME | O_EXCL, 0); in __register_pstore_blk()
215 pr_err("failed to open '%s': %d!\n", devpath, ret); in __register_pstore_blk()
220 pr_err("'%s' is not block device!\n", devpath); in __register_pstore_blk()
/linux-6.3-rc2/drivers/usb/core/
A Dusb.c623 dev->devpath[0] = '0'; in usb_alloc_dev()
632 if (parent->devpath[0] == '0') { in usb_alloc_dev()
633 snprintf(dev->devpath, sizeof dev->devpath, in usb_alloc_dev()
638 snprintf(dev->devpath, sizeof dev->devpath, in usb_alloc_dev()
639 "%s.%d", parent->devpath, port1); in usb_alloc_dev()
650 dev_set_name(&dev->dev, "%d-%s", bus->busnum, dev->devpath); in usb_alloc_dev()
/linux-6.3-rc2/drivers/media/usb/siano/
A Dsmsusb.c449 usb_make_path(dev->udev, params.devpath, sizeof(params.devpath)); in smsusb_init_device()
501 char devpath[32]; in smsusb_probe() local
550 snprintf(devpath, sizeof(devpath), "usb\\%d-%s", in smsusb_probe()
551 udev->bus->busnum, udev->devpath); in smsusb_probe()
553 devpath); in smsusb_probe()
555 udev, smscore_registry_getmode(devpath), in smsusb_probe()
/linux-6.3-rc2/Documentation/admin-guide/
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-6.3-rc2/security/apparmor/
A Dmount.c358 char *buffer, const struct path *devpath, char *devbuffer, in match_mnt() argument
368 AA_BUG(devpath && !devbuffer); in match_mnt()
373 if (devpath) { in match_mnt()
374 error = aa_path_name(devpath, path_flags(profile, devpath), in match_mnt()
/linux-6.3-rc2/drivers/block/xen-blkback/
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-6.3-rc2/drivers/net/usb/
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()
A Dusbnet.c834 dev->udev->bus->bus_name, dev->udev->devpath, in usbnet_stop()
881 dev->udev->devpath, in usbnet_open()
892 dev->udev->devpath, in usbnet_open()
1220 dev->udev->devpath, in usbnet_deferred_kevent()
1617 xdev->bus->bus_name, xdev->devpath, in usbnet_disconnect()
1829 xdev->bus->bus_name, xdev->devpath, in usbnet_probe()
/linux-6.3-rc2/drivers/media/mmc/siano/
A Dsmssdio.c260 snprintf(params.devpath, sizeof(params.devpath), in smssdio_probe()
/linux-6.3-rc2/drivers/usb/host/
A 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 …]
A Dehci-q.c239 urb->dev->devpath, in qtd_copy_status()
271 __func__, urb->dev->devpath, urb, in ehci_urb_done()
1122 __func__, urb->dev->devpath, urb, in submit_async()
/linux-6.3-rc2/arch/sparc/include/asm/
A Dopenprom.h40 int (*v2_dev_open)(char *devpath);
/linux-6.3-rc2/arch/m68k/include/asm/
A Dopenprom.h48 int (*v2_dev_open)(char *devpath);
/linux-6.3-rc2/drivers/hid/usbhid/
A Dusbmouse.c85 mouse->usbdev->devpath, status); in usb_mouse_irq()
/linux-6.3-rc2/drivers/input/tablet/
A Dacecad.c90 udev->devpath, status); in usb_acecad_irq()
/linux-6.3-rc2/drivers/usb/storage/
A Donetouch.c116 onetouch->udev->devpath, retval); in usb_onetouch_irq()

Completed in 53 milliseconds

12