Lines Matching refs:drvtab
44 static struct audio_driver *drvtab[] = {
81 for (nn = 0; nn < sizeof(drvtab)/sizeof(drvtab[0]); nn++)
84 if ( drvtab[nn]->max_voices_in > 0 )
87 if ( drvtab[nn]->max_voices_out > 0 )
100 for (nn = 0; nn < sizeof(drvtab)/sizeof(drvtab[0]); nn++)
103 if ( drvtab[nn]->max_voices_in > 0 ) {
105 *pinfo = drvtab[nn]->descr;
106 return drvtab[nn]->name;
110 if ( drvtab[nn]->max_voices_out > 0 ) {
112 *pinfo = drvtab[nn]->descr;
113 return drvtab[nn]->name;
128 for (nn = 0; nn < sizeof(drvtab)/sizeof(drvtab[0]); nn++)
130 if ( !strcmp(drvtab[nn]->name, name) ) {
132 if (drvtab[nn]->max_voices_in > 0)
135 if (drvtab[nn]->max_voices_out > 0)
1808 for (i = 0; i < ARRAY_SIZE (drvtab); i++) {
1809 struct audio_driver *d = drvtab[i];
1821 for (i = 0; i < ARRAY_SIZE (drvtab); i++) {
1822 struct audio_driver *d = drvtab[i];
1998 for (i = 0; i < ARRAY_SIZE (drvtab); i++) {
1999 if (!strcmp (drvname, drvtab[i]->name)) {
2000 done = !audio_driver_init (s, drvtab[i]);
2013 for (i = 0; !done && i < ARRAY_SIZE (drvtab); i++) {
2014 if (drvtab[i]->can_be_default) {
2015 done = !audio_driver_init (s, drvtab[i]);