Searched refs:routes (Results 1 - 25 of 69) sorted by relevance

123

/linux-master/drivers/comedi/drivers/ni_routing/tools/
H A Dconvert_c_to_py.c108 while (dR->routes[i].dest != 0) {
109 if (!is_valid_ni_sig(dR->routes[i].dest)) {
112 dR->routes[i].dest, dR->device, i);
116 fprintf(fp, " %u : [", dR->routes[i].dest);
120 while (dR->routes[i].src[j] != 0) {
121 if (!is_valid_ni_sig(dR->routes[i].src[j])) {
124 dR->routes[i].src[j], dR->device, i, j);
128 fprintf(fp, "%u,", dR->routes[i].src[j]);
149 /* write valid device routes */
/linux-master/include/net/netns/
H A Dmctp.h14 struct list_head routes; member in struct:netns_mctp
/linux-master/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,
97 .routes = mmsys_mt8188_vdo1_routing_table,
117 .routes
188 const struct mtk_mmsys_routes *routes = mmsys->data->routes; local
207 const struct mtk_mmsys_routes *routes = mmsys->data->routes; local
[all...]
/linux-master/net/phonet/
H A Dpn_dev.c31 struct phonet_routes routes; member in struct:phonet_net
258 /* Remove left-over Phonet routes */
260 mutex_lock(&pnn->routes.lock);
262 if (rcu_access_pointer(pnn->routes.table[i]) == dev) {
263 RCU_INIT_POINTER(pnn->routes.table[i], NULL);
266 mutex_unlock(&pnn->routes.lock);
313 mutex_init(&pnn->routes.lock);
359 struct phonet_routes *routes = &pnn->routes; local
363 mutex_lock(&routes
376 struct phonet_routes *routes = &pnn->routes; local
396 struct phonet_routes *routes = &pnn->routes; local
407 struct phonet_routes *routes = &pnn->routes; local
[all...]
/linux-master/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) {
89 swap(nr_node->routes[x], nr_node->routes[y]);
106 if ((odev=nr_dev_get(nr)) != NULL) { /* Can't add routes to ourself */
119 * routes now (and not wait for a node broadcast).
128 if (nr_nodet->routes[i].neighbour == nr_neigh)
199 nr_node->routes[0].quality = quality;
200 nr_node->routes[
[all...]
/linux-master/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. */
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[
393 ni_route_set_has_source(const struct ni_route_set *routes, const int source) argument
467 const struct ni_route_set *routes = local
[all...]
H A Dni_routes.h48 * @routes: List of route sets that are valid for this device.
53 struct ni_route_set *routes; member in struct:ni_device_routes
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...]
/linux-master/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...]
H A Drcar_du_drv.h71 * @routes: array of CRTC to output routes, indexed by output (RCAR_DU_OUTPUT_*)
83 struct rcar_du_output_routing routes[RCAR_DU_OUTPUT_MAX]; member in struct:rcar_du_device_info
/linux-master/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_drv.h46 * @routes: array of CRTC to output routes, indexed by output (RZG2L_DU_OUTPUT_*)
50 struct rzg2l_du_output_routing routes[RZG2L_DU_OUTPUT_MAX]; member in struct:rzg2l_du_device_info
H A Drzg2l_du_drv.c30 .routes = {
H A Drzg2l_du_kms.c186 if (rcdu->info->routes[i].port == ep.port) {
360 &rcdu->info->routes[renc->output];
/linux-master/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)
190 last = devroutes->routes[i].dest;
204 for (j = 0; j < devroutes->routes[i].n_src; ++j) {
205 if (last >= devroutes->routes[i].src[j])
207 last = devroutes->routes[i].src[j];
228 unittest(devroutes->routes
[all...]
/linux-master/sound/soc/rockchip/
H A Drk3399_gru_sound.c419 const struct snd_soc_dapm_route *routes; member in struct:rockchip_sound_route
425 .routes = rockchip_sound_cdndp_routes,
429 .routes = rockchip_sound_da7219_routes,
433 .routes = rockchip_sound_dmic_routes,
437 .routes = rockchip_sound_max98357a_routes,
441 .routes = rockchip_sound_rt5514_routes,
504 struct snd_soc_dapm_route *routes; local
516 routes = devm_kcalloc(dev, num_routes, sizeof(*routes),
518 if (!routes)
[all...]
/linux-master/sound/soc/codecs/
H A Daudio-iio-aux.c124 static struct snd_soc_dapm_route routes[2]; variable in typeref:struct:snd_soc_dapm_route
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;
163 routes[0].control = NULL;
164 routes[0].source = input_name;
165 routes[1].sink = output_name;
166 routes[1].control = NULL;
167 routes[
[all...]
H A Dwm8776.c143 static const struct snd_soc_dapm_route routes[] = { variable in typeref:struct:snd_soc_dapm_route
433 .dapm_routes = routes,
434 .num_dapm_routes = ARRAY_SIZE(routes),
/linux-master/sound/soc/intel/avs/boards/
H A Di2s_test.c58 struct snd_soc_dapm_route **routes, int *num_routes)
81 *routes = dr;
120 struct snd_soc_dapm_route *routes; local
159 ret = avs_create_dapm_routes(dev, ssp_port, tdm_slot, &routes, &num_routes);
161 dev_err(dev, "Failed to create dapm routes: %d\n", ret);
175 card->dapm_routes = routes;
57 avs_create_dapm_routes(struct device *dev, int ssp_port, int tdm_slot, struct snd_soc_dapm_route **routes, int *num_routes) argument
/linux-master/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-crossbar.c183 struct v4l2_subdev_route *routes; local
191 routes = kcalloc(xbar->num_sources, sizeof(*routes), GFP_KERNEL);
192 if (!routes)
196 struct v4l2_subdev_route *route = &routes[i];
204 routing.routes = routes;
208 kfree(routes);
/linux-master/drivers/comedi/drivers/ni_routing/ni_device_routes/
H A Dpci-6534.c4 * List of valid routes for specific NI boards.
32 .routes = (struct ni_route_set[]){
H A Dpxi-6733.c4 * List of valid routes for specific NI boards.
32 .routes = (struct ni_route_set[]){
H A Dpci-6733.c4 * List of valid routes for specific NI boards.
32 .routes = (struct ni_route_set[]){
H A Dpci-6713.c4 * List of valid routes for specific NI boards.
32 .routes = (struct ni_route_set[]){
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-subdev.c931 memcpy((struct v4l2_subdev_route *)(uintptr_t)routing->routes,
932 krouting->routes,
933 krouting->num_routes * sizeof(*krouting->routes));
941 struct v4l2_subdev_route *routes = local
942 (struct v4l2_subdev_route *)(uintptr_t)routing->routes;
958 const struct v4l2_subdev_route *route = &routes[i];
981 krouting.routes = routes;
1432 struct v4l2_subdev_route *route = &routing->routes[i];
1511 kfree(state->routing.routes);
[all...]
/linux-master/drivers/media/platform/renesas/rcar-vin/
H A Drcar-core.c794 /* Find the master VIN that controls the routes. */
858 for (route = vin->info->routes; route->chsel; route++) {
920 for (route = vin->info->routes; route->chsel; route++) {
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
[all...]
/linux-master/net/mctp/
H A Droute.c7 * number of routes should stay fairly small, so the lookup cost is small.
804 list_for_each_entry_rcu(tmp, &net->mctp.routes, list) {
826 list_for_each_entry_rcu(tmp, &net->mctp.routes, list) {
1090 /* Prevent duplicate identical routes. */
1091 list_for_each_entry(ert, &net->mctp.routes, list) {
1098 list_add_rcu(&rt->list, &net->mctp.routes);
1119 list_for_each_entry_safe(rt, tmp, &net->mctp.routes, list) {
1150 list_for_each_entry_safe(rt, tmp, &net->mctp.routes, list) {
1293 NL_SET_ERR_MSG(extack, "no routes to loopback");
1354 /* we only have unicast routes */
[all...]

Completed in 330 milliseconds

123