Home
last modified time | relevance | path

Searched refs:routes (Results 1 – 25 of 117) sorted by relevance

12345

/Linux-v5.10/net/netrom/
Dnr_route.c83 if (nr_node->routes[y].quality > nr_node->routes[x].quality) { in re_sort_routes()
89 swap(nr_node->routes[x], nr_node->routes[y]); in re_sort_routes()
128 if (nr_nodet->routes[i].neighbour == nr_neigh) in nr_add_node()
199 nr_node->routes[0].quality = quality; in nr_add_node()
200 nr_node->routes[0].obs_count = obs_count; in nr_add_node()
201 nr_node->routes[0].neighbour = nr_neigh; in nr_add_node()
220 if (nr_node->routes[i].neighbour == nr_neigh) { in nr_add_node()
221 nr_node->routes[i].quality = quality; in nr_add_node()
222 nr_node->routes[i].obs_count = obs_count; in nr_add_node()
231 nr_node->routes[2] = nr_node->routes[1]; in nr_add_node()
[all …]
/Linux-v5.10/net/phonet/
Dpn_dev.c31 struct phonet_routes routes; member
261 mutex_lock(&pnn->routes.lock); in phonet_route_autodel()
263 if (rcu_access_pointer(pnn->routes.table[i]) == dev) { in phonet_route_autodel()
264 RCU_INIT_POINTER(pnn->routes.table[i], NULL); in phonet_route_autodel()
267 mutex_unlock(&pnn->routes.lock); in phonet_route_autodel()
314 mutex_init(&pnn->routes.lock); in phonet_init_net()
360 struct phonet_routes *routes = &pnn->routes; in phonet_route_add() local
364 mutex_lock(&routes->lock); in phonet_route_add()
365 if (routes->table[daddr] == NULL) { in phonet_route_add()
366 rcu_assign_pointer(routes->table[daddr], dev); in phonet_route_add()
[all …]
/Linux-v5.10/drivers/gpu/drm/rcar-du/
Drcar_du_drv.c42 .routes = {
64 .routes = {
85 .routes = {
112 .routes = {
141 .routes = {
168 .routes = {
196 .routes = {
223 .routes = {
246 .routes = {
275 .routes = {
[all …]
Drcar_du_kms.c547 if (rcdu->info->routes[i].possible_crtcs && in rcar_du_encoders_init()
548 rcdu->info->routes[i].port == ep.port) { in rcar_du_encoders_init()
881 &rcdu->info->routes[renc->output]; in rcar_du_modeset_init()
906 dpad0_sources = rcdu->info->routes[RCAR_DU_OUTPUT_DPAD0].possible_crtcs; in rcar_du_modeset_init()
/Linux-v5.10/drivers/staging/comedi/drivers/ni_routing/tools/
Dconvert_c_to_py.c109 while (dR->routes[i].dest != 0) { in device_write()
110 if (!is_valid_ni_sig(dR->routes[i].dest)) { in device_write()
113 dR->routes[i].dest, dR->device, i); in device_write()
117 fprintf(fp, " %u : [", dR->routes[i].dest); in device_write()
121 while (dR->routes[i].src[j] != 0) { in device_write()
122 if (!is_valid_ni_sig(dR->routes[i].src[j])) { in device_write()
125 dR->routes[i].src[j], dR->device, i, j); in device_write()
129 fprintf(fp, "%u,", dR->routes[i].src[j]); in device_write()
/Linux-v5.10/drivers/staging/comedi/drivers/
Dni_routes.c159 const struct ni_route_set *R = &tables->valid_routes->routes[i]; in ni_count_valid_routes()
213 const struct ni_route_set *R = &tables->valid_routes->routes[i]; in ni_get_valid_routes()
315 while (valid_routes->routes[valid_routes->n_route_sets].dest != 0) in ni_sort_device_routes()
319 sort(valid_routes->routes, valid_routes->n_route_sets, in ni_sort_device_routes()
324 struct ni_route_set *rs = &valid_routes->routes[n]; in ni_sort_device_routes()
332 sort(valid_routes->routes[n].src, valid_routes->routes[n].n_src, in ni_sort_device_routes()
385 return bsearch(&destination, valid_routes->routes, in ni_find_route_set()
397 bool ni_route_set_has_source(const struct ni_route_set *routes, in ni_route_set_has_source() argument
400 if (!bsearch(&source, routes->src, routes->n_src, sizeof(int), in ni_route_set_has_source()
471 const struct ni_route_set *routes = in ni_route_to_register() local
[all …]
Dni_routes.h54 struct ni_route_set *routes; member
101 bool ni_route_set_has_source(const struct ni_route_set *routes, const int src);
/Linux-v5.10/drivers/staging/comedi/drivers/tests/
Dni_routes_test.c87 .routes = (struct ni_route_set[]){
189 if (last >= devroutes->routes[i].dest) in route_set_dests_in_order()
191 last = devroutes->routes[i].dest; in route_set_dests_in_order()
205 for (j = 0; j < devroutes->routes[i].n_src; ++j) { in route_set_sources_in_order()
206 if (last >= devroutes->routes[i].src[j]) in route_set_sources_in_order()
208 last = devroutes->routes[i].src[j]; in route_set_sources_in_order()
228 unittest(devroutes->routes->dest == NI_PFI(0), in test_ni_assign_device_routes()
230 unittest(devroutes->routes->n_src == 1, in test_ni_assign_device_routes()
232 unittest(devroutes->routes->src[0] == NI_AI_StartTrigger, in test_ni_assign_device_routes()
234 unittest(devroutes->routes[10].dest == TRIGGER_LINE(0), in test_ni_assign_device_routes()
[all …]
/Linux-v5.10/sound/soc/rockchip/
Drk3399_gru_sound.c397 const struct snd_soc_dapm_route *routes; member
403 .routes = rockchip_sound_cdndp_routes,
407 .routes = rockchip_sound_da7219_routes,
411 .routes = rockchip_sound_dmic_routes,
415 .routes = rockchip_sound_max98357a_routes,
419 .routes = rockchip_sound_rt5514_routes,
482 struct snd_soc_dapm_route *routes; in rockchip_sound_of_parse_dais() local
494 routes = devm_kcalloc(dev, num_routes, sizeof(*routes), in rockchip_sound_of_parse_dais()
496 if (!routes) in rockchip_sound_of_parse_dais()
498 card->dapm_routes = routes; in rockchip_sound_of_parse_dais()
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/interrupt-controller/
Dti,omap4-wugen-mpu4 routes interrupts to the GIC, and also serves as a wakeup source. It
18 - Because this HW ultimately routes interrupts to the GIC, the
Dnvidia,tegra20-ictlr.txt3 All Tegra SoCs contain a legacy interrupt controller that routes
25 - Because this HW ultimately routes interrupts to the GIC, the
/Linux-v5.10/sound/soc/
Dsoc-topology.c1198 struct snd_soc_dapm_route **routes; in soc_tplg_dapm_graph_elems_load() local
1217 routes = kcalloc(count, sizeof(struct snd_soc_dapm_route *), in soc_tplg_dapm_graph_elems_load()
1219 if (!routes) in soc_tplg_dapm_graph_elems_load()
1228 routes[i] = kzalloc(sizeof(*routes[i]), GFP_KERNEL); in soc_tplg_dapm_graph_elems_load()
1229 if (!routes[i]) { in soc_tplg_dapm_graph_elems_load()
1232 kfree(routes[j]); in soc_tplg_dapm_graph_elems_load()
1234 kfree(routes); in soc_tplg_dapm_graph_elems_load()
1260 routes[i]->source = elem->source; in soc_tplg_dapm_graph_elems_load()
1261 routes[i]->sink = elem->sink; in soc_tplg_dapm_graph_elems_load()
1264 routes[i]->connected = NULL; in soc_tplg_dapm_graph_elems_load()
[all …]
/Linux-v5.10/Documentation/networking/
Dipddp.rst49 which enables you to add routes to the kernel for your Macs by hand.
54 but it allows automatic adding and deleting of routes for Macs. (Handy
59 You will also need to add the proper routes to route your Linux box's IP
/Linux-v5.10/sound/soc/codecs/
Dwm8776.c143 static const struct snd_soc_dapm_route routes[] = { variable
433 .dapm_routes = routes,
434 .num_dapm_routes = ARRAY_SIZE(routes),
Darizona.c1916 struct snd_soc_dapm_route routes[2]; in arizona_dai_set_sysclk() local
1938 memset(&routes, 0, sizeof(routes)); in arizona_dai_set_sysclk()
1939 routes[0].sink = dai->driver->capture.stream_name; in arizona_dai_set_sysclk()
1940 routes[1].sink = dai->driver->playback.stream_name; in arizona_dai_set_sysclk()
1942 routes[0].source = arizona_dai_clk_str(dai_priv->clk); in arizona_dai_set_sysclk()
1943 routes[1].source = arizona_dai_clk_str(dai_priv->clk); in arizona_dai_set_sysclk()
1944 snd_soc_dapm_del_routes(dapm, routes, ARRAY_SIZE(routes)); in arizona_dai_set_sysclk()
1946 routes[0].source = arizona_dai_clk_str(clk_id); in arizona_dai_set_sysclk()
1947 routes[1].source = arizona_dai_clk_str(clk_id); in arizona_dai_set_sysclk()
1948 snd_soc_dapm_add_routes(dapm, routes, ARRAY_SIZE(routes)); in arizona_dai_set_sysclk()
/Linux-v5.10/drivers/staging/comedi/drivers/ni_routing/
DREADME4 known valid signal routes for various National Instruments devices.
29 4) The sets of routes that are valid are not consistent from device to device.
43 information _and_ the knowledge of valid routes per device, a few specific
86 This data represents the known set of valid signal routes that are
97 valid device routes comes from the proprietary National Instruments
120 device routes comes from the proprietary National Instruments Windows
/Linux-v5.10/Documentation/devicetree/bindings/sound/
Drt274.txt16 Pins on the device (for linking into audio routes) for RT274:
Drt5616.txt17 Pins on the device (for linking into audio routes) for RT5616:
Dwm8904.txt12 Pins on the device (for linking into audio routes):
Drt5631.txt11 Pins on the device (for linking into audio routes):
Dwm8753.txt13 Pins on the device (for linking into audio routes):
Dtda7419.txt15 Pins on the device (for linking into audio routes):
Dalc5632.txt16 Pins on the device (for linking into audio routes):
Drt1011.txt31 Pins on the device (for linking into audio routes) for RT1011:
/Linux-v5.10/drivers/media/platform/rcar-vin/
Drcar-core.c74 for (route = vin->info->routes; route->mask; route++) { in rvin_group_get_mask()
700 for (route = vin->info->routes; route->mask; route++) { in rvin_group_notify_complete()
979 .routes = rcar_info_r8a774e1_routes,
1024 .routes = rcar_info_r8a7795_routes,
1078 .routes = rcar_info_r8a7795es1_routes,
1119 .routes = rcar_info_r8a7796_routes,
1164 .routes = rcar_info_r8a77965_routes,
1183 .routes = rcar_info_r8a77970_routes,
1212 .routes = rcar_info_r8a77980_routes,
1229 .routes = rcar_info_r8a77990_routes,
[all …]

12345