Home
last modified time | relevance | path

Searched refs:desc_idx (Results 1 – 9 of 9) sorted by relevance

/drivers/media/pci/solo6x10/
Dsolo6x10-p2m.c91 p2m_dev->desc_count = p2m_dev->desc_idx = 0; in solo_p2m_dma_desc()
101 p2m_dev->desc_idx = 1; in solo_p2m_dma_desc()
175 if (p2m_dev->desc_count <= p2m_dev->desc_idx) { in solo_p2m_isr()
181 p2m_dev->desc_idx++; in solo_p2m_isr()
182 desc = &p2m_dev->descs[p2m_dev->desc_idx]; in solo_p2m_isr()
Dsolo6x10.h130 int desc_idx; member
/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.c247 int desc_idx; in bcm_enet_refill_rx() local
250 desc_idx = priv->rx_dirty_desc; in bcm_enet_refill_rx()
251 desc = &priv->rx_desc_cpu[desc_idx]; in bcm_enet_refill_rx()
253 if (!priv->rx_skb[desc_idx]) { in bcm_enet_refill_rx()
257 priv->rx_skb[desc_idx] = skb; in bcm_enet_refill_rx()
332 int desc_idx; in bcm_enet_receive_queue() local
336 desc_idx = priv->rx_curr_desc; in bcm_enet_receive_queue()
337 desc = &priv->rx_desc_cpu[desc_idx]; in bcm_enet_receive_queue()
380 skb = priv->rx_skb[desc_idx]; in bcm_enet_receive_queue()
404 priv->rx_skb[desc_idx] = NULL; in bcm_enet_receive_queue()
Dbgmac.c312 struct bgmac_dma_ring *ring, int desc_idx) in bgmac_dma_rx_setup_desc() argument
314 struct bgmac_dma_desc *dma_desc = ring->cpu_base + desc_idx; in bgmac_dma_rx_setup_desc()
317 if (desc_idx == ring->num_slots - 1) in bgmac_dma_rx_setup_desc()
325 dma_desc->addr_low = cpu_to_le32(lower_32_bits(ring->slots[desc_idx].dma_addr)); in bgmac_dma_rx_setup_desc()
326 dma_desc->addr_high = cpu_to_le32(upper_32_bits(ring->slots[desc_idx].dma_addr)); in bgmac_dma_rx_setup_desc()
Dtg3.c6819 u32 opaque_key, desc_idx, *post_ptr; in tg3_rx() local
6823 desc_idx = desc->opaque & RXD_OPAQUE_INDEX_MASK; in tg3_rx()
6826 ri = &tp->napi[0].prodring.rx_std_buffers[desc_idx]; in tg3_rx()
6832 ri = &tp->napi[0].prodring.rx_jmb_buffers[desc_idx]; in tg3_rx()
6844 desc_idx, *post_ptr); in tg3_rx()
6890 desc_idx, *post_ptr); in tg3_rx()
13344 u32 base_flags = 0, mss = 0, desc_idx, coal_now, data_off, val; in tg3_run_loopback() local
13494 desc_idx = desc->opaque & RXD_OPAQUE_INDEX_MASK; in tg3_run_loopback()
13522 rx_data = tpr->rx_std_buffers[desc_idx].data; in tg3_run_loopback()
13523 map = dma_unmap_addr(&tpr->rx_std_buffers[desc_idx], in tg3_run_loopback()
[all …]
/drivers/usb/gadget/function/
Df_fs.c1063 int desc_idx; in ffs_epfile_ioctl() local
1068 desc_idx = 2; in ffs_epfile_ioctl()
1071 desc_idx = 1; in ffs_epfile_ioctl()
1074 desc_idx = 0; in ffs_epfile_ioctl()
1076 desc = epfile->ep->descs[desc_idx]; in ffs_epfile_ioctl()
1653 int desc_idx; in ffs_func_eps_enable() local
1656 desc_idx = 2; in ffs_func_eps_enable()
1659 desc_idx = 1; in ffs_func_eps_enable()
1661 desc_idx = 0; in ffs_func_eps_enable()
1665 ds = ep->descs[desc_idx]; in ffs_func_eps_enable()
[all …]
/drivers/net/ethernet/intel/i40e/
Di40e_adminq.c949 u16 desc_idx; in i40e_clean_arq_element() local
970 desc_idx = ntc; in i40e_clean_arq_element()
987 memcpy(e->msg_buf, hw->aq.arq.r.arq_bi[desc_idx].va, in i40e_clean_arq_element()
/drivers/net/ethernet/intel/i40evf/
Di40e_adminq.c898 u16 desc_idx; in i40evf_clean_arq_element() local
919 desc_idx = ntc; in i40evf_clean_arq_element()
936 memcpy(e->msg_buf, hw->aq.arq.r.arq_bi[desc_idx].va, in i40evf_clean_arq_element()
/drivers/net/wireless/rtlwifi/
Dpci.c676 int rxring_idx, int desc_idx) in _rtl_pci_init_one_rxdesc() argument
700 rtlpci->rx_ring[rxring_idx].rx_buf[desc_idx] = skb; in _rtl_pci_init_one_rxdesc()