Home
last modified time | relevance | path

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

/openbmc/linux/drivers/ufs/core/
H A Dufshcd.c3600 struct uc_string_id *uc_str; in ufshcd_read_string_desc() local
3607 uc_str = kzalloc(QUERY_DESC_MAX_SIZE, GFP_KERNEL); in ufshcd_read_string_desc()
3608 if (!uc_str) in ufshcd_read_string_desc()
3612 (u8 *)uc_str, QUERY_DESC_MAX_SIZE); in ufshcd_read_string_desc()
3620 if (uc_str->len <= QUERY_DESC_HDR_SIZE) { in ufshcd_read_string_desc()
3631 ascii_len = (uc_str->len - QUERY_DESC_HDR_SIZE) / 2 + 1; in ufshcd_read_string_desc()
3642 ret = utf16s_to_utf8s(uc_str->uc, in ufshcd_read_string_desc()
3643 uc_str->len - QUERY_DESC_HDR_SIZE, in ufshcd_read_string_desc()
3653 str = kmemdup(uc_str, uc_str->len, GFP_KERNEL); in ufshcd_read_string_desc()
3658 ret = uc_str->len; in ufshcd_read_string_desc()
[all …]