Lines Matching full:rsc
87 struct resource *rsc; in lpe_audio_platdev_create() local
95 rsc = kcalloc(2, sizeof(*rsc), GFP_KERNEL); in lpe_audio_platdev_create()
96 if (!rsc) { in lpe_audio_platdev_create()
101 rsc[0].start = rsc[0].end = dev_priv->display.audio.lpe.irq; in lpe_audio_platdev_create()
102 rsc[0].flags = IORESOURCE_IRQ; in lpe_audio_platdev_create()
103 rsc[0].name = "hdmi-lpe-audio-irq"; in lpe_audio_platdev_create()
105 rsc[1].start = pci_resource_start(pdev, GEN4_GTTMMADR_BAR) + in lpe_audio_platdev_create()
107 rsc[1].end = pci_resource_start(pdev, GEN4_GTTMMADR_BAR) + in lpe_audio_platdev_create()
109 rsc[1].flags = IORESOURCE_MEM; in lpe_audio_platdev_create()
110 rsc[1].name = "hdmi-lpe-audio-mmio"; in lpe_audio_platdev_create()
115 pinfo.res = rsc; in lpe_audio_platdev_create()
129 kfree(rsc); in lpe_audio_platdev_create()