Searched refs:hci_res (Results 1 – 2 of 2) sorted by relevance
107 struct resource hci_res[2]; in ssb_hcd_create_pdev() local110 memset(hci_res, 0, sizeof(hci_res)); in ssb_hcd_create_pdev()112 hci_res[0].start = addr; in ssb_hcd_create_pdev()113 hci_res[0].end = hci_res[0].start + len - 1; in ssb_hcd_create_pdev()114 hci_res[0].flags = IORESOURCE_MEM; in ssb_hcd_create_pdev()116 hci_res[1].start = dev->irq; in ssb_hcd_create_pdev()117 hci_res[1].flags = IORESOURCE_IRQ; in ssb_hcd_create_pdev()127 ret = platform_device_add_resources(hci_dev, hci_res, in ssb_hcd_create_pdev()128 ARRAY_SIZE(hci_res)); in ssb_hcd_create_pdev()
171 struct resource hci_res[2]; in bcma_hcd_create_pdev() local174 memset(hci_res, 0, sizeof(hci_res)); in bcma_hcd_create_pdev()176 hci_res[0].start = addr; in bcma_hcd_create_pdev()177 hci_res[0].end = hci_res[0].start + 0x1000 - 1; in bcma_hcd_create_pdev()178 hci_res[0].flags = IORESOURCE_MEM; in bcma_hcd_create_pdev()180 hci_res[1].start = dev->irq; in bcma_hcd_create_pdev()181 hci_res[1].flags = IORESOURCE_IRQ; in bcma_hcd_create_pdev()191 ret = platform_device_add_resources(hci_dev, hci_res, in bcma_hcd_create_pdev()192 ARRAY_SIZE(hci_res)); in bcma_hcd_create_pdev()