Home
last modified time | relevance | path

Searched refs:nsgs (Results 1 – 3 of 3) sorted by relevance

/drivers/net/wireless/mediatek/mt76/
Dusb.c322 int nsgs, gfp_t gfp) in mt76u_fill_rx_sg() argument
326 for (i = 0; i < nsgs; i++) { in mt76u_fill_rx_sg()
340 if (i < nsgs) { in mt76u_fill_rx_sg()
343 for (j = nsgs; j < urb->num_sgs; j++) in mt76u_fill_rx_sg()
357 struct urb *urb, int nsgs, gfp_t gfp) in mt76u_refill_rx() argument
362 return mt76u_fill_rx_sg(dev, q, urb, nsgs, gfp); in mt76u_refill_rx()
519 int len, nsgs = 1, head_room, drv_flags = dev->drv->drv_flags; in mt76u_process_rx_entry() local
541 while (len > 0 && nsgs < urb->num_sgs) { in mt76u_process_rx_entry()
542 data_len = min_t(int, len, urb->sg[nsgs].length); in mt76u_process_rx_entry()
544 sg_page(&urb->sg[nsgs]), in mt76u_process_rx_entry()
[all …]
/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-cipher.c192 int nsgs = sg_nents_for_len(areq->src, areq->cryptlen); in sun8i_ss_cipher() local
226 nr_sgs = dma_map_sg(ss->dev, areq->src, nsgs, DMA_BIDIRECTIONAL); in sun8i_ss_cipher()
234 nr_sgs = dma_map_sg(ss->dev, areq->src, nsgs, DMA_TO_DEVICE); in sun8i_ss_cipher()
296 dma_unmap_sg(ss->dev, areq->src, nsgs, DMA_BIDIRECTIONAL); in sun8i_ss_cipher()
298 dma_unmap_sg(ss->dev, areq->src, nsgs, DMA_TO_DEVICE); in sun8i_ss_cipher()
/drivers/scsi/
Dhpsa.c297 int nsgs, int min_blocks, u32 *bucket_map);
9152 int nsgs, int min_blocks, u32 *bucket_map) in calc_bucket_map() argument
9157 for (i = 0; i <= nsgs; i++) { in calc_bucket_map()