Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c658 struct axidma_bd *cur_p; in axienet_free_tx_chain() local
664 cur_p = &lp->tx_bd_v[(first_bd + i) % lp->tx_bd_num]; in axienet_free_tx_chain()
665 status = cur_p->status; in axienet_free_tx_chain()
675 phys = desc_get_phys_addr(lp, cur_p); in axienet_free_tx_chain()
677 (cur_p->cntrl & XAXIDMA_BD_CTRL_LENGTH_MASK), in axienet_free_tx_chain()
680 if (cur_p->skb && (status & XAXIDMA_BD_STS_COMPLETE_MASK)) in axienet_free_tx_chain()
681 napi_consume_skb(cur_p->skb, budget); in axienet_free_tx_chain()
683 cur_p->app0 = 0; in axienet_free_tx_chain()
684 cur_p->app1 = 0; in axienet_free_tx_chain()
685 cur_p->app2 = 0; in axienet_free_tx_chain()
[all …]
Dll_temac_main.c776 struct cdmac_bd *cur_p; in temac_start_xmit_done() local
780 cur_p = &lp->tx_bd_v[lp->tx_bd_ci]; in temac_start_xmit_done()
781 stat = be32_to_cpu(cur_p->app0); in temac_start_xmit_done()
788 dma_unmap_single(ndev->dev.parent, be32_to_cpu(cur_p->phys), in temac_start_xmit_done()
789 be32_to_cpu(cur_p->len), DMA_TO_DEVICE); in temac_start_xmit_done()
790 skb = (struct sk_buff *)ptr_from_txbd(cur_p); in temac_start_xmit_done()
793 cur_p->app1 = 0; in temac_start_xmit_done()
794 cur_p->app2 = 0; in temac_start_xmit_done()
795 cur_p->app3 = 0; in temac_start_xmit_done()
796 cur_p->app4 = 0; in temac_start_xmit_done()
[all …]
/linux-6.1.9/drivers/net/ethernet/ni/
Dnixge.c464 struct nixge_hw_dma_bd *cur_p; in nixge_start_xmit_done() local
470 cur_p = &priv->tx_bd_v[priv->tx_bd_ci]; in nixge_start_xmit_done()
473 status = cur_p->status; in nixge_start_xmit_done()
477 cur_p->status = 0; in nixge_start_xmit_done()
484 cur_p = &priv->tx_bd_v[priv->tx_bd_ci]; in nixge_start_xmit_done()
486 status = cur_p->status; in nixge_start_xmit_done()
499 struct nixge_hw_dma_bd *cur_p; in nixge_check_tx_bd_space() local
501 cur_p = &priv->tx_bd_v[(priv->tx_bd_tail + num_frag) % TX_BD_NUM]; in nixge_check_tx_bd_space()
502 if (cur_p->status & XAXIDMA_BD_STS_ALL_MASK) in nixge_check_tx_bd_space()
511 struct nixge_hw_dma_bd *cur_p; in nixge_start_xmit() local
[all …]
/linux-6.1.9/net/bridge/
Dbr_if.c216 struct net_bridge_port *cur_p; in nbp_backup_clear() local
218 list_for_each_entry(cur_p, &p->br->port_list, list) { in nbp_backup_clear()
221 backup_p = rtnl_dereference(cur_p->backup_port); in nbp_backup_clear()
223 nbp_backup_change(cur_p, NULL); in nbp_backup_clear()
/linux-6.1.9/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c1108 struct virtio_gpu_update_cursor *cur_p; in virtio_gpu_cursor_ping() local
1111 cur_p = virtio_gpu_alloc_cursor(vgdev, &vbuf); in virtio_gpu_cursor_ping()
1112 memcpy(cur_p, &output->cursor, sizeof(output->cursor)); in virtio_gpu_cursor_ping()