Lines Matching refs:pi
33 #define delay_p (pi->delay ? udelay(pi->delay) : (void)0)
34 #define out_p(offs, byte) do { outb(byte, pi->port + offs); delay_p; } while (0)
35 #define in_p(offs) (delay_p, inb(pi->port + offs))
46 #define w4w(data) do { outw(data, pi->port + 4); delay_p; } while (0)
47 #define w4l(data) do { outl(data, pi->port + 4); delay_p; } while (0)
48 #define r4w() (delay_p, inw(pi->port + 4))
49 #define r4l() (delay_p, inl(pi->port + 4))
60 void (*write_regr)(struct pi_adapter *pi, int cont, int regr, int val);
61 int (*read_regr)(struct pi_adapter *pi, int cont, int regr);
62 void (*write_block)(struct pi_adapter *pi, char *buf, int count);
63 void (*read_block)(struct pi_adapter *pi, char *buf, int count);
65 void (*connect)(struct pi_adapter *pi);
66 void (*disconnect)(struct pi_adapter *pi);
68 int (*test_port)(struct pi_adapter *pi);
69 int (*probe_unit)(struct pi_adapter *pi);
70 int (*test_proto)(struct pi_adapter *pi);
71 void (*log_adapter)(struct pi_adapter *pi);
73 int (*init_proto)(struct pi_adapter *pi);
74 void (*release_proto)(struct pi_adapter *pi);