Home
last modified time | relevance | path

Searched refs:uioinfo (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/uio/
H A Duio_pdrv_genirq.c32 struct uio_info *uioinfo; member
123 uioinfo = devm_kzalloc(&pdev->dev, sizeof(*uioinfo), in uio_pdrv_genirq_probe()
125 if (!uioinfo) { 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()
157 priv->uioinfo = uioinfo; in uio_pdrv_genirq_probe()
162 if (!uioinfo->irq) { in uio_pdrv_genirq_probe()
164 uioinfo->irq = ret; in uio_pdrv_genirq_probe()
175 if (uioinfo->irq) { in uio_pdrv_genirq_probe()
192 uiomem = &uioinfo->mem[0]; in uio_pdrv_genirq_probe()
[all …]
H A Duio_dmem_genirq.c33 struct uio_info *uioinfo; member
162 struct uio_info *uioinfo = &pdata->uioinfo; in uio_dmem_genirq_probe() local
170 uioinfo = devm_kzalloc(&pdev->dev, sizeof(*uioinfo), GFP_KERNEL); in uio_dmem_genirq_probe()
171 if (!uioinfo) { in uio_dmem_genirq_probe()
180 if (!uioinfo || !uioinfo->name || !uioinfo->version) { in uio_dmem_genirq_probe()
185 if (uioinfo->handler || uioinfo->irqcontrol || in uio_dmem_genirq_probe()
203 priv->uioinfo = uioinfo; in uio_dmem_genirq_probe()
209 if (!uioinfo->irq) { in uio_dmem_genirq_probe()
216 uioinfo->irq = ret; in uio_dmem_genirq_probe()
219 if (uioinfo->irq) { in uio_dmem_genirq_probe()
[all …]
H A Duio_dfl.c18 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()
/openbmc/linux/include/linux/platform_data/
H A Duio_dmem_genirq.h14 struct uio_info uioinfo; member
/openbmc/linux/Documentation/driver-api/
H A Duio-howto.rst438 - ``struct uio_info uioinfo``: The same structure used as the