Lines Matching defs:pi
36 static int on20_read_regr( PIA *pi, int cont, int regr )
44 switch (pi->mode) {
59 static void on20_write_regr( PIA *pi, int cont, int regr, int val )
70 static void on20_connect ( PIA *pi)
72 { pi->saved_r0 = r0();
73 pi->saved_r2 = r2();
76 if (pi->mode) { op(2); vl(8); op(2); vl(9); }
80 static void on20_disconnect ( PIA *pi )
83 w0(pi->saved_r0);
84 w2(pi->saved_r2);
87 static void on20_read_block( PIA *pi, char * buf, int count )
94 if (pi->mode) {
104 static void on20_write_block( PIA *pi, char * buf, int count )
114 static void on20_log_adapter( PIA *pi, char * scratch, int verbose )
119 pi->device,ON20_VERSION,pi->port);
120 printk("mode %d (%s), delay %d\n",pi->mode,
121 mode_string[pi->mode],pi->delay);