linux/sound/core/ctljack.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Helper functions for jack-detection kcontrols
 *
 * Copyright (c) 2011 Takashi Iwai <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/export.h>
#include <sound/core.h>
#include <sound/control.h>

#define jack_detect_kctl_info

static int jack_detect_kctl_get(struct snd_kcontrol *kcontrol,
				struct snd_ctl_elem_value *ucontrol)
{}

static const struct snd_kcontrol_new jack_detect_kctl =;

static int get_available_index(struct snd_card *card, const char *name)
{}

static void jack_kctl_name_gen(char *name, const char *src_name, int size)
{}

struct snd_kcontrol *
snd_kctl_jack_new(const char *name, struct snd_card *card)
{}

void snd_kctl_jack_report(struct snd_card *card,
			  struct snd_kcontrol *kctl, bool status)
{}