Searched refs:spi_devs (Results 1 – 2 of 2) sorted by relevance
152 static struct spi_device **spi_devs; variable265 spi_devs[idx] = spi_new_device(controller, &board_info); in x86_instantiate_spi_dev()267 if (!spi_devs[idx]) in x86_instantiate_spi_dev()352 spi_unregister_device(spi_devs[i]); in x86_android_tablet_remove()354 kfree(spi_devs); in x86_android_tablet_remove()426 spi_devs = kcalloc(dev_info->spi_dev_count, sizeof(*spi_devs), GFP_KERNEL); in x86_android_tablet_probe()427 if (!spi_devs) { in x86_android_tablet_probe()
47 struct spi_device **spi_devs; member93 spi_unregister_device(smi->spi_devs[smi->spi_num]); in smi_devs_unregister()123 smi->spi_devs = devm_kcalloc(dev, count, sizeof(*smi->spi_devs), GFP_KERNEL); in smi_spi_probe()124 if (!smi->spi_devs) in smi_spi_probe()162 smi->spi_devs[i] = spi_dev; in smi_spi_probe()
Completed in 5 milliseconds