Searched refs:desc_idx (Results 1 – 10 of 10) sorted by relevance
/drivers/media/pci/solo6x10/ |
D | solo6x10-p2m.c | 91 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()
|
D | solo6x10.h | 130 int desc_idx; member
|
/drivers/net/ethernet/broadcom/ |
D | bcm63xx_enet.c | 247 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()
|
D | bgmac.c | 384 struct bgmac_dma_ring *ring, int desc_idx) in bgmac_dma_rx_setup_desc() argument 386 struct bgmac_dma_desc *dma_desc = ring->cpu_base + desc_idx; in bgmac_dma_rx_setup_desc() 389 if (desc_idx == BGMAC_RX_RING_SLOTS - 1) in bgmac_dma_rx_setup_desc() 397 dma_desc->addr_low = cpu_to_le32(lower_32_bits(ring->slots[desc_idx].dma_addr)); in bgmac_dma_rx_setup_desc() 398 dma_desc->addr_high = cpu_to_le32(upper_32_bits(ring->slots[desc_idx].dma_addr)); in bgmac_dma_rx_setup_desc() 402 ring->end = desc_idx; in bgmac_dma_rx_setup_desc()
|
D | tg3.c | 6817 u32 opaque_key, desc_idx, *post_ptr; in tg3_rx() local 6821 desc_idx = desc->opaque & RXD_OPAQUE_INDEX_MASK; in tg3_rx() 6824 ri = &tp->napi[0].prodring.rx_std_buffers[desc_idx]; in tg3_rx() 6830 ri = &tp->napi[0].prodring.rx_jmb_buffers[desc_idx]; in tg3_rx() 6842 desc_idx, *post_ptr); in tg3_rx() 6888 desc_idx, *post_ptr); in tg3_rx() 13413 u32 base_flags = 0, mss = 0, desc_idx, coal_now, data_off, val; in tg3_run_loopback() local 13563 desc_idx = desc->opaque & RXD_OPAQUE_INDEX_MASK; in tg3_run_loopback() 13591 rx_data = tpr->rx_std_buffers[desc_idx].data; in tg3_run_loopback() 13592 map = dma_unmap_addr(&tpr->rx_std_buffers[desc_idx], in tg3_run_loopback() [all …]
|
/drivers/usb/gadget/function/ |
D | f_fs.c | 1036 int desc_idx; in ffs_epfile_ioctl() local 1041 desc_idx = 2; in ffs_epfile_ioctl() 1044 desc_idx = 1; in ffs_epfile_ioctl() 1047 desc_idx = 0; in ffs_epfile_ioctl() 1050 desc = epfile->ep->descs[desc_idx]; in ffs_epfile_ioctl() 1664 int desc_idx; in ffs_func_eps_enable() local 1667 desc_idx = 2; in ffs_func_eps_enable() 1670 desc_idx = 1; in ffs_func_eps_enable() 1672 desc_idx = 0; in ffs_func_eps_enable() 1676 ds = ep->descs[desc_idx]; in ffs_func_eps_enable() [all …]
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40e_adminq.c | 885 u16 desc_idx; in i40evf_clean_arq_element() local 910 desc_idx = ntc; in i40evf_clean_arq_element() 927 memcpy(e->msg_buf, hw->aq.arq.r.arq_bi[desc_idx].va, in i40evf_clean_arq_element()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_adminq.c | 951 u16 desc_idx; in i40e_clean_arq_element() local 976 desc_idx = ntc; in i40e_clean_arq_element() 993 memcpy(e->msg_buf, hw->aq.arq.r.arq_bi[desc_idx].va, in i40e_clean_arq_element()
|
/drivers/input/touchscreen/ |
D | wdt87xx_i2c.c | 219 static int wdt87xx_get_desc(struct i2c_client *client, u8 desc_idx, in wdt87xx_get_desc() argument 225 tx_buf[2] |= desc_idx & 0xF; in wdt87xx_get_desc()
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | pci.c | 674 int rxring_idx, int desc_idx) in _rtl_pci_init_one_rxdesc() argument 698 rtlpci->rx_ring[rxring_idx].rx_buf[desc_idx] = skb; in _rtl_pci_init_one_rxdesc()
|