Lines Matching defs:PPCSTRUCT
40 #define PPCSTRUCT(pi) ((Interface *)(pi->private))
68 out=ppc6_rd_port(PPCSTRUCT(pi),cont?reg|8:reg);
77 ppc6_wr_port(PPCSTRUCT(pi),cont?reg|8:reg,(u8)val);
83 ppc6_wr_port16_blk(PPCSTRUCT(pi),ATAPI_DATA,buf,(u32)len>>1);
88 ppc6_rd_port16_blk(PPCSTRUCT(pi),ATAPI_DATA,buf,(u32)len>>1);
100 PPCSTRUCT(pi)->mode=4+pi->mode-2;
104 PPCSTRUCT(pi)->mode=3;
108 PPCSTRUCT(pi)->mode=1;
111 ppc6_open(PPCSTRUCT(pi));
112 ppc6_wr_extout(PPCSTRUCT(pi),0x3);
121 ppc6_wr_extout(PPCSTRUCT(pi),0x0);
122 ppc6_close(PPCSTRUCT(pi));
135 PPCSTRUCT(pi)->ppc_id=pi->unit;
136 PPCSTRUCT(pi)->lpt_addr=pi->port;
167 PPCSTRUCT(pi)->ppc_id=pi->unit;
170 PPCSTRUCT(pi)->mode=1;
172 out=ppc6_open(PPCSTRUCT(pi));
181 ppc6_close(PPCSTRUCT(pi));