Home
last modified time | relevance | path

Searched refs:route (Results 1 – 16 of 16) sorted by relevance

/sound/core/
Dcontrol_led.c74 #define UPDATE_ROUTE(route, cb) \ argument
78 route = route < 0 ? route2 : (route | route2); \
142 int route; in snd_ctl_led_set_state() local
148 route = -1; in snd_ctl_led_set_state()
159 UPDATE_ROUTE(route, snd_ctl_led_get(lctl)); in snd_ctl_led_set_state()
169 UPDATE_ROUTE(route, snd_ctl_led_get(lctl)); in snd_ctl_led_set_state()
174 case MODE_OFF: route = 1; break; in snd_ctl_led_set_state()
175 case MODE_ON: route = 0; break; in snd_ctl_led_set_state()
176 case MODE_FOLLOW_ROUTE: if (route >= 0) route ^= 1; break; in snd_ctl_led_set_state()
179 if (route >= 0) in snd_ctl_led_set_state()
[all …]
/sound/soc/qcom/qdsp6/
Dq6adm.c463 struct q6adm_cmd_matrix_map_routings_v5 *route; in q6adm_matrix_map() local
472 pkt_size = (APR_HDR_SIZE + sizeof(*route) + sizeof(*node) + in q6adm_matrix_map()
480 route = matrix_map + APR_HDR_SIZE; in q6adm_matrix_map()
481 node = matrix_map + APR_HDR_SIZE + sizeof(*route); in q6adm_matrix_map()
482 copps_list = matrix_map + APR_HDR_SIZE + sizeof(*route) + sizeof(*node); in q6adm_matrix_map()
490 route->num_sessions = 1; in q6adm_matrix_map()
494 route->matrix_id = ADM_MATRIX_ID_AUDIO_RX; in q6adm_matrix_map()
497 route->matrix_id = ADM_MATRIX_ID_AUDIO_TX; in q6adm_matrix_map()
/sound/pci/au88x0/
Dau88x0_core.c1630 ADBRamLink * route, int rnum) in vortex_adb_addroutes() argument
1634 if ((rnum <= 0) || (route == NULL)) in vortex_adb_addroutes()
1639 VORTEX_ADB_RTBASE + ((route[rnum] & ADB_MASK) << 2), in vortex_adb_addroutes()
1644 ((route[rnum - 1] & ADB_MASK) << 2), route[rnum]); in vortex_adb_addroutes()
1654 route[0]); in vortex_adb_addroutes()
1667 *route); in vortex_adb_addroutes()
1672 hwwrite(vortex->mmio, VORTEX_ADB_RTBASE + (prev << 2), route[0]); in vortex_adb_addroutes()
1719 ADBRamLink route; in vortex_route() local
1721 route = ((source & ADB_MASK) << ADB_SHIFT) | (dest & ADB_MASK); in vortex_route()
1723 vortex_adb_addroutes(vortex, channel, &route, 1); in vortex_route()
[all …]
/sound/soc/
Dsoc-dapm.c2930 const struct snd_soc_dapm_route *route) in snd_soc_dapm_add_route() argument
2946 prefix, route->sink); in snd_soc_dapm_add_route()
2949 prefix, route->source); in snd_soc_dapm_add_route()
2952 sink = route->sink; in snd_soc_dapm_add_route()
2953 source = route->source; in snd_soc_dapm_add_route()
3003 route->source); in snd_soc_dapm_add_route()
3008 route->sink); in snd_soc_dapm_add_route()
3016 ret = snd_soc_dapm_add_path(dapm, wsource, wsink, route->control, in snd_soc_dapm_add_route()
3017 route->connected); in snd_soc_dapm_add_route()
3024 source, route->control, sink); in snd_soc_dapm_add_route()
[all …]
Dsoc-topology.c1092 struct snd_soc_dapm_route *route) in soc_tplg_add_route() argument
1096 route); in soc_tplg_add_route()
/sound/soc/codecs/
Dhdac_hdmi.c701 static void hdac_hdmi_fill_route(struct snd_soc_dapm_route *route, in hdac_hdmi_fill_route() argument
706 route->sink = sink; in hdac_hdmi_fill_route()
707 route->source = src; in hdac_hdmi_fill_route()
708 route->control = control; in hdac_hdmi_fill_route()
709 route->connected = handler; in hdac_hdmi_fill_route()
1026 struct snd_soc_dapm_route *route, int rindex) in hdac_hdmi_add_pinmux_cvt_route() argument
1038 hdac_hdmi_fill_route(&route[rindex], in hdac_hdmi_add_pinmux_cvt_route()
1069 struct snd_soc_dapm_route *route; in create_fill_widget_route_map() local
1138 route = devm_kzalloc(dapm->dev, (sizeof(*route) * num_routes), in create_fill_widget_route_map()
1140 if (!route) in create_fill_widget_route_map()
[all …]
Dab8500-codec.c1943 const struct snd_soc_dapm_route *route; in ab8500_audio_setup_mics() local
1965 route = &ab8500_dapm_routes_mic1a_vamicx[amics->mic1a_micbias]; in ab8500_audio_setup_mics()
1966 status = snd_soc_dapm_add_routes(dapm, route, 1); in ab8500_audio_setup_mics()
1969 route = &ab8500_dapm_routes_mic1b_vamicx[amics->mic1b_micbias]; in ab8500_audio_setup_mics()
1970 status |= snd_soc_dapm_add_routes(dapm, route, 1); in ab8500_audio_setup_mics()
1973 route = &ab8500_dapm_routes_mic2_vamicx[amics->mic2_micbias]; in ab8500_audio_setup_mics()
1974 status |= snd_soc_dapm_add_routes(dapm, route, 1); in ab8500_audio_setup_mics()
Dhdmi-codec.c818 struct snd_soc_dapm_route route[] = { in hdmi_dai_probe() local
831 ret = snd_soc_dapm_add_routes(dapm, route, 2); in hdmi_dai_probe()
/sound/soc/sh/rcar/
Dsrc.c210 u32 cr, route; in rsnd_src_set_convert_rate() local
264 route = 0x0; in rsnd_src_set_convert_rate()
266 route = 0x1; in rsnd_src_set_convert_rate()
270 route |= rsnd_io_is_play(io) ? in rsnd_src_set_convert_rate()
332 rsnd_mod_write(mod, SRC_ROUTE_MODE0, route); in rsnd_src_set_convert_rate()
/sound/soc/sof/
Dsof-audio.c258 sroute->route->sink, in sof_restore_pipelines()
259 sroute->route->control ? sroute->route->control in sof_restore_pipelines()
261 sroute->route->source); in sof_restore_pipelines()
Dtopology.c3388 struct snd_soc_dapm_route *route) in sof_route_load() argument
3393 struct snd_soc_dobj *dobj = &route->dobj; in sof_route_load()
3415 route->sink, route->control ? route->control : "none", in sof_route_load()
3416 route->source); in sof_route_load()
3419 source_swidget = snd_sof_find_swidget(scomp, (char *)route->source); in sof_route_load()
3422 route->source); in sof_route_load()
3440 sink_swidget = snd_sof_find_swidget(scomp, (char *)route->sink); in sof_route_load()
3443 route->sink); in sof_route_load()
3467 route->source, route->sink); in sof_route_load()
3478 route->sink, in sof_route_load()
[all …]
Dsof-audio.h102 struct snd_soc_dapm_route *route; member
/sound/core/oss/
DMakefile11 io.o copy.o linear.o mulaw.o route.o rate.o
Dmixer_oss.c572 int route) in snd_mixer_oss_get_volume1_sw() argument
600 if (uinfo->count > 1 && !uctl->value.integer.value[route ? 3 : 1]) in snd_mixer_oss_get_volume1_sw()
680 int route) in snd_mixer_oss_put_volume1_sw() argument
704 uctl->value.integer.value[route ? 3 : 1] = right > 0 ? 1 : 0; in snd_mixer_oss_put_volume1_sw()
705 if (route) { in snd_mixer_oss_put_volume1_sw()
/sound/pci/emu10k1/
Demumixer.c1188 static void update_emu10k1_fxrt(struct snd_emu10k1 *emu, int voice, unsigned char *route) in update_emu10k1_fxrt() argument
1192 snd_emu10k1_compose_audigy_fxrt1(route)); in update_emu10k1_fxrt()
1194 snd_emu10k1_compose_audigy_fxrt2(route)); in update_emu10k1_fxrt()
1197 snd_emu10k1_compose_send_routing(route)); in update_emu10k1_fxrt()
/sound/pci/
Des1968.c1090 int mode, int route) in init_capture_apu() argument
1128 apu_set_register(chip, apu, 11, route); in init_capture_apu()