Home
last modified time | relevance | path

Searched refs:sg_size (Results 1 – 13 of 13) sorted by relevance

/drivers/net/wireless/mediatek/mt76/
Dusb.c449 int err, sg_size; in mt76u_rx_urb_alloc() local
451 sg_size = qid == MT_RXQ_MAIN ? MT_RX_SG_MAX_SIZE : 0; in mt76u_rx_urb_alloc()
452 err = mt76u_urb_alloc(dev, e, sg_size); in mt76u_rx_urb_alloc()
456 return mt76u_refill_rx(dev, q, e->urb, sg_size, GFP_KERNEL); in mt76u_rx_urb_alloc()
/drivers/infiniband/ulp/rtrs/
Drtrs-clt.h99 unsigned int sg_size; member
Drtrs-clt.c466 if (!req->sg_size) { in rtrs_post_send_rdma()
474 sge.length = req->sg_size; in rtrs_post_send_rdma()
486 req->sg_size, DMA_TO_DEVICE); in rtrs_post_send_rdma()
1116 req->sg_size = tsize; in rtrs_clt_write_req()
1250 req->sg_size = sizeof(*msg); in rtrs_clt_read_req()
1251 req->sg_size += le16_to_cpu(msg->sg_cnt) * sizeof(struct rtrs_sg_desc); in rtrs_clt_read_req()
1252 req->sg_size += req->usr_len; in rtrs_clt_read_req()
/drivers/net/ethernet/pensando/ionic/
Dionic_debugfs.c135 debugfs_create_x32("sg_size", 0400, qcq_dentry, &qcq->sg_size); in ionic_debugfs_add_qcq()
Dionic_lif.h82 u32 sg_size; member
Dionic_lif.c396 dma_free_coherent(dev, qcq->sg_size, qcq->sg_base, qcq->sg_base_pa); in ionic_qcq_free()
621 new->sg_size = PAGE_SIZE + (num_descs * sg_desc_size); in ionic_qcq_alloc()
622 new->sg_base = dma_alloc_coherent(dev, new->sg_size, &new->sg_base_pa, in ionic_qcq_alloc()
726 memset(qcq->sg_base, 0, qcq->sg_size); in ionic_qcq_sanitize()
2674 swap(a->sg_size, b->sg_size); in ionic_swap_queues()
/drivers/net/ethernet/cavium/liquidio/
Docteon_network.h55 int sg_size; member
Dlio_vf_main.c1530 memset(g->sg, 0, g->sg_size); in liquidio_xmit()
Dlio_main.c2437 memset(g->sg, 0, g->sg_size); in liquidio_xmit()
/drivers/scsi/
Dpmcraid.c3212 int sg_size; in pmcraid_alloc_sglist() local
3215 sg_size = buflen / (PMCRAID_MAX_IOADLS - 1); in pmcraid_alloc_sglist()
3216 order = (sg_size > 0) ? get_order(sg_size) : 0; in pmcraid_alloc_sglist()
Dipr.c3857 int sg_size, order; in ipr_alloc_ucode_buffer() local
3861 sg_size = buf_len / (IPR_MAX_SGLIST - 1); in ipr_alloc_ucode_buffer()
3864 order = get_order(sg_size); in ipr_alloc_ucode_buffer()
/drivers/crypto/caam/
Dcaamhash.c703 unsigned int sg_size = sg_num * sizeof(struct sec4_sg_entry); in ahash_edesc_alloc() local
705 edesc = kzalloc(sizeof(*edesc) + sg_size, GFP_DMA | flags); in ahash_edesc_alloc()
/drivers/scsi/aic7xxx/
Daic79xx_core.c9270 u_int sg_size; in ahd_loadseq() local
9330 sg_size = sizeof(struct ahd_dma_seg); in ahd_loadseq()
9332 sg_size = sizeof(struct ahd_dma64_seg); in ahd_loadseq()
9333 while (sg_prefetch_cnt < sg_size) in ahd_loadseq()
9340 if ((sg_prefetch_align % sg_size) != 0 in ahd_loadseq()
9348 sg_prefetch_cnt_limit = -(sg_prefetch_cnt - sg_size + 1); in ahd_loadseq()
9353 download_consts[SG_SIZEOF] = sg_size; in ahd_loadseq()