Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/platform/xilinx/
Dxilinx-vipp.c53 xvip_graph_find_entity(struct xvip_composite_device *xdev, in xvip_graph_find_entity() argument
59 &xdev->notifier.done_list, in xvip_graph_find_entity()
60 &xdev->notifier.waiting_list in xvip_graph_find_entity()
75 static int xvip_graph_build_one(struct xvip_composite_device *xdev, in xvip_graph_build_one() argument
88 dev_dbg(xdev->dev, "creating links for entity %s\n", local->name); in xvip_graph_build_one()
97 dev_dbg(xdev->dev, "processing endpoint %p\n", ep); in xvip_graph_build_one()
101 dev_err(xdev->dev, "failed to parse link for %p\n", in xvip_graph_build_one()
110 dev_err(xdev->dev, "invalid port number %u for %p\n", in xvip_graph_build_one()
120 dev_dbg(xdev->dev, "skipping sink port %p:%u\n", in xvip_graph_build_one()
127 if (link.remote_node == of_fwnode_handle(xdev->dev->of_node)) { in xvip_graph_build_one()
[all …]
Dxilinx-dma.c357 dev_err(dma->xdev->dev, "Failed to prepare DMA transfer\n"); in xvip_dma_buffer_queue()
477 cap->capabilities = dma->xdev->v4l2_caps | V4L2_CAP_STREAMING | in xvip_dma_querycap()
483 dma->xdev->dev->of_node, dma->port); in xvip_dma_querycap()
631 int xvip_dma_init(struct xvip_composite_device *xdev, struct xvip_dma *dma, in xvip_dma_init() argument
637 dma->xdev = xdev; in xvip_dma_init()
663 dma->video.v4l2_dev = &xdev->v4l2_dev; in xvip_dma_init()
666 xdev->dev->of_node, in xvip_dma_init()
700 dma->queue.dev = dma->xdev->dev; in xvip_dma_init()
703 dev_err(dma->xdev->dev, "failed to initialize VB2 queue\n"); in xvip_dma_init()
709 dma->dma = dma_request_chan(dma->xdev->dev, name); in xvip_dma_init()
[all …]
Dxilinx-dma.h83 struct xvip_composite_device *xdev; member
105 int xvip_dma_init(struct xvip_composite_device *xdev, struct xvip_dma *dma,
/linux-6.6.21/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()
81 struct xwdt_device *xdev = watchdog_get_drvdata(wdd); in xilinx_wdt_stop() local
83 spin_lock(&xdev->spinlock); in xilinx_wdt_stop()
85 control_status_reg = ioread32(xdev->base + XWT_TWCSR0_OFFSET); in xilinx_wdt_stop()
[all …]
Dxilinx_wwdt.c68 struct xwwdt_device *xdev = watchdog_get_drvdata(wdd); in xilinx_wwdt_start() local
69 struct watchdog_device *xilinx_wwdt_wdd = &xdev->xilinx_wwdt_wdd; in xilinx_wwdt_start()
74 time_out = xdev->freq * wdd->timeout; in xilinx_wwdt_start()
75 closed_timeout = div_u64(time_out * xdev->close_percent, 100); in xilinx_wwdt_start()
77 wdd->min_hw_heartbeat_ms = xdev->close_percent * 10 * wdd->timeout; in xilinx_wwdt_start()
79 spin_lock(&xdev->spinlock); in xilinx_wwdt_start()
81 iowrite32(XWWDT_MWR_MASK, xdev->base + XWWDT_MWR_OFFSET); in xilinx_wwdt_start()
82 iowrite32(~(u32)XWWDT_ESR_WEN_MASK, xdev->base + XWWDT_ESR_OFFSET); in xilinx_wwdt_start()
83 iowrite32((u32)closed_timeout, xdev->base + XWWDT_FWR_OFFSET); in xilinx_wwdt_start()
84 iowrite32((u32)open_timeout, xdev->base + XWWDT_SWR_OFFSET); in xilinx_wwdt_start()
[all …]
/linux-6.6.21/drivers/dma/xilinx/
Dxdma.c127 #define xdma_err(xdev, fmt, args...) \ argument
128 dev_err(&(xdev)->pdev->dev, fmt, ##args)
193 struct xdma_device *xdev = chan->xdev_hdl; in xdma_channel_init() local
196 ret = regmap_write(xdev->rmap, chan->base + XDMA_CHAN_CONTROL_W1C, in xdma_channel_init()
201 ret = regmap_write(xdev->rmap, chan->base + XDMA_CHAN_INTR_ENABLE, in xdma_channel_init()
285 struct xdma_device *xdev = xchan->xdev_hdl; in xdma_xfer_start() local
299 ret = regmap_write(xdev->rmap, xchan->base + XDMA_CHAN_CONTROL_W1C, in xdma_xfer_start()
306 xdma_err(xdev, "incorrect request direction"); in xdma_xfer_start()
314 ret = regmap_write(xdev->rmap, xchan->base + XDMA_SGDMA_DESC_LO, val); in xdma_xfer_start()
319 ret = regmap_write(xdev->rmap, xchan->base + XDMA_SGDMA_DESC_HI, val); in xdma_xfer_start()
[all …]
Dxilinx_dpdma.c244 struct xilinx_dpdma_device *xdev; member
451 static void xilinx_dpdma_debugfs_init(struct xilinx_dpdma_device *xdev) in xilinx_dpdma_debugfs_init() argument
457 dent = debugfs_create_file("testcase", 0444, xdev->common.dbg_dev_root, in xilinx_dpdma_debugfs_init()
460 dev_err(xdev->dev, "Failed to create debugfs testcase file\n"); in xilinx_dpdma_debugfs_init()
504 static void xilinx_dpdma_sw_desc_set_dma_addrs(struct xilinx_dpdma_device *xdev, in xilinx_dpdma_sw_desc_set_dma_addrs() argument
514 if (xdev->ext_addr) in xilinx_dpdma_sw_desc_set_dma_addrs()
524 if (xdev->ext_addr) { in xilinx_dpdma_sw_desc_set_dma_addrs()
538 if (xdev->ext_addr) in xilinx_dpdma_sw_desc_set_dma_addrs()
592 struct device *dev = chan->xdev->dev; in xilinx_dpdma_chan_dump_tx_desc()
694 dev_err(chan->xdev->dev, in xilinx_dpdma_chan_prep_interleaved_dma()
[all …]
Dxilinx_dma.c419 struct xilinx_dma_device *xdev; member
529 readl_poll_timeout_atomic(chan->xdev->regs + chan->ctrl_offset + reg, \
535 return ioread32(chan->xdev->regs + reg); in dma_read()
540 iowrite32(value, chan->xdev->regs + reg); in dma_write()
587 writel(value_lsb, chan->xdev->regs + chan->desc_offset + reg); in vdma_desc_write_64()
590 writel(value_msb, chan->xdev->regs + chan->desc_offset + reg + 4); in vdma_desc_write_64()
595 lo_hi_writeq(value, chan->xdev->regs + chan->ctrl_offset + reg); in dma_writeq()
861 if (chan->xdev->dma_config->dmatype == XDMA_TYPE_VDMA) { in xilinx_dma_free_tx_descriptor()
866 } else if (chan->xdev->dma_config->dmatype == XDMA_TYPE_CDMA) { in xilinx_dma_free_tx_descriptor()
872 } else if (chan->xdev->dma_config->dmatype == XDMA_TYPE_AXIDMA) { in xilinx_dma_free_tx_descriptor()
[all …]
/linux-6.6.21/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.c670 psdev->pdev->xdev->otherend_id); in kill_domain_by_device()
/linux-6.6.21/drivers/char/xillybus/
Dxillyusb.c89 struct xillyusb_dev *xdev; member
118 struct xillyusb_dev *xdev; member
487 *endpoint_alloc(struct xillyusb_dev *xdev, in endpoint_alloc() argument
516 ep->xdev = xdev; in endpoint_alloc()
548 struct xillyusb_dev *xdev = in cleanup_dev() local
551 if (xdev->in_ep) in cleanup_dev()
552 endpoint_dealloc(xdev->in_ep); in cleanup_dev()
554 if (xdev->msg_ep) in cleanup_dev()
555 endpoint_dealloc(xdev->msg_ep); in cleanup_dev()
557 if (xdev->workq) in cleanup_dev()
[all …]
/linux-6.6.21/drivers/pci/
Dxen-pcifront.c40 struct xenbus_device *xdev; member
106 dev_dbg(&pdev->xdev->dev, "schedule aer frontend job\n"); in schedule_pcifront_aer_op()
145 dev_err(&pdev->xdev->dev, in do_pci_op()
161 dev_err(&pdev->xdev->dev, in do_pci_op()
190 dev_dbg(&pdev->xdev->dev, in pcifront_bus_read()
198 dev_dbg(&pdev->xdev->dev, "read got back value %x\n", in pcifront_bus_read()
227 dev_dbg(&pdev->xdev->dev, in pcifront_bus_write()
394 dev_info(&pdev->xdev->dev, "claiming resource %s/%d\n", in pcifront_claim_resource()
397 dev_err(&pdev->xdev->dev, "Could not claim resource %s/%d! " in pcifront_claim_resource()
429 dev_info(&pdev->xdev->dev, "New device on " in pcifront_scan_bus()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/xen/xenbus/
Dxenbus_probe_backend.c98 const 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.c665 struct xenbus_device *xdev in xenbus_dev_suspend() local
668 DPRINTK("%s", xdev->nodename); in xenbus_dev_suspend()
674 err = drv->suspend(xdev); in xenbus_dev_suspend()
685 struct xenbus_device *xdev in xenbus_dev_resume() local
688 DPRINTK("%s", xdev->nodename); in xenbus_dev_resume()
693 err = talk_to_otherend(xdev); in xenbus_dev_resume()
699 xdev->state = XenbusStateInitialising; in xenbus_dev_resume()
702 err = drv->resume(xdev); in xenbus_dev_resume()
709 err = watch_otherend(xdev); in xenbus_dev_resume()
/linux-6.6.21/drivers/net/usb/
Dusbnet.c1604 struct usb_device *xdev; in usbnet_disconnect() local
1613 xdev = interface_to_usbdev (intf); in usbnet_disconnect()
1617 xdev->bus->bus_name, xdev->devpath, in usbnet_disconnect()
1672 struct usb_device *xdev; in usbnet_probe() local
1692 xdev = interface_to_usbdev (udev); in usbnet_probe()
1706 dev->udev = xdev; in usbnet_probe()
1782 dev->in = usb_rcvbulkpipe (xdev, info->in); in usbnet_probe()
1783 dev->out = usb_sndbulkpipe (xdev, info->out); in usbnet_probe()
1785 status = usb_set_interface (xdev, in usbnet_probe()
1835 xdev->bus->bus_name, xdev->devpath, in usbnet_probe()
/linux-6.6.21/include/sound/
Dcore.h448 #define gameport_set_dev_parent(gp,xdev) ((gp)->dev.parent = (xdev)) argument
/linux-6.6.21/drivers/usb/host/
Dxhci-ring.c3305 struct xhci_virt_device *xdev, in prepare_transfer() argument
3317 struct xhci_ep_ctx *ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index); in prepare_transfer()
3319 ep_ring = xhci_triad_to_transfer_ring(xhci, xdev->slot_id, ep_index, in prepare_transfer()
4244 struct xhci_virt_device *xdev; in xhci_queue_isoc_tx_prepare() local
4253 xdev = xhci->devs[slot_id]; in xhci_queue_isoc_tx_prepare()
4255 ep_ring = xdev->eps[ep_index].ring; in xhci_queue_isoc_tx_prepare()
4256 ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index); in xhci_queue_isoc_tx_prepare()
/linux-6.6.21/drivers/net/xen-netback/
Dxenbus.c203 static int netback_uevent(const struct xenbus_device *xdev, in netback_uevent() argument
206 struct backend_info *be = dev_get_drvdata(&xdev->dev); in netback_uevent()
/linux-6.6.21/drivers/xen/
Dpvcalls-back.c1193 static int pvcalls_back_uevent(const struct xenbus_device *xdev, in pvcalls_back_uevent() argument
/linux-6.6.21/Documentation/filesystems/
Dramfs-rootfs-initramfs.rst126 free up the space (find -xdev / -exec rm '{}' ';'), overmount rootfs