| /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() 352 nr_node->routes[0] = nr_node->routes[1]; in nr_del_node() 355 nr_node->routes[1] = nr_node->routes[2]; in nr_del_node() 478 s->routes[0] = s->routes[1]; in nr_dec_obs() 481 s->routes[1] = s->routes[2]; in nr_dec_obs() 526 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/soc/mediatek/ |
| A D | mtk-mmsys.c | 30 .routes = mmsys_default_routing_table, 36 .routes = mmsys_default_routing_table, 46 .routes = mt8173_mmsys_routing_table, 58 .routes = mt8167_mmsys_routing_table, 188 const struct mtk_mmsys_routes *routes = mmsys->data->routes; in mtk_mmsys_ddp_connect() local 192 if (cur == routes[i].from_comp && next == routes[i].to_comp) in mtk_mmsys_ddp_connect() 193 mtk_mmsys_update_bits(mmsys, routes[i].addr, routes[i].mask, in mtk_mmsys_ddp_connect() 194 routes[i].val, NULL); in mtk_mmsys_ddp_connect() 207 const struct mtk_mmsys_routes *routes = mmsys->data->routes; in mtk_mmsys_ddp_disconnect() local 211 if (cur == routes[i].from_comp && next == routes[i].to_comp) in mtk_mmsys_ddp_disconnect() [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| A D | vidioc-subdev-g-routing.rst | 45 with the ``VIDIOC_SUBDEV_S_ROUTING`` ioctl, by adding or removing routes and 48 ``VIDIOC_SUBDEV_S_ROUTING`` returns the routes back to the user. 61 The ``num_routes`` field indicates the number of routes in the routing 63 routes that the application stored in the ``routes`` array. For both ioctls, it 64 is returned by the kernel and indicates how many routes are stored in the 71 the ``routes`` array. In this case, the ``routes`` array is filled by the kernel 74 wants to retrieve the missing routes, it can issue a new 75 ``VIDIOC_SUBDEV_G_ROUTING`` call with a large enough ``routes`` array. 97 - ``routes[]`` 101 - Number of entries of the routes array [all …]
|
| /linux/drivers/gpu/drm/renesas/rcar-du/ |
| A D | rcar_du_drv.c | 42 .routes = { 66 .routes = { 89 .routes = { 118 .routes = { 149 .routes = { 178 .routes = { 208 .routes = { 236 .routes = { 260 .routes = { 291 .routes = { [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/drivers/comedi/drivers/ |
| A D | ni_routes.c | 155 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 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/sound/soc/rockchip/ |
| A D | rk3399_gru_sound.c | 419 const struct snd_soc_dapm_route *routes; member 425 .routes = rockchip_sound_cdndp_routes, 429 .routes = rockchip_sound_da7219_routes, 433 .routes = rockchip_sound_dmic_routes, 441 .routes = rockchip_sound_rt5514_routes, 504 struct snd_soc_dapm_route *routes; in rockchip_sound_of_parse_dais() local 516 routes = devm_kcalloc(dev, num_routes, sizeof(*routes), in rockchip_sound_of_parse_dais() 518 if (!routes) in rockchip_sound_of_parse_dais() 520 card->dapm_routes = routes; in rockchip_sound_of_parse_dais() 572 memcpy(routes + card->num_dapm_routes, in rockchip_sound_of_parse_dais() [all …]
|
| /linux/sound/soc/codecs/ |
| A D | audio-iio-aux.c | 125 static struct snd_soc_dapm_route routes[2]; variable 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[1].source = pga_name; in audio_iio_aux_add_dapms() 164 return snd_soc_dapm_add_routes(dapm, routes, 2); in audio_iio_aux_add_dapms()
|
| 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),
|
| /linux/drivers/media/platform/nxp/imx8-isi/ |
| A D | imx8-isi-crossbar.c | 183 struct v4l2_subdev_route *routes; in mxc_isi_crossbar_init_state() local 191 routes = kcalloc(xbar->num_sources, sizeof(*routes), GFP_KERNEL); in mxc_isi_crossbar_init_state() 192 if (!routes) in mxc_isi_crossbar_init_state() 196 struct v4l2_subdev_route *route = &routes[i]; in mxc_isi_crossbar_init_state() 204 routing.routes = routes; in mxc_isi_crossbar_init_state() 208 kfree(routes); in mxc_isi_crossbar_init_state()
|
| /linux/drivers/media/pci/intel/ipu6/ |
| A D | ipu6-isys-subdev.c | 285 struct v4l2_subdev_route *routes; in ipu6_isys_get_src_stream_by_src_pad() local 293 routes = state->routing.routes; in ipu6_isys_get_src_stream_by_src_pad() 295 if (routes[i].source_pad == pad) { in ipu6_isys_get_src_stream_by_src_pad() 296 source_stream = routes[i].source_stream; in ipu6_isys_get_src_stream_by_src_pad() 318 .routes = &route, in ipu6_isys_subdev_init_state()
|
| /linux/drivers/media/v4l2-core/ |
| A D | v4l2-subdev.c | 972 krouting->routes, in subdev_do_ioctl() 974 sizeof(*krouting->routes)); in subdev_do_ioctl() 1030 state->routing.routes, in subdev_do_ioctl() 1040 krouting.routes = routes; in subdev_do_ioctl() 1048 state->routing.routes, in subdev_do_ioctl() 1605 kfree(state->routing.routes); in __v4l2_subdev_state_free() 1911 new_routing.routes = kmemdup(src->routes, bytes, GFP_KERNEL); in v4l2_subdev_set_routing() 1912 if (!new_routing.routes) in v4l2_subdev_set_routing() 1921 kfree(new_routing.routes); in v4l2_subdev_set_routing() 1925 kfree(dst->routes); in v4l2_subdev_set_routing() [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/drivers/gpu/drm/renesas/rz-du/ |
| A D | rzg2l_du_drv.c | 30 .routes = { 40 .routes = {
|
| A D | rzg2l_du_kms.c | 186 if (rcdu->info->routes[i].possible_outputs && in rzg2l_du_encoders_init() 187 rcdu->info->routes[i].port == ep.port) { in rzg2l_du_encoders_init() 361 &rcdu->info->routes[renc->output]; in rzg2l_du_modeset_init()
|
| A D | rzg2l_du_drv.h | 50 struct rzg2l_du_output_routing routes[RZG2L_DU_OUTPUT_MAX]; member
|
| /linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
| A D | fsl,cpm1-tsa.yaml | 116 '^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 */
|
| A D | fsl,qe-tsa.yaml | 121 '^fsl,[rt]x-ts-routes$': 124 A list of tuple that indicates the Tx or Rx time-slots routes. 200 fsl,tx-ts-routes = <2 0>, /* TS 0..1 */ 205 fsl,rx-ts-routes = <2 0>, /* TS 0..1 */
|
| /linux/drivers/media/platform/renesas/rcar-vin/ |
| A D | rcar-core.c | 858 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/include/net/netns/ |
| A D | mctp.h | 14 struct list_head routes; member
|
| /linux/net/mctp/ |
| A D | route.c | 804 list_for_each_entry_rcu(tmp, &net->mctp.routes, list) { in mctp_route_lookup() 826 list_for_each_entry_rcu(tmp, &net->mctp.routes, list) { in mctp_route_lookup_null() 1091 list_for_each_entry(ert, &net->mctp.routes, list) { in mctp_route_add() 1098 list_add_rcu(&rt->list, &net->mctp.routes); in mctp_route_add() 1119 list_for_each_entry_safe(rt, tmp, &net->mctp.routes, list) { in mctp_route_remove() 1150 list_for_each_entry_safe(rt, tmp, &net->mctp.routes, list) { in mctp_route_remove_dev() 1432 list_for_each_entry_rcu(rt, &net->mctp.routes, list) { in mctp_dump_rtinfo() 1453 INIT_LIST_HEAD(&ns->routes); in mctp_routes_net_init() 1467 list_for_each_entry_rcu(rt, &net->mctp.routes, list) in mctp_routes_net_exit()
|