Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/light/
Dvcnl4000.c200 const struct vcnl4000_chip_spec *chip_spec; member
271 return data->chip_spec->set_power_state(data, true); in vcnl4000_init()
388 data->al_scale = data->chip_spec->ulux_step; in vcnl4200_init()
392 ret = data->chip_spec->set_power_state(data, true); in vcnl4200_init()
567 if (ret >= data->chip_spec->num_als_it_times) in vcnl4040_read_als_it()
570 *val = (*data->chip_spec->als_it_times)[ret][0]; in vcnl4040_read_als_it()
571 *val2 = (*data->chip_spec->als_it_times)[ret][1]; in vcnl4040_read_als_it()
582 for (i = 0; i < data->chip_spec->num_als_it_times; i++) { in vcnl4040_write_als_it()
583 if (val == (*data->chip_spec->als_it_times)[i][1]) in vcnl4040_write_als_it()
587 if (i == data->chip_spec->num_als_it_times) in vcnl4040_write_als_it()
[all …]
/Linux-v6.6/sound/soc/uniphier/
Daio-cpu.c105 const struct uniphier_aio_chip_spec *chip_spec = aio->chip->chip_spec; in find_spec() local
108 for (i = 0; i < chip_spec->num_specs; i++) { in find_spec()
109 const struct uniphier_aio_spec *spec = &chip_spec->specs[i]; in find_spec()
736 chip->chip_spec = of_device_get_match_data(dev); in uniphier_aio_probe()
737 if (!chip->chip_spec) in uniphier_aio_probe()
756 chip->num_aios = chip->chip_spec->num_dais; in uniphier_aio_probe()
764 chip->num_plls = chip->chip_spec->num_plls; in uniphier_aio_probe()
771 memcpy(chip->plls, chip->chip_spec->plls, in uniphier_aio_probe()
800 chip->chip_spec->dais, in uniphier_aio_probe()
801 chip->chip_spec->num_dais); in uniphier_aio_probe()
Daio.h284 const struct uniphier_aio_chip_spec *chip_spec; member
Daio-core.c183 if (chip->chip_spec->addr_ext) in aio_chip_init()