Home
last modified time | relevance | path

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

123456

/linux-6.6.21/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-6.6.21/net/phonet/
Dpn_dev.c31 struct phonet_routes routes; member
260 mutex_lock(&pnn->routes.lock); in phonet_route_autodel()
262 if (rcu_access_pointer(pnn->routes.table[i]) == dev) { in phonet_route_autodel()
263 RCU_INIT_POINTER(pnn->routes.table[i], NULL); in phonet_route_autodel()
266 mutex_unlock(&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()
364 if (routes->table[daddr] == NULL) { in phonet_route_add()
365 rcu_assign_pointer(routes->table[daddr], dev); in phonet_route_add()
[all …]
/linux-6.6.21/drivers/soc/mediatek/
Dmtk-mmsys.c30 .routes = mmsys_default_routing_table,
36 .routes = mmsys_default_routing_table,
46 .routes = mt8173_mmsys_routing_table,
58 .routes = mt8167_mmsys_routing_table,
64 .routes = mt8173_mmsys_routing_table,
72 .routes = mmsys_mt8183_routing_table,
80 .routes = mmsys_mt8186_routing_table,
88 .routes = mmsys_mt8188_routing_table,
94 .routes = mmsys_mt8192_routing_table,
102 .routes = mmsys_mt8195_routing_table,
[all …]
/linux-6.6.21/drivers/gpu/drm/renesas/rcar-du/
Drcar_du_drv.c42 .routes = {
66 .routes = {
89 .routes = {
118 .routes = {
149 .routes = {
178 .routes = {
208 .routes = {
236 .routes = {
260 .routes = {
291 .routes = {
[all …]
/linux-6.6.21/drivers/comedi/drivers/ni_routing/tools/
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-6.6.21/drivers/comedi/drivers/
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 …]
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-6.6.21/drivers/comedi/drivers/tests/
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-6.6.21/sound/soc/rockchip/
Drk3399_gru_sound.c421 const struct snd_soc_dapm_route *routes; member
427 .routes = rockchip_sound_cdndp_routes,
431 .routes = rockchip_sound_da7219_routes,
435 .routes = rockchip_sound_dmic_routes,
439 .routes = rockchip_sound_max98357a_routes,
443 .routes = rockchip_sound_rt5514_routes,
506 struct snd_soc_dapm_route *routes; in rockchip_sound_of_parse_dais() local
518 routes = devm_kcalloc(dev, num_routes, sizeof(*routes), in rockchip_sound_of_parse_dais()
520 if (!routes) in rockchip_sound_of_parse_dais()
522 card->dapm_routes = routes; in rockchip_sound_of_parse_dais()
[all …]
/linux-6.6.21/Documentation/userspace-api/media/v4l/
Dvidioc-subdev-g-routing.rst44 ``VIDIOC_SUBDEV_G_ROUTING`` ioctl and application may enable or disable routes
45 with the ``VIDIOC_SUBDEV_S_ROUTING`` ioctl, by adding or removing routes and
55 When inspecting routes through ``VIDIOC_SUBDEV_G_ROUTING`` and the application
56 provided ``num_routes`` is not big enough to contain all the available routes
62 ``num_routes`` field to reflect the actual number of routes returned.
78 - ``routes[]``
82 - Number of entries of the routes array
140 all the available routes the subdevice exposes.
148 larger than the number of routes the driver can handle.
/linux-6.6.21/sound/soc/codecs/
Daudio-iio-aux.c124 static struct snd_soc_dapm_route routes[2]; variable
128 static_assert(ARRAY_SIZE(routes) >= 2, "2 routes are needed");
162 routes[0].sink = pga_name; in audio_iio_aux_add_dapms()
163 routes[0].control = NULL; in audio_iio_aux_add_dapms()
164 routes[0].source = input_name; in audio_iio_aux_add_dapms()
165 routes[1].sink = output_name; in audio_iio_aux_add_dapms()
166 routes[1].control = NULL; in audio_iio_aux_add_dapms()
167 routes[1].source = pga_name; in audio_iio_aux_add_dapms()
168 ret = snd_soc_dapm_add_routes(dapm, routes, 2); in audio_iio_aux_add_dapms()
Dwm8776.c143 static const struct snd_soc_dapm_route routes[] = { variable
433 .dapm_routes = routes,
434 .num_dapm_routes = ARRAY_SIZE(routes),
/linux-6.6.21/sound/soc/intel/avs/boards/
Di2s_test.c55 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
74 *routes = dr; in avs_create_dapm_routes()
111 struct snd_soc_dapm_route *routes; in avs_i2s_test_probe() local
138 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_i2s_test_probe()
154 card->dapm_routes = routes; in avs_i2s_test_probe()
/linux-6.6.21/drivers/media/platform/nxp/imx8-isi/
Dimx8-isi-crossbar.c184 struct v4l2_subdev_route *routes; in mxc_isi_crossbar_init_cfg() local
192 routes = kcalloc(xbar->num_sources, sizeof(*routes), GFP_KERNEL); in mxc_isi_crossbar_init_cfg()
193 if (!routes) in mxc_isi_crossbar_init_cfg()
197 struct v4l2_subdev_route *route = &routes[i]; in mxc_isi_crossbar_init_cfg()
205 routing.routes = routes; in mxc_isi_crossbar_init_cfg()
209 kfree(routes); in mxc_isi_crossbar_init_cfg()
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-subdev.c863 memcpy((struct v4l2_subdev_route *)(uintptr_t)routing->routes, in subdev_do_ioctl()
864 krouting->routes, in subdev_do_ioctl()
865 krouting->num_routes * sizeof(*krouting->routes)); in subdev_do_ioctl()
873 struct v4l2_subdev_route *routes = in subdev_do_ioctl() local
874 (struct v4l2_subdev_route *)(uintptr_t)routing->routes; in subdev_do_ioctl()
890 const struct v4l2_subdev_route *route = &routes[i]; in subdev_do_ioctl()
913 krouting.routes = routes; in subdev_do_ioctl()
1363 struct v4l2_subdev_route *route = &routing->routes[i]; in v4l2_subdev_has_pad_interdep()
1438 kfree(state->routing.routes); in __v4l2_subdev_state_free()
1563 sizeof(*src->routes), &bytes))) in v4l2_subdev_set_routing()
[all …]
/linux-6.6.21/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-6.6.21/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
Dfsl,cpm1-tsa.yaml116 '^fsl,[rt]x-ts-routes$':
119 A list of tuple that indicates the Tx or Rx time-slots routes.
195 fsl,tx-ts-routes = <2 0>, /* TS 0..1 */
200 fsl,rx-ts-routes = <2 0>, /* TS 0..1 */
/linux-6.6.21/drivers/media/platform/renesas/rcar-vin/
Drcar-core.c858 for (route = vin->info->routes; route->chsel; route++) { in rvin_csi2_link_notify()
920 for (route = vin->info->routes; route->chsel; route++) { in rvin_csi2_setup_links()
1163 .routes = rcar_info_r8a774e1_routes,
1180 .routes = rcar_info_r8a7795_routes,
1198 .routes = rcar_info_r8a7796_routes,
1216 .routes = rcar_info_r8a77965_routes,
1230 .routes = rcar_info_r8a77970_routes,
1245 .routes = rcar_info_r8a77980_routes,
1259 .routes = rcar_info_r8a77990_routes,
1273 .routes = rcar_info_r8a77995_routes,
/linux-6.6.21/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-6.6.21/include/net/netns/
Dmctp.h14 struct list_head routes; member
/linux-6.6.21/net/mctp/
Droute.c742 list_for_each_entry_rcu(tmp, &net->mctp.routes, list) { in mctp_route_lookup()
764 list_for_each_entry_rcu(tmp, &net->mctp.routes, list) { in mctp_route_lookup_null()
1024 list_for_each_entry(ert, &net->mctp.routes, list) { in mctp_route_add()
1031 list_add_rcu(&rt->list, &net->mctp.routes); in mctp_route_add()
1052 list_for_each_entry_safe(rt, tmp, &net->mctp.routes, list) { in mctp_route_remove()
1083 list_for_each_entry_safe(rt, tmp, &net->mctp.routes, list) { in mctp_route_remove_dev()
1365 list_for_each_entry_rcu(rt, &net->mctp.routes, list) { in mctp_dump_rtinfo()
1386 INIT_LIST_HEAD(&ns->routes); in mctp_routes_net_init()
1400 list_for_each_entry_rcu(rt, &net->mctp.routes, list) in mctp_routes_net_exit()
/linux-6.6.21/drivers/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-6.6.21/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:

123456