Lines Matching refs:pts
140 unsigned char pts[4];
467 dev->pts[0] = 0xff; in set_protocol()
468 dev->pts[1] = 0x00; in set_protocol()
471 dev->pts[1]++; in set_protocol()
472 dev->proto = dev->pts[1]; /* Set new protocol */ in set_protocol()
473 dev->pts[1] = (0x01 << 4) | (dev->pts[1]); in set_protocol()
478 dev->pts[2] = fi_di_table[dev->ta1 & 0x0F][(dev->ta1 >> 4) & 0x0F]; in set_protocol()
481 dev->pts[3] = dev->pts[0] ^ dev->pts[1] ^ dev->pts[2]; in set_protocol()
484 dev->pts[0], dev->pts[1], dev->pts[2], dev->pts[3]); in set_protocol()
488 str_invert_revert(dev->pts, 4); in set_protocol()
507 xoutb(dev->pts[i], REG_BUF_DATA(iobase)); /* buf data */ in set_protocol()
509 pr_debug("0x%.2x ", dev->pts[i]); in set_protocol()
587 if ((dev->pts[0] == pts_reply[0]) &&
588 (dev->pts[1] == pts_reply[1]) &&
589 (dev->pts[2] == pts_reply[2]) && (dev->pts[3] == pts_reply[3])) {
591 dev->baudv = calc_baudv(dev->pts[2]);
593 } else if ((dev->pts[0] == pts_reply[0]) &&
594 ((dev->pts[1] & 0xef) == pts_reply[1]) &&