Home
last modified time | relevance | path

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

12

/linux/drivers/media/platform/xilinx/
A Dxilinx-vipp.c59 &xdev->notifier.done_list, in xvip_graph_find_entity()
167 dev_err(xdev->dev, in xvip_graph_build_one()
273 dev_err(xdev->dev, in xvip_graph_build_dma()
394 ret = xvip_graph_parse_one(xdev, of_fwnode_handle(xdev->dev->of_node)); in xvip_graph_parse()
499 v4l2_async_nf_init(&xdev->notifier, &xdev->v4l2_dev); in xvip_graph_init()
547 xdev->media_dev.dev = xdev->dev; in xvip_composite_v4l2_init()
554 xdev->v4l2_dev.mdev = &xdev->media_dev; in xvip_composite_v4l2_init()
555 ret = v4l2_device_register(xdev->dev, &xdev->v4l2_dev); in xvip_composite_v4l2_init()
575 xdev = devm_kzalloc(&pdev->dev, sizeof(*xdev), GFP_KERNEL); in xvip_composite_probe()
576 if (!xdev) in xvip_composite_probe()
[all …]
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()
711 ret = dev_err_probe(dma->xdev->dev, PTR_ERR(dma->dma), in xvip_dma_init()
[all …]
A Dxilinx-dma.h83 struct xvip_composite_device *xdev; member
105 int xvip_dma_init(struct xvip_composite_device *xdev, struct xvip_dma *dma,
/linux/drivers/watchdog/
A Dof_xilinx_wdt.c60 spin_lock(&xdev->spinlock); in xilinx_wdt_start()
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()
227 rc = xwdt_selftest(xdev); in xwdt_probe()
230 clk_disable(xdev->clk); in xwdt_probe()
[all …]
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 …]
/linux/drivers/xen/xen-pciback/
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 …]
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()
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()
A Dpciback.h37 struct xenbus_device *xdev; member
/linux/drivers/dma/xilinx/
A Dxdma.c986 free_irq(xdev->h2c_chans[i].irq, &xdev->h2c_chans[i]); in xdma_irq_fini()
989 free_irq(xdev->c2h_chans[i].irq, &xdev->c2h_chans[i]); in xdma_irq_fini()
1038 if (xdev->irq_num < XDMA_CHAN_NUM(xdev)) { in xdma_irq_init()
1098 free_irq(xdev->c2h_chans[j].irq, &xdev->c2h_chans[j]); in xdma_irq_init()
1101 free_irq(xdev->h2c_chans[i].irq, &xdev->h2c_chans[i]); in xdma_irq_init()
1125 if (index < XDMA_CHAN_NUM(xdev) || index >= xdev->irq_num) { in xdma_disable_user_irq()
1147 if (index < XDMA_CHAN_NUM(xdev) || index >= xdev->irq_num) { in xdma_enable_user_irq()
1172 if (XDMA_CHAN_NUM(xdev) + user_irq_index >= xdev->irq_num) { in xdma_get_user_irq()
1177 return xdev->irq_start + XDMA_CHAN_NUM(xdev) + user_irq_index; in xdma_get_user_irq()
1214 xdev = devm_kzalloc(&pdev->dev, sizeof(*xdev), GFP_KERNEL); in xdma_probe()
[all …]
A Dxilinx_dpdma.c882 struct xilinx_dpdma_device *xdev = chan->xdev; in xilinx_dpdma_chan_video_group_ready() local
906 struct xilinx_dpdma_device *xdev = chan->xdev; in xilinx_dpdma_chan_queue_transfer() local
1223 struct xilinx_dpdma_device *xdev = chan->xdev; in xilinx_dpdma_chan_handle_err() local
1434 struct xilinx_dpdma_device *xdev = chan->xdev; in xilinx_dpdma_terminate_all() local
1582 struct xilinx_dpdma_device *xdev = chan->xdev; in xilinx_dpdma_chan_err_task() local
1667 chan->xdev = xdev; in xilinx_dpdma_chan_init()
1734 if (!xdev) in xilinx_dpdma_probe()
1744 xdev->axi_clk = devm_clk_get(xdev->dev, "axi_clk"); in xilinx_dpdma_probe()
1759 dev_name(xdev->dev), xdev); in xilinx_dpdma_probe()
1836 free_irq(xdev->irq, xdev); in xilinx_dpdma_probe()
[all …]
A Dxilinx_dma.c2823 chan->xdev = xdev; in xilinx_dma_chan_probe()
3008 if (chan_id >= xdev->dma_config->max_channels || !xdev->chan[chan_id]) in of_dma_xilinx_xlate()
3068 xdev = devm_kzalloc(&pdev->dev, sizeof(*xdev), GFP_KERNEL); in xilinx_dma_probe()
3069 if (!xdev) in xilinx_dma_probe()
3083 err = clk_init(pdev, &xdev->axi_clk, &xdev->tx_clk, &xdev->txs_clk, in xilinx_dma_probe()
3084 &xdev->rx_clk, &xdev->rxs_clk); in xilinx_dma_probe()
3096 xdev->s2mm_chan_id = xdev->dma_config->max_channels / 2; in xilinx_dma_probe()
3124 dev_err(xdev->dev, in xilinx_dma_probe()
3220 xdev); in xilinx_dma_probe()
3240 if (xdev->chan[i]) in xilinx_dma_probe()
[all …]
/linux/drivers/char/xillybus/
A Dxillyusb.c517 ep->xdev = xdev; in endpoint_alloc()
699 struct xillyusb_dev *xdev = ep->xdev; in try_queue_bulk_in() local
766 struct xillyusb_dev *xdev = ep->xdev; in try_queue_bulk_out() local
937 struct xillyusb_dev *xdev = ep->xdev; in process_bulk_in() local
1028 struct xillyusb_dev *xdev = ep->xdev; in bulk_in_work() local
1130 struct xillyusb_dev *xdev = chan->xdev; in flush_downstream() local
1228 struct xillyusb_dev *xdev = chan->xdev; in request_read_anything() local
1435 struct xillyusb_dev *xdev = chan->xdev; in xillyusb_read() local
1646 struct xillyusb_dev *xdev = chan->xdev; in xillyusb_write() local
1709 struct xillyusb_dev *xdev = chan->xdev; in xillyusb_release() local
[all …]
/linux/drivers/pci/
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 …]
/linux/drivers/dma/
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()
374 dev_err(xc->xdev->ddev.dev, in uniphier_xdmac_prep_slave_sg()
381 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 …]
/linux/drivers/xen/xenbus/
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 …]
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()
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()
/linux/drivers/media/pci/mgb4/
A Dmgb4_trigger.c50 int irq = xdma_get_user_irq(st->mgbdev->xdev, 11); in trigger_set_state()
53 xdma_enable_user_irq(st->mgbdev->xdev, irq); in trigger_set_state()
55 xdma_disable_user_irq(st->mgbdev->xdev, irq); in trigger_set_state()
170 irq = xdma_get_user_irq(mgbdev->xdev, 11); in mgb4_trigger_create()
206 remove_trigger(indio_dev, xdma_get_user_irq(st->mgbdev->xdev, 11)); in mgb4_trigger_free()
A Dmgb4_core.c190 irq = xdma_get_user_irq(mgbdev->xdev, 14); in init_spi()
191 xdma_enable_user_irq(mgbdev->xdev, irq); in init_spi()
291 irq = xdma_get_user_irq(mgbdev->xdev, 15); in init_i2c()
292 xdma_enable_user_irq(mgbdev->xdev, irq); in init_i2c()
474 mgbdev->xdev = platform_device_register_resndata(dev, "xdma", in init_xdma()
477 if (IS_ERR(mgbdev->xdev)) { in init_xdma()
479 return PTR_ERR(mgbdev->xdev); in init_xdma()
487 platform_device_unregister(mgbdev->xdev); in free_xdma()
A Dmgb4_vin.c264 int irq = xdma_get_user_irq(vindev->mgbdev->xdev, config->vin_irq); in stop_streaming()
266 xdma_disable_user_irq(vindev->mgbdev->xdev, irq); in stop_streaming()
284 int irq = xdma_get_user_irq(vindev->mgbdev->xdev, config->vin_irq); in start_streaming()
295 xdma_enable_user_irq(vindev->mgbdev->xdev, irq); in start_streaming()
925 vin_irq = xdma_get_user_irq(mgbdev->xdev, vindev->config->vin_irq); in mgb4_vin_create()
932 err_irq = xdma_get_user_irq(mgbdev->xdev, vindev->config->err_irq); in mgb4_vin_create()
986 xdma_enable_user_irq(vindev->mgbdev->xdev, err_irq); in mgb4_vin_create()
1027 int vin_irq = xdma_get_user_irq(vindev->mgbdev->xdev, in mgb4_vin_free()
1029 int err_irq = xdma_get_user_irq(vindev->mgbdev->xdev, in mgb4_vin_free()
1032 xdma_disable_user_irq(vindev->mgbdev->xdev, err_irq); in mgb4_vin_free()
A Dmgb4_core.h36 struct platform_device *xdev; member
A Dmgb4_vout.c179 int irq = xdma_get_user_irq(mgbdev->xdev, voutdev->config->irq); in stop_streaming()
181 xdma_disable_user_irq(mgbdev->xdev, irq); in stop_streaming()
195 int irq = xdma_get_user_irq(mgbdev->xdev, config->irq); in start_streaming()
221 xdma_enable_user_irq(mgbdev->xdev, irq); in start_streaming()
742 irq = xdma_get_user_irq(mgbdev->xdev, voutdev->config->irq); in mgb4_vout_create()
832 int irq = xdma_get_user_irq(voutdev->mgbdev->xdev, voutdev->config->irq); in mgb4_vout_free()
/linux/drivers/net/usb/
A Dusbnet.c1619 struct usb_device *xdev; in usbnet_disconnect() local
1629 xdev = interface_to_usbdev (intf); in usbnet_disconnect()
1633 xdev->bus->bus_name, xdev->devpath, in usbnet_disconnect()
1686 struct usb_device *xdev; in usbnet_probe() local
1706 xdev = interface_to_usbdev (udev); in usbnet_probe()
1720 dev->udev = xdev; in usbnet_probe()
1794 dev->in = usb_rcvbulkpipe (xdev, info->in); in usbnet_probe()
1795 dev->out = usb_sndbulkpipe (xdev, info->out); in usbnet_probe()
1797 status = usb_set_interface (xdev, in usbnet_probe()
1847 xdev->bus->bus_name, xdev->devpath, in usbnet_probe()
/linux/include/sound/
A Dcore.h381 #define gameport_set_dev_parent(gp,xdev) ((gp)->dev.parent = (xdev)) argument

Completed in 110 milliseconds

12