Lines Matching refs:locale
141 parse_locale(char *arg, uint16_t *locale) in parse_locale() argument
147 *locale = MFI_EVT_LOCALE_LD; in parse_locale()
151 *locale = MFI_EVT_LOCALE_PD; in parse_locale()
155 *locale = MFI_EVT_LOCALE_ENCL; in parse_locale()
160 *locale = MFI_EVT_LOCALE_BBU; in parse_locale()
164 *locale = MFI_EVT_LOCALE_SAS; in parse_locale()
168 *locale = MFI_EVT_LOCALE_CTRL; in parse_locale()
172 *locale = MFI_EVT_LOCALE_CONFIG; in parse_locale()
176 *locale = MFI_EVT_LOCALE_CLUSTER; in parse_locale()
180 *locale = MFI_EVT_LOCALE_ALL; in parse_locale()
188 *locale = val; in parse_locale()
271 format_locale(uint16_t locale) in format_locale() argument
275 switch (locale) { in format_locale()
295 snprintf(buffer, sizeof(buffer), "0x%04x", locale); in format_locale()
368 format_locale(detail->evt_class.members.locale), in mfi_decode_evt()
543 uint16_t locale; in show_events() local
565 filter.members.locale = MFI_EVT_LOCALE_ALL; in show_events()
584 if (parse_locale(optarg, &locale) < 0) { in show_events()
590 filter.members.locale = locale; in show_events()