Lines Matching defs:locale
143 parse_locale(char *arg, uint16_t *locale)
149 *locale = MFI_EVT_LOCALE_LD;
153 *locale = MFI_EVT_LOCALE_PD;
157 *locale = MFI_EVT_LOCALE_ENCL;
162 *locale = MFI_EVT_LOCALE_BBU;
166 *locale = MFI_EVT_LOCALE_SAS;
170 *locale = MFI_EVT_LOCALE_CTRL;
174 *locale = MFI_EVT_LOCALE_CONFIG;
178 *locale = MFI_EVT_LOCALE_CLUSTER;
182 *locale = MFI_EVT_LOCALE_ALL;
190 *locale = val;
273 format_locale(uint16_t locale)
277 switch (locale) {
297 snprintf(buffer, sizeof(buffer), "0x%04x", locale);
370 format_locale(detail->evt_class.members.locale),
545 uint16_t locale;
567 filter.members.locale = MFI_EVT_LOCALE_ALL;
586 if (parse_locale(optarg, &locale) < 0) {
588 warn("Error parsing event locale");
592 filter.members.locale = locale;