Home
last modified time | relevance | path

Searched refs:zdev (Results 1 – 8 of 8) sorted by relevance

/drivers/pci/hotplug/
Ds390_pci_hpc.c29 static inline int zdev_configure(struct zpci_dev *zdev) in zdev_configure() argument
31 int ret = sclp_pci_configure(zdev->fid); in zdev_configure()
33 zpci_dbg(3, "conf fid:%x, rc:%d\n", zdev->fid, ret); in zdev_configure()
35 zdev->state = ZPCI_FN_STATE_CONFIGURED; in zdev_configure()
40 static inline int zdev_deconfigure(struct zpci_dev *zdev) in zdev_deconfigure() argument
42 int ret = sclp_pci_deconfigure(zdev->fid); in zdev_deconfigure()
44 zpci_dbg(3, "deconf fid:%x, rc:%d\n", zdev->fid, ret); in zdev_deconfigure()
46 zdev->state = ZPCI_FN_STATE_STANDBY; in zdev_deconfigure()
53 struct zpci_dev *zdev = container_of(hotplug_slot, struct zpci_dev, in enable_slot() local
55 struct zpci_bus *zbus = zdev->zbus; in enable_slot()
[all …]
/drivers/vfio/pci/
Dvfio_pci_zdev.c27 static int zpci_base_cap(struct zpci_dev *zdev, struct vfio_pci_device *vdev, in zpci_base_cap() argument
33 .start_dma = zdev->start_dma, in zpci_base_cap()
34 .end_dma = zdev->end_dma, in zpci_base_cap()
35 .pchid = zdev->pchid, in zpci_base_cap()
36 .vfn = zdev->vfn, in zpci_base_cap()
37 .fmb_length = zdev->fmb_length, in zpci_base_cap()
38 .pft = zdev->pft, in zpci_base_cap()
39 .gid = zdev->pfgid in zpci_base_cap()
48 static int zpci_group_cap(struct zpci_dev *zdev, struct vfio_pci_device *vdev, in zpci_group_cap() argument
54 .dasm = zdev->dma_mask, in zpci_group_cap()
[all …]
/drivers/iommu/
Ds390-iommu.c34 struct zpci_dev *zdev; member
90 struct zpci_dev *zdev = to_zpci_dev(dev); in s390_iommu_attach_device() local
95 if (!zdev) in s390_iommu_attach_device()
102 if (zdev->dma_table) in s390_iommu_attach_device()
103 zpci_dma_exit_device(zdev); in s390_iommu_attach_device()
105 zdev->dma_table = s390_domain->dma_table; in s390_iommu_attach_device()
106 rc = zpci_register_ioat(zdev, 0, zdev->start_dma, zdev->end_dma, in s390_iommu_attach_device()
107 (u64) zdev->dma_table); in s390_iommu_attach_device()
114 domain->geometry.aperture_start = zdev->start_dma; in s390_iommu_attach_device()
115 domain->geometry.aperture_end = zdev->end_dma; in s390_iommu_attach_device()
[all …]
/drivers/dma/xilinx/
Dzynqmp_dma.c218 struct zynqmp_dma_device *zdev; member
864 devm_free_irq(chan->zdev->dev, chan->irq, chan); in zynqmp_dma_chan_remove()
876 static int zynqmp_dma_chan_probe(struct zynqmp_dma_device *zdev, in zynqmp_dma_chan_probe() argument
884 chan = devm_kzalloc(zdev->dev, sizeof(*chan), GFP_KERNEL); in zynqmp_dma_chan_probe()
887 chan->dev = zdev->dev; in zynqmp_dma_chan_probe()
888 chan->zdev = zdev; in zynqmp_dma_chan_probe()
906 dev_err(zdev->dev, "invalid bus-width value"); in zynqmp_dma_chan_probe()
911 zdev->chan = chan; in zynqmp_dma_chan_probe()
920 chan->common.device = &zdev->common; in zynqmp_dma_chan_probe()
921 list_add_tail(&chan->common.device_node, &zdev->common.channels); in zynqmp_dma_chan_probe()
[all …]
/drivers/net/ethernet/8390/
Dxsurf100.c244 static int xsurf100_probe(struct zorro_dev *zdev, in xsurf100_probe() argument
252 DEFINE_RES_MEM(zdev->resource.start + XS100_8390_BASE, in xsurf100_probe()
267 if (!request_mem_region(zdev->resource.start, 0x100, zdev->name)) { in xsurf100_probe()
268 dev_err(&zdev->dev, "cannot reserve X-Surf 100 control registers\n"); in xsurf100_probe()
272 if (!request_mem_region(zdev->resource.start + in xsurf100_probe()
276 dev_err(&zdev->dev, "cannot reserve 32-bit area\n"); in xsurf100_probe()
291 ax88796_data.base_regs = ioremap(zdev->resource.start, 0x100); in xsurf100_probe()
295 dev_err(&zdev->dev, "Cannot ioremap area %pR (registers)\n", in xsurf100_probe()
296 &zdev->resource); in xsurf100_probe()
302 ax88796_data.data_area = ioremap(zdev->resource.start + in xsurf100_probe()
[all …]
/drivers/s390/net/
Dism.h219 struct zpci_dev *zdev = to_zpci(ism->pdev); in __ism_read_cmd() local
220 u64 req = ZPCI_CREATE_REQ(zdev->fh, 2, 8); in __ism_read_cmd()
233 struct zpci_dev *zdev = to_zpci(ism->pdev); in __ism_write_cmd() local
234 u64 req = ZPCI_CREATE_REQ(zdev->fh, 2, len); in __ism_write_cmd()
243 struct zpci_dev *zdev = to_zpci(ism->pdev); in __ism_move() local
244 u64 req = ZPCI_CREATE_REQ(zdev->fh, 0, size); in __ism_move()
/drivers/s390/crypto/
Dzcrypt_card.c133 struct zcrypt_card *zdev = in zcrypt_card_release() local
135 zcrypt_card_free(zdev); in zcrypt_card_release()
/drivers/video/fbdev/
Dcirrusfb.c1946 struct zorro_dev *zdev = to_zorro_dev(info->device); in cirrusfb_zorro_unmap() local
1953 zorro_release_device(zdev); in cirrusfb_zorro_unmap()