Searched refs:UB_MAX_DEV (Results 1 - 4 of 4) sorted by relevance

/freebsd-12-stable/stand/uboot/lib/
H A Dglue.h65 #define UB_MAX_DEV 6 /* max devices number */ macro
H A Dglue.c241 * Devices are identified by handles: numbers 0, 1, 2, ..., UB_MAX_DEV-1
245 static struct device_info devices[UB_MAX_DEV];
251 return ((i < 0 || i >= UB_MAX_DEV) ? NULL : &devices[i]);
266 memset(&devices, 0, sizeof(struct device_info) * UB_MAX_DEV);
274 if (++n >= UB_MAX_DEV)
301 if (handle < 0 || handle >= UB_MAX_DEV)
316 if (handle < 0 || handle >= UB_MAX_DEV)
338 if (handle < 0 || handle >= UB_MAX_DEV)
H A Ddisk.c66 } stor_info[UB_MAX_DEV];
109 if (stor_info_no >= UB_MAX_DEV) {
/freebsd-12-stable/stand/uboot/common/
H A Dmain.c378 for (currdev.dd.d_unit = 0; currdev.dd.d_unit < UB_MAX_DEV;
394 for (unit = 0; unit < UB_MAX_DEV; unit++) {

Completed in 60 milliseconds