Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c659 struct axidma_bd *cur_p; in axienet_free_tx_chain() local
665 cur_p = &lp->tx_bd_v[(first_bd + i) % lp->tx_bd_num]; in axienet_free_tx_chain()
666 status = cur_p->status; in axienet_free_tx_chain()
676 phys = desc_get_phys_addr(lp, cur_p); in axienet_free_tx_chain()
678 (cur_p->cntrl & XAXIDMA_BD_CTRL_LENGTH_MASK), in axienet_free_tx_chain()
681 if (cur_p->skb && (status & XAXIDMA_BD_STS_COMPLETE_MASK)) in axienet_free_tx_chain()
682 napi_consume_skb(cur_p->skb, budget); in axienet_free_tx_chain()
684 cur_p->app0 = 0; in axienet_free_tx_chain()
685 cur_p->app1 = 0; in axienet_free_tx_chain()
686 cur_p->app2 = 0; in axienet_free_tx_chain()
[all …]
Dll_temac_main.c774 struct cdmac_bd *cur_p; in temac_start_xmit_done() local
778 cur_p = &lp->tx_bd_v[lp->tx_bd_ci]; in temac_start_xmit_done()
779 stat = be32_to_cpu(cur_p->app0); in temac_start_xmit_done()
786 dma_unmap_single(ndev->dev.parent, be32_to_cpu(cur_p->phys), in temac_start_xmit_done()
787 be32_to_cpu(cur_p->len), DMA_TO_DEVICE); in temac_start_xmit_done()
788 skb = (struct sk_buff *)ptr_from_txbd(cur_p); in temac_start_xmit_done()
791 cur_p->app1 = 0; in temac_start_xmit_done()
792 cur_p->app2 = 0; in temac_start_xmit_done()
793 cur_p->app3 = 0; in temac_start_xmit_done()
794 cur_p->app4 = 0; in temac_start_xmit_done()
[all …]
/Linux-v6.6/drivers/net/ethernet/ni/
Dnixge.c463 struct nixge_hw_dma_bd *cur_p; in nixge_start_xmit_done() local
469 cur_p = &priv->tx_bd_v[priv->tx_bd_ci]; in nixge_start_xmit_done()
472 status = cur_p->status; in nixge_start_xmit_done()
476 cur_p->status = 0; in nixge_start_xmit_done()
483 cur_p = &priv->tx_bd_v[priv->tx_bd_ci]; in nixge_start_xmit_done()
485 status = cur_p->status; in nixge_start_xmit_done()
498 struct nixge_hw_dma_bd *cur_p; in nixge_check_tx_bd_space() local
500 cur_p = &priv->tx_bd_v[(priv->tx_bd_tail + num_frag) % TX_BD_NUM]; in nixge_check_tx_bd_space()
501 if (cur_p->status & XAXIDMA_BD_STS_ALL_MASK) in nixge_check_tx_bd_space()
510 struct nixge_hw_dma_bd *cur_p; in nixge_start_xmit() local
[all …]
/Linux-v6.6/net/bridge/
Dbr_if.c217 struct net_bridge_port *cur_p; in nbp_backup_clear() local
219 list_for_each_entry(cur_p, &p->br->port_list, list) { in nbp_backup_clear()
222 backup_p = rtnl_dereference(cur_p->backup_port); in nbp_backup_clear()
224 nbp_backup_change(cur_p, NULL); in nbp_backup_clear()
/Linux-v6.6/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c1114 struct virtio_gpu_update_cursor *cur_p; in virtio_gpu_cursor_ping() local
1117 cur_p = virtio_gpu_alloc_cursor(vgdev, &vbuf); in virtio_gpu_cursor_ping()
1118 memcpy(cur_p, &output->cursor, sizeof(output->cursor)); in virtio_gpu_cursor_ping()