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