Home
last modified time | relevance | path

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

/drivers/net/ethernet/amd/
Damd8111e.c681 int rx_index = lp->rx_idx & RX_RING_DR_MOD_MASK; in amd8111e_rx_poll() local
692 status = le16_to_cpu(lp->rx_ring[rx_index].rx_flags); in amd8111e_rx_poll()
704 lp->rx_ring[rx_index].rx_flags &= RESET_RX_FLAGS; in amd8111e_rx_poll()
710 lp->rx_ring[rx_index].rx_flags &= RESET_RX_FLAGS; in amd8111e_rx_poll()
713 pkt_len = le16_to_cpu(lp->rx_ring[rx_index].msg_count) - 4; in amd8111e_rx_poll()
725 lp->rx_ring[rx_index].rx_flags &= RESET_RX_FLAGS; in amd8111e_rx_poll()
734 lp->rx_ring[rx_index].rx_flags &= RESET_RX_FLAGS; in amd8111e_rx_poll()
740 skb = lp->rx_skbuff[rx_index]; in amd8111e_rx_poll()
741 pci_unmap_single(lp->pci_dev,lp->rx_dma_addr[rx_index], in amd8111e_rx_poll()
744 lp->rx_skbuff[rx_index] = new_skb; in amd8111e_rx_poll()
[all …]
/drivers/net/ethernet/hisilicon/hns3/
Dhns3_debugfs.c167 u32 tx_index, rx_index; in hns3_dbg_bd_info() local
174 rx_index = tx_index; in hns3_dbg_bd_info()
219 rx_index = (cnt == 1) ? value : tx_index; in hns3_dbg_bd_info()
220 rx_desc = &ring->desc[rx_index]; in hns3_dbg_bd_info()
223 dev_info(dev, "RX Queue Num: %u, BD Index: %u\n", q_num, rx_index); in hns3_dbg_bd_info()
/drivers/ntb/
Dntb_transport.c118 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()
920 qp->rx_index = 0; in ntb_qp_link_down_reset()
1455 iowrite32(entry->rx_index, &qp->rx_info->entry); in ntb_complete_rxc()
1491 qp->rx_index; in ntb_rx_copy_callback()
1622 offset = qp->rx_buff + qp->rx_max_frame * qp->rx_index; in ntb_process_rxc()
1657 entry->rx_index = qp->rx_index; in ntb_process_rxc()
1672 qp->rx_index, hdr->ver, hdr->len, entry->len); in ntb_process_rxc()
[all …]
/drivers/spi/
Dspi-topcliff-pch.c170 u32 rx_index; member
261 u32 n_read, tx_index, rx_index, bpw_len; in pch_spi_handler_sub() local
273 rx_index = data->rx_index; in pch_spi_handler_sub()
285 pkt_rx_buffer[rx_index++] = ioread32(spdrr); in pch_spi_handler_sub()
291 if ((bpw_len - rx_index) <= PCH_MAX_FIFO_DEPTH) { in pch_spi_handler_sub()
304 data->rx_index = rx_index; in pch_spi_handler_sub()
308 if ((tx_index == bpw_len) && (rx_index == tx_index)) { in pch_spi_handler_sub()
568 data->rx_index = 0; in pch_spi_set_tx()
/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c1524 int rx_index; in parse_rx_slots() local
1527 rx_index = remote->slot_queue[ in parse_rx_slots()
1531 rx_index); in parse_rx_slots()
1532 state->rx_info = SLOT_INFO_FROM_INDEX(state, rx_index); in parse_rx_slots()
/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c1622 int rx_index = 0; in mlx4_en_start_port() local
1683 ++rx_index; in mlx4_en_start_port()
1862 while (rx_index--) { in mlx4_en_start_port()
1863 mlx4_en_deactivate_cq(priv, priv->rx_cq[rx_index]); in mlx4_en_start_port()
1864 mlx4_en_free_affinity_hint(priv, rx_index); in mlx4_en_start_port()