/Linux-v6.6/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-v6.6/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-v6.6/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_ctrl_mbox.h | 106 int sg_num; member
|
D | octep_ctrl_mbox.c | 185 for (s = 0; ((s < msg->sg_num) && (buf_sz > 0)); s++) { in octep_ctrl_mbox_send() 248 for (s = 0; ((s < msg->sg_num) && (buf_sz > 0)); s++) { in octep_ctrl_mbox_recv()
|
D | octep_ctrl_net.c | 46 msg->sg_num = 1; in init_send_req() 339 msg.sg_num = 1; in octep_ctrl_net_recv_fw_messages()
|
/Linux-v6.6/drivers/target/ |
D | target_core_iblock.c | 354 static struct bio *iblock_get_bio(struct se_cmd *cmd, sector_t lba, u32 sg_num, in iblock_get_bio() argument 364 bio = bio_alloc_bioset(ib_dev->ibd_bd, bio_max_segs(sg_num), opf, in iblock_get_bio() 733 u32 sg_num = sgl_nents; in iblock_execute_rw() local 808 bio = iblock_get_bio(cmd, block_lba, sg_num, opf); in iblock_execute_rw() 819 sg_num--; in iblock_execute_rw()
|
/Linux-v6.6/net/smc/ |
D | smc_ib.c | 699 int sg_num; in smc_ib_map_mr_sg() local 702 sg_num = ib_map_mr_sg(buf_slot->mr[link_idx], in smc_ib_map_mr_sg() 707 return sg_num; in smc_ib_map_mr_sg()
|
/Linux-v6.6/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-v6.6/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-v6.6/drivers/net/ethernet/neterion/ |
D | s2io.h | 682 int sg_num; member
|
D | s2io.c | 8228 lro->sg_num = 1; in initiate_new_session() 8271 swstats->sum_avg_pkts_aggregated += lro->sg_num; in update_L3L4_header() 8282 lro->sg_num++; in aggregate_new_rx() 8440 if ((*lro)->sg_num == sp->lro_max_aggr_per_sess) { in s2io_club_tcp_session()
|
/Linux-v6.6/drivers/crypto/caam/ |
D | caamhash.c | 703 int sg_num, u32 *sh_desc, in ahash_edesc_alloc() argument 711 edesc = kzalloc(struct_size(edesc, sec4_sg, sg_num), flags); in ahash_edesc_alloc()
|