/drivers/watchdog/ |
D | of_xilinx_wdt.c | 53 struct xwdt_device *xdev = watchdog_get_drvdata(wdd); in xilinx_wdt_start() local 55 spin_lock(&xdev->spinlock); in xilinx_wdt_start() 58 control_status_reg = ioread32(xdev->base + XWT_TWCSR0_OFFSET); in xilinx_wdt_start() 62 xdev->base + XWT_TWCSR0_OFFSET); in xilinx_wdt_start() 64 iowrite32(XWT_CSRX_EWDT2_MASK, xdev->base + XWT_TWCSR1_OFFSET); in xilinx_wdt_start() 66 spin_unlock(&xdev->spinlock); in xilinx_wdt_start() 74 struct xwdt_device *xdev = watchdog_get_drvdata(wdd); in xilinx_wdt_stop() local 76 spin_lock(&xdev->spinlock); in xilinx_wdt_stop() 78 control_status_reg = ioread32(xdev->base + XWT_TWCSR0_OFFSET); in xilinx_wdt_stop() 81 xdev->base + XWT_TWCSR0_OFFSET); in xilinx_wdt_stop() [all …]
|
/drivers/xen/xen-pciback/ |
D | xenbus.c | 37 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() 47 dev_set_drvdata(&xdev->dev, pdev); in alloc_pdev() 81 xenbus_unmap_ring_vfree(pdev->xdev, pdev->sh_info); in xen_pcibk_disconnect() 100 dev_set_drvdata(&pdev->xdev->dev, NULL); in free_pdev() 101 pdev->xdev = NULL; in free_pdev() 112 dev_dbg(&pdev->xdev->dev, in xen_pcibk_do_attach() 116 err = xenbus_map_ring_valloc(pdev->xdev, gnt_ref, &vaddr); in xen_pcibk_do_attach() 118 xenbus_dev_fatal(pdev->xdev, err, in xen_pcibk_do_attach() [all …]
|
D | vpci.c | 77 xenbus_dev_fatal(pdev->xdev, err, in __xen_pcibk_add_pci_dev() 85 xenbus_dev_fatal(pdev->xdev, err, in __xen_pcibk_add_pci_dev() 131 xenbus_dev_fatal(pdev->xdev, err, in __xen_pcibk_add_pci_dev()
|
D | pciback_ops.c | 151 pci_name(dev), pdev->xdev->otherend_id, in xen_pcibk_enable_msi() 245 pci_name(dev), pdev->xdev->otherend_id, in xen_pcibk_enable_msix()
|
D | pciback.h | 33 struct xenbus_device *xdev; member
|
D | pci_stub.c | 601 psdev->pdev->xdev->otherend_id); in kill_domain_by_device()
|
/drivers/pci/ |
D | xen-pcifront.c | 38 struct xenbus_device *xdev; member 107 dev_dbg(&pdev->xdev->dev, "schedule aer frontend job\n"); in schedule_pcifront_aer_op() 149 dev_err(&pdev->xdev->dev, in do_pci_op() 165 dev_err(&pdev->xdev->dev, in do_pci_op() 195 dev_info(&pdev->xdev->dev, in pcifront_bus_read() 204 dev_info(&pdev->xdev->dev, "read got back value %x\n", in pcifront_bus_read() 234 dev_info(&pdev->xdev->dev, in pcifront_bus_write() 405 dev_info(&pdev->xdev->dev, "claiming resource %s/%d\n", in pcifront_claim_resource() 408 dev_err(&pdev->xdev->dev, "Could not claim resource %s/%d! " in pcifront_claim_resource() 439 dev_info(&pdev->xdev->dev, "New device on " in pcifront_scan_bus() [all …]
|
/drivers/dma/xilinx/ |
D | xilinx_vdma.c | 211 struct xilinx_vdma_device *xdev; member 261 return ioread32(chan->xdev->regs + reg); in vdma_read() 266 iowrite32(value, chan->xdev->regs + reg); in vdma_write() 1126 static int xilinx_vdma_chan_probe(struct xilinx_vdma_device *xdev, in xilinx_vdma_chan_probe() argument 1135 chan = devm_kzalloc(xdev->dev, sizeof(*chan), GFP_KERNEL); in xilinx_vdma_chan_probe() 1139 chan->dev = xdev->dev; in xilinx_vdma_chan_probe() 1140 chan->xdev = xdev; in xilinx_vdma_chan_probe() 1141 chan->has_sg = xdev->has_sg; in xilinx_vdma_chan_probe() 1154 dev_err(xdev->dev, "missing xlnx,datawidth property\n"); in xilinx_vdma_chan_probe() 1164 xdev->common.copy_align = fls(width - 1); in xilinx_vdma_chan_probe() [all …]
|
/drivers/xen/xenbus/ |
D | xenbus_probe_backend.c | 99 struct xenbus_device *xdev; in xenbus_uevent_backend() local 108 xdev = to_xenbus_device(dev); in xenbus_uevent_backend() 109 bus = container_of(xdev->dev.bus, struct xen_bus_type, bus); in xenbus_uevent_backend() 111 if (add_uevent_var(env, "MODALIAS=xen-backend:%s", xdev->devicetype)) in xenbus_uevent_backend() 115 if (add_uevent_var(env, "XENBUS_TYPE=%s", xdev->devicetype)) in xenbus_uevent_backend() 118 if (add_uevent_var(env, "XENBUS_PATH=%s", xdev->nodename)) in xenbus_uevent_backend() 127 return drv->uevent(xdev, env); in xenbus_uevent_backend()
|
D | xenbus_probe_frontend.c | 98 struct xenbus_device *xdev = container_of(w, struct xenbus_device, work); in xenbus_frontend_delayed_resume() local 100 xenbus_dev_resume(&xdev->dev); in xenbus_frontend_delayed_resume() 110 struct xenbus_device *xdev = to_xenbus_device(dev); in xenbus_frontend_dev_resume() local 114 xdev->nodename); in xenbus_frontend_dev_resume() 118 queue_work(xenbus_frontend_wq, &xdev->work); in xenbus_frontend_dev_resume() 129 struct xenbus_device *xdev = to_xenbus_device(dev); in xenbus_frontend_dev_probe() local 130 INIT_WORK(&xdev->work, xenbus_frontend_delayed_resume); in xenbus_frontend_dev_probe()
|
D | xenbus_probe.c | 590 struct xenbus_device *xdev in xenbus_dev_suspend() local 593 DPRINTK("%s", xdev->nodename); in xenbus_dev_suspend() 599 err = drv->suspend(xdev); in xenbus_dev_suspend() 610 struct xenbus_device *xdev in xenbus_dev_resume() local 613 DPRINTK("%s", xdev->nodename); in xenbus_dev_resume() 618 err = talk_to_otherend(xdev); in xenbus_dev_resume() 625 xdev->state = XenbusStateInitialising; in xenbus_dev_resume() 628 err = drv->resume(xdev); in xenbus_dev_resume() 635 err = watch_otherend(xdev); in xenbus_dev_resume()
|
/drivers/staging/bcm/ |
D | Bcmnet.c | 192 struct usb_device *xdev = intf_ad->udev; in register_networkdev() local 222 net->name, xdev->bus->bus_name, xdev->devpath, in register_networkdev() 233 struct usb_device *xdev = intf_ad->udev; in unregister_networkdev() local 237 net->name, xdev->bus->bus_name, xdev->devpath); in unregister_networkdev()
|
/drivers/s390/block/ |
D | xpram.c | 186 xpram_device_t *xdev = bio->bi_bdev->bd_disk->private_data; in xpram_make_request() local 197 if ((bio->bi_iter.bi_size >> 12) > xdev->size) in xpram_make_request() 200 if ((bio->bi_iter.bi_sector >> 3) > 0xffffffffU - xdev->offset) in xpram_make_request() 202 index = (bio->bi_iter.bi_sector >> 3) + xdev->offset; in xpram_make_request()
|
/drivers/net/usb/ |
D | usbnet.c | 1521 struct usb_device *xdev; in usbnet_disconnect() local 1529 xdev = interface_to_usbdev (intf); in usbnet_disconnect() 1533 xdev->bus->bus_name, xdev->devpath, in usbnet_disconnect() 1584 struct usb_device *xdev; in usbnet_probe() local 1604 xdev = interface_to_usbdev (udev); in usbnet_probe() 1618 dev->udev = xdev; in usbnet_probe() 1690 dev->in = usb_rcvbulkpipe (xdev, info->in); in usbnet_probe() 1691 dev->out = usb_sndbulkpipe (xdev, info->out); in usbnet_probe() 1693 status = usb_set_interface (xdev, in usbnet_probe() 1736 xdev->bus->bus_name, xdev->devpath, in usbnet_probe()
|
/drivers/usb/host/ |
D | xhci-ring.c | 1811 struct xhci_virt_device *xdev; in finish_td() local 1822 xdev = xhci->devs[slot_id]; in finish_td() 1825 ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index); in finish_td() 1911 struct xhci_virt_device *xdev; in process_ctrl_td() local 1919 xdev = xhci->devs[slot_id]; in process_ctrl_td() 1922 ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index); in process_ctrl_td() 2239 struct xhci_virt_device *xdev; in handle_tx_event() local 2259 xdev = xhci->devs[slot_id]; in handle_tx_event() 2260 if (!xdev) { in handle_tx_event() 2277 ep = &xdev->eps[ep_index]; in handle_tx_event() [all …]
|
/drivers/net/xen-netback/ |
D | xenbus.c | 389 static int netback_uevent(struct xenbus_device *xdev, in netback_uevent() argument 392 struct backend_info *be = dev_get_drvdata(&xdev->dev); in netback_uevent()
|