Lines Matching refs:flags0
129 unsigned char flags0; /* cardman IO-flags 0 */
698 dev->flags0 = xinb(REG_FLAGS0(iobase));
699 DEBUGP(7, dev, "dev->flags0 = 0x%2x\n", dev->flags0);
701 dev->flags0 & 1 ? "yes" : "no");
703 dev->flags0 == 0xff ? "no" : "yes");
705 if ((dev->flags0 & 1) == 0 /* no smartcard inserted */
706 || dev->flags0 == 0xff) { /* no cardman inserted */
715 if (dev->flags0 == 0xff) {
725 } else if ((dev->flags0 & 1) && test_bit(IS_CMM_ABSENT, &dev->flags)) {
739 unsigned char flags0;
742 flags0 = inb(REG_FLAGS0(iobase));
743 if (flags0 & 0x02) {
774 xoutb(dev->flags0 & 2 ? 0x46 : 0x44, REG_FLAGS0(iobase));
980 dev->flags0 = inb(REG_FLAGS0(iobase));
981 if ((dev->flags0 & 1) == 0 /* no smartcard inserted */
982 || dev->flags0 == 0xff) { /* no cardman inserted */
984 if (dev->flags0 & 1) {
1128 dev->flags0 = inb(REG_FLAGS0(iobase));
1129 if ((dev->flags0 & 1) == 0 /* no smartcard inserted */
1130 || dev->flags0 == 0xff) { /* no cardman inserted */
1132 if (dev->flags0 & 1) {
1234 | (dev->flags0 & 2 ? 0 : 4) /* power on if needed */
1238 | (dev->flags0 & 2 ? 0 : 4) /* power on if needed */
1457 status = dev->flags0 & 3;
1510 if (dev->flags0 & 0x01) {
1515 if (dev->flags0 & 0x02) {
1523 if ((dev->flags0 & 0x01) && (dev->flags0 & 0x02)) {