Searched refs:ams_channels (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/iio/adc/ |
D | xilinx-ams.c | 1276 struct iio_chan_spec *ams_channels, *dev_channels; in ams_parse_firmware() local 1287 ams_channels = devm_kcalloc(dev, ams_size, sizeof(*ams_channels), GFP_KERNEL); in ams_parse_firmware() 1288 if (!ams_channels) in ams_parse_firmware() 1292 ret = ams_init_module(indio_dev, fwnode, ams_channels); in ams_parse_firmware() 1300 ret = ams_init_module(indio_dev, child, ams_channels + num_channels); in ams_parse_firmware() 1308 ams_channels[i].channel = ch_cnt++; in ams_parse_firmware() 1310 if (ams_channels[i].scan_index < AMS_CTRL_SEQ_BASE) { in ams_parse_firmware() 1313 ams_get_alarm_offset(ams_channels[i].scan_index, in ams_parse_firmware() 1316 ams_get_alarm_offset(ams_channels[i].scan_index, in ams_parse_firmware() 1318 if (ams_channels[i].scan_index >= AMS_PS_SEQ_MAX) { in ams_parse_firmware() [all …]
|