Home
last modified time | relevance | path

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

/drivers/staging/comedi/drivers/
Dpcl730.c110 int n_subdevs; member
121 .n_subdevs = 4,
128 .n_subdevs = 4,
136 .n_subdevs = 4,
144 .n_subdevs = 4,
152 .n_subdevs = 2,
160 .n_subdevs = 2,
168 .n_subdevs = 2,
176 .n_subdevs = 2,
182 .n_subdevs = 1,
[all …]
Daddi_apci_16xx.c94 unsigned int n_subdevs; in apci16xx_auto_attach() local
117 n_subdevs = board->n_chan / 32; in apci16xx_auto_attach()
118 if ((n_subdevs * 32) < board->n_chan) { in apci16xx_auto_attach()
119 last = board->n_chan - (n_subdevs * 32); in apci16xx_auto_attach()
120 n_subdevs++; in apci16xx_auto_attach()
125 ret = comedi_alloc_subdevices(dev, n_subdevs); in apci16xx_auto_attach()
130 for (i = 0; i < n_subdevs; i++) { in apci16xx_auto_attach()
Damplc_dio200.c198 .n_subdevs = 6,
207 .n_subdevs = 4,
214 .n_subdevs = 5,
223 .n_subdevs = 7,
232 .n_subdevs = 4,
Damplc_dio200_pci.c238 .n_subdevs = 5,
249 .n_subdevs = 4,
259 .n_subdevs = 8,
274 .n_subdevs = 8,
289 .n_subdevs = 8,
Djr3_pci.c54 int n_subdevs; member
60 .n_subdevs = 1,
64 .n_subdevs = 2,
68 .n_subdevs = 3,
72 .n_subdevs = 4,
699 if (pci_resource_len(pcidev, 0) < board->n_subdevs * sizeof(*block)) in jr3_pci_auto_attach()
708 ret = comedi_alloc_subdevices(dev, board->n_subdevs); in jr3_pci_auto_attach()
Damplc_dio200.h32 unsigned short n_subdevs; /* number of subdevices */ member
Damplc_dio200_common.c783 ret = comedi_alloc_subdevices(dev, board->n_subdevs); in amplc_dio200_common_attach()
/drivers/mfd/
Dhi6421-pmic-core.c58 int n_subdevs, ret; in hi6421_pmic_probe() local
95 n_subdevs = ARRAY_SIZE(hi6421_devs); in hi6421_pmic_probe()
99 n_subdevs = ARRAY_SIZE(hi6421v530_devs); in hi6421_pmic_probe()
108 subdevs, n_subdevs, NULL, 0, NULL); in hi6421_pmic_probe()
Darizona-core.c992 int n_subdevs = 0, ret, i; in arizona_dev_init() local
1195 n_subdevs = ARRAY_SIZE(wm5102_devs); in arizona_dev_init()
1218 n_subdevs = ARRAY_SIZE(wm5110_devs); in arizona_dev_init()
1242 n_subdevs = ARRAY_SIZE(cs47l24_devs); in arizona_dev_init()
1257 n_subdevs = ARRAY_SIZE(wm8997_devs); in arizona_dev_init()
1281 n_subdevs = ARRAY_SIZE(wm8998_devs); in arizona_dev_init()
1416 subdevs, n_subdevs, NULL, 0, NULL); in arizona_dev_init()
/drivers/staging/comedi/
Dcomedi.h813 unsigned int n_subdevs; member
Dcomedi_fops.c941 devinfo.n_subdevs = dev->n_subdevices; in do_devinfo_ioctl()