Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c336 struct usb_gadget_strings *lang_str; in ast_vhub_collect_languages() local
347 lang_str = ast_vhub_str_of_container(container); in ast_vhub_collect_languages()
348 sdesc->wData[nlangs++] = cpu_to_le16(lang_str->language); in ast_vhub_collect_languages()
361 struct usb_gadget_strings *lang_str; in ast_vhub_lookup_string() local
365 lang_str = ast_vhub_str_of_container(container); in ast_vhub_lookup_string()
366 if (lang_str->language == lang_id) in ast_vhub_lookup_string()
367 return lang_str; in ast_vhub_lookup_string()
380 struct usb_gadget_strings *lang_str; in ast_vhub_rep_string() local
385 lang_str = ast_vhub_lookup_string(vhub, lang_id); in ast_vhub_rep_string()
386 if (!lang_str) in ast_vhub_rep_string()
[all …]
/Linux-v6.6/drivers/platform/x86/
Dthinkpad_acpi.c10531 const char *lang_str; member
10614 len += sysfs_emit_at(buf, len, "[%s]", keyboard_lang_data[i].lang_str); in keyboard_lang_show()
10616 len += sysfs_emit_at(buf, len, "%s", keyboard_lang_data[i].lang_str); in keyboard_lang_show()
10633 if (sysfs_streq(buf, keyboard_lang_data[i].lang_str)) { in keyboard_lang_store()