Searched refs:n_caps (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/uwb/
H A Dwhci.c20 u8 n_caps; member in struct:whci_card
156 int err, n_caps, n; whci_probe() local
171 err = n_caps = whci_n_caps(pci); whci_probe()
172 if (n_caps < 0) whci_probe()
177 + sizeof(struct umc_dev *) * (n_caps + 1), whci_probe()
182 card->n_caps = n_caps; whci_probe()
186 UWBCAPDATA_SIZE(card->n_caps), whci_probe()
190 card->uwbbase = pci_iomap(pci, 0, UWBCAPDATA_SIZE(card->n_caps)); whci_probe()
195 for (n = 0; n <= card->n_caps; n++) { whci_probe()
212 release_mem_region(pci_resource_start(pci, 0), UWBCAPDATA_SIZE(card->n_caps)); whci_probe()
232 for (n = card->n_caps; n >= 0 ; n--) whci_remove()
235 release_mem_region(pci_resource_start(pci, 0), UWBCAPDATA_SIZE(card->n_caps)); whci_remove()

Completed in 66 milliseconds