Home
last modified time | relevance | path

Searched refs:chassis_type (Results 1 – 2 of 2) sorted by relevance

/src/usr.sbin/moused/moused/
H A Dquirks.c417 char chassis_vendor[LEN], chassis_type[LEN], chassis_version[LEN]; in init_dmi() local
430 kenv(KENV_GET, "smbios.chassis.type", chassis_type, LEN); in init_dmi()
434 if (strcmp(chassis_type, "Desktop") == 0) in init_dmi()
436 else if (strcmp(chassis_type, "Portable") == 0) in init_dmi()
438 else if (strcmp(chassis_type, "Laptop") == 0) in init_dmi()
440 else if (strcmp(chassis_type, "Notebook") == 0) in init_dmi()
442 else if (strcmp(chassis_type, "Tablet") == 0) in init_dmi()
444 else if (strcmp(chassis_type, "Convertible") == 0) in init_dmi()
446 else if (strcmp(chassis_type, "Detachable") == 0) in init_dmi()
/src/contrib/ofed/libibnetdisc/
H A Dchassis.c65 int chassis_type; in ibnd_get_chassis_type() local
75 chassis_type = mad_get_field(node->info, 0, IB_NODE_VENDORID_F); in ibnd_get_chassis_type()
77 switch (chassis_type) in ibnd_get_chassis_type()