Searched refs:nsgs (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | usb.c | 321 int nsgs) in mt76u_fill_rx_sg() argument 325 for (i = 0; i < nsgs; i++) { in mt76u_fill_rx_sg() 337 if (i < nsgs) { in mt76u_fill_rx_sg() 340 for (j = nsgs; j < urb->num_sgs; j++) in mt76u_fill_rx_sg() 354 struct urb *urb, int nsgs) in mt76u_refill_rx() argument 360 return mt76u_fill_rx_sg(dev, q, urb, nsgs); in mt76u_refill_rx() 517 int len, nsgs = 1, head_room, drv_flags = dev->drv->drv_flags; in mt76u_process_rx_entry() local 539 while (len > 0 && nsgs < urb->num_sgs) { in mt76u_process_rx_entry() 540 data_len = min_t(int, len, urb->sg[nsgs].length); in mt76u_process_rx_entry() 542 sg_page(&urb->sg[nsgs]), in mt76u_process_rx_entry() [all …]
|
/linux/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss-cipher.c | 197 int nsgs = sg_nents_for_len(areq->src, areq->cryptlen); in sun8i_ss_cipher() local 231 nr_sgs = dma_map_sg(ss->dev, areq->src, nsgs, DMA_BIDIRECTIONAL); in sun8i_ss_cipher() 239 nr_sgs = dma_map_sg(ss->dev, areq->src, nsgs, DMA_TO_DEVICE); in sun8i_ss_cipher() 301 dma_unmap_sg(ss->dev, areq->src, nsgs, DMA_BIDIRECTIONAL); in sun8i_ss_cipher() 303 dma_unmap_sg(ss->dev, areq->src, nsgs, DMA_TO_DEVICE); in sun8i_ss_cipher()
|
/linux/sound/virtio/ |
H A D | virtio_pcm_msg.c | 90 static void virtsnd_pcm_sg_from(struct scatterlist *sgs, int nsgs, u8 *data, in virtsnd_pcm_sg_from() argument 105 if (idx + 1 == nsgs) in virtsnd_pcm_sg_from()
|
/linux/drivers/scsi/ |
H A D | hpsa.c | 297 int nsgs, int min_blocks, u32 *bucket_map); 9151 int nsgs, int min_blocks, u32 *bucket_map) in calc_bucket_map() argument 9156 for (i = 0; i <= nsgs; i++) { in calc_bucket_map()
|