Home
last modified time | relevance | path

Searched refs:rx_index (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/amd/
Damd8111e.c685 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 …]
/drivers/ntb/
Dntb_transport.c118 unsigned int rx_index; member
168 unsigned int rx_index; member
503 "rx_index - \t%u\n", qp->rx_index); in debugfs_read()
648 qp->rx_index = 0; in ntb_transport_setup_qp_mw()
918 qp->rx_index = 0; in ntb_qp_link_context_reset()
1460 iowrite32(entry->rx_index, &qp->rx_info->entry); in ntb_complete_rxc()
1496 qp->rx_index; in ntb_rx_copy_callback()
1627 offset = qp->rx_buff + qp->rx_max_frame * qp->rx_index; in ntb_process_rxc()
1662 entry->rx_index = qp->rx_index; in ntb_process_rxc()
1677 qp->rx_index, hdr->ver, hdr->len, entry->len); in ntb_process_rxc()
[all …]
/drivers/spi/
Dspi-topcliff-pch.c175 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()
/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c1632 int rx_index = 0; in mlx4_en_start_port() local
1693 ++rx_index; in mlx4_en_start_port()
1874 while (rx_index--) { in mlx4_en_start_port()
1875 mlx4_en_deactivate_cq(priv, priv->rx_cq[rx_index]); in mlx4_en_start_port()
1876 mlx4_en_free_affinity_hint(priv, rx_index); in mlx4_en_start_port()
/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c1863 int rx_index; in parse_rx_slots() local
1866 rx_index = remote->slot_queue[ in parse_rx_slots()
1869 rx_index); in parse_rx_slots()
1870 state->rx_info = SLOT_INFO_FROM_INDEX(state, rx_index); in parse_rx_slots()