Searched refs:hci_res (Results 1 – 2 of 2) sorted by relevance
106 struct resource hci_res[2]; in ssb_hcd_create_pdev() local109 memset(hci_res, 0, sizeof(hci_res)); in ssb_hcd_create_pdev()111 hci_res[0].start = addr; in ssb_hcd_create_pdev()112 hci_res[0].end = hci_res[0].start + len - 1; in ssb_hcd_create_pdev()113 hci_res[0].flags = IORESOURCE_MEM; in ssb_hcd_create_pdev()115 hci_res[1].start = dev->irq; in ssb_hcd_create_pdev()116 hci_res[1].flags = IORESOURCE_IRQ; in ssb_hcd_create_pdev()126 ret = platform_device_add_resources(hci_dev, hci_res, in ssb_hcd_create_pdev()127 ARRAY_SIZE(hci_res)); in ssb_hcd_create_pdev()
306 struct resource hci_res[2]; in bcma_hcd_create_pdev() local309 memset(hci_res, 0, sizeof(hci_res)); in bcma_hcd_create_pdev()311 hci_res[0].start = addr; in bcma_hcd_create_pdev()312 hci_res[0].end = hci_res[0].start + 0x1000 - 1; in bcma_hcd_create_pdev()313 hci_res[0].flags = IORESOURCE_MEM; in bcma_hcd_create_pdev()315 hci_res[1].start = dev->irq; in bcma_hcd_create_pdev()316 hci_res[1].flags = IORESOURCE_IRQ; in bcma_hcd_create_pdev()325 ret = platform_device_add_resources(hci_dev, hci_res, in bcma_hcd_create_pdev()326 ARRAY_SIZE(hci_res)); in bcma_hcd_create_pdev()