/kernel/linux/linux-5.10/drivers/usb/dwc2/ |
D | hcd_ddma.c | 585 u16 idx, inc, n_desc = 0, ntd_max = 0; in dwc2_init_isoc_dma_desc() local 634 n_desc++; in dwc2_init_isoc_dma_desc() 661 if (n_desc > DESCNUM_THRESHOLD) in dwc2_init_isoc_dma_desc() 692 int n_desc) in dwc2_fill_host_dma_desc() argument 694 struct dwc2_dma_desc *dma_desc = &qh->desc_list[n_desc]; in dwc2_fill_host_dma_desc() 715 qh->n_bytes[n_desc] = len; in dwc2_fill_host_dma_desc() 725 (n_desc * sizeof(struct dwc2_dma_desc)), in dwc2_fill_host_dma_desc() 746 int n_desc = 0; in dwc2_init_non_isoc_dma_desc() local 761 if (n_desc) { in dwc2_init_non_isoc_dma_desc() 771 qtd->n_desc = 0; in dwc2_init_non_isoc_dma_desc() [all …]
|
D | hcd.h | 443 u8 n_desc; member
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
D | comedi_isadma.c | 154 int n_desc, unsigned int dma_chan1, in comedi_isadma_alloc() argument 163 if (n_desc < 1 || n_desc > 2) in comedi_isadma_alloc() 170 desc = kcalloc(n_desc, sizeof(*desc), GFP_KERNEL); in comedi_isadma_alloc() 174 dma->n_desc = n_desc; in comedi_isadma_alloc() 204 for (i = 0; i < n_desc; i++) { in comedi_isadma_alloc() 237 for (i = 0; i < dma->n_desc; i++) { in comedi_isadma_free()
|
D | comedi_isadma.h | 52 int n_desc; member 68 int n_desc, unsigned int dma_chan1, 101 comedi_isadma_alloc(struct comedi_device *dev, int n_desc, in comedi_isadma_alloc() argument
|
/kernel/linux/linux-5.10/drivers/usb/gadget/ |
D | config.c | 126 unsigned n_desc; in usb_copy_descriptors() local 131 for (bytes = 0, n_desc = 0, tmp = src; *tmp; tmp++, n_desc++) in usb_copy_descriptors() 133 bytes += (n_desc + 1) * sizeof(*tmp); in usb_copy_descriptors() 145 mem += (n_desc + 1) * sizeof(*tmp); in usb_copy_descriptors()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | dma.c | 8 mt7603_init_tx_queue(struct mt7603_dev *dev, int qid, int idx, int n_desc) in mt7603_init_tx_queue() argument 17 err = mt76_queue_alloc(dev, hwq, idx, n_desc, 0, MT_TX_RING_BASE); in mt7603_init_tx_queue() 133 int idx, int n_desc, int bufsize) in mt7603_init_rx_queue() argument 137 err = mt76_queue_alloc(dev, q, idx, n_desc, bufsize, in mt7603_init_rx_queue()
|
/kernel/linux/linux-5.10/drivers/net/wan/ |
D | ixp4xx_hss.c | 583 u32 phys, tab_phys, n_desc; in queue_get_desc() local 592 n_desc = (phys - tab_phys) / sizeof(struct desc); in queue_get_desc() 593 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS)); in queue_get_desc() 594 debug_desc(phys, &tab[n_desc]); in queue_get_desc() 595 BUG_ON(tab[n_desc].next); in queue_get_desc() 596 return n_desc; in queue_get_desc() 792 int n_desc; in hss_hdlc_txdone_irq() local 797 while ((n_desc = queue_get_desc(queue_ids[port->id].txdone, in hss_hdlc_txdone_irq() 802 desc = tx_desc_ptr(port, n_desc); in hss_hdlc_txdone_irq() 810 dev->name, port->tx_buff_tab[n_desc]); in hss_hdlc_txdone_irq() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | dma.c | 9 mt7915_init_tx_queues(struct mt7915_dev *dev, int n_desc) in mt7915_init_tx_queues() argument 18 err = mt76_queue_alloc(dev, hwq, MT7915_TXQ_BAND0, n_desc, 0, in mt7915_init_tx_queues() 30 mt7915_init_mcu_queue(struct mt7915_dev *dev, int qid, int idx, int n_desc) in mt7915_init_mcu_queue() argument 39 err = mt76_queue_alloc(dev, hwq, idx, n_desc, 0, MT_TX_RING_BASE); in mt7915_init_mcu_queue()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/xscale/ |
D | ixp4xx_eth.c | 617 u32 phys, tab_phys, n_desc; in queue_get_desc() local 626 n_desc = (phys - tab_phys) / sizeof(struct desc); in queue_get_desc() 627 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS)); in queue_get_desc() 628 debug_desc(phys, &tab[n_desc]); in queue_get_desc() 629 BUG_ON(tab[n_desc].next); in queue_get_desc() 630 return n_desc; in queue_get_desc() 783 u32 npe_id, n_desc; in eth_txdone_irq() local 793 n_desc = (phys - tx_desc_phys(port, 0)) / sizeof(struct desc); in eth_txdone_irq() 794 BUG_ON(n_desc >= TX_DESCS); in eth_txdone_irq() 795 desc = tx_desc_ptr(port, n_desc); in eth_txdone_irq() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
D | f_uvc.c | 475 unsigned int n_desc; in uvc_copy_descriptors() local 525 n_desc = 6; in uvc_copy_descriptors() 527 n_desc = 5; in uvc_copy_descriptors() 534 n_desc++; in uvc_copy_descriptors() 540 n_desc++; in uvc_copy_descriptors() 544 n_desc++; in uvc_copy_descriptors() 547 mem = kmalloc((n_desc + 1) * sizeof(*src) + bytes, GFP_KERNEL); in uvc_copy_descriptors() 553 mem += (n_desc + 1) * sizeof(*src); in uvc_copy_descriptors()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_mmio.c | 107 mt76x02_init_tx_queue(struct mt76x02_dev *dev, int qid, int idx, int n_desc) in mt76x02_init_tx_queue() argument 116 err = mt76_queue_alloc(dev, hwq, idx, n_desc, 0, MT_TX_RING_BASE); in mt76x02_init_tx_queue() 129 int idx, int n_desc, int bufsize) in mt76x02_init_rx_queue() argument 133 err = mt76_queue_alloc(dev, q, idx, n_desc, bufsize, in mt76x02_init_rx_queue()
|
D | dma.c | 84 int idx, int n_desc, int bufsize, in mt76_dma_alloc_queue() argument 93 q->ndesc = n_desc; in mt76_dma_alloc_queue()
|
D | mt76.h | 164 int idx, int n_desc, int bufsize,
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | dma.c | 15 mt7615_init_tx_queue(struct mt7615_dev *dev, int qid, int idx, int n_desc) in mt7615_init_tx_queue() argument 24 err = mt76_queue_alloc(dev, hwq, idx, n_desc, 0, MT_TX_RING_BASE); in mt7615_init_tx_queue()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | a.out.h | 154 short n_desc; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | a.out.h | 123 short n_desc; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | a.out.h | 115 short n_desc; member
|
/kernel/linux/linux-5.10/drivers/dma/ipu/ |
D | ipu_idmac.c | 956 int ret = 0, n_desc = 0; in ipu_init_channel() local 968 n_desc = 16; in ipu_init_channel() 973 n_desc = 16; in ipu_init_channel() 980 n_desc = 4; in ipu_init_channel() 994 if (n_desc && !ichan->desc) in ipu_init_channel() 995 ret = idmac_desc_alloc(ichan, n_desc); in ipu_init_channel()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 962 int i, n_desc = 1; in mtk_tx_map() local 1023 n_desc++; in mtk_tx_map() 1079 atomic_sub(n_desc, &ring->free_count); in mtk_tx_map()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0036_linux_drivers_staging.patch | 5990 + from_tx, int n_desc); 7613 + unsigned int n_desc, 7620 + if (unlikely((__hif_tx_avail(&pfe->hif) < n_desc) || 7621 + (hif_lib_tx_avail(&priv->client, queuenum) < n_desc) || 7629 + if (__hif_tx_avail(&pfe->hif) < n_desc) { 7631 + } else if (hif_lib_tx_avail(&priv->client, queuenum) < n_desc) { 7719 + from_tx, int n_desc) 7756 +void pfe_tx_get_req_desc(struct sk_buff *skb, unsigned int *n_desc, unsigned int 7763 + *n_desc = sh->nr_frags + 1; 7767 + *n_desc = 1; [all …]
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | drivers.patch | 63347 unsigned int n_desc;
|