Lines Matching refs:buff_len
3510 int buff_len = QUERY_DESC_MAX_SIZE; in ufshcd_read_desc_param() local
3518 if (param_offset != 0 || param_size < buff_len) { in ufshcd_read_desc_param()
3519 desc_buf = kzalloc(buff_len, GFP_KERNEL); in ufshcd_read_desc_param()
3530 desc_buf, &buff_len); in ufshcd_read_desc_param()
3538 buff_len = desc_buf[QUERY_DESC_LENGTH_OFFSET]; in ufshcd_read_desc_param()
3540 if (param_offset >= buff_len) { in ufshcd_read_desc_param()
3542 __func__, param_offset, desc_id, buff_len); in ufshcd_read_desc_param()
3557 if (param_offset >= buff_len) in ufshcd_read_desc_param()
3561 min_t(u32, param_size, buff_len - param_offset)); in ufshcd_read_desc_param()
7078 u8 *desc_buff, int *buff_len, in ufshcd_issue_devman_upiu_cmd() argument
7118 memcpy(lrbp->ucd_req_ptr + 1, desc_buff, *buff_len); in ufshcd_issue_devman_upiu_cmd()
7119 *buff_len = 0; in ufshcd_issue_devman_upiu_cmd()
7143 if (*buff_len >= resp_len) { in ufshcd_issue_devman_upiu_cmd()
7145 *buff_len = resp_len; in ufshcd_issue_devman_upiu_cmd()
7149 __func__, resp_len, *buff_len); in ufshcd_issue_devman_upiu_cmd()
7150 *buff_len = 0; in ufshcd_issue_devman_upiu_cmd()
7182 u8 *desc_buff, int *buff_len, in ufshcd_exec_raw_upiu_cmd() argument
7199 desc_buff, buff_len, in ufshcd_exec_raw_upiu_cmd()