Home
last modified time | relevance | path

Searched refs:xdev (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v5.15/drivers/media/platform/xilinx/
Dxilinx-vipp.c53 xvip_graph_find_entity(struct xvip_composite_device *xdev, in xvip_graph_find_entity() argument
59 list_for_each_entry(asd, &xdev->notifier.asd_list, asd_list) { in xvip_graph_find_entity()
68 static int xvip_graph_build_one(struct xvip_composite_device *xdev, in xvip_graph_build_one() argument
81 dev_dbg(xdev->dev, "creating links for entity %s\n", local->name); in xvip_graph_build_one()
90 dev_dbg(xdev->dev, "processing endpoint %p\n", ep); in xvip_graph_build_one()
94 dev_err(xdev->dev, "failed to parse link for %p\n", in xvip_graph_build_one()
103 dev_err(xdev->dev, "invalid port number %u for %p\n", in xvip_graph_build_one()
113 dev_dbg(xdev->dev, "skipping sink port %p:%u\n", in xvip_graph_build_one()
120 if (link.remote_node == of_fwnode_handle(xdev->dev->of_node)) { in xvip_graph_build_one()
121 dev_dbg(xdev->dev, "skipping DMA port %p:%u\n", in xvip_graph_build_one()
[all …]
Dxilinx-dma.c372 dev_err(dma->xdev->dev, "Failed to prepare DMA transfer\n"); in xvip_dma_buffer_queue()
493 cap->capabilities = dma->xdev->v4l2_caps | V4L2_CAP_STREAMING | in xvip_dma_querycap()
499 dma->xdev->dev->of_node, dma->port); in xvip_dma_querycap()
647 int xvip_dma_init(struct xvip_composite_device *xdev, struct xvip_dma *dma, in xvip_dma_init() argument
653 dma->xdev = xdev; in xvip_dma_init()
679 dma->video.v4l2_dev = &xdev->v4l2_dev; in xvip_dma_init()
682 xdev->dev->of_node, in xvip_dma_init()
716 dma->queue.dev = dma->xdev->dev; in xvip_dma_init()
719 dev_err(dma->xdev->dev, "failed to initialize VB2 queue\n"); in xvip_dma_init()
725 dma->dma = dma_request_chan(dma->xdev->dev, name); in xvip_dma_init()
[all …]
Dxilinx-dma.h78 struct xvip_composite_device *xdev; member
100 int xvip_dma_init(struct xvip_composite_device *xdev, struct xvip_dma *dma,
/Linux-v5.15/drivers/watchdog/
Dof_xilinx_wdt.c53 struct xwdt_device *xdev = watchdog_get_drvdata(wdd); in xilinx_wdt_start() local
55 ret = clk_enable(xdev->clk); in xilinx_wdt_start()
61 spin_lock(&xdev->spinlock); in xilinx_wdt_start()
64 control_status_reg = ioread32(xdev->base + XWT_TWCSR0_OFFSET); in xilinx_wdt_start()
68 xdev->base + XWT_TWCSR0_OFFSET); in xilinx_wdt_start()
70 iowrite32(XWT_CSRX_EWDT2_MASK, xdev->base + XWT_TWCSR1_OFFSET); in xilinx_wdt_start()
72 spin_unlock(&xdev->spinlock); in xilinx_wdt_start()
82 struct xwdt_device *xdev = watchdog_get_drvdata(wdd); in xilinx_wdt_stop() local
84 spin_lock(&xdev->spinlock); in xilinx_wdt_stop()
86 control_status_reg = ioread32(xdev->base + XWT_TWCSR0_OFFSET); in xilinx_wdt_stop()
[all …]
/Linux-v5.15/drivers/xen/xen-pciback/
Dxenbus.c37 static struct xen_pcibk_device *alloc_pdev(struct xenbus_device *xdev) in alloc_pdev() argument
44 dev_dbg(&xdev->dev, "allocated pdev @ 0x%p\n", pdev); in alloc_pdev()
46 pdev->xdev = xdev; in alloc_pdev()
61 dev_set_drvdata(&xdev->dev, pdev); in alloc_pdev()
82 xenbus_unmap_ring_vfree(pdev->xdev, pdev->sh_info); in xen_pcibk_disconnect()
101 dev_set_drvdata(&pdev->xdev->dev, NULL); in free_pdev()
102 pdev->xdev = NULL; in free_pdev()
113 dev_dbg(&pdev->xdev->dev, in xen_pcibk_do_attach()
117 err = xenbus_map_ring_valloc(pdev->xdev, &gnt_ref, 1, &vaddr); in xen_pcibk_do_attach()
119 xenbus_dev_fatal(pdev->xdev, err, in xen_pcibk_do_attach()
[all …]
Dvpci.c79 xenbus_dev_fatal(pdev->xdev, err, in __xen_pcibk_add_pci_dev()
87 xenbus_dev_fatal(pdev->xdev, err, in __xen_pcibk_add_pci_dev()
134 xenbus_dev_fatal(pdev->xdev, err, in __xen_pcibk_add_pci_dev()
Dpciback_ops.c157 pdev->xdev->otherend_id, status); in xen_pcibk_enable_msi()
244 pdev->xdev->otherend_id, result); in xen_pcibk_enable_msix()
Dpciback.h37 struct xenbus_device *xdev; member
Dpci_stub.c671 psdev->pdev->xdev->otherend_id); in kill_domain_by_device()
/Linux-v5.15/drivers/char/xillybus/
Dxillyusb.c89 struct xillyusb_dev *xdev; member
118 struct xillyusb_dev *xdev; member
479 *endpoint_alloc(struct xillyusb_dev *xdev, in endpoint_alloc() argument
508 ep->xdev = xdev; in endpoint_alloc()
540 struct xillyusb_dev *xdev = in cleanup_dev() local
543 if (xdev->in_ep) in cleanup_dev()
544 endpoint_dealloc(xdev->in_ep); in cleanup_dev()
546 if (xdev->msg_ep) in cleanup_dev()
547 endpoint_dealloc(xdev->msg_ep); in cleanup_dev()
549 if (xdev->workq) in cleanup_dev()
[all …]
/Linux-v5.15/drivers/dma/xilinx/
Dxilinx_dpdma.c243 struct xilinx_dpdma_device *xdev; member
453 static void xilinx_dpdma_debugfs_init(struct xilinx_dpdma_device *xdev) in xilinx_dpdma_debugfs_init() argument
459 dent = debugfs_create_file("testcase", 0444, xdev->common.dbg_dev_root, in xilinx_dpdma_debugfs_init()
462 dev_err(xdev->dev, "Failed to create debugfs testcase file\n"); in xilinx_dpdma_debugfs_init()
466 static void xilinx_dpdma_debugfs_init(struct xilinx_dpdma_device *xdev) in xilinx_dpdma_debugfs_init() argument
516 static void xilinx_dpdma_sw_desc_set_dma_addrs(struct xilinx_dpdma_device *xdev, in xilinx_dpdma_sw_desc_set_dma_addrs() argument
526 if (xdev->ext_addr) in xilinx_dpdma_sw_desc_set_dma_addrs()
536 if (xdev->ext_addr) { in xilinx_dpdma_sw_desc_set_dma_addrs()
550 if (xdev->ext_addr) in xilinx_dpdma_sw_desc_set_dma_addrs()
604 struct device *dev = chan->xdev->dev; in xilinx_dpdma_chan_dump_tx_desc()
[all …]
Dxilinx_dma.c415 struct xilinx_dma_device *xdev; member
522 readl_poll_timeout_atomic(chan->xdev->regs + chan->ctrl_offset + reg, \
528 return ioread32(chan->xdev->regs + reg); in dma_read()
533 iowrite32(value, chan->xdev->regs + reg); in dma_write()
580 writel(value_lsb, chan->xdev->regs + chan->desc_offset + reg); in vdma_desc_write_64()
583 writel(value_msb, chan->xdev->regs + chan->desc_offset + reg + 4); in vdma_desc_write_64()
588 lo_hi_writeq(value, chan->xdev->regs + chan->ctrl_offset + reg); in dma_writeq()
831 if (chan->xdev->dma_config->dmatype == XDMA_TYPE_VDMA) { in xilinx_dma_free_tx_descriptor()
836 } else if (chan->xdev->dma_config->dmatype == XDMA_TYPE_CDMA) { in xilinx_dma_free_tx_descriptor()
842 } else if (chan->xdev->dma_config->dmatype == XDMA_TYPE_AXIDMA) { in xilinx_dma_free_tx_descriptor()
[all …]
/Linux-v5.15/drivers/pci/
Dxen-pcifront.c41 struct xenbus_device *xdev; member
107 dev_dbg(&pdev->xdev->dev, "schedule aer frontend job\n"); in schedule_pcifront_aer_op()
146 dev_err(&pdev->xdev->dev, in do_pci_op()
162 dev_err(&pdev->xdev->dev, in do_pci_op()
191 dev_dbg(&pdev->xdev->dev, in pcifront_bus_read()
199 dev_dbg(&pdev->xdev->dev, "read got back value %x\n", in pcifront_bus_read()
228 dev_dbg(&pdev->xdev->dev, in pcifront_bus_write()
397 dev_info(&pdev->xdev->dev, "claiming resource %s/%d\n", in pcifront_claim_resource()
400 dev_err(&pdev->xdev->dev, "Could not claim resource %s/%d! " in pcifront_claim_resource()
432 dev_info(&pdev->xdev->dev, "New device on " in pcifront_scan_bus()
[all …]
/Linux-v5.15/drivers/dma/
Duniphier-xdmac.c88 struct uniphier_xdmac_device *xdev; member
241 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_chan_irq()
244 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_chan_irq()
265 struct uniphier_xdmac_device *xdev = dev_id; in uniphier_xdmac_irq_handler() local
268 for (i = 0; i < xdev->nr_chans; i++) in uniphier_xdmac_irq_handler()
269 uniphier_xdmac_chan_irq(&xdev->channels[i]); in uniphier_xdmac_irq_handler()
344 if (maxburst > xc->xdev->ddev.max_burst) { in uniphier_xdmac_prep_slave_sg()
345 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg()
372 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg()
379 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg()
[all …]
/Linux-v5.15/tools/perf/
Dperf-with-kcore.sh109 …find "$USER_HOME/.debug" -xdev -type d ! -user "$SUDO_USER" -ls -exec chown "$SUDO_USE…
110 …find "$USER_HOME/.debug" -xdev -type f -links 1 ! -user "$SUDO_USER" -ls -exec chown "$SUDO_USE…
111 …find "$USER_HOME/.debug" -xdev -type l ! -user "$SUDO_USER" -ls -exec chown -h "$SUDO_USE…
114 …find "$USER_HOME/.debug" -xdev -type d ! -group "$SUDO_GID" -ls -exec chgrp "$SUDO_GID…
115 …find "$USER_HOME/.debug" -xdev -type f -links 1 ! -group "$SUDO_GID" -ls -exec chgrp "$SUDO_GID…
116 …find "$USER_HOME/.debug" -xdev -type l ! -group "$SUDO_GID" -ls -exec chgrp -h "$SUDO_GID…
128 PERMISSIONS_OK+=$(find "$HOME/.debug" -xdev -type d ! -user "$USER" -print -quit)
129 PERMISSIONS_OK+=$(find "$HOME/.debug" -xdev -type f -links 1 ! -user "$USER" -print -quit)
130 PERMISSIONS_OK+=$(find "$HOME/.debug" -xdev -type l ! -user "$USER" -print -quit)
132 PERMISSIONS_OK+=$(find "$HOME/.debug" -xdev -type d ! -group "$GROUPS" -print -quit)
[all …]
/Linux-v5.15/drivers/xen/xenbus/
Dxenbus_probe_backend.c98 struct xenbus_device *xdev; in xenbus_uevent_backend() local
107 xdev = to_xenbus_device(dev); in xenbus_uevent_backend()
108 bus = container_of(xdev->dev.bus, struct xen_bus_type, bus); in xenbus_uevent_backend()
110 if (add_uevent_var(env, "MODALIAS=xen-backend:%s", xdev->devicetype)) in xenbus_uevent_backend()
114 if (add_uevent_var(env, "XENBUS_TYPE=%s", xdev->devicetype)) in xenbus_uevent_backend()
117 if (add_uevent_var(env, "XENBUS_PATH=%s", xdev->nodename)) in xenbus_uevent_backend()
126 return drv->uevent(xdev, env); in xenbus_uevent_backend()
260 struct xenbus_device *xdev; in backend_reclaim_memory() local
266 xdev = to_xenbus_device(dev); in backend_reclaim_memory()
267 if (down_trylock(&xdev->reclaim_sem)) in backend_reclaim_memory()
[all …]
Dxenbus_probe_frontend.c96 struct xenbus_device *xdev = container_of(w, struct xenbus_device, work); in xenbus_frontend_delayed_resume() local
98 xenbus_dev_resume(&xdev->dev); in xenbus_frontend_delayed_resume()
108 struct xenbus_device *xdev = to_xenbus_device(dev); in xenbus_frontend_dev_resume() local
110 schedule_work(&xdev->work); in xenbus_frontend_dev_resume()
121 struct xenbus_device *xdev = to_xenbus_device(dev); in xenbus_frontend_dev_probe() local
122 INIT_WORK(&xdev->work, xenbus_frontend_delayed_resume); in xenbus_frontend_dev_probe()
Dxenbus_probe.c664 struct xenbus_device *xdev in xenbus_dev_suspend() local
667 DPRINTK("%s", xdev->nodename); in xenbus_dev_suspend()
673 err = drv->suspend(xdev); in xenbus_dev_suspend()
684 struct xenbus_device *xdev in xenbus_dev_resume() local
687 DPRINTK("%s", xdev->nodename); in xenbus_dev_resume()
692 err = talk_to_otherend(xdev); in xenbus_dev_resume()
698 xdev->state = XenbusStateInitialising; in xenbus_dev_resume()
701 err = drv->resume(xdev); in xenbus_dev_resume()
708 err = watch_otherend(xdev); in xenbus_dev_resume()
/Linux-v5.15/drivers/visorbus/
Dvisorbus_main.c112 static int visorbus_uevent(struct device *xdev, struct kobj_uevent_env *env) in visorbus_uevent() argument
117 dev = to_visor_device(xdev); in visorbus_uevent()
131 static int visorbus_match(struct device *xdev, struct device_driver *xdrv) in visorbus_match() argument
139 dev = to_visor_device(xdev); in visorbus_match()
148 xdev, in visorbus_match()
210 static void visorbus_release_busdevice(struct device *xdev) in visorbus_release_busdevice() argument
212 struct visor_device *dev = dev_get_drvdata(xdev); in visorbus_release_busdevice()
225 static void visorbus_release_device(struct device *xdev) in visorbus_release_device() argument
227 struct visor_device *dev = to_visor_device(xdev); in visorbus_release_device()
529 static int visordriver_remove_device(struct device *xdev) in visordriver_remove_device() argument
[all …]
/Linux-v5.15/drivers/net/usb/
Dusbnet.c1602 struct usb_device *xdev; in usbnet_disconnect() local
1610 xdev = interface_to_usbdev (intf); in usbnet_disconnect()
1614 xdev->bus->bus_name, xdev->devpath, in usbnet_disconnect()
1667 struct usb_device *xdev; in usbnet_probe() local
1687 xdev = interface_to_usbdev (udev); in usbnet_probe()
1701 dev->udev = xdev; in usbnet_probe()
1773 dev->in = usb_rcvbulkpipe (xdev, info->in); in usbnet_probe()
1774 dev->out = usb_sndbulkpipe (xdev, info->out); in usbnet_probe()
1776 status = usb_set_interface (xdev, in usbnet_probe()
1824 xdev->bus->bus_name, xdev->devpath, in usbnet_probe()
/Linux-v5.15/fs/nfsd/
Dnfsfh.c201 dev_t xdev; in nfsd_set_fh_dentry() local
207 xdev = old_decode_dev(fh->ofh_xdev); in nfsd_set_fh_dentry()
209 mk_fsid(FSID_DEV, tfh, xdev, xino, 0, NULL); in nfsd_set_fh_dentry()
/Linux-v5.15/include/sound/
Dcore.h441 #define gameport_set_dev_parent(gp,xdev) ((gp)->dev.parent = (xdev)) argument
/Linux-v5.15/drivers/usb/host/
Dxhci-ring.c3285 struct xhci_virt_device *xdev, in prepare_transfer() argument
3297 struct xhci_ep_ctx *ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index); in prepare_transfer()
3299 ep_ring = xhci_triad_to_transfer_ring(xhci, xdev->slot_id, ep_index, in prepare_transfer()
4225 struct xhci_virt_device *xdev; in xhci_queue_isoc_tx_prepare() local
4234 xdev = xhci->devs[slot_id]; in xhci_queue_isoc_tx_prepare()
4236 ep_ring = xdev->eps[ep_index].ring; in xhci_queue_isoc_tx_prepare()
4237 ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index); in xhci_queue_isoc_tx_prepare()
/Linux-v5.15/drivers/net/xen-netback/
Dxenbus.c203 static int netback_uevent(struct xenbus_device *xdev, in netback_uevent() argument
206 struct backend_info *be = dev_get_drvdata(&xdev->dev); in netback_uevent()
/Linux-v5.15/drivers/xen/
Dpvcalls-back.c1190 static int pvcalls_back_uevent(struct xenbus_device *xdev, in pvcalls_back_uevent() argument

12