Searched refs:devstr (Results 1 – 4 of 4) sorted by relevance
| /freebsd-10-stable/sys/boot/uboot/common/ |
| D | 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() 201 char *devstr; in get_load_device() local 210 devstr = ub_env_get("loaderdev"); in get_load_device() 211 if (devstr == NULL) { in get_load_device() 215 printf("U-Boot env: loaderdev='%s'\n", devstr); in get_load_device() 217 p = get_device_type(devstr, type); in get_load_device()
|
| /freebsd-10-stable/contrib/ofed/libcxgb4/src/ |
| D | dev.c | 392 char devstr[IBV_SYSFS_PATH_MAX], ibdev[16], value[128], *cp; in cxgb4_driver_init() local 461 memset(devstr, 0, sizeof devstr); in cxgb4_driver_init() 462 snprintf(devstr, sizeof devstr, "%s/class/infiniband/%s", in cxgb4_driver_init() 464 if (ibv_read_sysfs_file(devstr, "fw_ver", value, sizeof value) < 0) in cxgb4_driver_init()
|
| /freebsd-10-stable/usr.sbin/ndiscvt/ |
| D | 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-10-stable/sys/dev/sound/pci/hda/ |
| D | 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()
|