Lines Matching refs:RVi
48 #define RVi(table, src, dest) ((table)[(dest) * NI_NUM_NAMES + (src)]) macro
163 if (RVi(rv, B(src), B(dest))) in ni_count_valid_routes()
167 (RVi(rv, B(src), B(NI_RGOUT0)) || in ni_count_valid_routes()
168 RVi(rv, B(src), B(NI_RTSI_BRD(0))) || in ni_count_valid_routes()
169 RVi(rv, B(src), B(NI_RTSI_BRD(1))) || in ni_count_valid_routes()
170 RVi(rv, B(src), B(NI_RTSI_BRD(2))) || in ni_count_valid_routes()
171 RVi(rv, B(src), B(NI_RTSI_BRD(3))))) { in ni_count_valid_routes()
218 if (RVi(rv, B(src), B(dest))) in ni_get_valid_routes()
222 (RVi(rv, B(src), B(NI_RGOUT0)) || in ni_get_valid_routes()
223 RVi(rv, B(src), B(NI_RTSI_BRD(0))) || in ni_get_valid_routes()
224 RVi(rv, B(src), B(NI_RTSI_BRD(1))) || in ni_get_valid_routes()
225 RVi(rv, B(src), B(NI_RTSI_BRD(2))) || in ni_get_valid_routes()
226 RVi(rv, B(src), B(NI_RTSI_BRD(3))))) { in ni_get_valid_routes()
426 regval = RVi(tables->route_values, src, dest); in ni_lookup_route_register()
484 regval = RVi(rv, B(src), B(dest)); in ni_route_to_register()
491 regval = RVi(rv, B(src), B(NI_RGOUT0)); in ni_route_to_register()
492 if (!regval && (RVi(rv, B(src), B(NI_RTSI_BRD(0))) || in ni_route_to_register()
493 RVi(rv, B(src), B(NI_RTSI_BRD(1))) || in ni_route_to_register()
494 RVi(rv, B(src), B(NI_RTSI_BRD(2))) || in ni_route_to_register()
495 RVi(rv, B(src), B(NI_RTSI_BRD(3))))) in ni_route_to_register()
532 if (RVi(tables->route_values, src, dest) == in ni_find_route_source()