Home
last modified time | relevance | path

Searched refs:n_desc (Results 1 – 22 of 22) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/usb/dwc2/
H A Dhcd_ddma.c585 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 …]
H A Dhcd.h443 u8 n_desc; member
/OK3568_Linux_fs/kernel/drivers/staging/comedi/drivers/
H A Dcomedi_isadma.c154 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()
H A Dcomedi_isadma.h52 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
/OK3568_Linux_fs/kernel/drivers/usb/gadget/
H A Dconfig.c126 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7603/
H A Ddma.c8 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()
/OK3568_Linux_fs/kernel/drivers/net/wan/
H A Dixp4xx_hss.c583 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c617 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7915/
H A Ddma.c9 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()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Df_uvc.c645 unsigned int n_desc; in uvc_copy_descriptors() local
711 n_desc = 6; in uvc_copy_descriptors()
713 n_desc = 5; in uvc_copy_descriptors()
720 n_desc++; in uvc_copy_descriptors()
726 n_desc++; in uvc_copy_descriptors()
730 n_desc++; in uvc_copy_descriptors()
733 mem = kmalloc((n_desc + 1) * sizeof(*src) + bytes, GFP_KERNEL); in uvc_copy_descriptors()
739 mem += (n_desc + 1) * sizeof(*src); in uvc_copy_descriptors()
/OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_mmio.c107 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()
H A Ddma.c84 int idx, int n_desc, int bufsize, in mt76_dma_alloc_queue() argument
93 q->ndesc = n_desc; in mt76_dma_alloc_queue()
H A Dmt76.h164 int idx, int n_desc, int bufsize,
/OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7615/
H A Ddma.c15 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()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/
H A Da.out.h100 short n_desc; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/
H A Da.out.h100 short n_desc; member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Da.out.h154 short n_desc; member
/OK3568_Linux_fs/kernel/drivers/dma/ipu/
H A Dipu_idmac.c956 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()
/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c2636 unsigned n_desc; in usb_copy_descriptors() local
2641 for (bytes = 0, n_desc = 0, tmp = src; *tmp; tmp++, n_desc++) in usb_copy_descriptors()
2643 bytes += (n_desc + 1) * sizeof(*tmp); in usb_copy_descriptors()
2655 mem += (n_desc + 1) * sizeof(*tmp); in usb_copy_descriptors()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c962 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()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/info/
H A Dstabs.info2176 unsigned short n_desc; /* description field */
2312 Symnum n_type n_othr n_desc n_value n_strx String
2317 Symnum n_type n_othr n_desc n_value n_strx String
3802 overflows from the count in the 'n_desc' field.
3804 'n_desc'
3823 concatenated by the linker. GDB then uses the 'n_desc' fields to figure
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/info/
H A Dstabs.info2176 unsigned short n_desc; /* description field */
2312 Symnum n_type n_othr n_desc n_value n_strx String
2317 Symnum n_type n_othr n_desc n_value n_strx String
3802 overflows from the count in the 'n_desc' field.
3804 'n_desc'
3823 concatenated by the linker. GDB then uses the 'n_desc' fields to figure