Home | History | Annotate | Download | only in ic

Lines Matching refs:ioh

84 #define tav_read_byte(ioh, iot, off) bus_space_read_1(ioh, iot, off)
86 #define tav_read_short(ioh, iot, off) ( \
87 bus_space_read_1((ioh), (iot), (off)) | \
88 bus_space_read_1((ioh), (iot), (off)+1) << 8)
90 #define tav_read_long(ioh, iot, off) ( \
91 bus_space_read_1((ioh), (iot), (off)) | \
92 bus_space_read_1((ioh), (iot), (off)+1) << 8 | \
93 bus_space_read_1((ioh), (iot), (off)+2) << 16 | \
94 bus_space_read_1((ioh), (iot), (off)+3))
96 #define tav_read_time(ioh, iot, off) ( \
97 bus_space_read_1((ioh), (iot), (off)) | \
98 bus_space_read_1((ioh), (iot), (off)+1) << 8 | \
99 bus_space_read_1((ioh), (iot), (off)+2) << 16 | \
100 bus_space_read_1((ioh), (iot), (off)+3) << 24 | \
101 bus_space_read_1((ioh), (iot), (off)+4) << 32)
103 #define tav_write_byte(ioh, iot, off, v) bus_space_write_1(ioh, iot, off, v)
106 tav_write_short(bus_space_tag_t iot, bus_space_handle_t ioh,
110 bus_space_write_1(iot, ioh, off+1, (val)>>8);
111 bus_space_write_1(iot, ioh, off, (uint8_t)val);