Lines Matching refs:abbr
54 static void model_set(const char *abbr, const char *rating) in model_set() argument
56 if (!strncmp(abbr, "FOR", 3)) { in model_set()
62 if (!strncmp(abbr, "FTC", 3)) { in model_set()
68 if (!strncmp(abbr, "PRO", 3)) { in model_set()
75 if (!strncmp(abbr, "PR2", 3)) { in model_set()
82 if (!strncmp(abbr, "325", 3)) { in model_set()
88 if (!strncmp(abbr, "520", 3)) { in model_set()
94 if (!strncmp(abbr, "610", 3)) { in model_set()
100 if (!strncmp(abbr, "620", 3)) { in model_set()
106 if (!strncmp(abbr, "AX1", 3)) { in model_set()
113 dstate_setinfo("ups.model", "Unknown %s (%s)", abbr, rating); in model_set()
115 printf("Unknown model detected - please report this ID: '%s'\n", abbr); in model_set()