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