Home
last modified time | relevance | path

Searched refs:blk_num (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/platform/mellanox/
Dmlxbf-pmc.c526 static bool mlxbf_pmc_valid_range(int blk_num, uint32_t offset) in mlxbf_pmc_valid_range() argument
529 (offset + MLXBF_PMC_REG_SIZE <= pmc->block[blk_num].blk_size)) in mlxbf_pmc_valid_range()
628 static int mlxbf_pmc_config_l3_counters(int blk_num, bool enable, bool reset) in mlxbf_pmc_config_l3_counters() argument
637 return mlxbf_pmc_write(pmc->block[blk_num].mmio_base + in mlxbf_pmc_config_l3_counters()
643 static int mlxbf_pmc_program_l3_counter(int blk_num, uint32_t cnt_num, in mlxbf_pmc_program_l3_counter() argument
653 if (mlxbf_pmc_config_l3_counters(blk_num, false, false)) in mlxbf_pmc_program_l3_counter()
659 pmcaddr = pmc->block[blk_num].mmio_base + in mlxbf_pmc_program_l3_counter()
664 pmcaddr = pmc->block[blk_num].mmio_base + in mlxbf_pmc_program_l3_counter()
710 static int mlxbf_pmc_program_counter(int blk_num, uint32_t cnt_num, in mlxbf_pmc_program_counter() argument
715 if (cnt_num >= pmc->block[blk_num].counters) in mlxbf_pmc_program_counter()
[all …]
/linux-6.1.9/drivers/media/platform/mediatek/jpeg/
Dmtk_jpeg_enc_hw.c97 u32 blk_num; in mtk_jpeg_set_enc_params() local
111 blk_num = DIV_ROUND_UP(width, 16) * in mtk_jpeg_set_enc_params()
114 blk_num = DIV_ROUND_UP(width, 16) * in mtk_jpeg_set_enc_params()
116 writel(blk_num, base + JPEG_ENC_BLK_NUM); in mtk_jpeg_set_enc_params()
Dmtk_jpeg_dec_hw.h42 u32 blk_num; member
Dmtk_jpeg_dec_hw.c85 param->blk_num = 0; in mtk_jpeg_calc_mcu()
92 param->blk_num += param->blk_comp[i]; in mtk_jpeg_calc_mcu()
97 if (i < param->blk_num && comp < param->comp_num) { in mtk_jpeg_calc_mcu()
/linux-6.1.9/drivers/dma/
Dfsl-qdma.c1120 int blk_num, blk_off; in fsl_qdma_probe() local
1139 ret = of_property_read_u32(np, "block-number", &blk_num); in fsl_qdma_probe()
1145 blk_num = min_t(int, blk_num, num_online_cpus()); in fsl_qdma_probe()
1157 len = sizeof(struct fsl_qdma_queue *) * blk_num; in fsl_qdma_probe()
1162 len = sizeof(int) * blk_num; in fsl_qdma_probe()
1176 fsl_qdma->block_number = blk_num; in fsl_qdma_probe()
/linux-6.1.9/arch/s390/include/asm/
Dsclp.h141 int sclp_sdias_copy(void *dest, int blk_num, int nr_blks);
/linux-6.1.9/sound/soc/mediatek/common/
Dmtk-btcvsd.c291 unsigned int blk_num) in mtk_btcvsd_snd_data_transfer() argument
299 for (i = 0; i < (blk_size * blk_num / 4); i++) in mtk_btcvsd_snd_data_transfer()
305 for (j = 0; j < blk_num; j++) { in mtk_btcvsd_snd_data_transfer()
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dsdio.c1549 u8 blk_num; in mwifiex_deaggr_sdio_pkt() local
1558 blk_num = *(data + BLOCK_NUMBER_OFFSET); in mwifiex_deaggr_sdio_pkt()
1559 blk_size = adapter->sdio_rx_block_size * blk_num; in mwifiex_deaggr_sdio_pkt()
1564 __func__, blk_num, blk_size, total_pkt_len); in mwifiex_deaggr_sdio_pkt()
/linux-6.1.9/fs/reiserfs/
Dfix_node.c622 int rnum, int blk_num, short *s012, int lb, int rb) in set_parameters() argument
627 tb->blknum[h] = blk_num; in set_parameters()
/linux-6.1.9/fs/f2fs/
Df2fs.h336 #define plist_idx(blk_num) ((blk_num) >= MAX_PLIST_NUM ? \ argument
337 (MAX_PLIST_NUM - 1) : ((blk_num) - 1))