Home
last modified time | relevance | path

Searched full:routes (Results 1 – 25 of 419) sorted by relevance

12345678910>>...17

/openbmc/linux/net/netrom/
H A Dnr_route.c80 /* re-sort the routes in quality order. */
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()
106 if ((odev=nr_dev_get(nr)) != NULL) { /* Can't add routes to ourself */ in nr_add_node()
119 * routes now (and not wait for a node broadcast). in nr_add_node()
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()
[all …]
/openbmc/linux/net/phonet/
H A Dpn_dev.c31 struct phonet_routes routes; member
258 /* Remove left-over Phonet routes */ in phonet_route_autodel()
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()
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Dni_routes.c68 * Find the valid routes for a board.
87 * device. Possibly try an alternate board name if device routes not found
103 /* Second, find the set of routes valid for this device. */ in ni_find_device_routes()
121 * @board_name: Board name (determines set of routes).
125 * Finds the route values for the device family and the set of valid routes
126 * for the board. If valid routes could not be found for the actual board
130 * (for example, with the route values but not the set of valid routes).
146 * ni_count_valid_routes() - Count the number of valid routes.
147 * @tables: Routing tables for which to count all valid routes.
155 const struct ni_route_set *R = &tables->valid_routes->routes[i]; in ni_count_valid_routes()
[all …]
H A Dni_routes.h48 * @routes: List of route sets that are valid for this device.
53 struct ni_route_set *routes; member
57 * struct ni_route_tables - Register values and valid routes for a device.
59 * @route_values: Pointer to register values for all routes for the family to
62 * Link to the valid src->dest routes and the register values used to assign
63 * such routes for that particular device.
85 * @valid_routes: Pointer to device routes within which to search.
100 bool ni_route_set_has_source(const struct ni_route_set *routes, const int src);
110 * Generally speaking, most routes require the first six bits and a few require
192 * ni_count_valid_routes() - Count the number of valid routes.
[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,
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 …]
/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/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()
154 /* write valid device routes */ in main()
/openbmc/linux/drivers/comedi/drivers/tests/
H A Dni_routes_test.c4 * Unit tests for NI routes (ni_routes.c module).
86 .routes = (struct ni_route_set[]){
96 /* indirect routes done through muxes */
131 /* [7] is intentionaly left absent to test invalid routes */
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()
[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/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,
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 …]
/openbmc/linux/sound/soc/codecs/
H A Daudio-iio-aux.c124 static struct snd_soc_dapm_route routes[2]; variable
126 /* Be sure sizes are correct (need 3 widgets and 2 routes) */
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/qemu/hw/intc/
H A Ds390_flic_kvm.c356 AdapterRoutes *routes) in kvm_s390_add_adapter_routes() argument
359 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()
366 ret = kvm_irqchip_add_adapter_route(kvm_state, &routes->adapter); 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()
[all …]
/openbmc/webui-vue/src/router/
H A Dindex.js3 //Do not change store or routes import.
7 import routes from './routes';
11 routes, field in AnonymousClassb7525ea40101
/openbmc/linux/sound/soc/sunxi/
H A Dsun8i-codec-analog.c286 /* Microphone Routes */
291 /* Left Mixer Routes */
296 /* Right Mixer Routes */
301 /* Left ADC Mixer Routes */
306 /* Right ADC Mixer Routes */
311 /* ADC Routes */
316 /* headphone specific controls, widgets, and routes */
416 dev_err(dev, "Failed to add Headphone DAPM routes: %d\n", ret); in sun8i_codec_add_headphone()
512 dev_err(dev, "Failed to add Line In DAPM routes: %d\n", ret); in sun8i_codec_add_linein()
520 /* line out specific controls, widgets and routes */
[all …]
H A Dsun50i-codec-analog.c398 /* Left Mixer Routes */
405 /* Right Mixer Routes */
412 /* Left ADC Mixer Routes */
419 /* Right ADC Mixer Routes */
426 /* ADC Routes */
430 /* Headphone Routes */
447 /* Microphone Routes */
450 /* Microphone Routes */
453 /* Line-out Routes */
465 /* Earpiece Routes */
/openbmc/linux/sound/pci/au88x0/
H A Dau8830.h85 #define OFFSET_SPORTIN 0x78 /* ch 0x13 ADB source. 2 routes. */
86 #define OFFSET_SPORTOUT 0x90 /* ch 0x13 ADB sink. 2 routes. */
92 #define OFFSET_EQOUT 0x7e /* ch 0x11 */ /* 2 routes on ch 0x11 */
94 #define OFFSET_A3DOUT 0xA6 /* ADB source. 2 routes per slice = 8 */
99 #define OFFSET_XTALKOUT 0x66 /* crosstalk canceller (source) 2 routes */
100 #define OFFSET_XTALKIN 0x96 /* crosstalk canceller (sink). 10 routes */
101 #define OFFSET_EFXOUT 0x68 /* ADB source. 8 routes. */
102 #define OFFSET_EFXIN 0x80 /* ADB sink. 8 routes. */
/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()
140 dev_err(dev, "Failed to create dapm routes: %d\n", ret); in avs_i2s_test_probe()
154 card->dapm_routes = routes; in avs_i2s_test_probe()
/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/qemu/hw/s390x/
H A Dvirtio-ccw.c49 dev->routes.adapter.adapter_id = css_get_adapter_id( in virtio_ccw_dev_post_load()
112 VMSTATE_STRUCT(routes, VirtioCcwDevice, 1, vmstate_adapter_routes,
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()
266 release_indicator(&dev->routes.adapter, dev->summary_indicator); in virtio_ccw_reset_virtio()
673 dev->routes.adapter.ind_offset = thinint.ind_bit; in virtio_ccw_cb()
674 dev->routes.adapter.summary_offset = 7; in virtio_ccw_cb()
675 dev->routes.adapter.adapter_id = css_get_adapter_id( in virtio_ccw_cb()
763 dev->routes.gsi[i] = -1; in virtio_ccw_device_realize()
813 release_indicator(&dev->routes.adapter, dev->indicators); in virtio_ccw_device_unrealize()
[all …]
H A Ds390-pci-inst.c940 pbdev->routes.adapter.adapter_id = css_get_adapter_id( in reg_irqs()
946 ret = map_indicator(&pbdev->routes.adapter, pbdev->summary_ind); in reg_irqs()
951 ret = map_indicator(&pbdev->routes.adapter, pbdev->indicator); in reg_irqs()
956 pbdev->routes.adapter.summary_addr = ldq_be_p(&fib.aisb); in reg_irqs()
957 pbdev->routes.adapter.summary_offset = FIB_DATA_AISBO(ldl_be_p(&fib.data)); in reg_irqs()
958 pbdev->routes.adapter.ind_addr = ldq_be_p(&fib.aibv); in reg_irqs()
959 pbdev->routes.adapter.ind_offset = FIB_DATA_AIBVO(ldl_be_p(&fib.data)); in reg_irqs()
964 trace_s390_pci_irqs("register", pbdev->routes.adapter.adapter_id); in reg_irqs()
967 release_indicator(&pbdev->routes.adapter, pbdev->summary_ind); in reg_irqs()
968 release_indicator(&pbdev->routes.adapter, pbdev->indicator); in reg_irqs()
[all …]
/openbmc/linux/drivers/comedi/drivers/ni_routing/
H A Dni_route_values.h28 * signals routes available on NI hardware. In many cases, one does not
29 * explicitly make these routes, rather one might indicate that something is
76 * struct family_route_values - Register values for all routes for a particular
82 * all routes defined.
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
125 visual comparison to the NI-MAX "Valid Routes" tables.
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_mr.c32 /* A list of route_vif_entry structs that point to routes that the VIF
37 /* A list of route_vif_entry structs that point to routes that the VIF
141 * not one of the egress interfaces, so trap these kind of routes. in mlxsw_sp_mr_route_action()
415 * found, abort, as duplicate routes are used for proxy routes. in mlxsw_sp_mr_route_add()
418 "Offloading proxy routes is not supported.\n"); in mlxsw_sp_mr_route_add()
635 /* Update all routes where this VIF is used as an unresolved iRIF */ in mlxsw_sp_mr_vif_resolve()
642 /* Update all routes where this VIF is used as an unresolved eRIF */ in mlxsw_sp_mr_vif_resolve()
668 /* Update all routes where this VIF is used as an unresolved eRIF */ in mlxsw_sp_mr_vif_unresolve()
672 /* Update all routes where this VIF is used as an unresolved iRIF */ in mlxsw_sp_mr_vif_unresolve()
762 /* Update all the routes that uses that VIF as eVIF */ in mlxsw_sp_mr_rif_mtu_update()
[all …]
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dfib_offload_lib.sh82 log_test "IPv4 identical routes"
113 log_test "IPv4 routes with TOS"
142 log_test "IPv4 routes with metric"
194 # Insert multiple routes with the same prefix and length and varying
226 # Add two routes with the same key and different prefix length and
238 log_test "IPv4 routes with different prefix length"
264 log_test "IPv4 routes replay - metric"
290 log_test "IPv4 routes replay - TOS"
316 log_test "IPv4 routes replay - prefix length"
331 # Exercise the routes flushing code paths by inserting various
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dfib.sh114 # Test that local routes can replace routes in main table.
211 # Test that local routes can replace routes in main table.

12345678910>>...17