Searched refs:n_desc (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/drivers/usb/gadget/ |
D | config.c | 136 unsigned n_desc; in usb_copy_descriptors() local 141 for (bytes = 0, n_desc = 0, tmp = src; *tmp; tmp++, n_desc++) in usb_copy_descriptors() 143 bytes += (n_desc + 1) * sizeof(*tmp); in usb_copy_descriptors() 155 mem += (n_desc + 1) * sizeof(*tmp); in usb_copy_descriptors()
|
D | f_uvc.c | 377 unsigned int n_desc; in uvc_copy_descriptors() local 404 n_desc = 5; in uvc_copy_descriptors() 409 n_desc++; in uvc_copy_descriptors() 414 n_desc++; in uvc_copy_descriptors() 418 n_desc++; in uvc_copy_descriptors() 421 mem = kmalloc((n_desc + 1) * sizeof(*src) + bytes, GFP_KERNEL); in uvc_copy_descriptors() 427 mem += (n_desc + 1) * sizeof(*src); in uvc_copy_descriptors()
|
/linux-2.6.39/drivers/net/wan/ |
D | ixp4xx_hss.c | 585 u32 phys, tab_phys, n_desc; in queue_get_desc() local 594 n_desc = (phys - tab_phys) / sizeof(struct desc); in queue_get_desc() 595 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS)); in queue_get_desc() 596 debug_desc(phys, &tab[n_desc]); in queue_get_desc() 597 BUG_ON(tab[n_desc].next); in queue_get_desc() 598 return n_desc; in queue_get_desc() 795 int n_desc; in hss_hdlc_txdone_irq() local 800 while ((n_desc = queue_get_desc(queue_ids[port->id].txdone, in hss_hdlc_txdone_irq() 805 desc = tx_desc_ptr(port, n_desc); in hss_hdlc_txdone_irq() 813 dev->name, port->tx_buff_tab[n_desc]); in hss_hdlc_txdone_irq() [all …]
|
/linux-2.6.39/drivers/net/arm/ |
D | ixp4xx_eth.c | 438 u32 phys, tab_phys, n_desc; in queue_get_desc() local 447 n_desc = (phys - tab_phys) / sizeof(struct desc); in queue_get_desc() 448 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS)); in queue_get_desc() 449 debug_desc(phys, &tab[n_desc]); in queue_get_desc() 450 BUG_ON(tab[n_desc].next); in queue_get_desc() 451 return n_desc; in queue_get_desc() 607 u32 npe_id, n_desc; in eth_txdone_irq() local 617 n_desc = (phys - tx_desc_phys(port, 0)) / sizeof(struct desc); in eth_txdone_irq() 618 BUG_ON(n_desc >= TX_DESCS); in eth_txdone_irq() 619 desc = tx_desc_ptr(port, n_desc); in eth_txdone_irq() [all …]
|
/linux-2.6.39/include/linux/ |
D | a.out.h | 175 short n_desc; member
|
/linux-2.6.39/drivers/dma/ipu/ |
D | ipu_idmac.c | 986 int ret = 0, n_desc = 0; in ipu_init_channel() local 998 n_desc = 16; in ipu_init_channel() 1003 n_desc = 16; in ipu_init_channel() 1010 n_desc = 4; in ipu_init_channel() 1024 if (n_desc && !ichan->desc) in ipu_init_channel() 1025 ret = idmac_desc_alloc(ichan, n_desc); in ipu_init_channel()
|