Lines Matching refs:ctlp
268 int snd_ctl_new(snd_ctl_t **ctlp, snd_ctl_type_t type, const char *name) in snd_ctl_new() argument
278 *ctlp = ctl; in snd_ctl_new()
1398 static int snd_ctl_open_conf(snd_ctl_t **ctlp, const char *name, in snd_ctl_open_conf() argument
1501 err = open_func(ctlp, name, ctl_root, ctl_conf, mode); in snd_ctl_open_conf()
1503 (*ctlp)->open_func = open_func; in snd_ctl_open_conf()
1519 static int snd_ctl_open_noupdate(snd_ctl_t **ctlp, snd_config_t *root, in snd_ctl_open_noupdate() argument
1532 err = snd_ctl_open_noupdate(ctlp, root, str, mode, hop + 1); in snd_ctl_open_noupdate()
1535 err = snd_ctl_open_conf(ctlp, name, root, ctl_conf, mode); in snd_ctl_open_noupdate()
1566 int snd_ctl_open(snd_ctl_t **ctlp, const char *name, int mode) in snd_ctl_open() argument
1571 assert(ctlp && name); in snd_ctl_open()
1581 err = snd_ctl_open_noupdate(ctlp, top, name, mode, 0); in snd_ctl_open()
1594 int snd_ctl_open_lconf(snd_ctl_t **ctlp, const char *name, in snd_ctl_open_lconf() argument
1597 assert(ctlp && name && lconf); in snd_ctl_open_lconf()
1598 return snd_ctl_open_noupdate(ctlp, lconf, name, mode, 0); in snd_ctl_open_lconf()
1610 int snd_ctl_open_fallback(snd_ctl_t **ctlp, snd_config_t *root, in snd_ctl_open_fallback() argument
1614 assert(ctlp && name && root); in snd_ctl_open_fallback()
1615 err = snd_ctl_open_noupdate(ctlp, root, name, mode, 0); in snd_ctl_open_fallback()
1617 free((*ctlp)->name); in snd_ctl_open_fallback()
1618 (*ctlp)->name = orig_name ? strdup(orig_name) : NULL; in snd_ctl_open_fallback()