Lines Matching defs:regno
132 nm_rd(struct sc_info *sc, int regno, int size)
139 return bus_space_read_1(st, sh, regno);
141 return bus_space_read_2(st, sh, regno);
143 return bus_space_read_4(st, sh, regno);
150 nm_wr(struct sc_info *sc, int regno, u_int32_t data, int size)
157 bus_space_write_1(st, sh, regno, data);
160 bus_space_write_2(st, sh, regno, data);
163 bus_space_write_4(st, sh, regno, data);
169 nm_rdbuf(struct sc_info *sc, int regno, int size)
176 return bus_space_read_1(st, sh, regno);
178 return bus_space_read_2(st, sh, regno);
180 return bus_space_read_4(st, sh, regno);
187 nm_wrbuf(struct sc_info *sc, int regno, u_int32_t data, int size)
194 bus_space_write_1(st, sh, regno, data);
197 bus_space_write_2(st, sh, regno, data);
200 bus_space_write_4(st, sh, regno, data);
246 nm_rdcd(kobj_t obj, void *devinfo, int regno)
252 x = nm_rd(sc, sc->ac97_base + regno, 2);
262 nm_wrcd(kobj_t obj, void *devinfo, int regno, u_int32_t data)
269 nm_wr(sc, sc->ac97_base + regno, data, 2);