Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iio/adc/
Dxilinx-ams.c1265 struct iio_chan_spec *ams_channels, *dev_channels; in ams_parse_firmware() local
1277 ams_channels = devm_kcalloc(dev, ams_size, sizeof(*ams_channels), GFP_KERNEL); in ams_parse_firmware()
1278 if (!ams_channels) in ams_parse_firmware()
1282 ret = ams_init_module(indio_dev, fwnode, ams_channels); in ams_parse_firmware()
1291 ret = ams_init_module(indio_dev, child, ams_channels + num_channels); in ams_parse_firmware()
1302 ams_channels[i].channel = ch_cnt++; in ams_parse_firmware()
1304 if (ams_channels[i].scan_index < AMS_CTRL_SEQ_BASE) { in ams_parse_firmware()
1307 ams_get_alarm_offset(ams_channels[i].scan_index, in ams_parse_firmware()
1310 ams_get_alarm_offset(ams_channels[i].scan_index, in ams_parse_firmware()
1312 if (ams_channels[i].scan_index >= AMS_PS_SEQ_MAX) { in ams_parse_firmware()
[all …]