Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/cmd/
H A Dhost.c46 char *dev_str = argv[1]; in do_host_bind() local
48 int dev = simple_strtoul(dev_str, &ep, 16); in do_host_bind()
50 printf("** Bad device specification %s **\n", dev_str); in do_host_bind()
65 char *dev_str = argv[1]; in do_host_info() local
66 int dev = simple_strtoul(dev_str, &ep, 16); in do_host_info()
68 printf("** Bad device specification %s **\n", dev_str); in do_host_info()
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/u-boot/disk/
H A Dpart.c405 const char *dev_str, *hwpart_str; in blk_get_device_by_str() local
412 dev_str = dup_str; in blk_get_device_by_str()
415 dev_str = dev_hwpart_str; in blk_get_device_by_str()
419 dev = simple_strtoul(dev_str, &ep, 16); in blk_get_device_by_str()
422 ifname, dev_str); in blk_get_device_by_str()
468 const char *dev_str; in blk_get_device_part_str() local
537 dev_str = dup_str; in blk_get_device_part_str()
540 dev_str = dev_part_str; in blk_get_device_part_str()
544 dev = blk_get_device_by_str(ifname, dev_str, dev_desc); in blk_get_device_part_str()
575 dev_str); in blk_get_device_part_str()
[all …]
/OK3568_Linux_fs/kernel/drivers/watchdog/
H A Dwatchdog_core.c117 const char *dev_str = wdd->parent ? dev_name(wdd->parent) : in watchdog_init_timeout() local
131 dev_str, timeout_parm); in watchdog_init_timeout()
142 pr_err("%s: DT supplied timeout (%u) out of range\n", dev_str, t); in watchdog_init_timeout()
147 pr_warn("%s: falling back to default timeout (%u)\n", dev_str, in watchdog_init_timeout()
311 const char *dev_str; in watchdog_register_device() local
322 dev_str = wdd->parent ? dev_name(wdd->parent) : in watchdog_register_device()
325 dev_str, ret); in watchdog_register_device()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/arch/arm/mach-orion5x/
H A Dcpu.c180 char dev_str[7]; /* room enough for 0x0000 plus null byte */ in print_cpuinfo() local
217 sprintf(dev_str, "0x%04x", dev); in print_cpuinfo()
218 dev_name = dev_str; in print_cpuinfo()
/OK3568_Linux_fs/kernel/arch/powerpc/perf/
H A Dimc-pmu.c222 struct attribute **attrs, *dev_str; in update_events_in_group() local
294 dev_str = device_str_attr_create(pmu->events[i].name, ev_val_str); in update_events_in_group()
295 if (!dev_str) in update_events_in_group()
298 attrs[j++] = dev_str; in update_events_in_group()
301 dev_str = device_str_attr_create(ev_scale_str, pmu->events[i].scale); in update_events_in_group()
302 if (!dev_str) in update_events_in_group()
305 attrs[j++] = dev_str; in update_events_in_group()
310 dev_str = device_str_attr_create(ev_unit_str, pmu->events[i].unit); in update_events_in_group()
311 if (!dev_str) in update_events_in_group()
314 attrs[j++] = dev_str; in update_events_in_group()
/OK3568_Linux_fs/u-boot/include/
H A Dpart.h143 int blk_get_device_by_str(const char *ifname, const char *dev_str,
241 static inline int blk_get_device_by_str(const char *ifname, const char *dev_str, in blk_get_device_by_str() argument
/OK3568_Linux_fs/kernel/drivers/usb/gadget/
H A Dcomposite.c2158 struct usb_string *dev_str = gstr->strings; in __composite_unbind() local
2178 if (dev_str[USB_GADGET_MANUFACTURER_IDX].s == cdev->def_manufacturer) in __composite_unbind()
2179 dev_str[USB_GADGET_MANUFACTURER_IDX].s = ""; in __composite_unbind()
2572 struct usb_string *dev_str = gstr->strings; in usb_composite_overwrite_options() local
2584 desc->iSerialNumber = dev_str[USB_GADGET_SERIAL_IDX].id; in usb_composite_overwrite_options()
2585 dev_str[USB_GADGET_SERIAL_IDX].s = covr->serial_number; in usb_composite_overwrite_options()
2588 desc->iManufacturer = dev_str[USB_GADGET_MANUFACTURER_IDX].id; in usb_composite_overwrite_options()
2589 dev_str[USB_GADGET_MANUFACTURER_IDX].s = covr->manufacturer; in usb_composite_overwrite_options()
2591 } else if (!strlen(dev_str[USB_GADGET_MANUFACTURER_IDX].s)) { in usb_composite_overwrite_options()
2592 desc->iManufacturer = dev_str[USB_GADGET_MANUFACTURER_IDX].id; in usb_composite_overwrite_options()
[all …]
/OK3568_Linux_fs/kernel/arch/mips/include/asm/mach-au1x00/
H A Dau1000_dma.h110 const char *dev_str; member
120 const char *dev_str,
/OK3568_Linux_fs/kernel/fs/ocfs2/
H A Dsuper.c226 "Device", osb->dev_str, osb->uuid_str, in ocfs2_osb_dump()
1067 "Recovery will be skipped.\n", osb->dev_str); in ocfs2_fill_super()
1139 osb->dev_str, nodestr, osb->slot_num, in ocfs2_fill_super()
1932 osb->dev_str, nodestr); in ocfs2_dismount_volume()
2064 snprintf(osb->dev_str, sizeof(osb->dev_str), "%u,%u", in ocfs2_initialize_super()
2414 "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.c476 "allocated to this node!\n", slot, osb->dev_str); in ocfs2_find_slot()
H A Dreservations.c83 osb->dev_str, resmap->m_bitmap_len); in ocfs2_dump_resv()
H A Docfs2.h387 char dev_str[20]; /* "major,minor" of the device */ member
H A Dresize.c250 osb->dev_str); in ocfs2_update_super_and_backups()
H A Dalloc.c228 osb->dev_str, in ocfs2_dinode_insert_check()
7664 osb->dev_str); in ocfs2_trim_fs()
7679 osb->dev_str, info.tf_nodenum); in ocfs2_trim_fs()
/OK3568_Linux_fs/kernel/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()