Lines Matching refs:route
74 #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()
180 ledtrig_audio_set(led->trigger_type, route ? LED_OFF : LED_ON); in snd_ctl_led_set_state()