Searched refs:devstr (Results 1 – 5 of 5) sorted by relevance
| /freebsd-11-stable/stand/uboot/common/ |
| HD | main.c | 141 get_device_type(const char *devstr, int *devtype) in get_device_type() argument 147 if (devstr) { in get_device_type() 151 if (strncmp(dt->name, devstr, namelen) == 0) { in get_device_type() 153 return (devstr + namelen); in get_device_type() 156 printf("Unknown device type '%s'\n", devstr); in get_device_type() 210 char *devstr; in get_load_device() local 219 devstr = ub_env_get("loaderdev"); in get_load_device() 220 if (devstr == NULL) { in get_load_device() 224 printf("U-Boot env: loaderdev='%s'\n", devstr); in get_load_device() 226 p = get_device_type(devstr, type); in get_load_device()
|
| /freebsd-11-stable/sys/mips/atheros/ |
| HD | ar71xx_machdep.c | 242 char devstr[32]; in ar71xx_platform_set_mac_hint() local 251 snprintf(devstr, 32, "hint.%s.%d.macaddr", dev, unit); in ar71xx_platform_set_mac_hint() 253 printf(" %s => %s\n", devstr, macstr); in ar71xx_platform_set_mac_hint() 256 if (kern_setenv(devstr, macstr) != 0) { in ar71xx_platform_set_mac_hint() 259 devstr, in ar71xx_platform_set_mac_hint()
|
| /freebsd-11-stable/contrib/ofed/libcxgb4/ |
| HD | dev.c | 415 char devstr[IBV_SYSFS_PATH_MAX], ibdev[16], value[128], *cp; in cxgb4_driver_init() local 487 memset(devstr, 0, sizeof devstr); in cxgb4_driver_init() 488 snprintf(devstr, sizeof devstr, "%s/class/infiniband/%s", in cxgb4_driver_init() 490 if (ibv_read_sysfs_file(devstr, "fw_ver", value, sizeof value) < 0) in cxgb4_driver_init()
|
| /freebsd-11-stable/usr.sbin/ndiscvt/ |
| HD | inf.c | 181 char *manstr, *devstr; in dump_pcmcia_id() local 212 devstr = p0; in dump_pcmcia_id() 222 fprintf(ofp, "\t\\\n\t{ \"%s\", \"%s\", ", manstr, devstr); in dump_pcmcia_id()
|
| /freebsd-11-stable/sys/dev/sound/pci/hda/ |
| HD | hdaa.c | 1616 const char *devstr; in hdaa_widget_postprocess() local 1620 devstr = HDA_DEVS[(config & HDA_CONFIG_DEFAULTCONF_DEVICE_MASK) >> in hdaa_widget_postprocess() 1627 strlcat(w->name, devstr, sizeof(w->name)); in hdaa_widget_postprocess()
|