Home
last modified time | relevance | path

Searched refs:remote_dev (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/misc/mic/scif/
Dscif_rma.c208 _scif_nodeqp_send(ep->remote_dev, &msg); in scif_destroy_incomplete_window()
225 void scif_unmap_window(struct scif_dev *remote_dev, struct scif_window *window) in scif_unmap_window() argument
229 if (scif_is_iommu_enabled() && !scifdev_self(remote_dev)) { in scif_unmap_window()
231 dma_unmap_sg(&remote_dev->sdev->dev, in scif_unmap_window()
242 remote_dev, in scif_unmap_window()
317 scif_unmap_window(ep->remote_dev, window); in scif_destroy_window()
350 static int scif_create_remote_lookup(struct scif_dev *remote_dev, in scif_create_remote_lookup() argument
360 window, remote_dev, sizeof(*window)); in scif_create_remote_lookup()
370 remote_dev, window->nr_lookup * in scif_create_remote_lookup()
380 remote_dev, window->nr_lookup * in scif_create_remote_lookup()
[all …]
Dscif_fence.c31 scif_nodeqp_send(ep->remote_dev, msg); in scif_recv_mark()
77 scif_nodeqp_send(ep->remote_dev, msg); in scif_recv_wait()
133 scif_nodeqp_send(ep->remote_dev, msg); in scif_recv_sig_local()
154 scif_nodeqp_send(ep->remote_dev, msg); in scif_recv_sig_remote()
191 dma_pool_free(cb_arg->ep->remote_dev->signal_pool, cb_arg->status, in scif_prog_signal_cb()
212 dev_err(&ep->remote_dev->sdev->dev, "%s %d err %d\n", in _scif_prog_signal()
219 dev_err(&ep->remote_dev->sdev->dev, "%s %d err %d\n", in _scif_prog_signal()
231 status = dma_pool_alloc(ep->remote_dev->signal_pool, GFP_KERNEL, in _scif_prog_signal()
235 dev_err(&ep->remote_dev->sdev->dev, "%s %d err %d\n", in _scif_prog_signal()
248 dev_err(&ep->remote_dev->sdev->dev, "%s %d err %d\n", in _scif_prog_signal()
[all …]
Dscif_mmap.c98 if (ep->remote_dev->node == node) in _scif_zap_mmaps()
152 if (ep->remote_dev && ep->remote_dev->node == node) in scif_cleanup_rma_for_zombies()
198 struct scif_dev *scifdev = (struct scif_dev *)ep->remote_dev; in scif_get_phys()
246 dev_err(&ep->remote_dev->sdev->dev, in scif_get_pages()
265 if (scif_is_mgmt_node() && !scifdev_self(ep->remote_dev)) { in scif_get_pages()
284 if (scif_is_mgmt_node() && !scifdev_self(ep->remote_dev)) in scif_get_pages()
286 ep->remote_dev->sdev->aper->va + in scif_get_pages()
288 ep->remote_dev->sdev->aper->pa; in scif_get_pages()
303 dev_err(&ep->remote_dev->sdev->dev, in scif_get_pages()
342 scif_drain_dma_intr(ep->remote_dev->sdev, in scif_put_pages()
[all …]
Dscif_api.c143 err = scif_nodeqp_send(ep->remote_dev, &msg); in scif_disconnect_ep()
470 dev_err(&ep->remote_dev->sdev->dev, in scif_conn_func()
477 SCIF_ENDPT_QP_SIZE, ep->remote_dev); in scif_conn_func()
479 dev_err(&ep->remote_dev->sdev->dev, in scif_conn_func()
486 spdev = scif_get_peer_dev(ep->remote_dev); in scif_conn_func()
497 err = _scif_nodeqp_send(ep->remote_dev, &msg); in scif_conn_func()
508 dev_err(&ep->remote_dev->sdev->dev, in scif_conn_func()
512 spdev = scif_get_peer_dev(ep->remote_dev); in scif_conn_func()
518 err = scif_setup_qp_connect_response(ep->remote_dev, in scif_conn_func()
526 dev_err(&ep->remote_dev->sdev->dev, in scif_conn_func()
[all …]
Dscif_dma.c63 struct scif_dev *remote_dev; member
84 if (!scif_info.nodeid && scifdev_self(ep->remote_dev)) in scif_reserve_dma_chan()
89 scifdev = ep->remote_dev; in scif_reserve_dma_chan()
380 err = scif_map_window(ep->remote_dev, *out_window); in scif_register_temp()
391 dev_err(&ep->remote_dev->sdev->dev, in scif_register_temp()
586 !scif_drain_dma_intr(ep->remote_dev->sdev, in scif_rma_destroy_windows()
591 dev_warn(&ep->remote_dev->sdev->dev, in scif_rma_destroy_windows()
629 !scif_drain_dma_intr(ep->remote_dev->sdev, in scif_rma_destroy_tcw_invalid()
636 dev_warn(&ep->remote_dev->sdev->dev, in scif_rma_destroy_tcw_invalid()
681 scif_iounmap(virt, size, work->remote_dev); in iounmap_remote()
[all …]
Dscif_epd.c18 qp->outbound_q.size, ep->remote_dev); in scif_cleanup_ep_qp()
23 sizeof(struct scif_qp), ep->remote_dev); in scif_cleanup_ep_qp()
27 scif_unmap_single(qp->local_qp, ep->remote_dev, in scif_cleanup_ep_qp()
32 scif_unmap_single(qp->local_buf, ep->remote_dev, in scif_cleanup_ep_qp()
Dscif_epd.h103 struct scif_dev *remote_dev; member
132 return _scifdev_alive(ep->remote_dev); in scifdev_alive()
Dscif_nm.c27 if (ep->remote_dev->node == node) { in scif_invalidate_ep()
36 if (ep->remote_dev->node == node) { in scif_invalidate_ep()
Dscif_rma.h332 void scif_unmap_window(struct scif_dev *remote_dev, struct scif_window *window);
334 int scif_map_window(struct scif_dev *remote_dev,
Dscif_rma_list.c235 scif_unmap_window(ep->remote_dev, window); in scif_unmap_all_windows()
/Linux-v5.4/drivers/target/
Dtarget_core_xcopy.c399 struct se_device *remote_dev; in xcopy_pt_undepend_remotedev() local
402 remote_dev = xop->dst_dev; in xcopy_pt_undepend_remotedev()
404 remote_dev = xop->src_dev; in xcopy_pt_undepend_remotedev()
408 remote_dev, &remote_dev->dev_group.cg_item); in xcopy_pt_undepend_remotedev()
410 target_undepend_item(&remote_dev->dev_group.cg_item); in xcopy_pt_undepend_remotedev()
/Linux-v5.4/drivers/net/
Dvxlan.c3571 struct net_device *remote_dev = NULL; in __vxlan_dev_create() local
3604 remote_dev = __dev_get_by_index(net, dst->remote_ifindex); in __vxlan_dev_create()
3605 if (!remote_dev) in __vxlan_dev_create()
3608 err = netdev_upper_dev_link(remote_dev, dev, extack); in __vxlan_dev_create()
3625 if (remote_dev) in __vxlan_dev_create()
3626 netdev_upper_dev_unlink(remote_dev, dev); in __vxlan_dev_create()
3632 if (remote_dev) in __vxlan_dev_create()
3633 dst->remote_dev = remote_dev; in __vxlan_dev_create()
3636 if (remote_dev) in __vxlan_dev_create()
3637 netdev_upper_dev_unlink(remote_dev, dev); in __vxlan_dev_create()
[all …]
/Linux-v5.4/include/net/
Dvxlan.h200 struct net_device *remote_dev; member