Lines Matching defs:jacks
107 struct snd_array jacks;
385 struct conexant_jack *jacks = jack->private_data;
386 jacks->nid = 0;
387 jacks->jack = NULL;
399 snd_array_init(&spec->jacks, sizeof(*jack), 32);
401 jack = spec->jacks.list;
402 for (i = 0; i < spec->jacks.used; i++, jack++)
406 jack = snd_array_new(&spec->jacks);
426 struct conexant_jack *jacks = spec->jacks.list;
428 if (jacks) {
430 for (i = 0; i < spec->jacks.used; i++) {
431 if (jacks->nid == nid) {
435 present = (present) ? jacks->type : 0 ;
437 snd_jack_report(jacks->jack,
440 jacks++;
502 if (spec->jacks.list) {
503 struct conexant_jack *jacks = spec->jacks.list;
505 for (i = 0; i < spec->jacks.used; i++, jacks++) {
506 if (jacks->jack)
507 snd_device_free(codec->bus->card, jacks->jack);
509 snd_array_free(&spec->jacks);