uioinfo 141 drivers/staging/kpc2000/kpc2000/cell_probe.c struct uio_info uioinfo; uioinfo 252 drivers/staging/kpc2000/kpc2000/cell_probe.c irqreturn_t kuio_handler(int irq, struct uio_info *uioinfo) uioinfo 254 drivers/staging/kpc2000/kpc2000/cell_probe.c struct kpc_uio_device *kudev = uioinfo->priv; uioinfo 269 drivers/staging/kpc2000/kpc2000/cell_probe.c int kuio_irqcontrol(struct uio_info *uioinfo, s32 irq_on) uioinfo 271 drivers/staging/kpc2000/kpc2000/cell_probe.c struct kpc_uio_device *kudev = uioinfo->priv; uioinfo 304 drivers/staging/kpc2000/kpc2000/cell_probe.c kudev->uioinfo.priv = kudev; uioinfo 305 drivers/staging/kpc2000/kpc2000/cell_probe.c kudev->uioinfo.name = name; uioinfo 306 drivers/staging/kpc2000/kpc2000/cell_probe.c kudev->uioinfo.version = "0.0"; uioinfo 308 drivers/staging/kpc2000/kpc2000/cell_probe.c kudev->uioinfo.irq_flags = IRQF_SHARED; uioinfo 309 drivers/staging/kpc2000/kpc2000/cell_probe.c kudev->uioinfo.irq = pcard->pdev->irq; uioinfo 310 drivers/staging/kpc2000/kpc2000/cell_probe.c kudev->uioinfo.handler = kuio_handler; uioinfo 311 drivers/staging/kpc2000/kpc2000/cell_probe.c kudev->uioinfo.irqcontrol = kuio_irqcontrol; uioinfo 313 drivers/staging/kpc2000/kpc2000/cell_probe.c kudev->uioinfo.irq = 0; uioinfo 316 drivers/staging/kpc2000/kpc2000/cell_probe.c kudev->uioinfo.mem[0].name = "uiomap"; uioinfo 317 drivers/staging/kpc2000/kpc2000/cell_probe.c kudev->uioinfo.mem[0].addr = pci_resource_start(pcard->pdev, REG_BAR) + cte.offset; uioinfo 318 drivers/staging/kpc2000/kpc2000/cell_probe.c kudev->uioinfo.mem[0].size = (cte.length + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1); // Round up to nearest PAGE_SIZE boundary uioinfo 319 drivers/staging/kpc2000/kpc2000/cell_probe.c kudev->uioinfo.mem[0].memtype = UIO_MEM_PHYS; uioinfo 321 drivers/staging/kpc2000/kpc2000/cell_probe.c kudev->dev = device_create(kpc_uio_class, &pcard->pdev->dev, MKDEV(0, 0), kudev, "%s.%d.%d.%d", kudev->uioinfo.name, pcard->card_num, cte.type, kudev->core_num); uioinfo 330 drivers/staging/kpc2000/kpc2000/cell_probe.c rv = uio_register_device(kudev->dev, &kudev->uioinfo); uioinfo 503 drivers/staging/kpc2000/kpc2000/cell_probe.c uio_unregister_device(&kudev->uioinfo); uioinfo 32 drivers/uio/uio_dmem_genirq.c struct uio_info *uioinfo; uioinfo 50 drivers/uio/uio_dmem_genirq.c uiomem = &priv->uioinfo->mem[priv->dmem_region_start]; uioinfo 53 drivers/uio/uio_dmem_genirq.c while (!priv->refcnt && uiomem < &priv->uioinfo->mem[MAX_UIO_MAPS]) { uioinfo 83 drivers/uio/uio_dmem_genirq.c uiomem = &priv->uioinfo->mem[priv->dmem_region_start]; uioinfo 88 drivers/uio/uio_dmem_genirq.c while (!priv->refcnt && uiomem < &priv->uioinfo->mem[MAX_UIO_MAPS]) { uioinfo 149 drivers/uio/uio_dmem_genirq.c struct uio_info *uioinfo = &pdata->uioinfo; uioinfo 159 drivers/uio/uio_dmem_genirq.c uioinfo = kzalloc(sizeof(*uioinfo), GFP_KERNEL); uioinfo 160 drivers/uio/uio_dmem_genirq.c if (!uioinfo) { uioinfo 165 drivers/uio/uio_dmem_genirq.c uioinfo->name = devm_kasprintf(&pdev->dev, GFP_KERNEL, "%pOFn", uioinfo 167 drivers/uio/uio_dmem_genirq.c uioinfo->version = "devicetree"; uioinfo 172 drivers/uio/uio_dmem_genirq.c uioinfo->irq = UIO_IRQ_NONE; uioinfo 174 drivers/uio/uio_dmem_genirq.c uioinfo->irq = irq; uioinfo 177 drivers/uio/uio_dmem_genirq.c if (!uioinfo || !uioinfo->name || !uioinfo->version) { uioinfo 182 drivers/uio/uio_dmem_genirq.c if (uioinfo->handler || uioinfo->irqcontrol || uioinfo 183 drivers/uio/uio_dmem_genirq.c uioinfo->irq_flags & IRQF_SHARED) { uioinfo 197 drivers/uio/uio_dmem_genirq.c priv->uioinfo = uioinfo; uioinfo 203 drivers/uio/uio_dmem_genirq.c if (!uioinfo->irq) { uioinfo 207 drivers/uio/uio_dmem_genirq.c uioinfo->irq = ret; uioinfo 209 drivers/uio/uio_dmem_genirq.c uiomem = &uioinfo->mem[0]; uioinfo 217 drivers/uio/uio_dmem_genirq.c if (uiomem >= &uioinfo->mem[MAX_UIO_MAPS]) { uioinfo 230 drivers/uio/uio_dmem_genirq.c priv->dmem_region_start = uiomem - &uioinfo->mem[0]; uioinfo 234 drivers/uio/uio_dmem_genirq.c if (uiomem >= &uioinfo->mem[MAX_UIO_MAPS]) { uioinfo 246 drivers/uio/uio_dmem_genirq.c while (uiomem < &uioinfo->mem[MAX_UIO_MAPS]) { uioinfo 260 drivers/uio/uio_dmem_genirq.c uioinfo->handler = uio_dmem_genirq_handler; uioinfo 261 drivers/uio/uio_dmem_genirq.c uioinfo->irqcontrol = uio_dmem_genirq_irqcontrol; uioinfo 262 drivers/uio/uio_dmem_genirq.c uioinfo->open = uio_dmem_genirq_open; uioinfo 263 drivers/uio/uio_dmem_genirq.c uioinfo->release = uio_dmem_genirq_release; uioinfo 264 drivers/uio/uio_dmem_genirq.c uioinfo->priv = priv; uioinfo 273 drivers/uio/uio_dmem_genirq.c ret = uio_register_device(&pdev->dev, priv->uioinfo); uioinfo 287 drivers/uio/uio_dmem_genirq.c kfree(uioinfo); uioinfo 296 drivers/uio/uio_dmem_genirq.c uio_unregister_device(priv->uioinfo); uioinfo 299 drivers/uio/uio_dmem_genirq.c priv->uioinfo->handler = NULL; uioinfo 300 drivers/uio/uio_dmem_genirq.c priv->uioinfo->irqcontrol = NULL; uioinfo 304 drivers/uio/uio_dmem_genirq.c kfree(priv->uioinfo); uioinfo 31 drivers/uio/uio_pdrv_genirq.c struct uio_info *uioinfo; uioinfo 104 drivers/uio/uio_pdrv_genirq.c struct uio_info *uioinfo = dev_get_platdata(&pdev->dev); uioinfo 115 drivers/uio/uio_pdrv_genirq.c uioinfo = devm_kzalloc(&pdev->dev, sizeof(*uioinfo), uioinfo 117 drivers/uio/uio_pdrv_genirq.c if (!uioinfo) { uioinfo 123 drivers/uio/uio_pdrv_genirq.c uioinfo->name = devm_kstrdup(&pdev->dev, name, GFP_KERNEL); uioinfo 125 drivers/uio/uio_pdrv_genirq.c uioinfo->name = devm_kasprintf(&pdev->dev, GFP_KERNEL, uioinfo 128 drivers/uio/uio_pdrv_genirq.c uioinfo->version = "devicetree"; uioinfo 132 drivers/uio/uio_pdrv_genirq.c if (!uioinfo || !uioinfo->name || !uioinfo->version) { uioinfo 137 drivers/uio/uio_pdrv_genirq.c if (uioinfo->handler || uioinfo->irqcontrol || uioinfo 138 drivers/uio/uio_pdrv_genirq.c uioinfo->irq_flags & IRQF_SHARED) { uioinfo 149 drivers/uio/uio_pdrv_genirq.c priv->uioinfo = uioinfo; uioinfo 154 drivers/uio/uio_pdrv_genirq.c if (!uioinfo->irq) { uioinfo 156 drivers/uio/uio_pdrv_genirq.c uioinfo->irq = ret; uioinfo 158 drivers/uio/uio_pdrv_genirq.c uioinfo->irq = UIO_IRQ_NONE; uioinfo 165 drivers/uio/uio_pdrv_genirq.c uiomem = &uioinfo->mem[0]; uioinfo 173 drivers/uio/uio_pdrv_genirq.c if (uiomem >= &uioinfo->mem[MAX_UIO_MAPS]) { uioinfo 187 drivers/uio/uio_pdrv_genirq.c while (uiomem < &uioinfo->mem[MAX_UIO_MAPS]) { uioinfo 201 drivers/uio/uio_pdrv_genirq.c uioinfo->handler = uio_pdrv_genirq_handler; uioinfo 202 drivers/uio/uio_pdrv_genirq.c uioinfo->irqcontrol = uio_pdrv_genirq_irqcontrol; uioinfo 203 drivers/uio/uio_pdrv_genirq.c uioinfo->open = uio_pdrv_genirq_open; uioinfo 204 drivers/uio/uio_pdrv_genirq.c uioinfo->release = uio_pdrv_genirq_release; uioinfo 205 drivers/uio/uio_pdrv_genirq.c uioinfo->priv = priv; uioinfo 214 drivers/uio/uio_pdrv_genirq.c ret = uio_register_device(&pdev->dev, priv->uioinfo); uioinfo 229 drivers/uio/uio_pdrv_genirq.c uio_unregister_device(priv->uioinfo); uioinfo 232 drivers/uio/uio_pdrv_genirq.c priv->uioinfo->handler = NULL; uioinfo 233 drivers/uio/uio_pdrv_genirq.c priv->uioinfo->irqcontrol = NULL; uioinfo 22 include/linux/platform_data/uio_dmem_genirq.h struct uio_info uioinfo;