Searched refs:rx_index (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/net/ethernet/amd/ |
H A D | amd8111e.c | 685 int rx_index = lp->rx_idx & RX_RING_DR_MOD_MASK; in amd8111e_rx_poll() local 696 status = le16_to_cpu(lp->rx_ring[rx_index].rx_flags); in amd8111e_rx_poll() 708 lp->rx_ring[rx_index].rx_flags &= RESET_RX_FLAGS; in amd8111e_rx_poll() 714 lp->rx_ring[rx_index].rx_flags &= RESET_RX_FLAGS; in amd8111e_rx_poll() 717 pkt_len = le16_to_cpu(lp->rx_ring[rx_index].msg_count) - 4; in amd8111e_rx_poll() 729 lp->rx_ring[rx_index].rx_flags &= RESET_RX_FLAGS; in amd8111e_rx_poll() 738 lp->rx_ring[rx_index].rx_flags &= RESET_RX_FLAGS; in amd8111e_rx_poll() 744 skb = lp->rx_skbuff[rx_index]; in amd8111e_rx_poll() 745 dma_unmap_single(&lp->pci_dev->dev, lp->rx_dma_addr[rx_index], in amd8111e_rx_poll() 748 lp->rx_skbuff[rx_index] = new_skb; in amd8111e_rx_poll() [all …]
|
/linux/drivers/ntb/ |
H A D | ntb_transport.c | 118 unsigned int rx_index; member 168 unsigned int rx_index; member 505 "rx_index - \t%u\n", qp->rx_index); in debugfs_read() 650 qp->rx_index = 0; in ntb_transport_setup_qp_mw() 933 qp->rx_index = 0; in ntb_qp_link_context_reset() 1475 iowrite32(entry->rx_index, &qp->rx_info->entry); in ntb_complete_rxc() 1511 qp->rx_index; in ntb_rx_copy_callback() 1642 offset = qp->rx_buff + qp->rx_max_frame * qp->rx_index; in ntb_process_rxc() 1677 entry->rx_index = qp->rx_index; in ntb_process_rxc() 1692 qp->rx_index, hdr->ver, hdr->len, entry->len); in ntb_process_rxc() [all …]
|
/linux/drivers/spi/ |
H A D | spi-topcliff-pch.c | 175 u32 rx_index; member 266 u32 n_read, tx_index, rx_index, bpw_len; in pch_spi_handler_sub() local 278 rx_index = data->rx_index; in pch_spi_handler_sub() 290 pkt_rx_buffer[rx_index++] = ioread32(spdrr); in pch_spi_handler_sub() 296 if ((bpw_len - rx_index) <= PCH_MAX_FIFO_DEPTH) { in pch_spi_handler_sub() 309 data->rx_index = rx_index; in pch_spi_handler_sub() 313 if ((tx_index == bpw_len) && (rx_index == tx_index)) { in pch_spi_handler_sub() 544 data->rx_index = 0; in pch_spi_set_tx()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_netdev.c | 1635 int rx_index = 0; in mlx4_en_start_port() local 1696 ++rx_index; in mlx4_en_start_port() 1877 while (rx_index--) { in mlx4_en_start_port() 1878 mlx4_en_deactivate_cq(priv, priv->rx_cq[rx_index]); in mlx4_en_start_port() 1879 mlx4_en_free_affinity_hint(priv, rx_index); in mlx4_en_start_port()
|
/linux/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_core.c | 1846 int rx_index; in parse_rx_slots() local 1849 rx_index = remote->slot_queue[ in parse_rx_slots() 1852 rx_index); in parse_rx_slots() 1853 state->rx_info = SLOT_INFO_FROM_INDEX(state, rx_index); in parse_rx_slots()
|