Lines Matching defs:flags0
130 unsigned char flags0; /* cardman IO-flags 0 */
695 dev->flags0 = xinb(REG_FLAGS0(iobase));
696 DEBUGP(7, dev, "dev->flags0 = 0x%2x\n", dev->flags0);
698 dev->flags0 & 1 ? "yes" : "no");
700 dev->flags0 == 0xff ? "no" : "yes");
702 if ((dev->flags0 & 1) == 0 /* no smartcard inserted */
703 || dev->flags0 == 0xff) { /* no cardman inserted */
712 if (dev->flags0 == 0xff) {
722 } else if ((dev->flags0 & 1) && test_bit(IS_CMM_ABSENT, &dev->flags)) {
735 unsigned char flags0;
738 flags0 = inb(REG_FLAGS0(iobase));
739 if (flags0 & 0x02) {
769 xoutb(dev->flags0 & 2 ? 0x46 : 0x44, REG_FLAGS0(iobase));
976 dev->flags0 = inb(REG_FLAGS0(iobase));
977 if ((dev->flags0 & 1) == 0 /* no smartcard inserted */
978 || dev->flags0 == 0xff) { /* no cardman inserted */
980 if (dev->flags0 & 1) {
1123 dev->flags0 = inb(REG_FLAGS0(iobase));
1124 if ((dev->flags0 & 1) == 0 /* no smartcard inserted */
1125 || dev->flags0 == 0xff) { /* no cardman inserted */
1127 if (dev->flags0 & 1) {
1229 | (dev->flags0 & 2 ? 0 : 4) /* power on if needed */
1233 | (dev->flags0 & 2 ? 0 : 4) /* power on if needed */
1466 status = dev->flags0 & 3;
1519 if (dev->flags0 & 0x01) {
1524 if (dev->flags0 & 0x02) {
1532 if ((dev->flags0 & 0x01) && (dev->flags0 & 0x02)) {