Home
last modified time | relevance | path

Searched refs:comp_num (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/media/platform/mtk-jpeg/
Dmtk_jpeg_parse.c111 param->comp_num = read_byte(&stream); in mtk_jpeg_do_parse()
112 if (param->comp_num != 1 && param->comp_num != 3) in mtk_jpeg_do_parse()
115 for (i = 0; i < param->comp_num; i++) { in mtk_jpeg_do_parse()
132 notfound = !(i == param->comp_num); in mtk_jpeg_do_parse()
Dmtk_jpeg_hw.c96 if (i >= param->comp_num) in mtk_jpeg_calc_mcu()
105 if (i < param->blk_num && comp < param->comp_num) { in mtk_jpeg_calc_mcu()
156 for (i = 0; i < param->comp_num; i++) { in mtk_jpeg_calc_dst_size()
367 static void mtk_jpeg_dec_set_sampling_factor(void __iomem *base, u32 comp_num, in mtk_jpeg_dec_set_sampling_factor() argument
376 if (comp_num == 1) in mtk_jpeg_dec_set_sampling_factor()
395 (config->comp_num == 1) ? 1 : 0); in mtk_jpeg_dec_set_config()
400 mtk_jpeg_dec_set_sampling_factor(base, config->comp_num, in mtk_jpeg_dec_set_config()
Dmtk_jpeg_hw.h44 u32 comp_num; member
Dmtk_jpeg_core.c786 if (param->comp_num != dst_buf->num_planes) { in mtk_jpeg_set_dec_dst()
788 param->comp_num, dst_buf->num_planes); in mtk_jpeg_set_dec_dst()
/Linux-v4.19/drivers/net/ethernet/amazon/ena/
Dena_com.c452 u16 comp_num = 0; in ena_com_handle_admin_completion() local
471 comp_num++; in ena_com_handle_admin_completion()
480 admin_queue->cq.head += comp_num; in ena_com_handle_admin_completion()
482 admin_queue->sq.head += comp_num; in ena_com_handle_admin_completion()
483 admin_queue->stats.completed_cmd += comp_num; in ena_com_handle_admin_completion()
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c5028 int comp_num; in hns_roce_v2_init_eq_table() local
5034 comp_num = hr_dev->caps.num_comp_vectors; in hns_roce_v2_init_eq_table()
5037 eq_num = comp_num + aeq_num; in hns_roce_v2_init_eq_table()
5058 if (j < comp_num) { in hns_roce_v2_init_eq_table()
5073 eq->irq = hr_dev->irq[j - comp_num + other_num]; in hns_roce_v2_init_eq_table()
5108 else if (k < (other_num + comp_num)) in hns_roce_v2_init_eq_table()
5116 0, hr_dev->irq_names[k - comp_num], in hns_roce_v2_init_eq_table()