Lines Matching refs:pre
140 struct vb2_fw_preamble *pre; in vb2_load_fw_preamble() local
156 pre = vb2_workbuf_alloc(&wb, sizeof(*pre)); in vb2_load_fw_preamble()
157 if (!pre) in vb2_load_fw_preamble()
162 pre, sizeof(*pre)); in vb2_load_fw_preamble()
166 pre_size = pre->preamble_size; in vb2_load_fw_preamble()
169 pre = vb2_workbuf_realloc(&wb, sizeof(*pre), pre_size); in vb2_load_fw_preamble()
170 if (!pre) in vb2_load_fw_preamble()
175 pre, pre_size); in vb2_load_fw_preamble()
182 rv = vb2_verify_fw_preamble(pre, pre_size, &data_key, &wb); in vb2_load_fw_preamble()
192 if (pre->firmware_version > 0xffff) in vb2_load_fw_preamble()
195 sd->fw_version |= pre->firmware_version; in vb2_load_fw_preamble()
219 sd->workbuf_preamble_offset = vb2_offset_of(ctx->workbuf, pre); in vb2_load_fw_preamble()