/linux-6.1.9/sound/soc/sprd/ |
D | sprd-pcm-dma.c | 201 int ret, i, j, sg_num; in sprd_pcm_hw_params() local 218 sg_num = totsize / period; in sprd_pcm_hw_params() 221 sg = devm_kcalloc(component->dev, sg_num, sizeof(*sg), GFP_KERNEL); in sprd_pcm_hw_params() 250 sg_init_table(sgt, sg_num); in sprd_pcm_hw_params() 251 for (j = 0; j < sg_num; j++, sgt++) { in sprd_pcm_hw_params() 280 sg_num, dir, in sprd_pcm_hw_params()
|
D | sprd-pcm-compress.c | 146 int period, period_cnt, sg_num = 2; in sprd_platform_compr_dma_config() local 163 sgt = sg = devm_kcalloc(dev, sg_num, sizeof(*sg), GFP_KERNEL); in sprd_platform_compr_dma_config() 214 sg_init_table(sgt, sg_num); in sprd_platform_compr_dma_config() 215 for (j = 0; j < sg_num; j++, sgt++) { in sprd_platform_compr_dma_config() 239 sg_num, dir, in sprd_platform_compr_dma_config()
|
/linux-6.1.9/sound/virtio/ |
D | virtio_pcm_msg.c | 146 int sg_num = virtsnd_pcm_sg_num(data, period_bytes); in virtsnd_pcm_msg_alloc() local 149 msg = kzalloc(struct_size(msg, sgs, sg_num + 2), GFP_KERNEL); in virtsnd_pcm_msg_alloc() 159 virtsnd_pcm_sg_from(&msg->sgs[PCM_MSG_SG_DATA], sg_num, data, in virtsnd_pcm_msg_alloc()
|
/linux-6.1.9/drivers/target/ |
D | target_core_iblock.c | 347 static struct bio *iblock_get_bio(struct se_cmd *cmd, sector_t lba, u32 sg_num, in iblock_get_bio() argument 357 bio = bio_alloc_bioset(ib_dev->ibd_bd, bio_max_segs(sg_num), opf, in iblock_get_bio() 727 u32 sg_num = sgl_nents; in iblock_execute_rw() local 797 bio = iblock_get_bio(cmd, block_lba, sg_num, opf); in iblock_execute_rw() 808 sg_num--; in iblock_execute_rw()
|
/linux-6.1.9/net/smc/ |
D | smc_ib.c | 698 int sg_num; in smc_ib_map_mr_sg() local 701 sg_num = ib_map_mr_sg(buf_slot->mr[link_idx], in smc_ib_map_mr_sg() 706 return sg_num; in smc_ib_map_mr_sg()
|
/linux-6.1.9/drivers/scsi/ |
D | nsp32.c | 1724 int sg_num = data->cur_lunt->sg_num; in nsp32_adjust_busfree() local 1739 for (new_entry = old_entry; new_entry < sg_num; new_entry++) { in nsp32_adjust_busfree() 1747 if (new_entry == sg_num) { in nsp32_adjust_busfree() 2663 .sg_num = 0, in nsp32_detect()
|
D | nsp32.h | 491 unsigned int sg_num; /* Total number of SG entries */ member
|
/linux-6.1.9/drivers/crypto/ |
D | hifn_795x.c | 1531 int err = -EINVAL, sg_num; in hifn_setup_session() local 1557 sg_num = hifn_cipher_walk(req, &rctx->walk); in hifn_setup_session() 1558 if (sg_num < 0) { in hifn_setup_session() 1559 err = sg_num; in hifn_setup_session() 1564 if (dev->started + sg_num > HIFN_QUEUE_LENGTH) { in hifn_setup_session()
|
/linux-6.1.9/drivers/net/ethernet/neterion/ |
D | s2io.h | 682 int sg_num; member
|
D | s2io.c | 8235 lro->sg_num = 1; in initiate_new_session() 8278 swstats->sum_avg_pkts_aggregated += lro->sg_num; in update_L3L4_header() 8289 lro->sg_num++; in aggregate_new_rx() 8447 if ((*lro)->sg_num == sp->lro_max_aggr_per_sess) { in s2io_club_tcp_session()
|
/linux-6.1.9/drivers/crypto/caam/ |
D | caamhash.c | 694 int sg_num, u32 *sh_desc, in ahash_edesc_alloc() argument 703 unsigned int sg_size = sg_num * sizeof(struct sec4_sg_entry); in ahash_edesc_alloc()
|