H A D | t4dwave.c | 145 tr_rd(struct tr_info *tr, int regno, int size) in tr_rd() argument 149 return bus_space_read_1(tr->st, tr->sh, regno); in tr_rd() 151 return bus_space_read_2(tr->st, tr->sh, regno); in tr_rd() 153 return bus_space_read_4(tr->st, tr->sh, regno); in tr_rd() 160 tr_wr(struct tr_info *tr, int regno, u_int32_t data, int size) in tr_wr() argument 164 bus_space_write_1(tr->st, tr->sh, regno, data); in tr_wr() 167 bus_space_write_2(tr->st, tr->sh, regno, data); in tr_wr() 170 bus_space_write_4(tr->st, tr->sh, regno, data); in tr_wr() 181 struct tr_info *tr = (struct tr_info *)devinfo; in tr_rdcd() local 184 switch (tr->type) { in tr_rdcd() [all …]
|