Searched refs:uioinfo (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/uio/ |
D | uio_pdrv_genirq.c | 32 struct uio_info *uioinfo; member 112 struct uio_info *uioinfo = dev_get_platdata(&pdev->dev); in uio_pdrv_genirq_probe() local 123 uioinfo = devm_kzalloc(&pdev->dev, sizeof(*uioinfo), in uio_pdrv_genirq_probe() 125 if (!uioinfo) { in uio_pdrv_genirq_probe() 131 uioinfo->name = devm_kstrdup(&pdev->dev, name, GFP_KERNEL); in uio_pdrv_genirq_probe() 133 uioinfo->name = devm_kasprintf(&pdev->dev, GFP_KERNEL, in uio_pdrv_genirq_probe() 136 uioinfo->version = "devicetree"; in uio_pdrv_genirq_probe() 140 if (!uioinfo || !uioinfo->name || !uioinfo->version) { in uio_pdrv_genirq_probe() 145 if (uioinfo->handler || uioinfo->irqcontrol || in uio_pdrv_genirq_probe() 146 uioinfo->irq_flags & IRQF_SHARED) { in uio_pdrv_genirq_probe() [all …]
|
D | uio_dmem_genirq.c | 33 struct uio_info *uioinfo; member 50 uiomem = &priv->uioinfo->mem[priv->dmem_region_start]; in uio_dmem_genirq_open() 53 while (!priv->refcnt && uiomem < &priv->uioinfo->mem[MAX_UIO_MAPS]) { in uio_dmem_genirq_open() 83 uiomem = &priv->uioinfo->mem[priv->dmem_region_start]; in uio_dmem_genirq_release() 88 while (!priv->refcnt && uiomem < &priv->uioinfo->mem[MAX_UIO_MAPS]) { in uio_dmem_genirq_release() 157 struct uio_info *uioinfo = &pdata->uioinfo; in uio_dmem_genirq_probe() local 165 uioinfo = devm_kzalloc(&pdev->dev, sizeof(*uioinfo), GFP_KERNEL); in uio_dmem_genirq_probe() 166 if (!uioinfo) { in uio_dmem_genirq_probe() 170 uioinfo->name = devm_kasprintf(&pdev->dev, GFP_KERNEL, "%pOFn", in uio_dmem_genirq_probe() 172 uioinfo->version = "devicetree"; in uio_dmem_genirq_probe() [all …]
|
D | uio_dfl.c | 18 struct uio_info *uioinfo; in uio_dfl_probe() local 22 uioinfo = devm_kzalloc(dev, sizeof(struct uio_info), GFP_KERNEL); in uio_dfl_probe() 23 if (!uioinfo) in uio_dfl_probe() 26 uioinfo->name = DRIVER_NAME; in uio_dfl_probe() 27 uioinfo->version = "0"; in uio_dfl_probe() 29 uiomem = &uioinfo->mem[0]; in uio_dfl_probe() 38 uioinfo->irq = UIO_IRQ_NONE; in uio_dfl_probe() 40 ret = devm_uio_register_device(dev, uioinfo); in uio_dfl_probe()
|
/linux-6.1.9/include/linux/platform_data/ |
D | uio_dmem_genirq.h | 14 struct uio_info uioinfo; member
|
/linux-6.1.9/Documentation/driver-api/ |
D | uio-howto.rst | 438 - ``struct uio_info uioinfo``: The same structure used as the
|