Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/pci/asihpi/
H A Dhpicmn.c28 static struct hpi_adapters_list adapters; variable
64 hpios_alistlock_lock(&adapters); in hpi_add_adapter()
71 if (adapters.adapter[pao->index].type) { in hpi_add_adapter()
74 if (!adapters.adapter[a].type) { in hpi_add_adapter()
87 adapters.adapter[pao->index] = *pao; in hpi_add_adapter()
88 hpios_dsplock_init(&adapters.adapter[pao->index]); in hpi_add_adapter()
89 adapters.gw_num_adapters++; in hpi_add_adapter()
92 hpios_alistlock_unlock(&adapters); in hpi_add_adapter()
103 hpios_alistlock_lock(&adapters); in hpi_delete_adapter()
104 if (adapters in hpi_delete_adapter()
[all...]
H A Dhpioctl.c52 /* List of adapters found */
53 static struct hpi_adapter adapters[HPI_MAX_ADAPTERS]; variable
182 if (hm->h.adapter_index < ARRAY_SIZE(adapters)) in asihpi_hpi_ioctl()
183 pa = &adapters[array_index_nospec(hm->h.adapter_index, in asihpi_hpi_ioctl()
184 ARRAY_SIZE(adapters))]; in asihpi_hpi_ioctl()
461 * and then copy it to adapters[] ?!?! in asihpi_adapter_probe()
463 adapters[adapter_index] = adapter; in asihpi_adapter_probe()
464 mutex_init(&adapters[adapter_index].mutex); in asihpi_adapter_probe()
465 pci_set_drvdata(pci_dev, &adapters[adapter_index]); in asihpi_adapter_probe()
492 "asihpi", &adapters[adapter_inde in asihpi_adapter_probe()
[all...]
/kernel/linux/linux-6.6/sound/pci/asihpi/
H A Dhpicmn.c28 static struct hpi_adapters_list adapters; variable
64 hpios_alistlock_lock(&adapters); in hpi_add_adapter()
71 if (adapters.adapter[pao->index].type) { in hpi_add_adapter()
74 if (!adapters.adapter[a].type) { in hpi_add_adapter()
87 adapters.adapter[pao->index] = *pao; in hpi_add_adapter()
88 hpios_dsplock_init(&adapters.adapter[pao->index]); in hpi_add_adapter()
89 adapters.gw_num_adapters++; in hpi_add_adapter()
92 hpios_alistlock_unlock(&adapters); in hpi_add_adapter()
103 hpios_alistlock_lock(&adapters); in hpi_delete_adapter()
104 if (adapters in hpi_delete_adapter()
[all...]
H A Dhpioctl.c52 /* List of adapters found */
53 static struct hpi_adapter adapters[HPI_MAX_ADAPTERS]; variable
182 if (hm->h.adapter_index < ARRAY_SIZE(adapters)) in asihpi_hpi_ioctl()
183 pa = &adapters[array_index_nospec(hm->h.adapter_index, in asihpi_hpi_ioctl()
184 ARRAY_SIZE(adapters))]; in asihpi_hpi_ioctl()
461 * and then copy it to adapters[] ?!?! in asihpi_adapter_probe()
463 adapters[adapter_index] = adapter; in asihpi_adapter_probe()
464 mutex_init(&adapters[adapter_index].mutex); in asihpi_adapter_probe()
465 pci_set_drvdata(pci_dev, &adapters[adapter_index]); in asihpi_adapter_probe()
492 "asihpi", &adapters[adapter_inde in asihpi_adapter_probe()
[all...]
/kernel/linux/linux-6.6/include/linux/platform_data/
H A Dmlxcpld.h15 * @num_adaps - number of adapters
19 * @completion_notify: callback to notify when all the adapters are created
28 struct i2c_adapter *adapters[]);
/kernel/linux/linux-6.6/drivers/platform/mellanox/
H A Dmlxreg-lc.c642 struct i2c_adapter *adapters[]) in mlxreg_lc_completion_notify()
652 aux_dev->adapter = adapters[aux_dev->nr]; in mlxreg_lc_completion_notify()
653 aux_dev->nr = adapters[aux_dev->nr]->nr; in mlxreg_lc_completion_notify()
664 main_dev->adapter = adapters[main_dev->nr]; in mlxreg_lc_completion_notify()
665 main_dev->nr = adapters[main_dev->nr]->nr; in mlxreg_lc_completion_notify()
641 mlxreg_lc_completion_notify(void *handle, struct i2c_adapter *parent, struct i2c_adapter *adapters[]) mlxreg_lc_completion_notify() argument
/kernel/linux/linux-5.10/arch/s390/kvm/
H A Dinterrupt.c2454 return kvm->arch.adapters[id]; in get_io_adapter()
2473 if (dev->kvm->arch.adapters[adapter_info.id] != NULL) in register_io_adapter()
2487 dev->kvm->arch.adapters[adapter->id] = adapter; in register_io_adapter()
2509 kfree(kvm->arch.adapters[i]); in kvm_s390_destroy_adapters()
/kernel/linux/linux-6.6/arch/s390/kvm/
H A Dinterrupt.c2460 return kvm->arch.adapters[id]; in get_io_adapter()
2479 if (dev->kvm->arch.adapters[adapter_info.id] != NULL) in register_io_adapter()
2493 dev->kvm->arch.adapters[adapter->id] = adapter; in register_io_adapter()
2515 kfree(kvm->arch.adapters[i]); in kvm_s390_destroy_adapters()
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dkvm_host.h945 struct s390_io_adapter *adapters[MAX_S390_IO_ADAPTERS]; member
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dkvm_host.h978 struct s390_io_adapter *adapters[MAX_S390_IO_ADAPTERS]; member
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dmlx-platform.c6106 /* Scan adapters from expected id to verify it is free. */ in mlxplat_mlxcpld_verify_bus_topology()
6428 struct i2c_adapter *adapters[]) in mlxplat_i2c_mux_complition_notify()
6427 mlxplat_i2c_mux_complition_notify(void *handle, struct i2c_adapter *parent, struct i2c_adapter *adapters[]) mlxplat_i2c_mux_complition_notify() argument

Completed in 24 milliseconds