Lines Matching refs:thisboard
754 #define thisboard ((struct das16_board *)(dev->board_ptr))
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->ai_pg])[range],
968 if (thisboard->size > 0x400) {
1015 if (thisboard->size > 0x400)
1040 if (thisboard->size > 0x400)
1075 if (thisboard->ai_pg != das16_pg_none) {
1077 outb((das16_gainlists[thisboard->ai_pg])[range],
1095 if (thisboard->ai_nbits == 12)
1147 if (thisboard->ao_nbits == 12) {
1286 if (thisboard->size > 0x400 && devpriv->timer_mode == 0)
1358 if (thisboard->id != diobits) {
1360 thisboard->id);
1430 if (thisboard->size < 0x400) {
1431 printk(" 0x%04lx-0x%04lx\n", iobase, iobase + thisboard->size);
1432 if (!request_region(iobase, thisboard->size, "das16")) {
1440 iobase + 0x400 + (thisboard->size & 0x3ff));
1446 if (!request_region(iobase + 0x400, thisboard->size & 0x3ff,
1451 iobase + 0x400 + (thisboard->size & 0x3ff));
1463 dev->board_name = thisboard->name;
1466 if (thisboard->size < 0x400) {
1522 if (thisboard->ai_pg == das16_pg_none &&
1563 if (thisboard->ai) {
1575 s->maxdata = (1 << thisboard->ai_nbits) - 1;
1579 s->range_table = das16_ai_uni_lranges[thisboard->ai_pg];
1581 s->range_table = das16_ai_bip_lranges[thisboard->ai_pg];
1583 s->insn_read = thisboard->ai;
1594 if (thisboard->ao) {
1598 s->maxdata = (1 << thisboard->ao_nbits) - 1;
1605 s->insn_write = thisboard->ao;
1612 if (thisboard->di) {
1618 s->insn_bits = thisboard->di;
1625 if (thisboard->do_) {
1631 s->insn_bits = thisboard->do_;
1640 if (thisboard->i8255_offset != 0) {
1642 thisboard->i8255_offset));
1653 if (thisboard->size > 0x400) {
1692 if (thisboard->size < 0x400) {
1693 release_region(dev->iobase, thisboard->size);
1697 thisboard->size & 0x3ff);
1769 if (thisboard->ai_nbits == 12)