Searched refs:boardtypes (Results 1 - 21 of 21) sorted by relevance

/drivers/staging/comedi/drivers/
H A Ddyna_pci10xx.c95 static const struct boardtype boardtypes[] = { variable in typeref:struct:boardtype
121 .board_name = &boardtypes[0].name,
123 .num_names = ARRAY_SIZE(boardtypes),
294 for (i = 0; i < ARRAY_SIZE(boardtypes); ++i) {
296 (pcidev->device == boardtypes[i].device_id)) {
341 dev->board_ptr = &boardtypes[board_index];
406 boardtypes[board_index].name);
H A Dpcl726.c134 static const struct pcl726_board boardtypes[] = { variable in typeref:struct:pcl726_board
152 #define n_boardtypes (sizeof(boardtypes)/sizeof(struct pcl726_board))
160 .board_name = &boardtypes[0].name,
292 if (boardtypes[board].IRQbits != 0) { /* board support IRQ */
296 if (((1 << irq) & boardtypes[board].IRQbits) == 0) {
H A Dacl7225b.c34 static const struct boardtype boardtypes[] = { variable in typeref:struct:boardtype
39 #define n_boardtypes (sizeof(boardtypes)/sizeof(struct boardtype))
47 .board_name = &boardtypes[0].name,
H A Dpcl724.c74 static const struct pcl724_board boardtypes[] = { variable in typeref:struct:pcl724_board
83 #define n_boardtypes (sizeof(boardtypes)/sizeof(struct pcl724_board))
91 .board_name = &boardtypes[0].name,
H A Dpcl730.c39 static const struct pcl730_board boardtypes[] = { variable in typeref:struct:pcl730_board
45 #define n_boardtypes (sizeof(boardtypes)/sizeof(struct pcl730_board))
53 .board_name = &boardtypes[0].name,
H A Dpcm3724.c83 static const struct pcm3724_board boardtypes[] = { variable in typeref:struct:pcm3724_board
87 #define n_boardtypes (sizeof(boardtypes)/sizeof(struct pcm3724_board))
95 .board_name = &boardtypes[0].name,
H A Ddaqboard2000.c319 static const struct daq200_boardtype boardtypes[] = { variable in typeref:struct:daq200_boardtype
324 #define n_boardtypes (sizeof(boardtypes)/sizeof(struct daq200_boardtype))
765 if (boardtypes[i].id == id) {
767 boardtypes[i].name);
768 dev->board_ptr = boardtypes + i;
775 dev->board_ptr = boardtypes;
H A Dadv_pci1723.c139 static const struct pci1723_board boardtypes[] = { variable in typeref:struct:pci1723_board
174 #define n_boardtypes (sizeof(boardtypes)/sizeof(struct pci1723_board))
196 #define this_board boardtypes
H A Drti800.c141 static const struct rti800_board boardtypes[] = { variable in typeref:struct:rti800_board
156 .num_names = ARRAY_SIZE(boardtypes),
157 .board_name = &boardtypes[0].name,
H A Ddt2801.c184 static const struct dt2801_board boardtypes[] = { variable in typeref:struct:dt2801_board
538 for (type = 0; type < ARRAY_SIZE(boardtypes); type++) {
539 if (boardtypes[type].boardcode == board_code)
547 dev->board_ptr = boardtypes + type;
H A Ddt2811.c214 static const struct dt2811_board boardtypes[] = { variable in typeref:struct:dt2811_board
237 .board_name = &boardtypes[0].name,
238 .num_names = ARRAY_SIZE(boardtypes),
H A Dpcl711.c151 static const struct pcl711_board boardtypes[] = { variable in typeref:struct:pcl711_board
158 #define n_boardtypes (sizeof(boardtypes)/sizeof(struct pcl711_board))
169 .board_name = &boardtypes[0].name,
H A Dadv_pci1710.c230 static const struct boardtype boardtypes[] = { variable in typeref:struct:boardtype
267 #define n_boardtypes (sizeof(boardtypes)/sizeof(struct boardtype))
275 .board_name = &boardtypes[0].name,
1397 board_index = this_board - boardtypes;
1402 if (pcidev->device == boardtypes[i].device_id) {
1410 if (pcidev->device != boardtypes[board_index].device_id)
1431 dev->board_ptr = &boardtypes[board_index];
H A Dicp_multi.c157 static const struct boardtype boardtypes[] = { variable in typeref:struct:boardtype
176 #define n_boardtypes (sizeof(boardtypes)/sizeof(struct boardtype))
184 .board_name = &boardtypes[0].name,
H A Dadv_pci_dio.c286 static const struct dio_boardtype boardtypes[] = { variable in typeref:struct:dio_boardtype
409 #define n_boardtypes (sizeof(boardtypes)/sizeof(struct dio_boardtype))
1138 if (boardtypes[i].vendor_id != pcidev->vendor)
1140 if (boardtypes[i].device_id != pcidev->device)
1153 dev->board_ptr = boardtypes + i;
H A Dpcl816.c128 static const struct pcl816_board boardtypes[] = { variable in typeref:struct:pcl816_board
149 #define n_boardtypes (sizeof(boardtypes)/sizeof(struct pcl816_board))
167 .board_name = &boardtypes[0].name,
H A Ddt282x.c224 static const struct dt282x_board boardtypes[] = { variable in typeref:struct:dt282x_board
353 #define n_boardtypes (sizeof(boardtypes)/sizeof(struct dt282x_board))
422 .board_name = &boardtypes[0].name,
H A Dpcl812.c343 static const struct pcl812_board boardtypes[] = { variable in typeref:struct:pcl812_board
400 #define n_boardtypes (sizeof(boardtypes)/sizeof(struct pcl812_board))
408 .board_name = &boardtypes[0].name,
H A Dpcl818.c280 static const struct pcl818_board boardtypes[] = { variable in typeref:struct:pcl818_board
305 #define n_boardtypes (sizeof(boardtypes)/sizeof(struct pcl818_board))
312 .board_name = &boardtypes[0].name,
H A Dadl_pci9118.c262 static const struct boardtype boardtypes[] = { variable in typeref:struct:boardtype
280 #define n_boardtypes (sizeof(boardtypes)/sizeof(struct boardtype))
288 .board_name = &boardtypes[0].name,
/drivers/staging/comedi/drivers/addi-data/
H A Daddi_common.c225 static const struct addi_board boardtypes[] = { variable in typeref:struct:addi_board
2531 #define n_boardtypes (sizeof(boardtypes)/sizeof(struct addi_board))
2539 .board_name = &boardtypes[0].pc_DriverName,

Completed in 194 milliseconds