/linux/drivers/soc/mediatek/ |
A D | mtk-mmsys.c | 23 .routes = mmsys_default_routing_table, 29 .routes = mmsys_default_routing_table, 43 .routes = mt8167_mmsys_routing_table, 55 .routes = mmsys_mt8183_routing_table, 83 const struct mtk_mmsys_routes *routes = mmsys->data->routes; in mtk_mmsys_ddp_connect() local 88 if (cur == routes[i].from_comp && next == routes[i].to_comp) { in mtk_mmsys_ddp_connect() 90 reg &= ~routes[i].mask; in mtk_mmsys_ddp_connect() 91 reg |= routes[i].val; in mtk_mmsys_ddp_connect() 102 const struct mtk_mmsys_routes *routes = mmsys->data->routes; in mtk_mmsys_ddp_disconnect() local 107 if (cur == routes[i].from_comp && next == routes[i].to_comp) { in mtk_mmsys_ddp_disconnect() [all …]
|
/linux/net/netrom/ |
A 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() 231 nr_node->routes[2] = nr_node->routes[1]; in nr_add_node() 232 nr_node->routes[1] = nr_node->routes[0]; in nr_add_node() 248 if (nr_node->routes[2].neighbour->count == 0 && !nr_node->routes[2].neighbour->locked) in nr_add_node() 359 nr_node->routes[0] = nr_node->routes[1]; in nr_del_node() 362 nr_node->routes[1] = nr_node->routes[2]; in nr_del_node() 483 s->routes[0] = s->routes[1]; in nr_dec_obs() 486 s->routes[1] = s->routes[2]; in nr_dec_obs() 531 t->routes[0] = t->routes[1]; in nr_rt_device_down() [all …]
|
/linux/net/phonet/ |
A D | pn_dev.c | 31 struct phonet_routes routes; member 260 mutex_lock(&pnn->routes.lock); in phonet_route_autodel() 313 mutex_init(&pnn->routes.lock); in phonet_init_net() 359 struct phonet_routes *routes = &pnn->routes; in phonet_route_add() local 363 mutex_lock(&routes->lock); in phonet_route_add() 369 mutex_unlock(&routes->lock); in phonet_route_add() 376 struct phonet_routes *routes = &pnn->routes; in phonet_route_del() local 379 mutex_lock(&routes->lock); in phonet_route_del() 384 mutex_unlock(&routes->lock); in phonet_route_del() 396 struct phonet_routes *routes = &pnn->routes; in phonet_route_get_rcu() local [all …]
|
/linux/drivers/gpu/drm/rcar-du/ |
A D | rcar_du_drv.c | 45 .routes = { 68 .routes = { 90 .routes = { 118 .routes = { 148 .routes = { 176 .routes = { 205 .routes = { 232 .routes = { 256 .routes = { 286 .routes = { [all …]
|
/linux/drivers/comedi/drivers/ |
A D | ni_routes.c | 158 const struct ni_route_set *R = &tables->valid_routes->routes[i]; in ni_count_valid_routes() 212 const struct ni_route_set *R = &tables->valid_routes->routes[i]; in ni_get_valid_routes() 318 sort(valid_routes->routes, valid_routes->n_route_sets, in ni_sort_device_routes() 323 struct ni_route_set *rs = &valid_routes->routes[n]; in ni_sort_device_routes() 331 sort(valid_routes->routes[n].src, valid_routes->routes[n].n_src, in ni_sort_device_routes() 384 return bsearch(&destination, valid_routes->routes, in ni_find_route_set() 396 bool ni_route_set_has_source(const struct ni_route_set *routes, in ni_route_set_has_source() argument 399 if (!bsearch(&source, routes->src, routes->n_src, sizeof(int), in ni_route_set_has_source() 470 const struct ni_route_set *routes = in ni_route_to_register() local 476 if (!routes) in ni_route_to_register() [all …]
|
A D | ni_routes.h | 53 struct ni_route_set *routes; member 100 bool ni_route_set_has_source(const struct ni_route_set *routes, const int src);
|
/linux/drivers/comedi/drivers/tests/ |
A D | ni_routes_test.c | 86 .routes = (struct ni_route_set[]){ 188 if (last >= devroutes->routes[i].dest) in route_set_dests_in_order() 190 last = devroutes->routes[i].dest; in route_set_dests_in_order() 204 for (j = 0; j < devroutes->routes[i].n_src; ++j) { in route_set_sources_in_order() 205 if (last >= devroutes->routes[i].src[j]) in route_set_sources_in_order() 207 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() 236 unittest(devroutes->routes[10].n_src == 10, in test_ni_assign_device_routes() 289 &DR.routes[no_val_index], in test_ni_find_route_set() [all …]
|
/linux/drivers/comedi/drivers/ni_routing/tools/ |
A D | convert_c_to_py.c | 108 while (dR->routes[i].dest != 0) { in device_write() 109 if (!is_valid_ni_sig(dR->routes[i].dest)) { in device_write() 112 dR->routes[i].dest, dR->device, i); in device_write() 116 fprintf(fp, " %u : [", dR->routes[i].dest); in device_write() 120 while (dR->routes[i].src[j] != 0) { in device_write() 121 if (!is_valid_ni_sig(dR->routes[i].src[j])) { in device_write() 124 dR->routes[i].src[j], dR->device, i, j); in device_write() 128 fprintf(fp, "%u,", dR->routes[i].src[j]); in device_write()
|
/linux/sound/soc/rockchip/ |
A D | rk3399_gru_sound.c | 397 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, 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() 550 memcpy(routes + card->num_dapm_routes, in rockchip_sound_of_parse_dais() [all …]
|
/linux/Documentation/devicetree/bindings/interrupt-controller/ |
A 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
|
A 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/net/mctp/ |
A D | route.c | 679 list_for_each_entry_rcu(tmp, &net->mctp.routes, list) { in mctp_route_lookup() 697 list_for_each_entry_rcu(rt, &net->mctp.routes, list) { in mctp_route_lookup_null() 942 list_for_each_entry(ert, &net->mctp.routes, list) { in mctp_route_add() 949 list_add_rcu(&rt->list, &net->mctp.routes); in mctp_route_add() 970 list_for_each_entry_safe(rt, tmp, &net->mctp.routes, list) { in mctp_route_remove() 1001 list_for_each_entry_safe(rt, tmp, &net->mctp.routes, list) { in mctp_route_remove_dev() 1273 list_for_each_entry_rcu(rt, &net->mctp.routes, list) { in mctp_dump_rtinfo() 1294 INIT_LIST_HEAD(&ns->routes); in mctp_routes_net_init() 1308 list_for_each_entry_rcu(rt, &net->mctp.routes, list) in mctp_routes_net_exit()
|
/linux/Documentation/networking/ |
A D | ipddp.rst | 49 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/sound/soc/ |
A D | soc-topology.c | 1107 struct snd_soc_dapm_route **routes; in soc_tplg_dapm_graph_elems_load() local 1128 if (!routes) in soc_tplg_dapm_graph_elems_load() 1137 routes[i] = devm_kzalloc(tplg->dev, sizeof(*routes[i]), GFP_KERNEL); in soc_tplg_dapm_graph_elems_load() 1138 if (!routes[i]) in soc_tplg_dapm_graph_elems_load() 1163 routes[i]->source = elem->source; in soc_tplg_dapm_graph_elems_load() 1164 routes[i]->sink = elem->sink; in soc_tplg_dapm_graph_elems_load() 1167 routes[i]->connected = NULL; in soc_tplg_dapm_graph_elems_load() 1169 routes[i]->control = NULL; in soc_tplg_dapm_graph_elems_load() 1171 routes[i]->control = elem->control; in soc_tplg_dapm_graph_elems_load() 1175 routes[i]->dobj.ops = tplg->ops; in soc_tplg_dapm_graph_elems_load() [all …]
|
/linux/sound/soc/codecs/ |
A D | wm8776.c | 143 static const struct snd_soc_dapm_route routes[] = { variable 433 .dapm_routes = routes, 434 .num_dapm_routes = ARRAY_SIZE(routes),
|
A D | arizona.c | 1917 struct snd_soc_dapm_route routes[2]; in arizona_dai_set_sysclk() local 1939 memset(&routes, 0, sizeof(routes)); in arizona_dai_set_sysclk() 1940 routes[0].sink = dai->driver->capture.stream_name; in arizona_dai_set_sysclk() 1941 routes[1].sink = dai->driver->playback.stream_name; in arizona_dai_set_sysclk() 1943 routes[0].source = arizona_dai_clk_str(dai_priv->clk); in arizona_dai_set_sysclk() 1944 routes[1].source = arizona_dai_clk_str(dai_priv->clk); in arizona_dai_set_sysclk() 1945 snd_soc_dapm_del_routes(dapm, routes, ARRAY_SIZE(routes)); in arizona_dai_set_sysclk() 1947 routes[0].source = arizona_dai_clk_str(clk_id); in arizona_dai_set_sysclk() 1948 routes[1].source = arizona_dai_clk_str(clk_id); in arizona_dai_set_sysclk() 1949 snd_soc_dapm_add_routes(dapm, routes, ARRAY_SIZE(routes)); in arizona_dai_set_sysclk()
|
/linux/drivers/comedi/drivers/ni_routing/ |
A 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/drivers/media/platform/rcar-vin/ |
A D | rcar-core.c | 755 for (route = vin->info->routes; route->mask; route++) { in rvin_csi2_get_mask() 916 for (route = vin->info->routes; route->mask; route++) { in rvin_csi2_setup_links() 1192 .routes = rcar_info_r8a774e1_routes, 1237 .routes = rcar_info_r8a7795_routes, 1291 .routes = rcar_info_r8a7795es1_routes, 1332 .routes = rcar_info_r8a7796_routes, 1377 .routes = rcar_info_r8a77965_routes, 1396 .routes = rcar_info_r8a77970_routes, 1425 .routes = rcar_info_r8a77980_routes, 1442 .routes = rcar_info_r8a77990_routes, [all …]
|
/linux/include/net/netns/ |
A D | mctp.h | 13 struct list_head routes; member
|
/linux/sound/soc/intel/boards/ |
A D | bxt_da7219_max98357a.c | 657 const struct snd_soc_dapm_route *routes; in bxt_card_late_probe() local 667 routes = max98357a_routes; in bxt_card_late_probe() 675 routes = max98390_routes; in bxt_card_late_probe() 695 err = snd_soc_dapm_add_routes(&card->dapm, routes, num_routes); in bxt_card_late_probe()
|
/linux/Documentation/devicetree/bindings/sound/ |
A D | rt274.txt | 16 Pins on the device (for linking into audio routes) for RT274:
|
A D | rt5616.txt | 17 Pins on the device (for linking into audio routes) for RT5616:
|
A D | wm8904.txt | 12 Pins on the device (for linking into audio routes):
|
A D | wm8753.txt | 13 Pins on the device (for linking into audio routes):
|
A D | rt5631.txt | 11 Pins on the device (for linking into audio routes):
|