Home
last modified time | relevance | path

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

/drivers/media/platform/mediatek/jpeg/
A Dmtk_jpeg_dec_parse.c98 param->comp_num = read_byte(&stream); in mtk_jpeg_do_parse()
99 if (param->comp_num != 1 && param->comp_num != 3) in mtk_jpeg_do_parse()
102 for (i = 0; i < param->comp_num; i++) { in mtk_jpeg_do_parse()
119 notfound = !(i == param->comp_num); in mtk_jpeg_do_parse()
A Dmtk_jpeg_dec_hw.c114 if (i >= param->comp_num) in mtk_jpeg_calc_mcu()
123 if (i < param->blk_num && comp < param->comp_num) { in mtk_jpeg_calc_mcu()
174 for (i = 0; i < param->comp_num; i++) { in mtk_jpeg_calc_dst_size()
424 static void mtk_jpeg_dec_set_sampling_factor(void __iomem *base, u32 comp_num, in mtk_jpeg_dec_set_sampling_factor() argument
433 if (comp_num == 1) in mtk_jpeg_dec_set_sampling_factor()
454 (cfg->comp_num == 1) ? 1 : 0); in mtk_jpeg_dec_set_config()
459 mtk_jpeg_dec_set_sampling_factor(base, cfg->comp_num, in mtk_jpeg_dec_set_config()
A Dmtk_jpeg_dec_hw.h38 u32 comp_num; member
A Dmtk_jpeg_core.c914 if (param->comp_num != dst_buf->num_planes) { in mtk_jpeg_set_dec_dst()
916 param->comp_num, dst_buf->num_planes); in mtk_jpeg_set_dec_dst()
/drivers/infiniband/hw/erdma/
A Derdma_cmdq.c320 u16 comp_num; in erdma_polling_cmd_completions() local
327 for (comp_num = 0; comp_num < cmdq->max_outstandings; comp_num++) in erdma_polling_cmd_completions()
/drivers/media/platform/chips-media/coda/
A Dcoda-jpeg.c561 #define MCU_INFO(mcu_block_num, comp_num, comp0_info, comp1_info, comp2_info) \ argument
563 ((comp_num) << CODA9_JPEG_COMP_NUM_OFFSET) | \
879 int chroma_format, comp_num; in coda9_jpeg_encode_header() local
938 comp_num = (chroma_format == CODA9_JPEG_FORMAT_400) ? 1 : 3; in coda9_jpeg_encode_header()
939 ret = coda_jpeg_put_word(8 + comp_num * 3, &stream); in coda9_jpeg_encode_header()
951 ret = coda_jpeg_put_byte(comp_num, &stream); in coda9_jpeg_encode_header()
954 for (i = 0; i < comp_num; i++) { in coda9_jpeg_encode_header()
/drivers/net/ethernet/amazon/ena/
A Dena_com.c459 u16 comp_num = 0; in ena_com_handle_admin_completion() local
478 comp_num++; in ena_com_handle_admin_completion()
487 admin_queue->cq.head += comp_num; in ena_com_handle_admin_completion()
489 admin_queue->sq.head += comp_num; in ena_com_handle_admin_completion()
490 admin_queue->stats.completed_cmd += comp_num; in ena_com_handle_admin_completion()
/drivers/infiniband/hw/hns/
A Dhns_roce_hw_v2.c6717 int comp_num, int aeq_num, int other_num) in __hns_roce_request_irq() argument
6751 } else if (j < (other_num + comp_num)) { in __hns_roce_request_irq()
6761 0, hr_dev->irq_names[j - comp_num], in __hns_roce_request_irq()
6781 if (j < other_num + comp_num) in __hns_roce_request_irq()
6820 int comp_num; in hns_roce_v2_init_eq_table() local
6832 comp_num = hr_dev->caps.num_comp_vectors; in hns_roce_v2_init_eq_table()
6835 eq_num = comp_num + aeq_num; in hns_roce_v2_init_eq_table()
6847 if (i < comp_num) { in hns_roce_v2_init_eq_table()
6862 eq->irq = hr_dev->irq[i - comp_num + other_num]; in hns_roce_v2_init_eq_table()
6883 ret = __hns_roce_request_irq(hr_dev, irq_num, comp_num, aeq_num, in hns_roce_v2_init_eq_table()

Completed in 40 milliseconds