Lines Matching defs:master
171 * look for a master instance matching with the slave id of the given slave.
179 struct snd_timer_instance *master;
182 list_for_each_entry(master, &timer->open_list_head, open_list) {
183 if (slave->slave_class == master->slave_class &&
184 slave->slave_id == master->slave_id) {
187 &master->slave_list_head);
189 slave->master = master;
190 slave->timer = master->timer;
199 * look for slave instances matching with the slave id of the given master.
204 static void snd_timer_check_master(struct snd_timer_instance *master)
210 if (slave->slave_class == master->slave_class &&
211 slave->slave_id == master->slave_id) {
212 list_move_tail(&slave->open_list, &master->slave_list_head);
214 slave->master = master;
215 slave->timer = master->timer;
218 &master->slave_active_head);
226 * when opening a master, the slave id must be here given.
258 /* open a master instance */
346 slave->master = NULL;
432 if (timeri->master)
434 &timeri->master->slave_active_head);