Lines Matching refs:atppc
134 #define atppc_r_dtr(atppc) bus_space_read_1((atppc)->sc_iot, (atppc)->sc_ioh, \
136 #define atppc_r_str(atppc) bus_space_read_1((atppc)->sc_iot, (atppc)->sc_ioh, \
138 #define atppc_r_ctr(atppc) bus_space_read_1((atppc)->sc_iot, (atppc)->sc_ioh, \
140 #define atppc_r_eppA(atppc) bus_space_read_1((atppc)->sc_iot, (atppc)->sc_ioh,\
142 #define atppc_r_eppD(atppc) bus_space_read_1((atppc)->sc_iot, (atppc)->sc_ioh,\
144 #define atppc_r_eppD_multi(atppc, buf, count) bus_space_read_multi_1( \
145 (atppc)->sc_iot, (atppc)->sc_ioh, ATPPC_EPP_DATA, (buf), (count))
146 #define atppc_r_cnfgA(atppc) bus_space_read_1((atppc)->sc_iot, (atppc)->sc_ioh,\
148 #define atppc_r_cnfgB(atppc) bus_space_read_1((atppc)->sc_iot, (atppc)->sc_ioh,\
150 #define atppc_r_ecr(atppc) bus_space_read_1((atppc)->sc_iot, (atppc)->sc_ioh, \
152 #define atppc_r_fifo(atppc) bus_space_read_1((atppc)->sc_iot, (atppc)->sc_ioh, \
154 #define atppc_r_fifo_multi(atppc, buf, count) bus_space_read_multi_1( \
155 (atppc)->sc_iot, (atppc)->sc_ioh, ATPPC_ECP_D_FIFO, (buf), (count))
158 #define atppc_w_dtr(atppc, byte) bus_space_write_1((atppc)->sc_iot, \
159 (atppc)->sc_ioh, ATPPC_SPP_DTR, (byte))
160 #define atppc_w_str(atppc, byte) bus_space_write_1((atppc)->sc_iot, \
161 (atppc)->sc_ioh, ATPPC_SPP_STR, (byte))
162 #define atppc_w_ctr(atppc, byte) bus_space_write_1((atppc)->sc_iot, \
163 (atppc)->sc_ioh, ATPPC_SPP_CTR, (byte))
164 #define atppc_w_eppA(atppc, byte) bus_space_write_1((atppc)->sc_iot, \
165 (atppc)->sc_ioh, ATPPC_EPP_ADDR, (byte))
166 #define atppc_w_eppD(atppc, byte) bus_space_write_1((atppc)->sc_iot, \
167 (atppc)->sc_ioh, ATPPC_EPP_DATA, (byte))
168 #define atppc_w_eppD_multi(atppc, buf, count) bus_space_write_multi_1( \
169 (atppc)->sc_iot, (atppc)->sc_ioh, ATPPC_EPP_DATA, (buf), (count))
170 #define atppc_w_cnfgA(atppc, byte) bus_space_write_1((atppc)->sc_iot, \
171 (atppc)->sc_ioh, ATPPC_ECP_CNFGA, (byte))
172 #define atppc_w_cnfgB(atppc, byte) bus_space_read_1((atppc)->sc_iot, \
173 (atppc)->sc_ioh, ATPPC_ECP_CNFGB, (byte))
174 #define atppc_w_ecr(atppc, byte) bus_space_write_1((atppc)->sc_iot, \
175 (atppc)->sc_ioh, ATPPC_ECP_ECR, (byte))
176 #define atppc_w_fifo(atppc, byte) bus_space_write_1((atppc)->sc_iot, \
177 (atppc)->sc_ioh, ATPPC_ECP_D_FIFO, (byte))
178 #define atppc_w_fifo_multi(atppc, buf, count) bus_space_write_multi_1( \
179 (atppc)->sc_iot, (atppc)->sc_ioh, ATPPC_ECP_D_FIFO, (buf), (count))
182 #define atppc_barrier_r(atppc) bus_space_barrier((atppc)->sc_iot, \
183 (atppc)->sc_ioh, 0, IO_LPTSIZE, BUS_SPACE_BARRIER_READ)
184 #define atppc_barrier_w(atppc) bus_space_barrier((atppc)->sc_iot, \
185 (atppc)->sc_ioh, 0, IO_LPTSIZE, BUS_SPACE_BARRIER_WRITE)
186 #define atppc_barrier(atppc) bus_space_barrier((atppc)->sc_iot, \
187 (atppc)->sc_ioh, 0, IO_LPTSIZE, BUS_SPACE_BARRIER_WRITE | \