Searched refs:comp_num (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/media/platform/mediatek/jpeg/ |
D | mtk_jpeg_dec_parse.c | 103 param->comp_num = read_byte(&stream); in mtk_jpeg_do_parse() 104 if (param->comp_num != 1 && param->comp_num != 3) in mtk_jpeg_do_parse() 107 for (i = 0; i < param->comp_num; i++) { in mtk_jpeg_do_parse() 124 notfound = !(i == param->comp_num); in mtk_jpeg_do_parse()
|
D | mtk_jpeg_dec_hw.c | 88 if (i >= param->comp_num) in mtk_jpeg_calc_mcu() 97 if (i < param->blk_num && comp < param->comp_num) { in mtk_jpeg_calc_mcu() 148 for (i = 0; i < param->comp_num; i++) { in mtk_jpeg_calc_dst_size() 359 static void mtk_jpeg_dec_set_sampling_factor(void __iomem *base, u32 comp_num, in mtk_jpeg_dec_set_sampling_factor() argument 368 if (comp_num == 1) in mtk_jpeg_dec_set_sampling_factor() 387 (config->comp_num == 1) ? 1 : 0); in mtk_jpeg_dec_set_config() 392 mtk_jpeg_dec_set_sampling_factor(base, config->comp_num, in mtk_jpeg_dec_set_config()
|
D | mtk_jpeg_dec_hw.h | 37 u32 comp_num; member
|
D | mtk_jpeg_core.c | 888 if (param->comp_num != dst_buf->num_planes) { in mtk_jpeg_set_dec_dst() 890 param->comp_num, dst_buf->num_planes); in mtk_jpeg_set_dec_dst()
|
/linux-6.1.9/drivers/infiniband/hw/erdma/ |
D | erdma_cmdq.c | 357 u16 comp_num; in erdma_polling_cmd_completions() local 364 for (comp_num = 0; comp_num < cmdq->max_outstandings; comp_num++) in erdma_polling_cmd_completions() 368 if (comp_num && cmdq->use_event) in erdma_polling_cmd_completions()
|
/linux-6.1.9/drivers/media/platform/chips-media/ |
D | coda-jpeg.c | 561 #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()
|
/linux-6.1.9/sound/soc/intel/boards/ |
D | sof_sdw.c | 1164 int comp_num; in sof_card_dai_links_create() local 1196 comp_num = hdmi_num + ssp_num; in sof_card_dai_links_create() 1207 comp_num += dmic_num; in sof_card_dai_links_create() 1210 comp_num++; in sof_card_dai_links_create() 1216 num_links = comp_num + sdw_be_num; in sof_card_dai_links_create() 1220 total_cpu_dai_num = comp_num + sdw_cpu_dai_num; in sof_card_dai_links_create()
|
/linux-6.1.9/drivers/infiniband/hw/efa/ |
D | efa_com.c | 437 u16 comp_num = 0; in efa_com_handle_admin_completion() local 459 comp_num++; in efa_com_handle_admin_completion() 468 aq->cq.cc += comp_num; in efa_com_handle_admin_completion() 470 aq->sq.cc += comp_num; in efa_com_handle_admin_completion() 471 atomic64_add(comp_num, &aq->stats.completed_cmd); in efa_com_handle_admin_completion()
|
/linux-6.1.9/drivers/net/ethernet/amazon/ena/ |
D | ena_com.c | 477 u16 comp_num = 0; in ena_com_handle_admin_completion() local 496 comp_num++; in ena_com_handle_admin_completion() 505 admin_queue->cq.head += comp_num; in ena_com_handle_admin_completion() 507 admin_queue->sq.head += comp_num; in ena_com_handle_admin_completion() 508 admin_queue->stats.completed_cmd += comp_num; in ena_com_handle_admin_completion()
|
/linux-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 6541 int comp_num, int aeq_num, int other_num) in __hns_roce_request_irq() argument 6575 else if (j < (other_num + comp_num)) in __hns_roce_request_irq() 6583 0, hr_dev->irq_names[j - comp_num], in __hns_roce_request_irq() 6633 int comp_num; in hns_roce_v2_init_eq_table() local 6642 comp_num = hr_dev->caps.num_comp_vectors; in hns_roce_v2_init_eq_table() 6645 eq_num = comp_num + aeq_num; in hns_roce_v2_init_eq_table() 6657 if (i < comp_num) { in hns_roce_v2_init_eq_table() 6672 eq->irq = hr_dev->irq[i - comp_num + other_num]; in hns_roce_v2_init_eq_table() 6693 ret = __hns_roce_request_irq(hr_dev, irq_num, comp_num, aeq_num, in hns_roce_v2_init_eq_table()
|