Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/platform/x86/
Dserial-multi-instantiate.c102 const struct smi_instance *inst_array) in smi_spi_probe() argument
123 for (i = 0; i < count && inst_array[i].type; i++) { in smi_spi_probe()
134 strscpy(spi_dev->modalias, inst_array[i].type, sizeof(spi_dev->modalias)); in smi_spi_probe()
136 ret = smi_get_irq(pdev, adev, &inst_array[i]); in smi_spi_probe()
144 inst_array[i].type, i); in smi_spi_probe()
186 const struct smi_instance *inst_array) in smi_i2c_probe() argument
206 for (i = 0; i < count && inst_array[i].type; i++) { in smi_i2c_probe()
208 strscpy(board_info.type, inst_array[i].type, I2C_NAME_SIZE); in smi_i2c_probe()
209 snprintf(name, sizeof(name), "%s-%s.%d", dev_name(dev), inst_array[i].type, i); in smi_i2c_probe()
212 ret = smi_get_irq(pdev, adev, &inst_array[i]); in smi_i2c_probe()