Lines Matching refs:rw
821 const struct bhndb_regwin *rw;
825 rw = dwa->win;
831 offset = addr % rw->win_size;
835 if (rw->win_size - offset < size)
859 const struct bhndb_regwin *rw;
863 for (rw = table; rw->win_type != BHNDB_REGWIN_T_INVALID; rw++) {
864 if (type == BHNDB_REGWIN_T_INVALID || rw->win_type == type)
885 const struct bhndb_regwin *rw;
887 for (rw = table; rw->win_type != BHNDB_REGWIN_T_INVALID; rw++)
889 if (rw->win_type == type && rw->win_size >= min_size)
890 return (rw);
913 const struct bhndb_regwin *rw;
915 for (rw = table; rw->win_type != BHNDB_REGWIN_T_INVALID; rw++)
917 if (rw->win_type != BHNDB_REGWIN_T_CORE)
920 if (rw->d.core.class != class)
923 if (unit != -1 && rw->d.core.unit != unit)
926 if (rw->d.core.port_type != port_type)
929 if (rw->d.core.port != port)
932 if (rw->d.core.region != region)
935 return (rw);
964 const struct bhndb_regwin *rw;
967 rw = bhndb_regwin_find_core(table, class, unit, port_type,
969 if (rw != NULL)
970 return (rw);