Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/media/platform/xilinx/
H A Dxilinx-vipp.c59 &xdev->notifier.done_list, in xvip_graph_find_entity()
167 dev_err(xdev->dev, in xvip_graph_build_one()
278 dev_err(xdev->dev, in xvip_graph_build_dma()
399 ret = xvip_graph_parse_one(xdev, of_fwnode_handle(xdev->dev->of_node)); in xvip_graph_parse()
504 v4l2_async_nf_init(&xdev->notifier, &xdev->v4l2_dev); in xvip_graph_init()
552 xdev->media_dev.dev = xdev->dev; in xvip_composite_v4l2_init()
559 xdev->v4l2_dev.mdev = &xdev->media_dev; in xvip_composite_v4l2_init()
560 ret = v4l2_device_register(xdev->dev, &xdev->v4l2_dev); in xvip_composite_v4l2_init()
580 xdev = devm_kzalloc(&pdev->dev, sizeof(*xdev), GFP_KERNEL); in xvip_composite_probe()
581 if (!xdev) in xvip_composite_probe()
[all …]
H A 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()
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()
713 dev_err(dma->xdev->dev, "no VDMA channel found\n"); in xvip_dma_init()
[all …]
H A Dxilinx-dma.h83 struct xvip_composite_device *xdev; member
105 int xvip_dma_init(struct xvip_composite_device *xdev, struct xvip_dma *dma,
/openbmc/linux/drivers/watchdog/
H A Dof_xilinx_wdt.c60 spin_lock(&xdev->spinlock); in xilinx_wdt_start()
83 spin_lock(&xdev->spinlock); in xilinx_wdt_stop()
94 clk_disable(xdev->clk); in xilinx_wdt_stop()
161 struct xwdt_device *xdev; in xwdt_probe() local
164 xdev = devm_kzalloc(dev, sizeof(*xdev), GFP_KERNEL); in xwdt_probe()
165 if (!xdev) in xwdt_probe()
174 if (IS_ERR(xdev->base)) in xwdt_probe()
191 if (IS_ERR(xdev->clk)) { in xwdt_probe()
199 xdev->clk = NULL; in xwdt_probe()
221 rc = xwdt_selftest(xdev); in xwdt_probe()
[all …]
H A Dxilinx_wwdt.c79 spin_lock(&xdev->spinlock); in xilinx_wwdt_start()
91 spin_unlock(&xdev->spinlock); in xilinx_wwdt_start()
103 spin_lock(&xdev->spinlock); in xilinx_wwdt_keepalive()
113 spin_unlock(&xdev->spinlock); in xilinx_wwdt_keepalive()
135 struct xwwdt_device *xdev; in xwwdt_probe() local
139 xdev = devm_kzalloc(dev, sizeof(*xdev), GFP_KERNEL); in xwwdt_probe()
140 if (!xdev) in xwwdt_probe()
149 if (IS_ERR(xdev->base)) in xwwdt_probe()
150 return PTR_ERR(xdev->base); in xwwdt_probe()
156 xdev->freq = clk_get_rate(clk); in xwwdt_probe()
[all …]
/openbmc/linux/drivers/dma/xilinx/
H A Dxdma.c645 free_irq(xdev->h2c_chans[i].irq, &xdev->h2c_chans[i]); in xdma_irq_fini()
648 free_irq(xdev->c2h_chans[i].irq, &xdev->c2h_chans[i]); in xdma_irq_fini()
697 if (xdev->irq_num < XDMA_CHAN_NUM(xdev)) { in xdma_irq_init()
757 free_irq(xdev->c2h_chans[j].irq, &xdev->c2h_chans[j]); in xdma_irq_init()
760 free_irq(xdev->h2c_chans[i].irq, &xdev->h2c_chans[i]); in xdma_irq_init()
784 if (index < XDMA_CHAN_NUM(xdev) || index >= xdev->irq_num) { in xdma_disable_user_irq()
806 if (index < XDMA_CHAN_NUM(xdev) || index >= xdev->irq_num) { in xdma_enable_user_irq()
831 if (XDMA_CHAN_NUM(xdev) + user_irq_index >= xdev->irq_num) { in xdma_get_user_irq()
836 return xdev->irq_start + XDMA_CHAN_NUM(xdev) + user_irq_index; in xdma_get_user_irq()
875 xdev = devm_kzalloc(&pdev->dev, sizeof(*xdev), GFP_KERNEL); in xdma_probe()
[all …]
H A Dxilinx_dpdma.c804 struct xilinx_dpdma_device *xdev = chan->xdev; in xilinx_dpdma_chan_video_group_ready() local
828 struct xilinx_dpdma_device *xdev = chan->xdev; in xilinx_dpdma_chan_queue_transfer() local
1147 struct xilinx_dpdma_device *xdev = chan->xdev; in xilinx_dpdma_chan_handle_err() local
1341 struct xilinx_dpdma_device *xdev = chan->xdev; in xilinx_dpdma_terminate_all() local
1489 struct xilinx_dpdma_device *xdev = chan->xdev; in xilinx_dpdma_chan_err_task() local
1574 chan->xdev = xdev; in xilinx_dpdma_chan_init()
1641 if (!xdev) in xilinx_dpdma_probe()
1651 xdev->axi_clk = devm_clk_get(xdev->dev, "axi_clk"); in xilinx_dpdma_probe()
1666 dev_name(xdev->dev), xdev); in xilinx_dpdma_probe()
1741 free_irq(xdev->irq, xdev); in xilinx_dpdma_probe()
[all …]
H A Dxilinx_dma.c2817 chan->xdev = xdev; in xilinx_dma_chan_probe()
3002 if (chan_id >= xdev->dma_config->max_channels || !xdev->chan[chan_id]) in of_dma_xilinx_xlate()
3062 xdev = devm_kzalloc(&pdev->dev, sizeof(*xdev), GFP_KERNEL); in xilinx_dma_probe()
3063 if (!xdev) in xilinx_dma_probe()
3077 err = clk_init(pdev, &xdev->axi_clk, &xdev->tx_clk, &xdev->txs_clk, in xilinx_dma_probe()
3078 &xdev->rx_clk, &xdev->rxs_clk); in xilinx_dma_probe()
3090 xdev->s2mm_chan_id = xdev->dma_config->max_channels / 2; in xilinx_dma_probe()
3118 dev_err(xdev->dev, in xilinx_dma_probe()
3214 xdev); in xilinx_dma_probe()
3234 if (xdev->chan[i]) in xilinx_dma_probe()
[all …]
/openbmc/linux/drivers/xen/xen-pciback/
H A Dxenbus.c46 pdev->xdev = xdev; in alloc_pdev()
61 dev_set_drvdata(&xdev->dev, pdev); in alloc_pdev()
102 pdev->xdev = NULL; in free_pdev()
113 dev_dbg(&pdev->xdev->dev, in xen_pcibk_do_attach()
119 xenbus_dev_fatal(pdev->xdev, err, in xen_pcibk_do_attach()
130 xenbus_dev_fatal(pdev->xdev, err, in xen_pcibk_do_attach()
169 xenbus_dev_fatal(pdev->xdev, err, in xen_pcibk_attach()
191 xenbus_dev_fatal(pdev->xdev, err, in xen_pcibk_attach()
239 xenbus_dev_fatal(pdev->xdev, err, in xen_pcibk_export_device()
549 if (xenbus_dev_is_online(xdev)) in xen_pcibk_frontend_changed()
[all …]
H A 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()
H A Dpciback_ops.c157 pdev->xdev->otherend_id, status); in xen_pcibk_enable_msi()
244 pdev->xdev->otherend_id, result); in xen_pcibk_enable_msix()
H A Dpciback.h37 struct xenbus_device *xdev; member
H A Dpci_stub.c670 psdev->pdev->xdev->otherend_id); in kill_domain_by_device()
/openbmc/linux/drivers/char/xillybus/
H A Dxillyusb.c516 ep->xdev = xdev; in endpoint_alloc()
702 struct xillyusb_dev *xdev = ep->xdev; in try_queue_bulk_in() local
769 struct xillyusb_dev *xdev = ep->xdev; in try_queue_bulk_out() local
940 struct xillyusb_dev *xdev = ep->xdev; in process_bulk_in() local
1031 struct xillyusb_dev *xdev = ep->xdev; in bulk_in_work() local
1133 struct xillyusb_dev *xdev = chan->xdev; in flush_downstream() local
1231 struct xillyusb_dev *xdev = chan->xdev; in request_read_anything() local
1438 struct xillyusb_dev *xdev = chan->xdev; in xillyusb_read() local
1649 struct xillyusb_dev *xdev = chan->xdev; in xillyusb_write() local
1712 struct xillyusb_dev *xdev = chan->xdev; in xillyusb_release() local
[all …]
/openbmc/linux/drivers/pci/
H A Dxen-pcifront.c40 struct xenbus_device *xdev; member
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()
227 dev_dbg(&pdev->xdev->dev, in pcifront_bus_write()
453 dev_err(&pdev->xdev->dev, in pcifront_scan_root()
455 dev_err(&pdev->xdev->dev, in pcifront_scan_root()
481 dev_err(&pdev->xdev->dev, in pcifront_scan_root()
584 dev_dbg(&pdev->xdev->dev, in pcifront_common_process()
630 dev_dbg(&pdev->xdev->dev, in pcifront_do_aer()
[all …]
/openbmc/linux/drivers/dma/
H A Duniphier-xdmac.c242 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_chan_irq()
245 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_chan_irq()
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()
459 xc->xdev = xdev; in uniphier_xdmac_chan_init()
495 xdev = devm_kzalloc(dev, struct_size(xdev, channels, nr_chans), in uniphier_xdmac_probe()
497 if (!xdev) in uniphier_xdmac_probe()
500 xdev->nr_chans = nr_chans; in uniphier_xdmac_probe()
502 if (IS_ERR(xdev->reg_base)) in uniphier_xdmac_probe()
[all …]
/openbmc/linux/drivers/xen/xenbus/
H A 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()
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()
269 drv->reclaim_memory(xdev); in backend_reclaim_memory()
[all …]
H A 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()
H A Dxenbus_probe.c669 struct xenbus_device *xdev in xenbus_dev_suspend() local
672 DPRINTK("%s", xdev->nodename); in xenbus_dev_suspend()
678 err = drv->suspend(xdev); in xenbus_dev_suspend()
689 struct xenbus_device *xdev in xenbus_dev_resume() local
692 DPRINTK("%s", xdev->nodename); in xenbus_dev_resume()
697 err = talk_to_otherend(xdev); in xenbus_dev_resume()
703 xdev->state = XenbusStateInitialising; in xenbus_dev_resume()
706 err = drv->resume(xdev); in xenbus_dev_resume()
713 err = watch_otherend(xdev); in xenbus_dev_resume()
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-scanners/checksecurity/files/
H A Dcheck-setuid-use-more-portable-find-args.patch19 -xdev $PATHCHK \
/openbmc/linux/drivers/net/usb/
H A 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()
/openbmc/linux/include/sound/
H A Dcore.h448 #define gameport_set_dev_parent(gp,xdev) ((gp)->dev.parent = (xdev)) argument
/openbmc/u-boot/doc/
H A DREADME.clang42 # The following commands compile U-Boot using the clang xdev toolchain.
/openbmc/linux/drivers/net/xen-netback/
H A 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()
/openbmc/linux/drivers/usb/host/
H A Dxhci-ring.c3343 struct xhci_virt_device *xdev, in prepare_transfer() argument
3355 struct xhci_ep_ctx *ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index); in prepare_transfer()
3357 ep_ring = xhci_triad_to_transfer_ring(xhci, xdev->slot_id, ep_index, in prepare_transfer()
4282 struct xhci_virt_device *xdev; in xhci_queue_isoc_tx_prepare() local
4291 xdev = xhci->devs[slot_id]; in xhci_queue_isoc_tx_prepare()
4293 ep_ring = xdev->eps[ep_index].ring; in xhci_queue_isoc_tx_prepare()
4294 ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index); in xhci_queue_isoc_tx_prepare()

12