/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/comedi/drivers/ |
H A D | cb_pcimdda.c | 137 #define thisboard ((const struct board_struct *)dev->board_ptr) macro 139 #define REG_SZ (thisboard->reg_sz) 140 #define REGS_BADRINDEX (thisboard->regs_badrindex) 303 printk("comedi%d: %s: ", dev->minor, thisboard->name); 306 * Initialize dev->board_name. Note that we can use the "thisboard" 309 dev->board_name = thisboard->name; 323 s->n_chan = thisboard->ao_chans; 324 s->maxdata = figure_out_maxdata(thisboard->ao_bits); 335 if (thisboard->dio_chans) { 336 switch (thisboard [all...] |
H A D | cb_pcidio.c | 106 #define thisboard ((const struct pcidio_board *)dev->board_ptr) macro 234 * Initialize dev->board_name. Note that we can use the "thisboard" 237 dev->board_name = thisboard->name; 240 printk("Found %s on bus %i, slot %i\n", thisboard->name, 243 if (comedi_pci_enable(pcidev, thisboard->name)) { 257 if (alloc_subdevices(dev, thisboard->n_8255) < 0) 260 for (i = 0; i < thisboard->n_8255; i++) { 291 for (i = 0; i < thisboard->n_8255; i++)
|
H A D | das16.c | 754 #define thisboard ((struct das16_board *)(dev->board_ptr)) macro 772 if (thisboard->size > 0x400) 781 if (thisboard->size > 0x400) 844 thisboard->ai_speed * cmd->chanlist_len) { 846 thisboard->ai_speed * cmd->chanlist_len; 851 if (cmd->convert_arg < thisboard->ai_speed) { 852 cmd->convert_arg = thisboard->ai_speed; 942 if (thisboard->size > 0x400) 953 if (thisboard->ai_pg != das16_pg_none) { 955 outb((das16_gainlists[thisboard [all...] |
H A D | contec_pci_dio.c | 68 #define thisboard ((const struct contec_board *)dev->board_ptr) macro 105 dev->board_name = thisboard->name; 191 dev->iobase + thisboard->out_offs); 192 outw(s->state, dev->iobase + thisboard->out_offs); 208 data[1] = inw(dev->iobase + thisboard->in_offs);
|
H A D | das08.c | 503 #define thisboard ((const struct das08_board_struct *)dev->board_ptr) macro 539 if (thisboard->ai_nbits == 16) 556 if (thisboard->ai_encoding == das08_encode12) { 558 } else if (thisboard->ai_encoding == das08_pcm_encode12) { 560 } else if (thisboard->ai_encoding == das08_encode16) { 839 if ((thisboard->bustype != pcmcia) && (thisboard->bustype != pci)) { 841 if (!request_region(iobase, thisboard->iosize, DRV_NAME)) { 848 dev->board_name = thisboard->name; 856 if (thisboard [all...] |
H A D | cb_pcimdas.c | 142 #define thisboard ((const struct cb_pcimdas_board *)dev->board_ptr) macro 263 switch (thisboard->device_id) { 300 dev->board_name = thisboard->name; 314 s->n_chan = thisboard->ai_se_chans; 315 s->maxdata = (1 << thisboard->ai_bits) - 1; 325 s->n_chan = thisboard->ao_nchan; 326 s->maxdata = 1 << thisboard->ao_bits; 333 if (thisboard->has_dio) 395 maxchans = thisboard->ai_diff_chans; 397 maxchans = thisboard [all...] |
H A D | adq12b.c | 146 #define thisboard ((const struct adq12b_board *)dev->board_ptr) macro 225 * Initialize dev->board_name. Note that we can use the "thisboard" 228 dev->board_name = thisboard->name; 258 s->n_chan = thisboard->ai_diff_chans; 261 s->n_chan = thisboard->ai_se_chans; 269 s->maxdata = (1 << thisboard->ai_bits) - 1; 279 s->n_chan = thisboard->di_chans; 288 s->n_chan = thisboard->do_chans;
|
H A D | amplc_pc263.c | 116 #define thisboard ((const struct pc263_board *)dev->board_ptr) macro 182 if (thisboard->model == anypci_model) { 199 if (pci_dev->device != thisboard->devid) 211 dev->minor, thisboard->name, bus, slot); 214 dev->minor, thisboard->name); 251 switch (thisboard->bustype) { 277 dev->board_name = thisboard->name; 327 if (thisboard->bustype == isa_bustype) {
|
H A D | das800.c | 234 #define thisboard ((const struct das800_board *)dev->board_ptr) macro 294 board = thisboard - das800_boards; 405 if (thisboard->resolution == 12) { 416 if (thisboard->resolution == 12) 428 if (thisboard->resolution == 12) { 510 dev->board_name = thisboard->name; 522 s->maxdata = (1 << thisboard->resolution) - 1; 523 s->range_table = thisboard->ai_range; 584 if (thisboard->resolution == 16) 661 if (cmd->convert_arg < thisboard [all...] |
H A D | cb_pcidda.c | 214 #define thisboard ((const struct cb_pcidda_board *)dev->board_ptr) macro 323 /* "thisboard" macro can be used from here. */ 324 printk("Found %s at requested position\n", thisboard->name); 329 if (comedi_pci_enable(pcidev, thisboard->name)) { 345 if (thisboard->status == 2) 354 dev->board_name = thisboard->name; 366 s->n_chan = thisboard->ao_chans; 367 s->maxdata = (1 << thisboard->ao_bits) - 1; 368 s->range_table = thisboard->ranges; 389 for (index = 0; index < thisboard [all...] |
H A D | ni_daq_dio24.c | 93 #define thisboard ((const struct dio24_board_struct *)dev->board_ptr) macro 126 switch (thisboard->bustype) { 142 thisboard->name, iobase); 163 dev->board_name = thisboard->name; 182 if (thisboard->bustype != pcmcia_bustype && dev->iobase)
|
H A D | pcmmio.c | 213 #define thisboard ((const struct pcmmio_board *)dev->board_ptr) macro 380 thisboard->total_iosize, 387 * Initialize dev->board_name. Note that we can use the "thisboard" 390 dev->board_name = thisboard->name; 413 chans_left = CHANS_PER_ASIC * thisboard->dio_num_asics; 438 s->maxdata = (1 << thisboard->ai_bits) - 1; 439 s->range_table = thisboard->ai_range_table; 442 s->n_chan = thisboard->n_ai_chans; 444 s->insn_read = thisboard->ai_rinsn; 454 s->maxdata = (1 << thisboard [all...] |
H A D | skel.c | 130 #define thisboard ((const struct skel_board *)dev->board_ptr) macro 225 * Initialize dev->board_name. Note that we can use the "thisboard" 228 dev->board_name = thisboard->name; 250 s->n_chan = thisboard->ai_chans; 251 s->maxdata = (1 << thisboard->ai_bits) - 1; 274 if (thisboard->have_dio) { 349 d ^= 1 << (thisboard->ai_bits - 1);
|
H A D | amplc_pc236.c | 149 #define thisboard ((const struct pc236_board *)dev->board_ptr) macro 280 if (thisboard->model == anypci_model) { 297 if (pci_dev->device != thisboard->devid) 309 dev->minor, thisboard->name, bus, slot); 312 dev->minor, thisboard->name); 349 switch (thisboard->bustype) { 378 dev->board_name = thisboard->name; 444 if (thisboard->bustype == isa_bustype) {
|
H A D | ni_labpc.c | 481 #define thisboard ((struct labpc_board_struct *)dev->board_ptr) macro 514 if (thisboard->memory_mapped_io) 530 thisboard->name, 543 if (thisboard->bustype == isa_bustype) { 553 if (thisboard->memory_mapped_io) { 565 if (thisboard->register_layout == labpc_1200_layout) { 575 if (thisboard->bustype == pci_bustype 576 || thisboard->bustype == pcmcia_bustype) 610 dev->board_name = thisboard->name; 624 s->range_table = thisboard [all...] |
H A D | das1800.c | 477 #define thisboard ((const struct das1800_board *)dev->board_ptr) macro 666 dev->board_name = thisboard->name; 669 if (thisboard->ao_ability == 2) { 738 if (thisboard->common) 740 s->n_chan = thisboard->qram_len; 741 s->len_chanlist = thisboard->qram_len; 742 s->maxdata = (1 << thisboard->resolution) - 1; 743 s->range_table = thisboard->range_ai; 752 if (thisboard->ao_ability == 1) { 755 s->n_chan = thisboard [all...] |
H A D | amplc_pci224.c | 399 #define thisboard ((struct pci224_board *)dev->board_ptr) macro 509 mangled = (unsigned short)data << (16 - thisboard->ao_bits); 1250 shift = 16 - thisboard->ao_bits; 1339 if (thisboard->model == any_model) { 1354 if (thisboard->devid != pci_dev->device) 1366 dev->minor, thisboard->name, bus, slot); 1369 dev->minor, thisboard->name); 1420 thisboard->ao_chans, GFP_KERNEL); 1427 thisboard->ao_chans, GFP_KERNEL); 1434 thisboard [all...] |
H A D | comedi_test.c | 79 #define thisboard ((const struct waveform_board *)dev->board_ptr) macro 228 dev->board_name = thisboard->name; 251 s->n_chan = thisboard->ai_chans; 252 s->maxdata = (1 << thisboard->ai_bits) - 1; 265 s->n_chan = thisboard->ai_chans; 266 s->maxdata = (1 << thisboard->ai_bits) - 1;
|
H A D | cb_pcidas.c | 397 #define thisboard ((const struct cb_pcidas_board *)dev->board_ptr) macro 603 if (thisboard->ao_nchan) { 620 dev->board_name = thisboard->name; 634 s->n_chan = thisboard->ai_se_chans; 635 s->len_chanlist = thisboard->ai_se_chans; 636 s->maxdata = (1 << thisboard->ai_bits) - 1; 637 s->range_table = thisboard->ranges; 646 if (thisboard->ao_nchan) { 649 s->n_chan = thisboard->ao_nchan; 651 s->maxdata = (1 << thisboard [all...] |
H A D | aio_aio12_8.c | 83 #define thisboard ((const struct aio12_8_boardtype *) dev->board_ptr) macro 179 dev->board_name = thisboard->name;
|
H A D | aio_iiro_16.c | 60 #define thisboard ((const struct aio_iiro_16_board *) dev->board_ptr) macro 103 dev->board_name = thisboard->name;
|
H A D | pcmda12.c | 92 #define thisboard ((const struct pcmda12_board *)dev->board_ptr) macro 171 * Initialize dev->board_name. Note that we can use the "thisboard" 174 dev->board_name = thisboard->name;
|
H A D | ssv_dnp.c | 73 #define thisboard ((const struct dnp_board *)dev->board_ptr) macro 145 /* We can use the "thisboard" macro now. */ 146 dev->board_name = thisboard->name;
|
H A D | adl_pci6208.c | 101 #define thisboard ((const struct pci6208_board *)dev->board_ptr) macro 207 dev->board_name = thisboard->name; 220 s->n_chan = thisboard->ao_chans;
|
H A D | dmm32at.c | 195 #define thisboard ((const struct dmm32at_board *)dev->board_ptr) macro 307 if (!request_region(iobase, DMM32AT_MEMSIZE, thisboard->name)) { 361 ret = request_irq(irq, dmm32at_isr, 0, thisboard->name, dev); 377 * Initialize dev->board_name. Note that we can use the "thisboard" 380 dev->board_name = thisboard->name; 402 s->n_chan = thisboard->ai_chans; 403 s->maxdata = (1 << thisboard->ai_bits) - 1; 404 s->range_table = thisboard->ai_ranges; 416 s->n_chan = thisboard->ao_chans; 417 s->maxdata = (1 << thisboard [all...] |