Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxfw/
Dmlxfw_fsm.c114 u32 comp_max_size; in mlxfw_flash_component() local
121 &comp_max_size, &comp_align_bits, in mlxfw_flash_component()
126 comp_max_size = min_t(u32, comp_max_size, MLXFW_FSM_MAX_COMPONENT_SIZE); in mlxfw_flash_component()
127 if (comp->data_size > comp_max_size) { in mlxfw_flash_component()
129 comp->index, comp->data_size, comp_max_size); in mlxfw_flash_component()
/Linux-v4.19/drivers/media/platform/vicodec/
Dvicodec-core.c118 u32 comp_max_size; member
480 if (ctx->comp_frame_size > ctx->comp_max_size) in job_ready()
481 ctx->comp_frame_size = ctx->comp_max_size; in job_ready()
1131 ctx->comp_max_size = size * 3 / 2 + sizeof(struct cframe_hdr); in vicodec_start_streaming()
1132 ctx->compressed_frame = kvmalloc(ctx->comp_max_size, GFP_KERNEL); in vicodec_start_streaming()