Lines Matching refs:type
105 if (di->type & DEV_TYP_STOR) in main()
132 if (di->type == DEV_TYP_NET) in main()
242 static char *test_stor_typ(int type) in test_stor_typ() argument
244 if (type & DT_STOR_IDE) in test_stor_typ()
247 if (type & DT_STOR_MMC) in test_stor_typ()
250 if (type & DT_STOR_SATA) in test_stor_typ()
253 if (type & DT_STOR_SCSI) in test_stor_typ()
256 if (type & DT_STOR_USB) in test_stor_typ()
299 printf(" type\t\t= 0x%08x\n", di->type); in test_dump_di()
301 if (di->type == DEV_TYP_NET) { in test_dump_di()
308 } else if (di->type & DEV_TYP_STOR) { in test_dump_di()
309 printf(" type\t\t= %s\n", test_stor_typ(di->type)); in test_dump_di()