Searched refs:ring_data (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.10/drivers/net/ethernet/hisilicon/hns/ |
| D | hns_enet.c | 307 struct hns_nic_ring_data *ring_data) in hns_nic_net_xmit_hw() argument 310 struct hnae_ring *ring = ring_data->ring; in hns_nic_net_xmit_hw() 474 static void hns_nic_rx_checksum(struct hns_nic_ring_data *ring_data, in hns_nic_rx_checksum() argument 477 struct net_device *netdev = ring_data->napi.dev; in hns_nic_rx_checksum() 539 static int hns_nic_poll_rx_skb(struct hns_nic_ring_data *ring_data, in hns_nic_poll_rx_skb() argument 542 struct hnae_ring *ring = ring_data->ring; in hns_nic_poll_rx_skb() 543 struct net_device *ndev = ring_data->napi.dev; in hns_nic_poll_rx_skb() 563 skb = *out_skb = napi_alloc_skb(&ring_data->napi, in hns_nic_poll_rx_skb() 656 hns_nic_rx_checksum(ring_data, skb, bnum_flag); in hns_nic_poll_rx_skb() 662 hns_nic_alloc_rx_buffers(struct hns_nic_ring_data *ring_data, int cleand_count) in hns_nic_alloc_rx_buffers() argument [all …]
|
| D | hns_enet.h | 68 struct hns_nic_ring_data *ring_data; member 83 #define tx_ring_data(priv, idx) ((priv)->ring_data[idx]) 85 ((priv)->ring_data[(priv)->ae_handle->q_num + (idx)]) 93 struct hns_nic_ring_data *ring_data);
|
| D | hns_ethtool.c | 371 static void __lb_other_process(struct hns_nic_ring_data *ring_data, in __lb_other_process() argument 384 if (!ring_data) { /* Just for doing create frame*/ in __lb_other_process() 405 ring = ring_data->ring; in __lb_other_process() 406 ndev = ring_data->napi.dev; in __lb_other_process() 408 dev_queue = netdev_get_tx_queue(ndev, ring_data->queue_index); in __lb_other_process() 446 struct hns_nic_ring_data *ring_data; in __lb_clean_rings() local 453 ring_data = &priv->ring_data[i]; in __lb_clean_rings() 454 (void)ring_data->poll_one(ring_data, in __lb_clean_rings()
|
| /Linux-v5.10/drivers/net/ethernet/neterion/ |
| D | s2io.c | 2887 static int rx_intr_handler(struct ring_info *ring_data, int budget) in rx_intr_handler() argument 2901 get_info = ring_data->rx_curr_get_info; in rx_intr_handler() 2903 memcpy(&put_info, &ring_data->rx_curr_put_info, sizeof(put_info)); in rx_intr_handler() 2905 rxdp = ring_data->rx_blocks[get_block].rxds[get_info.offset].virt_addr; in rx_intr_handler() 2915 ring_data->dev->name); in rx_intr_handler() 2921 ring_data->dev->name); in rx_intr_handler() 2924 if (ring_data->rxd_mode == RXD_MODE_1) { in rx_intr_handler() 2926 dma_unmap_single(&ring_data->pdev->dev, in rx_intr_handler() 2928 ring_data->mtu + in rx_intr_handler() 2933 } else if (ring_data->rxd_mode == RXD_MODE_3B) { in rx_intr_handler() [all …]
|
| D | s2io.h | 1063 static int rx_intr_handler(struct ring_info *ring_data, int budget); 1070 static int rx_osm_handler(struct ring_info *ring_data, struct RxD_t * rxdp); 1102 static int s2io_club_tcp_session(struct ring_info *ring_data, u8 *buffer,
|
| /Linux-v5.10/drivers/gpu/drm/radeon/ |
| D | radeon_device.c | 1783 uint32_t *ring_data[RADEON_NUM_RINGS]; in radeon_gpu_reset() local 1807 &ring_data[i]); in radeon_gpu_reset() 1824 if (!r && ring_data[i]) { in radeon_gpu_reset() 1826 ring_sizes[i], ring_data[i]); in radeon_gpu_reset() 1829 kfree(ring_data[i]); in radeon_gpu_reset()
|