Lines Matching defs:bs
78 #define bs_parent_space(bs) ((bs)->bs_parent)
81 #define bs_parent_space(bs) (bs)
123 struct bus_space bs;
244 struct bus_space *bs = t;
251 return (bus_space_read_1(bs_parent_space(bs), h, awusbdrd_reg(o)));
272 struct bus_space *bs = t;
276 return bus_space_read_2(bs_parent_space(bs), h, awusbdrd_reg(o));
283 struct bus_space *bs = t;
288 bus_space_write_1(bs_parent_space(bs), h, awusbdrd_reg(o), v);
295 struct bus_space *bs = t;
300 bus_space_write_2(bs_parent_space(bs), h, awusbdrd_reg(o), v);
307 struct bus_space *bs = t;
309 bus_space_read_multi_1(bs_parent_space(bs), h, awusbdrd_reg(o), d, c);
316 struct bus_space *bs = t;
318 bus_space_read_multi_4(bs_parent_space(bs), h, awusbdrd_reg(o), d, c);
325 struct bus_space *bs = t;
330 bus_space_write_multi_1(bs_parent_space(bs), h, awusbdrd_reg(o), d, c);
337 struct bus_space *bs = t;
342 bus_space_write_multi_4(bs_parent_space(bs), h, awusbdrd_reg(o), d, c);
476 sc->bs.bs_parent = rman_get_bustag(sc->res[0]);
478 sc->bs.bs_cookie = rman_get_bustag(sc->res[0]);
482 sc->bs.bs_r_1 = awusbdrd_bs_r_1_noconf;
484 sc->bs.bs_r_1 = awusbdrd_bs_r_1;
485 sc->bs.bs_r_2 = awusbdrd_bs_r_2;
486 sc->bs.bs_w_1 = awusbdrd_bs_w_1;
487 sc->bs.bs_w_2 = awusbdrd_bs_w_2;
488 sc->bs.bs_rm_1 = awusbdrd_bs_rm_1;
489 sc->bs.bs_rm_4 = awusbdrd_bs_rm_4;
490 sc->bs.bs_wm_1 = awusbdrd_bs_wm_1;
491 sc->bs.bs_wm_4 = awusbdrd_bs_wm_4;
493 sc->sc.sc_io_tag = &sc->bs;