Lines Matching defs:r_reg
77 static uint8_t r_reg(int reg, struct pi1ppc_softc *pi1ppc);
84 #define pi1ppc_r_str(_x) r_reg(AT_STAT_REG,_x)
85 #define pi1ppc_r_ctr(_x) r_reg(AT_CTL_REG,_x)
86 #define pi1ppc_r_dtr(_x) r_reg(AT_DATA_REG,_x)
682 r_reg(int reg, struct pi1ppc_softc *pi1ppc)
776 cc = r_reg(mi->arg[0].i, pi1ppc);
815 *ptr++ = r_reg(reg, pi1ppc) & mask;
821 *ptr++ = r_reg(reg, pi1ppc) & mask;
831 *((char *)mi->arg[2].p) = r_reg(mi->arg[0].i, pi1ppc) &
1004 val = r_reg(AT_DATA_REG, pi1ppc);
1007 val = r_reg(AT_STAT_REG, pi1ppc);
1010 val = r_reg(AT_CTL_REG, pi1ppc);
1156 /* note: BUSY is inverted in the PC world, but not on Indy, but the r_reg()
1176 --> emulate PC behavior in r_reg/w_reg