Home
last modified time | relevance | path

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

123456

/linux-6.3-rc2/net/netrom/
A 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()
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-6.3-rc2/drivers/soc/mediatek/
A Dmtk-mmsys.c29 .routes = mmsys_default_routing_table,
35 .routes = mmsys_default_routing_table,
49 .routes = mt8167_mmsys_routing_table,
63 .routes = mmsys_mt8183_routing_table,
157 const struct mtk_mmsys_routes *routes = mmsys->data->routes; in mtk_mmsys_ddp_connect() local
161 if (cur == routes[i].from_comp && next == routes[i].to_comp) in mtk_mmsys_ddp_connect()
162 mtk_mmsys_update_bits(mmsys, routes[i].addr, routes[i].mask, in mtk_mmsys_ddp_connect()
163 routes[i].val, NULL); in mtk_mmsys_ddp_connect()
172 const struct mtk_mmsys_routes *routes = mmsys->data->routes; in mtk_mmsys_ddp_disconnect() local
176 if (cur == routes[i].from_comp && next == routes[i].to_comp) in mtk_mmsys_ddp_disconnect()
[all …]
/linux-6.3-rc2/net/phonet/
A Dpn_dev.c31 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-6.3-rc2/drivers/gpu/drm/rcar-du/
A Drcar_du_drv.c43 .routes = {
67 .routes = {
90 .routes = {
119 .routes = {
150 .routes = {
179 .routes = {
209 .routes = {
237 .routes = {
261 .routes = {
292 .routes = {
[all …]
/linux-6.3-rc2/drivers/comedi/drivers/ni_routing/tools/
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-6.3-rc2/drivers/comedi/drivers/
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()
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
473 if (!routes) in ni_route_to_register()
[all …]
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-6.3-rc2/drivers/comedi/drivers/tests/
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()
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-6.3-rc2/sound/soc/rockchip/
A Drk3399_gru_sound.c416 const struct snd_soc_dapm_route *routes; member
422 .routes = rockchip_sound_cdndp_routes,
426 .routes = rockchip_sound_da7219_routes,
430 .routes = rockchip_sound_dmic_routes,
438 .routes = rockchip_sound_rt5514_routes,
501 struct snd_soc_dapm_route *routes; in rockchip_sound_of_parse_dais() local
513 routes = devm_kcalloc(dev, num_routes, sizeof(*routes), in rockchip_sound_of_parse_dais()
515 if (!routes) in rockchip_sound_of_parse_dais()
517 card->dapm_routes = routes; in rockchip_sound_of_parse_dais()
569 memcpy(routes + card->num_dapm_routes, in rockchip_sound_of_parse_dais()
[all …]
/linux-6.3-rc2/Documentation/userspace-api/media/v4l/
A 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
75 - ``routes[]``
79 - Number of entries of the routes array
137 all the available routes the subdevice exposes.
147 larger than the number of routes the driver can handle.
/linux-6.3-rc2/sound/soc/intel/avs/boards/
A Dmax98357a.c68 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
87 *routes = dr; in avs_create_dapm_routes()
95 struct snd_soc_dapm_route *routes; in avs_max98357a_probe() local
113 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_max98357a_probe()
132 card->dapm_routes = routes; in avs_max98357a_probe()
A Di2s_test.c57 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
76 *routes = dr; in avs_create_dapm_routes()
113 struct snd_soc_dapm_route *routes; in avs_i2s_test_probe() local
140 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_i2s_test_probe()
156 card->dapm_routes = routes; in avs_i2s_test_probe()
A Dmax98373.c145 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
170 *routes = dr; in avs_create_dapm_routes()
178 struct snd_soc_dapm_route *routes; in avs_max98373_probe() local
196 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_max98373_probe()
217 card->dapm_routes = routes; in avs_max98373_probe()
A Dmax98927.c142 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
167 *routes = dr; in avs_create_dapm_routes()
175 struct snd_soc_dapm_route *routes; in avs_max98927_probe() local
193 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_max98927_probe()
214 card->dapm_routes = routes; in avs_max98927_probe()
A Dda7219.c164 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
189 *routes = dr; in avs_create_dapm_routes()
212 struct snd_soc_dapm_route *routes; in avs_da7219_probe() local
231 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_da7219_probe()
253 card->dapm_routes = routes; in avs_da7219_probe()
A Drt286.c162 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
187 *routes = dr; in avs_create_dapm_routes()
210 struct snd_soc_dapm_route *routes; in avs_rt286_probe() local
229 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_rt286_probe()
251 card->dapm_routes = routes; in avs_rt286_probe()
A Drt298.c182 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
207 *routes = dr; in avs_create_dapm_routes()
230 struct snd_soc_dapm_route *routes; in avs_rt298_probe() local
249 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_rt298_probe()
271 card->dapm_routes = routes; in avs_rt298_probe()
A Dssm4567.c164 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
201 *routes = dr; in avs_create_dapm_routes()
209 struct snd_soc_dapm_route *routes; in avs_ssm4567_probe() local
227 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_ssm4567_probe()
248 card->dapm_routes = routes; in avs_ssm4567_probe()
A Drt274.c192 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
217 *routes = dr; in avs_create_dapm_routes()
240 struct snd_soc_dapm_route *routes; in avs_rt274_probe() local
259 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_rt274_probe()
281 card->dapm_routes = routes; in avs_rt274_probe()
A Drt5682.c216 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
241 *routes = dr; in avs_create_dapm_routes()
264 struct snd_soc_dapm_route *routes; in avs_rt5682_probe() local
289 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_rt5682_probe()
311 card->dapm_routes = routes; in avs_rt5682_probe()
A Dhdaudio.c68 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
112 *routes = dr; in avs_create_dapm_routes()
175 struct snd_soc_dapm_route *routes; in avs_probing_link_init() local
205 ret = avs_create_dapm_routes(card->dev, codec, pcm_count, &routes, &n); in avs_probing_link_init()
211 ret = snd_soc_dapm_add_routes(&card->dapm, routes, n); in avs_probing_link_init()
A Dnau8825.c219 struct snd_soc_dapm_route **routes, int *num_routes) in avs_create_dapm_routes() argument
244 *routes = dr; in avs_create_dapm_routes()
277 struct snd_soc_dapm_route *routes; in avs_nau8825_probe() local
296 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_nau8825_probe()
318 card->dapm_routes = routes; in avs_nau8825_probe()
/linux-6.3-rc2/drivers/media/v4l2-core/
A Dv4l2-subdev.c836 krouting->routes, in subdev_do_ioctl()
845 struct v4l2_subdev_route *routes = in subdev_do_ioctl() local
862 const struct v4l2_subdev_route *route = &routes[i]; in subdev_do_ioctl()
885 krouting.routes = routes; in subdev_do_ioctl()
1351 kfree(state->routing.routes); in __v4l2_subdev_state_free()
1464 sizeof(*src->routes), &bytes))) in v4l2_subdev_set_routing()
1470 new_routing.routes = kmemdup(src->routes, bytes, GFP_KERNEL); in v4l2_subdev_set_routing()
1471 if (!new_routing.routes) in v4l2_subdev_set_routing()
1480 kfree(new_routing.routes); in v4l2_subdev_set_routing()
1484 kfree(dst->routes); in v4l2_subdev_set_routing()
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/interrupt-controller/
A 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
A 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

Completed in 29 milliseconds

123456