Home
last modified time | relevance | path

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

/linux/drivers/iio/addac/
H A Dstx104.c97 struct regmap *aio_data_map; member
219 err = regmap_read(priv->aio_data_map, STX104_DAC_OFFSET(chan->channel), in stx104_read_raw()
257 err = regmap_read(priv->aio_data_map, STX104_ADC_DATA, &value); in stx104_read_raw()
323 return regmap_write(priv->aio_data_map, STX104_DAC_OFFSET(chan->channel), val); in stx104_write_raw()
401 err = regmap_write(priv->aio_data_map, STX104_DAC_BASE, 0); in stx104_init_hw()
404 err = regmap_write(priv->aio_data_map, STX104_DAC_BASE + STX104_AIO_DATA_STRIDE, 0); in stx104_init_hw()
419 struct regmap *aio_data_map; in stx104_probe() local
444 aio_data_map = devm_regmap_init_mmio(dev, stx104_base, &aio_data_regmap_config); in stx104_probe()
445 if (IS_ERR(aio_data_map)) in stx104_probe()
446 return dev_err_probe(dev, PTR_ERR(aio_data_map), in stx104_probe()
[all …]