Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c373 dev_err(dma->xdev->dev, "Failed to prepare DMA transfer\n"); in xvip_dma_buffer_queue()
494 cap->capabilities = dma->xdev->v4l2_caps | V4L2_CAP_STREAMING | in xvip_dma_querycap()
500 dma->xdev->dev->of_node, dma->port); in xvip_dma_querycap()
650 int xvip_dma_init(struct xvip_composite_device *xdev, struct xvip_dma *dma, in xvip_dma_init() argument
656 dma->xdev = xdev; in xvip_dma_init()
682 dma->video.v4l2_dev = &xdev->v4l2_dev; in xvip_dma_init()
685 xdev->dev->of_node, in xvip_dma_init()
719 dma->queue.dev = dma->xdev->dev; in xvip_dma_init()
722 dev_err(dma->xdev->dev, "failed to initialize VB2 queue\n"); in xvip_dma_init()
728 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,
/kernel/linux/linux-5.10/drivers/watchdog/
Dof_xilinx_wdt.c52 struct xwdt_device *xdev = watchdog_get_drvdata(wdd); in xilinx_wdt_start() local
54 ret = clk_enable(xdev->clk); in xilinx_wdt_start()
60 spin_lock(&xdev->spinlock); in xilinx_wdt_start()
63 control_status_reg = ioread32(xdev->base + XWT_TWCSR0_OFFSET); in xilinx_wdt_start()
67 xdev->base + XWT_TWCSR0_OFFSET); in xilinx_wdt_start()
69 iowrite32(XWT_CSRX_EWDT2_MASK, xdev->base + XWT_TWCSR1_OFFSET); in xilinx_wdt_start()
71 spin_unlock(&xdev->spinlock); in xilinx_wdt_start()
79 struct xwdt_device *xdev = watchdog_get_drvdata(wdd); in xilinx_wdt_stop() local
81 spin_lock(&xdev->spinlock); in xilinx_wdt_stop()
83 control_status_reg = ioread32(xdev->base + XWT_TWCSR0_OFFSET); in xilinx_wdt_stop()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
431 dev_info(&pdev->xdev->dev, "New device on " in pcifront_scan_bus()
[all …]
/kernel/linux/linux-5.10/drivers/dma/
Duniphier-xdmac.c88 struct uniphier_xdmac_device *xdev; member
242 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_chan_irq()
245 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_chan_irq()
266 struct uniphier_xdmac_device *xdev = dev_id; in uniphier_xdmac_irq_handler() local
269 for (i = 0; i < xdev->nr_chans; i++) in uniphier_xdmac_irq_handler()
270 uniphier_xdmac_chan_irq(&xdev->channels[i]); in uniphier_xdmac_irq_handler()
345 if (maxburst > xc->xdev->ddev.max_burst) { in uniphier_xdmac_prep_slave_sg()
346 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg()
373 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg()
380 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.c601 struct xenbus_device *xdev in xenbus_dev_suspend() local
604 DPRINTK("%s", xdev->nodename); in xenbus_dev_suspend()
610 err = drv->suspend(xdev); in xenbus_dev_suspend()
621 struct xenbus_device *xdev in xenbus_dev_resume() local
624 DPRINTK("%s", xdev->nodename); in xenbus_dev_resume()
629 err = talk_to_otherend(xdev); in xenbus_dev_resume()
635 xdev->state = XenbusStateInitialising; in xenbus_dev_resume()
638 err = drv->resume(xdev); in xenbus_dev_resume()
645 err = watch_otherend(xdev); in xenbus_dev_resume()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/s390/block/
Dxpram.c187 xpram_device_t *xdev = bio->bi_disk->private_data; in xpram_submit_bio() local
200 if ((bio->bi_iter.bi_size >> 12) > xdev->size) in xpram_submit_bio()
203 if ((bio->bi_iter.bi_sector >> 3) > 0xffffffffU - xdev->offset) in xpram_submit_bio()
205 index = (bio->bi_iter.bi_sector >> 3) + xdev->offset; in xpram_submit_bio()
/kernel/linux/linux-5.10/drivers/net/usb/
Dusbnet.c1568 struct usb_device *xdev; in usbnet_disconnect() local
1577 xdev = interface_to_usbdev (intf); in usbnet_disconnect()
1581 xdev->bus->bus_name, xdev->devpath, in usbnet_disconnect()
1636 struct usb_device *xdev; in usbnet_probe() local
1656 xdev = interface_to_usbdev (udev); in usbnet_probe()
1670 dev->udev = xdev; in usbnet_probe()
1745 dev->in = usb_rcvbulkpipe (xdev, info->in); in usbnet_probe()
1746 dev->out = usb_sndbulkpipe (xdev, info->out); in usbnet_probe()
1748 status = usb_set_interface (xdev, in usbnet_probe()
1798 xdev->bus->bus_name, xdev->devpath, in usbnet_probe()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfsfh.c200 dev_t xdev; in nfsd_set_fh_dentry() local
206 xdev = old_decode_dev(fh->ofh_xdev); in nfsd_set_fh_dentry()
208 mk_fsid(FSID_DEV, tfh, xdev, xino, 0, NULL); in nfsd_set_fh_dentry()
/kernel/linux/linux-5.10/include/sound/
Dcore.h387 #define gameport_set_dev_parent(gp,xdev) ((gp)->dev.parent = (xdev)) argument
/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci-ring.c2418 struct xhci_virt_device *xdev; in handle_tx_event() local
2445 xdev = xhci->devs[slot_id]; in handle_tx_event()
2447 ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index); in handle_tx_event()
3110 struct xhci_virt_device *xdev, in prepare_transfer() argument
3122 struct xhci_ep_ctx *ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index); in prepare_transfer()
3124 ep_ring = xhci_stream_id_to_ring(xdev, ep_index, stream_id); in prepare_transfer()
4044 struct xhci_virt_device *xdev; in xhci_queue_isoc_tx_prepare() local
4053 xdev = xhci->devs[slot_id]; in xhci_queue_isoc_tx_prepare()
4055 ep_ring = xdev->eps[ep_index].ring; in xhci_queue_isoc_tx_prepare()
4056 ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index); in xhci_queue_isoc_tx_prepare()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/xen/
Dpvcalls-back.c1189 static int pvcalls_back_uevent(struct xenbus_device *xdev, in pvcalls_back_uevent() argument

12