Lines Matching refs:uc_str
3523 struct uc_string_id *uc_str; in ufshcd_read_string_desc() local
3530 uc_str = kzalloc(QUERY_DESC_MAX_SIZE, GFP_KERNEL); in ufshcd_read_string_desc()
3531 if (!uc_str) in ufshcd_read_string_desc()
3535 (u8 *)uc_str, QUERY_DESC_MAX_SIZE); in ufshcd_read_string_desc()
3543 if (uc_str->len <= QUERY_DESC_HDR_SIZE) { in ufshcd_read_string_desc()
3554 ascii_len = (uc_str->len - QUERY_DESC_HDR_SIZE) / 2 + 1; in ufshcd_read_string_desc()
3565 ret = utf16s_to_utf8s(uc_str->uc, in ufshcd_read_string_desc()
3566 uc_str->len - QUERY_DESC_HDR_SIZE, in ufshcd_read_string_desc()
3576 str = kmemdup(uc_str, uc_str->len, GFP_KERNEL); in ufshcd_read_string_desc()
3581 ret = uc_str->len; in ufshcd_read_string_desc()
3585 kfree(uc_str); in ufshcd_read_string_desc()