Lines Matching refs:adapter_index
69 if ((phm->adapter_index >= HPI_MAX_ADAPTERS) in hpi_send_recv_f()
184 if (hm->h.adapter_index < ARRAY_SIZE(adapters)) in asihpi_hpi_ioctl()
185 pa = &adapters[hm->h.adapter_index]; in asihpi_hpi_ioctl()
221 hm->h.adapter_index, in asihpi_hpi_ioctl()
314 int adapter_index; in asihpi_adapter_probe() local
341 hm.adapter_index = HPI_ADAPTER_INDEX_INVALID; in asihpi_adapter_probe()
372 adapter_index = hr.u.s.adapter_index; in asihpi_adapter_probe()
373 adapter.adapter = hpi_find_adapter(adapter_index); in asihpi_adapter_probe()
388 hm.adapter_index = adapter.adapter->index; in asihpi_adapter_probe()
397 adapters[adapter_index] = adapter; in asihpi_adapter_probe()
398 mutex_init(&adapters[adapter_index].mutex); in asihpi_adapter_probe()
399 pci_set_drvdata(pci_dev, &adapters[adapter_index]); in asihpi_adapter_probe()
403 adapter.adapter->type, adapter_index); in asihpi_adapter_probe()
437 hm.adapter_index = pa->adapter->index; in asihpi_adapter_remove()