Lines Matching refs:port
158 #define ahd_inb(ahd, port) \ argument
159 bus_space_read_1((ahd)->tags[(port) >> 8], \
160 (ahd)->bshs[(port) >> 8], (port) & 0xFF)
162 #define ahd_outb(ahd, port, value) \ argument
163 bus_space_write_1((ahd)->tags[(port) >> 8], \
164 (ahd)->bshs[(port) >> 8], (port) & 0xFF, value)
166 #define ahd_inw_atomic(ahd, port) \ argument
167 aic_le16toh(bus_space_read_2((ahd)->tags[(port) >> 8], \
168 (ahd)->bshs[(port) >> 8], (port) & 0xFF))
170 #define ahd_outw_atomic(ahd, port, value) \ argument
171 bus_space_write_2((ahd)->tags[(port) >> 8], \
172 (ahd)->bshs[(port) >> 8], \
173 (port & 0xFF), aic_htole16(value))
175 #define ahd_outsb(ahd, port, valp, count) \ argument
176 bus_space_write_multi_1((ahd)->tags[(port) >> 8], \
177 (ahd)->bshs[(port) >> 8], \
178 (port & 0xFF), valp, count)
180 #define ahd_insb(ahd, port, valp, count) \ argument
181 bus_space_read_multi_1((ahd)->tags[(port) >> 8], \
182 (ahd)->bshs[(port) >> 8], \
183 (port & 0xFF), valp, count)