Home
last modified time | relevance | path

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

1234

/linux/net/phonet/
H A Dpn_dev.c31 struct phonet_routes routes; member
274 /* Remove left-over Phonet routes */ in phonet_route_autodel()
277 spin_lock(&pnn->routes.lock); in phonet_route_autodel()
279 if (rcu_access_pointer(pnn->routes.table[i]) == dev) { in phonet_route_autodel()
280 RCU_INIT_POINTER(pnn->routes.table[i], NULL); in phonet_route_autodel()
284 spin_unlock(&pnn->routes.lock); in phonet_route_autodel()
331 spin_lock_init(&pnn->routes.lock); in phonet_init_net()
377 struct phonet_routes *routes = &pnn->routes; in phonet_route_add() local
382 spin_lock(&routes in phonet_route_add()
396 struct phonet_routes *routes = &pnn->routes; phonet_route_del() local
418 struct phonet_routes *routes = &pnn->routes; phonet_route_get_rcu() local
429 struct phonet_routes *routes = &pnn->routes; phonet_route_output() local
[all...]
/linux/drivers/comedi/drivers/ni_routing/tools/
H A Dconvert_c_to_py.c108 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/drivers/comedi/drivers/
H A Dni_routes.c155 const struct ni_route_set *R = &tables->valid_routes->routes[i]; in ni_count_valid_routes()
209 const struct ni_route_set *R = &tables->valid_routes->routes[i]; in ni_get_valid_routes()
311 while (valid_routes->routes[valid_routes->n_route_sets].dest != 0) in ni_sort_device_routes()
315 sort(valid_routes->routes, valid_routes->n_route_sets, in ni_sort_device_routes()
320 struct ni_route_set *rs = &valid_routes->routes[n]; in ni_sort_device_routes()
328 sort(valid_routes->routes[n].src, valid_routes->routes[n].n_src, in ni_sort_device_routes()
381 return bsearch(&destination, valid_routes->routes, in ni_find_route_set()
393 bool ni_route_set_has_source(const struct ni_route_set *routes, in ni_route_set_has_source() argument
396 if (!bsearch(&source, routes->src, routes->n_src, sizeof(int), in ni_route_set_has_source()
467 const struct ni_route_set *routes = in ni_route_to_register() local
[all …]
H A Dni_routes.h53 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/
H A Dni_routes_test.c86 .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()
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/sound/soc/codecs/
H A Daudio-iio-aux.c125 static struct snd_soc_dapm_route routes[2]; variable
127 /* Be sure sizes are correct (need 3 widgets and 2 routes) */
129 static_assert(ARRAY_SIZE(routes) >= 2, "2 routes are needed");
157 routes[0].sink = pga_name; in audio_iio_aux_add_dapms()
158 routes[0].control = NULL; in audio_iio_aux_add_dapms()
159 routes[0].source = input_name; in audio_iio_aux_add_dapms()
160 routes[1].sink = output_name; in audio_iio_aux_add_dapms()
161 routes[1].control = NULL; in audio_iio_aux_add_dapms()
162 routes[ in audio_iio_aux_add_dapms()
[all...]
H A Darizona.c1915 struct snd_soc_dapm_route routes[2]; in arizona_dai_set_sysclk()
1937 memset(&routes, 0, sizeof(routes)); in arizona_dai_set_sysclk()
1938 routes[0].sink = dai->driver->capture.stream_name; in arizona_dai_set_sysclk()
1939 routes[1].sink = dai->driver->playback.stream_name; in arizona_dai_set_sysclk()
1941 routes[0].source = arizona_dai_clk_str(dai_priv->clk); in arizona_dai_set_sysclk()
1942 routes[1].source = arizona_dai_clk_str(dai_priv->clk); in arizona_dai_set_sysclk()
1943 snd_soc_dapm_del_routes(dapm, routes, ARRAY_SIZE(routes)); in arizona_dai_set_sysclk()
1945 routes[ in arizona_dai_set_sysclk()
1917 struct snd_soc_dapm_route routes[2]; arizona_dai_set_sysclk() local
[all...]
/linux/drivers/media/platform/renesas/rcar-vin/
H A Drcar-core.c641 for (route = vin->info->routes; route->chsel; route++) { in rvin_csi2_link_notify()
744 for (route = group->info->routes; route->chsel; route++) { in rvin_csi2_setup_links()
930 .routes = rcar_info_r8a774e1_routes,
946 .routes = rcar_info_r8a7795_routes,
963 .routes = rcar_info_r8a7796_routes,
980 .routes = rcar_info_r8a77965_routes,
993 .routes = rcar_info_r8a77970_routes,
1007 .routes = rcar_info_r8a77980_routes,
1020 .routes = rcar_info_r8a77990_routes,
1033 .routes = rcar_info_r8a77995_routes,
/linux/include/net/netns/
H A Dmctp.h18 struct list_head routes; member
/linux/Documentation/devicetree/bindings/sound/
H A Drt274.txt16 Pins on the device (for linking into audio routes) for RT274:
H A Dtda7419.txt15 Pins on the device (for linking into audio routes):
H A Drt1011.txt31 Pins on the device (for linking into audio routes) for RT1011:
H A Drt5660.txt29 Pins on the device (for linking into audio routes) for RT5660:
H A Drt5668.txt30 Pins on the device (for linking into audio routes) for RT5668B:
H A Drt5665.txt37 Pins on the device (for linking into audio routes) for RT5659/RT5658:
/linux/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_kms.c293 if (rcdu->info->routes[i].possible_outputs && in rzg2l_du_encoders_init()
294 rcdu->info->routes[i].port == ep.port) { in rzg2l_du_encoders_init()
468 &rcdu->info->routes[renc->output]; in rzg2l_du_modeset_init()
/linux/drivers/comedi/drivers/ni_routing/
H A 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/net/mpls/
H A DKconfig10 MultiProtocol Label Switching routes packets through logical
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_ddp_comp.c521 const struct mtk_drm_route *routes, in mtk_ddp_comp_find_in_route() argument
527 if (!routes) in mtk_ddp_comp_find_in_route()
531 if (dev == ddp_comp[routes[i].route_ddp].dev) in mtk_ddp_comp_find_in_route()
532 return BIT(routes[i].crtc_id); in mtk_ddp_comp_find_in_route()
/linux/Documentation/networking/
H A Dbatman-adv.rst10 Layer 2 only and uses and routes (or better: bridges) Ethernet Frames. It
130 $ batctl -m bat0 loglevel routes tt
132 will enable debug messages for when routes and translation table entries change.
/linux/net/mctp/
H A Droute.c967 list_for_each_entry_rcu(rt, &net->mctp.routes, list) { in mctp_route_lookup_single()
1223 list_for_each_entry(ert, &net->mctp.routes, list) { in mctp_route_add()
1229 list_add_rcu(&rt->list, &net->mctp.routes); in mctp_route_add()
1250 list_for_each_entry_safe(rt, tmp, &net->mctp.routes, list) { in mctp_route_remove()
1301 list_for_each_entry_safe(rt, tmp, &net->mctp.routes, list) { in mctp_route_remove_dev()
1707 list_for_each_entry_rcu(rt, &net->mctp.routes, list) { in mctp_dump_rtinfo()
1728 INIT_LIST_HEAD(&ns->routes); in mctp_routes_net_init()
1742 list_for_each_entry_rcu(rt, &net->mctp.routes, list) in mctp_routes_net_exit()
/linux/net/mctp/test/
H A Dutils.c160 list_add_rcu(&rt->rt.list, &net->mctp.routes); in mctp_test_create_route_direct()
185 list_add_rcu(&rt->rt.list, &net->mctp.routes); in mctp_test_create_route_gw()
/linux/drivers/media/platform/ti/am437x/
H A Dam437x-vpfe.h75 struct vpfe_route *routes; member
/linux/Documentation/networking/devlink/
H A Ddevlink-dpipe.rst170 table contains routes with the same prefix length. The root of the list is
176 host table for directly connected routes, or adjacency table for next-hops.
197 In the case of local routes the LPM lookup already resolves the egress
215 In case of remote routes this table does the ECMP. The LPM lookup results in
/linux/drivers/comedi/drivers/ni_routing/ni_device_routes/
H A Dpci-6534.c32 .routes = (struct ni_route_set[]){

1234