Home
last modified time | relevance | path

Searched refs:dev_str (Results 1 – 3 of 3) sorted by relevance

/drivers/xen/xen-pciback/
Dxenbus.c371 char dev_str[64]; in xen_pcibk_reconfigure() local
406 len = snprintf(dev_str, sizeof(dev_str), "dev-%d", i); in xen_pcibk_reconfigure()
407 if (unlikely(len >= (sizeof(dev_str) - 1))) { in xen_pcibk_reconfigure()
415 dev_str, "%x:%x:%x.%x", in xen_pcibk_reconfigure()
460 len = snprintf(dev_str, sizeof(dev_str), "vdev-%d", i); in xen_pcibk_reconfigure()
461 if (unlikely(len >= (sizeof(dev_str) - 1))) { in xen_pcibk_reconfigure()
469 dev_str, "%x:%x:%x.%x", in xen_pcibk_reconfigure()
568 char dev_str[64]; in xen_pcibk_setup_backend() local
592 int l = snprintf(dev_str, sizeof(dev_str), "dev-%d", i); in xen_pcibk_setup_backend()
593 if (unlikely(l >= (sizeof(dev_str) - 1))) { in xen_pcibk_setup_backend()
[all …]
/drivers/watchdog/
Dwatchdog_core.c118 const char *dev_str = wdd->parent ? dev_name(wdd->parent) : in watchdog_init_timeout() local
132 dev_str, timeout_parm); in watchdog_init_timeout()
143 pr_err("%s: DT supplied timeout (%u) out of range\n", dev_str, t); in watchdog_init_timeout()
148 pr_warn("%s: falling back to default timeout (%u)\n", dev_str, in watchdog_init_timeout()
348 const char *dev_str; in watchdog_register_device() local
359 dev_str = wdd->parent ? dev_name(wdd->parent) : in watchdog_register_device()
362 dev_str, ret); in watchdog_register_device()
/drivers/usb/gadget/
Dcomposite.c2180 struct usb_string *dev_str = gstr->strings; in __composite_unbind() local
2200 if (dev_str[USB_GADGET_MANUFACTURER_IDX].s == cdev->def_manufacturer) in __composite_unbind()
2201 dev_str[USB_GADGET_MANUFACTURER_IDX].s = ""; in __composite_unbind()
2594 struct usb_string *dev_str = gstr->strings; in usb_composite_overwrite_options() local
2606 desc->iSerialNumber = dev_str[USB_GADGET_SERIAL_IDX].id; in usb_composite_overwrite_options()
2607 dev_str[USB_GADGET_SERIAL_IDX].s = covr->serial_number; in usb_composite_overwrite_options()
2610 desc->iManufacturer = dev_str[USB_GADGET_MANUFACTURER_IDX].id; in usb_composite_overwrite_options()
2611 dev_str[USB_GADGET_MANUFACTURER_IDX].s = covr->manufacturer; in usb_composite_overwrite_options()
2613 } else if (!strlen(dev_str[USB_GADGET_MANUFACTURER_IDX].s)) { in usb_composite_overwrite_options()
2614 desc->iManufacturer = dev_str[USB_GADGET_MANUFACTURER_IDX].id; in usb_composite_overwrite_options()
[all …]