Lines Matching +full:num +full:- +full:channels
1 // SPDX-License-Identifier: GPL-2.0
29 * other channels. This can be used to check that the incoming data is in ad7606_par16_read_block()
35 int num = count; in ad7606_par16_read_block() local
38 if (st->gpio_frstdata) { in ad7606_par16_read_block()
39 insw((unsigned long)st->base_address, _buf, 1); in ad7606_par16_read_block()
40 if (!gpiod_get_value(st->gpio_frstdata)) { in ad7606_par16_read_block()
42 return -EIO; in ad7606_par16_read_block()
45 num--; in ad7606_par16_read_block()
47 insw((unsigned long)st->base_address, _buf, num); in ad7606_par16_read_block()
63 * other channels. This can be used to check that the incoming data is in ad7606_par8_read_block()
69 int num = count; in ad7606_par8_read_block() local
72 if (st->gpio_frstdata) { in ad7606_par8_read_block()
73 insb((unsigned long)st->base_address, _buf, 2); in ad7606_par8_read_block()
74 if (!gpiod_get_value(st->gpio_frstdata)) { in ad7606_par8_read_block()
76 return -EIO; in ad7606_par8_read_block()
79 num--; in ad7606_par8_read_block()
81 insb((unsigned long)st->base_address, _buf, num * 2); in ad7606_par8_read_block()
108 return ad7606_probe(&pdev->dev, irq, addr, in ad7606_par_probe()
109 id->name, id->driver_data, in ad7606_par_probe()
115 { .name = "ad7605-4", .driver_data = ID_AD7605_4, },
116 { .name = "ad7606-4", .driver_data = ID_AD7606_4, },
117 { .name = "ad7606-6", .driver_data = ID_AD7606_6, },
118 { .name = "ad7606-8", .driver_data = ID_AD7606_8, },
124 { .compatible = "adi,ad7605-4" },
125 { .compatible = "adi,ad7606-4" },
126 { .compatible = "adi,ad7606-6" },
127 { .compatible = "adi,ad7606-8" },