Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/regulator/
Dpbias-regulator.c166 int count, idx, data_idx = 0; in pbias_regulator_probe() local
203 for (idx = 0; idx < PBIAS_NUM_REGS && data_idx < count; idx++) { in pbias_regulator_probe()
212 drvdata[data_idx].syscon = syscon; in pbias_regulator_probe()
213 drvdata[data_idx].info = info; in pbias_regulator_probe()
214 drvdata[data_idx].desc.name = info->name; in pbias_regulator_probe()
215 drvdata[data_idx].desc.owner = THIS_MODULE; in pbias_regulator_probe()
216 drvdata[data_idx].desc.type = REGULATOR_VOLTAGE; in pbias_regulator_probe()
217 drvdata[data_idx].desc.ops = &pbias_regulator_voltage_ops; in pbias_regulator_probe()
218 drvdata[data_idx].desc.volt_table = info->pbias_volt_table; in pbias_regulator_probe()
219 drvdata[data_idx].desc.n_voltages = info->n_voltages; in pbias_regulator_probe()
[all …]
/Linux-v5.4/drivers/phy/socionext/
Dphy-uniphier-usb2.c114 int ret, data_idx, ndatas; in uniphier_u2phy_probe() local
156 ret = of_property_read_u32(child, "reg", &data_idx); in uniphier_u2phy_probe()
162 if (data_idx < ndatas) in uniphier_u2phy_probe()
163 priv->data = &data[data_idx]; in uniphier_u2phy_probe()
/Linux-v5.4/include/linux/spi/
Dads7846.h56 int (*filter) (void *filter_data, int data_idx, int *val);
/Linux-v5.4/drivers/input/touchscreen/
Dads7846.c140 int (*filter)(void *data, int data_idx, int *val);
620 static int ads7846_debounce_filter(void *ads, int data_idx, int *val) in ads7846_debounce_filter() argument
662 static int ads7846_no_filter(void *ads, int data_idx, int *val) in ads7846_no_filter() argument
/Linux-v5.4/drivers/scsi/hisi_sas/
Dhisi_sas_v2_hw.c3486 int data_idx = phy_no + 3 - (phy_no % 4) * 2; in write_gpio_v2_hw() local
3488 writeb(write_data[data_idx], reg_addr); in write_gpio_v2_hw()