Searched refs:comp_max_size (Results 1 - 2 of 2) sorted by relevance

/linux-master/drivers/net/ethernet/mellanox/mlxfw/
H A Dmlxfw_fsm.c215 u32 comp_max_size; local
225 &comp_max_size, &comp_align_bits,
232 comp_max_size = min_t(u32, comp_max_size, MLXFW_FSM_MAX_COMPONENT_SIZE);
233 if (comp->data_size > comp_max_size) {
/linux-master/drivers/media/test-drivers/vicodec/
H A Dvicodec-core.c129 u32 comp_max_size; member in struct:vicodec_ctx
320 if (comp_frame_size > ctx->comp_max_size)
611 * resolution so its size might be larger than ctx->comp_max_size.
616 max_to_copy = min(comp_frame_size, ctx->comp_max_size);
1583 ctx->comp_max_size = total_planes_size;
1600 new_comp_frame = kvmalloc(ctx->comp_max_size, GFP_KERNEL);
1613 if (ctx->comp_size > ctx->comp_max_size)
1614 ctx->comp_size = ctx->comp_max_size;
1663 ctx->comp_max_size = 0;

Completed in 195 milliseconds