Home
last modified time | relevance | path

Searched refs:ring_data (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c305 struct hns_nic_ring_data *ring_data) in hns_nic_net_xmit_hw() argument
308 struct hnae_ring *ring = ring_data->ring; in hns_nic_net_xmit_hw()
472 static void hns_nic_rx_checksum(struct hns_nic_ring_data *ring_data, in hns_nic_rx_checksum() argument
475 struct net_device *netdev = ring_data->napi.dev; in hns_nic_rx_checksum()
537 static int hns_nic_poll_rx_skb(struct hns_nic_ring_data *ring_data, in hns_nic_poll_rx_skb() argument
540 struct hnae_ring *ring = ring_data->ring; in hns_nic_poll_rx_skb()
541 struct net_device *ndev = ring_data->napi.dev; in hns_nic_poll_rx_skb()
561 skb = *out_skb = napi_alloc_skb(&ring_data->napi, in hns_nic_poll_rx_skb()
654 hns_nic_rx_checksum(ring_data, skb, bnum_flag); in hns_nic_poll_rx_skb()
660 hns_nic_alloc_rx_buffers(struct hns_nic_ring_data *ring_data, int cleand_count) in hns_nic_alloc_rx_buffers() argument
[all …]
Dhns_enet.h68 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);
Dhns_ethtool.c370 static void __lb_other_process(struct hns_nic_ring_data *ring_data, in __lb_other_process() argument
383 if (!ring_data) { /* Just for doing create frame*/ in __lb_other_process()
404 ring = ring_data->ring; in __lb_other_process()
405 ndev = ring_data->napi.dev; in __lb_other_process()
407 dev_queue = netdev_get_tx_queue(ndev, ring_data->queue_index); in __lb_other_process()
449 struct hns_nic_ring_data *ring_data; in __lb_clean_rings() local
456 ring_data = &priv->ring_data[i]; in __lb_clean_rings()
457 (void)ring_data->poll_one(ring_data, in __lb_clean_rings()
/linux-6.1.9/drivers/i3c/master/mipi-i3c-hci/
Ddma.c370 u32 *ring_data = rh->xfer + rh->xfer_struct_sz * enqueue_ptr; in hci_dma_queue_xfer() local
373 *ring_data++ = xfer->cmd_desc[0]; in hci_dma_queue_xfer()
374 *ring_data++ = xfer->cmd_desc[1]; in hci_dma_queue_xfer()
376 *ring_data++ = xfer->cmd_desc[2]; in hci_dma_queue_xfer()
377 *ring_data++ = xfer->cmd_desc[3]; in hci_dma_queue_xfer()
383 *ring_data++ = in hci_dma_queue_xfer()
401 *ring_data++ = lo32(xfer->data_dma); in hci_dma_queue_xfer()
402 *ring_data++ = hi32(xfer->data_dma); in hci_dma_queue_xfer()
404 *ring_data++ = 0; in hci_dma_queue_xfer()
405 *ring_data++ = 0; in hci_dma_queue_xfer()
[all …]
/linux-6.1.9/drivers/net/ethernet/neterion/
Ds2io.c2889 static int rx_intr_handler(struct ring_info *ring_data, int budget) in rx_intr_handler() argument
2903 get_info = ring_data->rx_curr_get_info; in rx_intr_handler()
2905 memcpy(&put_info, &ring_data->rx_curr_put_info, sizeof(put_info)); in rx_intr_handler()
2907 rxdp = ring_data->rx_blocks[get_block].rxds[get_info.offset].virt_addr; in rx_intr_handler()
2917 ring_data->dev->name); in rx_intr_handler()
2923 ring_data->dev->name); in rx_intr_handler()
2926 if (ring_data->rxd_mode == RXD_MODE_1) { in rx_intr_handler()
2928 dma_unmap_single(&ring_data->pdev->dev, in rx_intr_handler()
2930 ring_data->mtu + in rx_intr_handler()
2935 } else if (ring_data->rxd_mode == RXD_MODE_3B) { in rx_intr_handler()
[all …]
Ds2io.h1062 static int rx_intr_handler(struct ring_info *ring_data, int budget);
1069 static int rx_osm_handler(struct ring_info *ring_data, struct RxD_t * rxdp);
1101 static int s2io_club_tcp_session(struct ring_info *ring_data, u8 *buffer,
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_device.c1766 uint32_t *ring_data[RADEON_NUM_RINGS]; in radeon_gpu_reset() local
1790 &ring_data[i]); in radeon_gpu_reset()
1807 if (!r && ring_data[i]) { in radeon_gpu_reset()
1809 ring_sizes[i], ring_data[i]); in radeon_gpu_reset()
1812 kfree(ring_data[i]); in radeon_gpu_reset()