Lines Matching defs:bs
82 #define bs_parent_space(bs) ((bs)->bs_parent)
85 #define bs_parent_space(bs) (bs)
127 struct bus_space bs;
248 const struct bus_space *bs = t;
255 return (bus_space_read_1(bs_parent_space(bs), h, awusbdrd_reg(o)));
276 const struct bus_space *bs = t;
280 return bus_space_read_2(bs_parent_space(bs), h, awusbdrd_reg(o));
287 const struct bus_space *bs = t;
292 bus_space_write_1(bs_parent_space(bs), h, awusbdrd_reg(o), v);
299 const struct bus_space *bs = t;
304 bus_space_write_2(bs_parent_space(bs), h, awusbdrd_reg(o), v);
311 const struct bus_space *bs = t;
313 bus_space_read_multi_1(bs_parent_space(bs), h, awusbdrd_reg(o), d, c);
320 const struct bus_space *bs = t;
322 bus_space_read_multi_4(bs_parent_space(bs), h, awusbdrd_reg(o), d, c);
329 const struct bus_space *bs = t;
334 bus_space_write_multi_1(bs_parent_space(bs), h, awusbdrd_reg(o), d, c);
341 const struct bus_space *bs = t;
346 bus_space_write_multi_4(bs_parent_space(bs), h, awusbdrd_reg(o), d, c);
480 sc->bs.bs_parent = rman_get_bustag(sc->res[0]);
482 sc->bs.bs_cookie = rman_get_bustag(sc->res[0]);
486 sc->bs.bs_r_1 = awusbdrd_bs_r_1_noconf;
488 sc->bs.bs_r_1 = awusbdrd_bs_r_1;
489 sc->bs.bs_r_2 = awusbdrd_bs_r_2;
490 sc->bs.bs_w_1 = awusbdrd_bs_w_1;
491 sc->bs.bs_w_2 = awusbdrd_bs_w_2;
492 sc->bs.bs_rm_1 = awusbdrd_bs_rm_1;
493 sc->bs.bs_rm_4 = awusbdrd_bs_rm_4;
494 sc->bs.bs_wm_1 = awusbdrd_bs_wm_1;
495 sc->bs.bs_wm_4 = awusbdrd_bs_wm_4;
497 sc->sc.sc_io_tag = &sc->bs;