Home
last modified time | relevance | path

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

/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c337 struct usb_gadget_strings *lang_str; in ast_vhub_collect_languages() local
348 lang_str = ast_vhub_str_of_container(container); in ast_vhub_collect_languages()
349 sdesc->wData[nlangs++] = cpu_to_le16(lang_str->language); in ast_vhub_collect_languages()
362 struct usb_gadget_strings *lang_str; in ast_vhub_lookup_string() local
366 lang_str = ast_vhub_str_of_container(container); in ast_vhub_lookup_string()
367 if (lang_str->language == lang_id) in ast_vhub_lookup_string()
368 return lang_str; in ast_vhub_lookup_string()
381 struct usb_gadget_strings *lang_str; in ast_vhub_rep_string() local
386 lang_str = ast_vhub_lookup_string(vhub, lang_id); in ast_vhub_rep_string()
387 if (!lang_str) in ast_vhub_rep_string()
[all …]
/drivers/platform/x86/
Dthinkpad_acpi.c10808 const char *lang_str; member
10891 len += sysfs_emit_at(buf, len, "[%s]", keyboard_lang_data[i].lang_str); in keyboard_lang_show()
10893 len += sysfs_emit_at(buf, len, "%s", keyboard_lang_data[i].lang_str); in keyboard_lang_show()
10910 if (sysfs_streq(buf, keyboard_lang_data[i].lang_str)) { in keyboard_lang_store()