Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/uwb/
Dwhci.c19 u8 n_caps; member
155 int err, n_caps, n; in whci_probe() local
170 err = n_caps = whci_n_caps(pci); in whci_probe()
171 if (n_caps < 0) in whci_probe()
176 + sizeof(struct umc_dev *) * (n_caps + 1), in whci_probe()
181 card->n_caps = n_caps; in whci_probe()
185 UWBCAPDATA_SIZE(card->n_caps), in whci_probe()
189 card->uwbbase = pci_iomap(pci, 0, UWBCAPDATA_SIZE(card->n_caps)); in whci_probe()
194 for (n = 0; n <= card->n_caps; n++) { in whci_probe()
211 release_mem_region(pci_resource_start(pci, 0), UWBCAPDATA_SIZE(card->n_caps)); in whci_probe()
[all …]