Home
last modified time | relevance | path

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

12345678

/openbmc/linux/net/netrom/
H 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()
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 …]
/openbmc/linux/net/phonet/
H 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 …]
/openbmc/linux/drivers/soc/mediatek/
H A 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,
165 const struct mtk_mmsys_routes *routes = mmsys->data->routes; in mtk_mmsys_ddp_connect() local
169 if (cur == routes[i].from_comp && next == routes[i].to_comp) in mtk_mmsys_ddp_connect()
170 mtk_mmsys_update_bits(mmsys, routes[i].addr, routes[i].mask, in mtk_mmsys_ddp_connect()
171 routes[i].val, NULL); in mtk_mmsys_ddp_connect()
180 const struct mtk_mmsys_routes *routes = mmsys->data->routes; in mtk_mmsys_ddp_disconnect() local
184 if (cur == routes[i].from_comp && next == routes[i].to_comp) in mtk_mmsys_ddp_disconnect()
[all …]
/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_drv.c42 .routes = {
66 .routes = {
89 .routes = {
118 .routes = {
149 .routes = {
178 .routes = {
208 .routes = {
236 .routes = {
260 .routes = {
291 .routes = {
[all …]
/openbmc/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()
/openbmc/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()
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 …]
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);
/openbmc/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()
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 …]
/openbmc/linux/sound/soc/rockchip/
H A 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,
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()
574 memcpy(routes + card->num_dapm_routes, in rockchip_sound_of_parse_dais()
[all …]
/openbmc/qemu/hw/intc/
H A Ds390_flic_kvm.c359 uint64_t ind_offset = routes->adapter.ind_offset; in kvm_s390_add_adapter_routes()
365 for (i = 0; i < routes->num_routes; i++) { in kvm_s390_add_adapter_routes()
370 routes->gsi[i] = ret; in kvm_s390_add_adapter_routes()
371 routes->adapter.ind_offset++; in kvm_s390_add_adapter_routes()
376 routes->adapter.ind_offset = ind_offset; in kvm_s390_add_adapter_routes()
380 kvm_irqchip_release_virq(kvm_state, routes->gsi[i]); in kvm_s390_add_adapter_routes()
381 routes->gsi[i] = -1; in kvm_s390_add_adapter_routes()
383 routes->adapter.ind_offset = ind_offset; in kvm_s390_add_adapter_routes()
396 for (i = 0; i < routes->num_routes; i++) { in kvm_s390_release_adapter_routes()
397 if (routes->gsi[i] >= 0) { in kvm_s390_release_adapter_routes()
[all …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H 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
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.
/openbmc/linux/sound/soc/codecs/
H A 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()
/openbmc/linux/sound/soc/intel/avs/boards/
H A 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()
/openbmc/qemu/hw/s390x/
H A Dvirtio-ccw.c49 dev->routes.adapter.adapter_id = css_get_adapter_id( in virtio_ccw_dev_post_load()
258 release_indicator(&dev->routes.adapter, dev->indicators); in virtio_ccw_reset_virtio()
262 release_indicator(&dev->routes.adapter, dev->indicators2); in virtio_ccw_reset_virtio()
674 dev->routes.adapter.summary_offset = 7; in virtio_ccw_cb()
763 dev->routes.gsi[i] = -1; in virtio_ccw_device_realize()
881 uint64_t ind_bit = dev->routes.adapter.ind_offset; in virtio_ccw_notify()
958 r = map_indicator(&dev->routes.adapter, dev->indicators); in virtio_ccw_get_mappings()
963 dev->routes.adapter.ind_addr = dev->indicators->map; in virtio_ccw_get_mappings()
985 dev->routes.num_routes = i; in virtio_ccw_setup_irqroutes()
986 return fsc->add_adapter_routes(fs, &dev->routes); in virtio_ccw_setup_irqroutes()
[all …]
H A Ds390-pci-inst.c940 pbdev->routes.adapter.adapter_id = css_get_adapter_id( in reg_irqs()
956 pbdev->routes.adapter.summary_addr = ldq_p(&fib.aisb); in reg_irqs()
958 pbdev->routes.adapter.ind_addr = ldq_p(&fib.aibv); in reg_irqs()
968 release_indicator(&pbdev->routes.adapter, pbdev->indicator); in reg_irqs()
981 pbdev->routes.adapter.summary_addr = 0; in pci_dereg_irqs()
982 pbdev->routes.adapter.summary_offset = 0; in pci_dereg_irqs()
983 pbdev->routes.adapter.ind_addr = 0; in pci_dereg_irqs()
984 pbdev->routes.adapter.ind_offset = 0; in pci_dereg_irqs()
1405 stq_p(&fib.aibv, pbdev->routes.adapter.ind_addr); in stpcifc_service_call()
1406 stq_p(&fib.aisb, pbdev->routes.adapter.summary_addr); in stpcifc_service_call()
[all …]
/openbmc/linux/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-crossbar.c183 struct v4l2_subdev_route *routes; in mxc_isi_crossbar_init_cfg() local
191 routes = kcalloc(xbar->num_sources, sizeof(*routes), GFP_KERNEL); in mxc_isi_crossbar_init_cfg()
192 if (!routes) in mxc_isi_crossbar_init_cfg()
196 struct v4l2_subdev_route *route = &routes[i]; in mxc_isi_crossbar_init_cfg()
204 routing.routes = routes; in mxc_isi_crossbar_init_cfg()
208 kfree(routes); in mxc_isi_crossbar_init_cfg()
/openbmc/webui-vue/src/router/
H A Dindex.js7 import routes from './routes';
11 routes, field in AnonymousClassb7525ea40101
/openbmc/webui-vue/docs/guide/components/page-title/
H A Dindex.md5 `src/router/routes.js`.
8 // src/router/routes.js
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ifmetric/ifmetric/
H A Difmetric.8_typo.patch11 …ses the Linux NETLINK interface to manipulate the routes. Because of that it is compatible with ro…
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/
H 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
H 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
/openbmc/webui-vue/docs/customization/
H A Dbuild.md63 routes import in `src/router/index.js` will resolve to this new file. :::
64 3. Define new [routes](https://router.vuejs.org/api/#routes). :::tip Use static
65 imports (over lazy-loading routes) to avoid creating separate JS chunks.
73 application routes which is not always the same as what is visible in the app
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-subdev.c883 krouting->routes, in subdev_do_ioctl()
892 struct v4l2_subdev_route *routes = in subdev_do_ioctl() local
909 const struct v4l2_subdev_route *route = &routes[i]; in subdev_do_ioctl()
932 krouting.routes = routes; in subdev_do_ioctl()
1457 kfree(state->routing.routes); in __v4l2_subdev_state_free()
1582 sizeof(*src->routes), &bytes))) in v4l2_subdev_set_routing()
1588 new_routing.routes = kmemdup(src->routes, bytes, GFP_KERNEL); in v4l2_subdev_set_routing()
1589 if (!new_routing.routes) in v4l2_subdev_set_routing()
1598 kfree(new_routing.routes); in v4l2_subdev_set_routing()
1602 kfree(dst->routes); in v4l2_subdev_set_routing()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
H A 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 */
/openbmc/bmcweb/include/
H A Dwebroutes.hpp10 static boost::container::flat_set<std::string> routes; variable

12345678