Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxfw/
Dmlxfw_fsm.c99 u32 comp_max_size; in mlxfw_flash_component() local
109 &comp_max_size, &comp_align_bits, in mlxfw_flash_component()
114 comp_max_size = min_t(u32, comp_max_size, MLXFW_FSM_MAX_COMPONENT_SIZE); in mlxfw_flash_component()
115 if (comp->data_size > comp_max_size) { in mlxfw_flash_component()
117 comp->index, comp->data_size, comp_max_size); in mlxfw_flash_component()
/Linux-v5.4/drivers/media/platform/vicodec/
Dvicodec-core.c134 u32 comp_max_size; member
329 if (comp_frame_size > ctx->comp_max_size) in device_process()
626 max_to_copy = min(comp_frame_size, ctx->comp_max_size); in job_ready()
1627 ctx->comp_max_size = total_planes_size; in vicodec_start_streaming()
1644 new_comp_frame = kvmalloc(ctx->comp_max_size, GFP_KERNEL); in vicodec_start_streaming()
1657 if (ctx->comp_size > ctx->comp_max_size) in vicodec_start_streaming()
1658 ctx->comp_size = ctx->comp_max_size; in vicodec_start_streaming()
1724 ctx->comp_max_size = 0; in vicodec_stop_streaming()