Searched refs:attr_table (Results 1 – 3 of 3) sorted by relevance
170 #define CGEN_ATTR_VALUE(obj, attr_table, attr) \ argument172 ? ((CGEN_ATTR_BOOLS (attr_table) & CGEN_ATTR_MASK (attr)) != 0) \173 : ((attr_table)->nonbool[(attr) - CGEN_ATTR_NBOOL_OFFSET].nonbitset))174 #define CGEN_BITSET_ATTR_VALUE(obj, attr_table, attr) \ argument175 ((attr_table)->nonbool[(attr) - CGEN_ATTR_NBOOL_OFFSET].bitset)
322 static const struct attr_table { struct412 static const struct attr_table micron_smart_names[] = {431 static const struct attr_table intel_smart_names[] = {438 static const struct attr_table samsung_smart_names[] = {454 const struct attr_table *table;872 const struct attr_table *vendor_table = NULL; in print_smart_status()