Searched refs:PPCSTRUCT (Results 1 – 1 of 1) sorted by relevance
/drivers/block/paride/ |
D | bpck6.c | 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() [all …]
|