Home
last modified time | relevance | path

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

/openbmc/u-boot/cmd/
H A Dhost.c45 char *dev_str = argv[1]; in do_host_bind() local
47 int dev = simple_strtoul(dev_str, &ep, 16); in do_host_bind()
49 printf("** Bad device specification %s **\n", dev_str); in do_host_bind()
64 char *dev_str = argv[1]; in do_host_info() local
65 int dev = simple_strtoul(dev_str, &ep, 16); in do_host_info()
67 printf("** Bad device specification %s **\n", dev_str); in do_host_info()
/openbmc/linux/drivers/xen/xen-pciback/
H A 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 …]
/openbmc/u-boot/disk/
H A Dpart.c375 const char *dev_str, *hwpart_str; in blk_get_device_by_str() local
382 dev_str = dup_str; in blk_get_device_by_str()
385 dev_str = dev_hwpart_str; in blk_get_device_by_str()
389 dev = simple_strtoul(dev_str, &ep, 16); in blk_get_device_by_str()
392 ifname, dev_str); in blk_get_device_by_str()
438 const char *dev_str; in blk_get_device_part_str() local
507 dev_str = dup_str; in blk_get_device_part_str()
510 dev_str = dev_part_str; in blk_get_device_part_str()
514 dev = blk_get_device_by_str(ifname, dev_str, dev_desc); in blk_get_device_part_str()
545 dev_str); in blk_get_device_part_str()
[all …]
/openbmc/linux/drivers/watchdog/
H A Dwatchdog_core.c121 const char *dev_str = wdd->parent ? dev_name(wdd->parent) : in watchdog_init_timeout() local
135 dev_str, timeout_parm); in watchdog_init_timeout()
146 pr_err("%s: DT supplied timeout (%u) out of range\n", dev_str, t); in watchdog_init_timeout()
151 pr_warn("%s: falling back to default timeout (%u)\n", dev_str, in watchdog_init_timeout()
352 const char *dev_str; in watchdog_register_device() local
363 dev_str = wdd->parent ? dev_name(wdd->parent) : in watchdog_register_device()
366 dev_str, ret); in watchdog_register_device()
/openbmc/linux/arch/mips/alchemy/common/
H A Ddma.c110 i, chan->dev_str); in au1000_dma_read_proc()
162 int request_au1000_dma(int dev_id, const char *dev_str, in request_au1000_dma() argument
196 ret = request_irq(chan->irq, irqhandler, irqflags, dev_str, in request_au1000_dma()
210 chan->dev_str = dev_str; in request_au1000_dma()
/openbmc/qemu/hw/arm/
H A Draspi4b.c77 const char *dev_str = nodes_to_remove[i]; in raspi4_modify_dtb() local
79 int offset = fdt_node_offset_by_compatible(fdt, -1, dev_str); in raspi4_modify_dtb()
82 warn_report("bcm2711 dtc: %s has been disabled!", dev_str); in raspi4_modify_dtb()
/openbmc/u-boot/arch/arm/mach-orion5x/
H A Dcpu.c179 char dev_str[7]; /* room enough for 0x0000 plus null byte */ in print_cpuinfo() local
216 sprintf(dev_str, "0x%04x", dev); in print_cpuinfo()
217 dev_name = dev_str; in print_cpuinfo()
/openbmc/linux/arch/powerpc/perf/
H A Dimc-pmu.c224 struct attribute **attrs, *dev_str; in update_events_in_group() local
304 dev_str = device_str_attr_create(pmu->events[i].name, ev_val_str); in update_events_in_group()
305 if (!dev_str) in update_events_in_group()
308 attrs[j++] = dev_str; in update_events_in_group()
313 dev_str = device_str_attr_create(ev_scale_str, pmu->events[i].scale); in update_events_in_group()
314 if (!dev_str) in update_events_in_group()
317 attrs[j++] = dev_str; in update_events_in_group()
324 dev_str = device_str_attr_create(ev_unit_str, pmu->events[i].unit); in update_events_in_group()
325 if (!dev_str) in update_events_in_group()
328 attrs[j++] = dev_str; in update_events_in_group()
/openbmc/u-boot/include/
H A Dpart.h135 int blk_get_device_by_str(const char *ifname, const char *dev_str,
232 static inline int blk_get_device_by_str(const char *ifname, const char *dev_str, in blk_get_device_by_str() argument
/openbmc/linux/drivers/usb/gadget/
H A Dcomposite.c2359 struct usb_string *dev_str = gstr->strings; in __composite_unbind() local
2379 if (dev_str[USB_GADGET_MANUFACTURER_IDX].s == cdev->def_manufacturer) in __composite_unbind()
2380 dev_str[USB_GADGET_MANUFACTURER_IDX].s = ""; in __composite_unbind()
2782 struct usb_string *dev_str = gstr->strings; in usb_composite_overwrite_options() local
2794 desc->iSerialNumber = dev_str[USB_GADGET_SERIAL_IDX].id; in usb_composite_overwrite_options()
2795 dev_str[USB_GADGET_SERIAL_IDX].s = covr->serial_number; in usb_composite_overwrite_options()
2798 desc->iManufacturer = dev_str[USB_GADGET_MANUFACTURER_IDX].id; in usb_composite_overwrite_options()
2799 dev_str[USB_GADGET_MANUFACTURER_IDX].s = covr->manufacturer; in usb_composite_overwrite_options()
2801 } else if (!strlen(dev_str[USB_GADGET_MANUFACTURER_IDX].s)) { in usb_composite_overwrite_options()
2802 desc->iManufacturer = dev_str[USB_GADGET_MANUFACTURER_IDX].id; in usb_composite_overwrite_options()
[all …]
/openbmc/linux/arch/mips/include/asm/mach-au1x00/
H A Dau1000_dma.h110 const char *dev_str; member
120 const char *dev_str,
/openbmc/linux/arch/powerpc/platforms/ps3/
H A Dplatform.h105 unsigned int dev_index, const char *dev_str, u64 *value);
H A Drepository.c196 unsigned int dev_index, const char *dev_str, u64 *value) in ps3_repository_read_dev_str() argument
201 make_field(dev_str, 0), in ps3_repository_read_dev_str()
/openbmc/linux/fs/ocfs2/
H A Dsuper.c222 "Device", osb->dev_str, osb->uuid_str, in ocfs2_osb_dump()
1060 "Recovery will be skipped.\n", osb->dev_str); in ocfs2_fill_super()
1130 osb->dev_str, nodestr, osb->slot_num, in ocfs2_fill_super()
1937 osb->dev_str, nodestr); in ocfs2_dismount_volume()
2068 snprintf(osb->dev_str, sizeof(osb->dev_str), "%u,%u", in ocfs2_initialize_super()
2423 "unmounted cleanly, recovering it.\n", osb->dev_str); in ocfs2_check_volume()
H A Dquota_local.c402 "slot %u\n", osb->dev_str, slot_num); in ocfs2_begin_quota_recovery()
598 "slot %u\n", osb->dev_str, slot_num); in ocfs2_finish_quota_recovery()
617 "locked.\n", osb->dev_str, slot_num); in ocfs2_finish_quota_recovery()
H A Dslot_map.c474 "allocated to this node!\n", slot, osb->dev_str); in ocfs2_find_slot()
H A Dreservations.c81 osb->dev_str, resmap->m_bitmap_len); in ocfs2_dump_resv()
H A Docfs2.h412 char dev_str[20]; /* "major,minor" of the device */ member
H A Dresize.c248 osb->dev_str); in ocfs2_update_super_and_backups()
H A Dalloc.c226 osb->dev_str, in ocfs2_dinode_insert_check()
7669 osb->dev_str); in ocfs2_trim_fs()
7684 osb->dev_str, info.tf_nodenum); in ocfs2_trim_fs()