Lines Matching full:rsc
84 struct resource *rsc; in lpe_audio_platdev_create() local
92 rsc = kcalloc(2, sizeof(*rsc), GFP_KERNEL); in lpe_audio_platdev_create()
93 if (!rsc) { in lpe_audio_platdev_create()
98 rsc[0].start = rsc[0].end = dev_priv->lpe_audio.irq; in lpe_audio_platdev_create()
99 rsc[0].flags = IORESOURCE_IRQ; in lpe_audio_platdev_create()
100 rsc[0].name = "hdmi-lpe-audio-irq"; in lpe_audio_platdev_create()
102 rsc[1].start = pci_resource_start(dev->pdev, 0) + in lpe_audio_platdev_create()
104 rsc[1].end = pci_resource_start(dev->pdev, 0) + in lpe_audio_platdev_create()
106 rsc[1].flags = IORESOURCE_MEM; in lpe_audio_platdev_create()
107 rsc[1].name = "hdmi-lpe-audio-mmio"; in lpe_audio_platdev_create()
112 pinfo.res = rsc; in lpe_audio_platdev_create()
126 kfree(rsc); in lpe_audio_platdev_create()