/Linux-v5.4/net/netrom/ |
D | nr_route.c | 83 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() 219 if (nr_node->routes[i].neighbour == nr_neigh) { in nr_add_node() 220 nr_node->routes[i].quality = quality; in nr_add_node() 221 nr_node->routes[i].obs_count = obs_count; in nr_add_node() 230 nr_node->routes[2] = nr_node->routes[1]; in nr_add_node() [all …]
|
/Linux-v5.4/net/phonet/ |
D | pn_dev.c | 31 struct phonet_routes routes; member 263 mutex_lock(&pnn->routes.lock); in phonet_route_autodel() 265 if (rcu_access_pointer(pnn->routes.table[i]) == dev) { in phonet_route_autodel() 266 RCU_INIT_POINTER(pnn->routes.table[i], NULL); in phonet_route_autodel() 269 mutex_unlock(&pnn->routes.lock); in phonet_route_autodel() 316 mutex_init(&pnn->routes.lock); in phonet_init_net() 362 struct phonet_routes *routes = &pnn->routes; in phonet_route_add() local 366 mutex_lock(&routes->lock); in phonet_route_add() 367 if (routes->table[daddr] == NULL) { in phonet_route_add() 368 rcu_assign_pointer(routes->table[daddr], dev); in phonet_route_add() [all …]
|
/Linux-v5.4/drivers/staging/comedi/drivers/ni_routing/tools/ |
D | convert_c_to_py.c | 109 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.4/drivers/staging/comedi/drivers/ |
D | ni_routes.c | 123 const struct ni_route_set *R = &tables->valid_routes->routes[i]; in ni_count_valid_routes() 177 const struct ni_route_set *R = &tables->valid_routes->routes[i]; in ni_get_valid_routes() 279 while (valid_routes->routes[valid_routes->n_route_sets].dest != 0) in ni_sort_device_routes() 283 sort(valid_routes->routes, valid_routes->n_route_sets, in ni_sort_device_routes() 288 struct ni_route_set *rs = &valid_routes->routes[n]; in ni_sort_device_routes() 296 sort(valid_routes->routes[n].src, valid_routes->routes[n].n_src, in ni_sort_device_routes() 349 return bsearch(&destination, valid_routes->routes, in ni_find_route_set() 361 bool ni_route_set_has_source(const struct ni_route_set *routes, in ni_route_set_has_source() argument 364 if (!bsearch(&source, routes->src, routes->n_src, sizeof(int), in ni_route_set_has_source() 435 const struct ni_route_set *routes = in ni_route_to_register() local [all …]
|
D | ni_routes.h | 54 struct ni_route_set *routes; member 100 bool ni_route_set_has_source(const struct ni_route_set *routes, const int src);
|
/Linux-v5.4/drivers/gpu/drm/rcar-du/ |
D | rcar_du_drv.c | 42 .routes = { 64 .routes = { 85 .routes = { 112 .routes = { 139 .routes = { 165 .routes = { 188 .routes = { 216 .routes = { 239 .routes = { 258 .routes = { [all …]
|
D | rcar_du_kms.c | 495 if (rcdu->info->routes[i].possible_crtcs && in rcar_du_encoders_init() 496 rcdu->info->routes[i].port == ep.port) { in rcar_du_encoders_init() 742 &rcdu->info->routes[renc->output]; in rcar_du_modeset_init() 767 dpad0_sources = rcdu->info->routes[RCAR_DU_OUTPUT_DPAD0].possible_crtcs; in rcar_du_modeset_init()
|
/Linux-v5.4/drivers/staging/comedi/drivers/tests/ |
D | ni_routes_test.c | 87 .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.4/sound/soc/rockchip/ |
D | rk3399_gru_sound.c | 369 const struct snd_soc_dapm_route *routes; member 375 .routes = rockchip_sound_cdndp_routes, 379 .routes = rockchip_sound_da7219_routes, 383 .routes = rockchip_sound_dmic_routes, 387 .routes = rockchip_sound_max98357a_routes, 391 .routes = rockchip_sound_rt5514_routes, 454 struct snd_soc_dapm_route *routes; in rockchip_sound_of_parse_dais() local 466 routes = devm_kcalloc(dev, num_routes, sizeof(*routes), in rockchip_sound_of_parse_dais() 468 if (!routes) in rockchip_sound_of_parse_dais() 470 card->dapm_routes = routes; in rockchip_sound_of_parse_dais() [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/interrupt-controller/ |
D | ti,omap4-wugen-mpu | 4 routes interrupts to the GIC, and also serves as a wakeup source. It 18 - Because this HW ultimately routes interrupts to the GIC, the
|
D | nvidia,tegra20-ictlr.txt | 3 All Tegra SoCs contain a legacy interrupt controller that routes 25 - Because this HW ultimately routes interrupts to the GIC, the
|
/Linux-v5.4/sound/soc/ |
D | soc-topology.c | 1186 struct snd_soc_dapm_route **routes; in soc_tplg_dapm_graph_elems_load() local 1213 routes = kcalloc(count, sizeof(struct snd_soc_dapm_route *), in soc_tplg_dapm_graph_elems_load() 1215 if (!routes) in soc_tplg_dapm_graph_elems_load() 1224 routes[i] = kzalloc(sizeof(*routes[i]), GFP_KERNEL); in soc_tplg_dapm_graph_elems_load() 1225 if (!routes[i]) { in soc_tplg_dapm_graph_elems_load() 1228 kfree(routes[j]); in soc_tplg_dapm_graph_elems_load() 1230 kfree(routes); in soc_tplg_dapm_graph_elems_load() 1256 routes[i]->source = elem->source; in soc_tplg_dapm_graph_elems_load() 1257 routes[i]->sink = elem->sink; in soc_tplg_dapm_graph_elems_load() 1260 routes[i]->connected = NULL; in soc_tplg_dapm_graph_elems_load() [all …]
|
/Linux-v5.4/Documentation/networking/ |
D | ipddp.txt | 44 which enables you to add routes to the kernel for your Macs by hand. 49 but it allows automatic adding and deleting of routes for Macs. (Handy 54 You will also need to add the proper routes to route your Linux box's IP
|
/Linux-v5.4/sound/soc/codecs/ |
D | wm8776.c | 143 static const struct snd_soc_dapm_route routes[] = { variable 432 .dapm_routes = routes, 433 .num_dapm_routes = ARRAY_SIZE(routes),
|
D | arizona.c | 1916 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.4/Documentation/devicetree/bindings/sound/ |
D | rt1011.txt | 23 Pins on the device (for linking into audio routes) for RT1011:
|
D | rt274.txt | 16 Pins on the device (for linking into audio routes) for RT274:
|
D | rt5616.txt | 17 Pins on the device (for linking into audio routes) for RT5616:
|
D | wm8904.txt | 12 Pins on the device (for linking into audio routes):
|
D | rt5631.txt | 11 Pins on the device (for linking into audio routes):
|
D | wm8753.txt | 13 Pins on the device (for linking into audio routes):
|
D | tda7419.txt | 15 Pins on the device (for linking into audio routes):
|
D | alc5632.txt | 16 Pins on the device (for linking into audio routes):
|
/Linux-v5.4/drivers/staging/comedi/drivers/ni_routing/ |
D | README | 4 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.4/drivers/media/platform/rcar-vin/ |
D | rcar-core.c | 74 for (route = vin->info->routes; route->mask; route++) { in rvin_group_get_mask() 703 for (route = vin->info->routes; route->mask; route++) { in rvin_group_notify_complete() 988 .routes = rcar_info_r8a7795_routes, 1042 .routes = rcar_info_r8a7795es1_routes, 1082 .routes = rcar_info_r8a7796_routes, 1126 .routes = rcar_info_r8a77965_routes, 1145 .routes = rcar_info_r8a77970_routes, 1173 .routes = rcar_info_r8a77980_routes, 1189 .routes = rcar_info_r8a77990_routes, 1201 .routes = rcar_info_r8a77995_routes,
|