jack              244 arch/arm/mach-pxa/palm27x.c void __init palm27x_ac97_init(int minv, int maxv, int jack, int reset)
jack              247 arch/arm/mach-pxa/palm27x.c 	palm27x_asoc_pdata.jack_gpio	= jack;
jack               52 arch/arm/mach-pxa/palm27x.h extern void __init palm27x_ac97_init(int minv, int maxv, int jack,
jack               55 arch/arm/mach-pxa/palm27x.h static inline void palm27x_ac97_init(int minv, int maxv, int jack, int reset) {}
jack              749 drivers/staging/greybus/audio_codec.c 		ret = snd_jack_set_key(module->button_jack.jack, SND_JACK_BTN_0,
jack              758 drivers/staging/greybus/audio_codec.c 		ret = snd_jack_set_key(module->button_jack.jack, SND_JACK_BTN_1,
jack              767 drivers/staging/greybus/audio_codec.c 		ret = snd_jack_set_key(module->button_jack.jack, SND_JACK_BTN_2,
jack              776 drivers/staging/greybus/audio_codec.c 		ret = snd_jack_set_key(module->button_jack.jack, SND_JACK_BTN_3,
jack              798 drivers/staging/greybus/audio_codec.c 	struct snd_soc_jack *jack = NULL;
jack              843 drivers/staging/greybus/audio_codec.c 		list_for_each_entry(jack, &codec->jack_list, list) {
jack              844 drivers/staging/greybus/audio_codec.c 			if ((jack == &module->headset_jack) ||
jack              845 drivers/staging/greybus/audio_codec.c 			    (jack == &module->button_jack))
jack              847 drivers/staging/greybus/audio_codec.c 						    jack->jack);
jack              931 drivers/staging/greybus/audio_codec.c 	struct snd_soc_jack *jack, *next_j;
jack              945 drivers/staging/greybus/audio_codec.c 	list_for_each_entry_safe(jack, next_j, &codec->jack_list, list) {
jack              946 drivers/staging/greybus/audio_codec.c 		if (jack == &module->headset_jack)
jack              948 drivers/staging/greybus/audio_codec.c 		else if (jack == &module->button_jack)
jack              954 drivers/staging/greybus/audio_codec.c 				jack->jack->id);
jack              955 drivers/staging/greybus/audio_codec.c 			snd_soc_jack_report(jack, 0, mask);
jack              956 drivers/staging/greybus/audio_codec.c 			snd_device_free(codec->card->snd_card, jack->jack);
jack              957 drivers/staging/greybus/audio_codec.c 			list_del(&jack->list);
jack               24 drivers/staging/greybus/audio_module.c 	struct snd_jack *jack = module->headset_jack.jack;
jack               25 drivers/staging/greybus/audio_module.c 	struct snd_jack *btn_jack = module->button_jack.jack;
jack               27 drivers/staging/greybus/audio_module.c 	if (!jack) {
jack               73 drivers/staging/greybus/audio_module.c 	struct snd_jack *btn_jack = module->button_jack.jack;
jack              875 drivers/usb/gadget/function/f_midi.c 	int status, n, jack = 1, i = 0, endpoint_descriptor_index = 0;
jack              952 drivers/usb/gadget/function/f_midi.c 		in_ext->bJackID			= jack++;
jack              960 drivers/usb/gadget/function/f_midi.c 		out_emb->bJackID		= jack++;
jack              980 drivers/usb/gadget/function/f_midi.c 		in_emb->bJackID			= jack++;
jack              988 drivers/usb/gadget/function/f_midi.c 		out_ext->bJackID =		jack++;
jack              117 include/sound/hdmi-codec.h 			       struct snd_soc_jack *jack);
jack               77 include/sound/jack.h 		 struct snd_jack **jack, bool initial_kctl, bool phantom_jack);
jack               78 include/sound/jack.h int snd_jack_add_new_kctl(struct snd_jack *jack, const char * name, int mask);
jack               80 include/sound/jack.h void snd_jack_set_parent(struct snd_jack *jack, struct device *parent);
jack               81 include/sound/jack.h int snd_jack_set_key(struct snd_jack *jack, enum snd_jack_types type,
jack               84 include/sound/jack.h void snd_jack_report(struct snd_jack *jack, int status);
jack               88 include/sound/jack.h 			       struct snd_jack **jack, bool initial_kctl, bool phantom_jack)
jack               93 include/sound/jack.h static inline int snd_jack_add_new_kctl(struct snd_jack *jack, const char * name, int mask)
jack               98 include/sound/jack.h static inline void snd_jack_report(struct snd_jack *jack, int status)
jack              105 include/sound/jack.h static inline void snd_jack_set_parent(struct snd_jack *jack,
jack              110 include/sound/jack.h static inline int snd_jack_set_key(struct snd_jack *jack,
jack               36 include/sound/simple_card_utils.h 	struct snd_soc_jack jack;
jack               63 include/sound/soc-component.h 			struct snd_soc_jack *jack,  void *data);
jack              282 include/sound/soc-component.h 			       struct snd_soc_jack *jack, void *data);
jack              495 include/sound/soc.h 	struct snd_soc_jack *jack, struct snd_soc_jack_pin *pins,
jack              498 include/sound/soc.h void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask);
jack              499 include/sound/soc.h int snd_soc_jack_add_pins(struct snd_soc_jack *jack, int count,
jack              501 include/sound/soc.h void snd_soc_jack_notifier_register(struct snd_soc_jack *jack,
jack              503 include/sound/soc.h void snd_soc_jack_notifier_unregister(struct snd_soc_jack *jack,
jack              505 include/sound/soc.h int snd_soc_jack_add_zones(struct snd_soc_jack *jack, int count,
jack              507 include/sound/soc.h int snd_soc_jack_get_type(struct snd_soc_jack *jack, int micbias_voltage);
jack              509 include/sound/soc.h int snd_soc_jack_add_gpios(struct snd_soc_jack *jack, int count,
jack              512 include/sound/soc.h 			    struct snd_soc_jack *jack,
jack              514 include/sound/soc.h void snd_soc_jack_free_gpios(struct snd_soc_jack *jack, int count,
jack              517 include/sound/soc.h static inline int snd_soc_jack_add_gpios(struct snd_soc_jack *jack, int count,
jack              524 include/sound/soc.h 					  struct snd_soc_jack *jack,
jack              531 include/sound/soc.h static inline void snd_soc_jack_free_gpios(struct snd_soc_jack *jack, int count,
jack              686 include/sound/soc.h 	struct snd_soc_jack *jack;
jack              698 include/sound/soc.h 	struct snd_jack *jack;
jack              229 include/trace/events/asoc.h 	TP_PROTO(struct snd_soc_jack *jack, int mask, int val),
jack              231 include/trace/events/asoc.h 	TP_ARGS(jack, mask, val),
jack              234 include/trace/events/asoc.h 		__string(	name,		jack->jack->id		)
jack              240 include/trace/events/asoc.h 		__assign_str(name, jack->jack->id);
jack              251 include/trace/events/asoc.h 	TP_PROTO(struct snd_soc_jack *jack, int val),
jack              253 include/trace/events/asoc.h 	TP_ARGS(jack, val),
jack              256 include/trace/events/asoc.h 		__string(	name,		jack->jack->id		)
jack              261 include/trace/events/asoc.h 		__assign_str(name, jack->jack->id);
jack               35 sound/core/jack.c 	struct snd_jack *jack = device->device_data;
jack               37 sound/core/jack.c 	if (!jack->input_dev)
jack               42 sound/core/jack.c 	if (jack->registered)
jack               43 sound/core/jack.c 		input_unregister_device(jack->input_dev);
jack               45 sound/core/jack.c 		input_free_device(jack->input_dev);
jack               46 sound/core/jack.c 	jack->input_dev = NULL;
jack               53 sound/core/jack.c 	struct snd_jack *jack = device->device_data;
jack               57 sound/core/jack.c 	list_for_each_entry_safe(jack_kctl, tmp_jack_kctl, &jack->kctl_list, list) {
jack               61 sound/core/jack.c 	if (jack->private_free)
jack               62 sound/core/jack.c 		jack->private_free(jack);
jack               66 sound/core/jack.c 	kfree(jack->id);
jack               67 sound/core/jack.c 	kfree(jack);
jack               75 sound/core/jack.c 	struct snd_jack *jack = device->device_data;
jack               79 sound/core/jack.c 	snprintf(jack->name, sizeof(jack->name), "%s %s",
jack               80 sound/core/jack.c 		 card->shortname, jack->id);
jack               82 sound/core/jack.c 	if (!jack->input_dev)
jack               85 sound/core/jack.c 	jack->input_dev->name = jack->name;
jack               88 sound/core/jack.c 	if (!jack->input_dev->dev.parent)
jack               89 sound/core/jack.c 		jack->input_dev->dev.parent = snd_card_get_device_link(card);
jack               92 sound/core/jack.c 	for (i = 0; i < ARRAY_SIZE(jack->key); i++) {
jack               95 sound/core/jack.c 		if (!(jack->type & testbit))
jack               98 sound/core/jack.c 		if (!jack->key[i])
jack               99 sound/core/jack.c 			jack->key[i] = BTN_0 + i;
jack              101 sound/core/jack.c 		input_set_capability(jack->input_dev, EV_KEY, jack->key[i]);
jack              104 sound/core/jack.c 	err = input_register_device(jack->input_dev);
jack              106 sound/core/jack.c 		jack->registered = 1;
jack              123 sound/core/jack.c static void snd_jack_kctl_add(struct snd_jack *jack, struct snd_jack_kctl *jack_kctl)
jack              125 sound/core/jack.c 	list_add_tail(&jack_kctl->list, &jack->kctl_list);
jack              170 sound/core/jack.c int snd_jack_add_new_kctl(struct snd_jack *jack, const char * name, int mask)
jack              174 sound/core/jack.c 	jack_kctl = snd_jack_kctl_new(jack->card, name, mask);
jack              178 sound/core/jack.c 	snd_jack_kctl_add(jack, jack_kctl);
jack              201 sound/core/jack.c 	struct snd_jack *jack;
jack              218 sound/core/jack.c 	jack = kzalloc(sizeof(struct snd_jack), GFP_KERNEL);
jack              219 sound/core/jack.c 	if (jack == NULL)
jack              222 sound/core/jack.c 	jack->id = kstrdup(id, GFP_KERNEL);
jack              229 sound/core/jack.c 		jack->input_dev = input_allocate_device();
jack              230 sound/core/jack.c 		if (jack->input_dev == NULL) {
jack              235 sound/core/jack.c 		jack->input_dev->phys = "ALSA";
jack              237 sound/core/jack.c 		jack->type = type;
jack              241 sound/core/jack.c 				input_set_capability(jack->input_dev, EV_SW,
jack              247 sound/core/jack.c 	err = snd_device_new(card, SNDRV_DEV_JACK, jack, &ops);
jack              251 sound/core/jack.c 	jack->card = card;
jack              252 sound/core/jack.c 	INIT_LIST_HEAD(&jack->kctl_list);
jack              255 sound/core/jack.c 		snd_jack_kctl_add(jack, jack_kctl);
jack              257 sound/core/jack.c 	*jjack = jack;
jack              263 sound/core/jack.c 	input_free_device(jack->input_dev);
jack              265 sound/core/jack.c 	kfree(jack->id);
jack              266 sound/core/jack.c 	kfree(jack);
jack              282 sound/core/jack.c void snd_jack_set_parent(struct snd_jack *jack, struct device *parent)
jack              284 sound/core/jack.c 	WARN_ON(jack->registered);
jack              285 sound/core/jack.c 	if (!jack->input_dev)
jack              288 sound/core/jack.c 	jack->input_dev->dev.parent = parent;
jack              317 sound/core/jack.c int snd_jack_set_key(struct snd_jack *jack, enum snd_jack_types type,
jack              322 sound/core/jack.c 	WARN_ON(jack->registered);
jack              324 sound/core/jack.c 	if (!keytype || key >= ARRAY_SIZE(jack->key))
jack              327 sound/core/jack.c 	jack->type |= type;
jack              328 sound/core/jack.c 	jack->key[key] = keytype;
jack              340 sound/core/jack.c void snd_jack_report(struct snd_jack *jack, int status)
jack              347 sound/core/jack.c 	if (!jack)
jack              350 sound/core/jack.c 	list_for_each_entry(jack_kctl, &jack->kctl_list, list)
jack              351 sound/core/jack.c 		snd_kctl_jack_report(jack->card, jack_kctl->kctl,
jack              355 sound/core/jack.c 	if (!jack->input_dev)
jack              358 sound/core/jack.c 	for (i = 0; i < ARRAY_SIZE(jack->key); i++) {
jack              361 sound/core/jack.c 		if (jack->type & testbit)
jack              362 sound/core/jack.c 			input_report_key(jack->input_dev, jack->key[i],
jack              368 sound/core/jack.c 		if (jack->type & testbit)
jack              369 sound/core/jack.c 			input_report_switch(jack->input_dev,
jack              374 sound/core/jack.c 	input_sync(jack->input_dev);
jack             2201 sound/pci/hda/hda_generic.c 			     struct hda_jack_callback *jack);
jack             4231 sound/pci/hda/hda_generic.c 			       struct hda_jack_callback *jack,
jack             4234 sound/pci/hda/hda_generic.c 	if (jack && jack->nid)
jack             4236 sound/pci/hda/hda_generic.c 					set_pin_power_jack(codec, jack->nid, on));
jack             4241 sound/pci/hda/hda_generic.c 				  struct hda_jack_callback *jack)
jack             4243 sound/pci/hda/hda_generic.c 	pin_power_callback(codec, jack, true);
jack             4248 sound/pci/hda/hda_generic.c 				    struct hda_jack_callback *jack)
jack             4250 sound/pci/hda/hda_generic.c 	pin_power_callback(codec, jack, false);
jack             4554 sound/pci/hda/hda_generic.c 			     struct hda_jack_callback *jack)
jack             4579 sound/pci/hda/hda_generic.c 			       struct hda_jack_callback *jack)
jack             4604 sound/pci/hda/hda_generic.c 				struct hda_jack_callback *jack)
jack             4628 sound/pci/hda/hda_generic.c 			     struct hda_jack_callback *jack)
jack             4632 sound/pci/hda/hda_generic.c 		spec->hp_automute_hook(codec, jack);
jack             4634 sound/pci/hda/hda_generic.c 		snd_hda_gen_hp_automute(codec, jack);
jack             4638 sound/pci/hda/hda_generic.c 			       struct hda_jack_callback *jack)
jack             4642 sound/pci/hda/hda_generic.c 		spec->line_automute_hook(codec, jack);
jack             4644 sound/pci/hda/hda_generic.c 		snd_hda_gen_line_automute(codec, jack);
jack             4648 sound/pci/hda/hda_generic.c 				struct hda_jack_callback *jack)
jack             4652 sound/pci/hda/hda_generic.c 		spec->mic_autoswitch_hook(codec, jack);
jack             4654 sound/pci/hda/hda_generic.c 		snd_hda_gen_mic_autoswitch(codec, jack);
jack              340 sound/pci/hda/hda_generic.h 			     struct hda_jack_callback *jack);
jack              342 sound/pci/hda/hda_generic.h 			       struct hda_jack_callback *jack);
jack              344 sound/pci/hda/hda_generic.h 				struct hda_jack_callback *jack);
jack               72 sound/pci/hda/hda_jack.c 	struct hda_jack_tbl *jack = codec->jacktbl.list;
jack               75 sound/pci/hda/hda_jack.c 	if (!nid || !jack)
jack               77 sound/pci/hda/hda_jack.c 	for (i = 0; i < codec->jacktbl.used; i++, jack++)
jack               78 sound/pci/hda/hda_jack.c 		if (jack->nid == nid)
jack               79 sound/pci/hda/hda_jack.c 			return jack;
jack               92 sound/pci/hda/hda_jack.c 	struct hda_jack_tbl *jack = codec->jacktbl.list;
jack               95 sound/pci/hda/hda_jack.c 	if (!tag || !jack)
jack               97 sound/pci/hda/hda_jack.c 	for (i = 0; i < codec->jacktbl.used; i++, jack++)
jack               98 sound/pci/hda/hda_jack.c 		if (jack->tag == tag)
jack               99 sound/pci/hda/hda_jack.c 			return jack;
jack              112 sound/pci/hda/hda_jack.c 	struct hda_jack_tbl *jack = snd_hda_jack_tbl_get(codec, nid);
jack              113 sound/pci/hda/hda_jack.c 	if (jack)
jack              114 sound/pci/hda/hda_jack.c 		return jack;
jack              115 sound/pci/hda/hda_jack.c 	jack = snd_array_new(&codec->jacktbl);
jack              116 sound/pci/hda/hda_jack.c 	if (!jack)
jack              118 sound/pci/hda/hda_jack.c 	jack->nid = nid;
jack              119 sound/pci/hda/hda_jack.c 	jack->jack_dirty = 1;
jack              120 sound/pci/hda/hda_jack.c 	jack->tag = codec->jacktbl.used;
jack              121 sound/pci/hda/hda_jack.c 	return jack;
jack              126 sound/pci/hda/hda_jack.c 	struct hda_jack_tbl *jack = codec->jacktbl.list;
jack              129 sound/pci/hda/hda_jack.c 	for (i = 0; i < codec->jacktbl.used; i++, jack++) {
jack              133 sound/pci/hda/hda_jack.c 		if (!codec->bus->shutdown && jack->jack)
jack              134 sound/pci/hda/hda_jack.c 			snd_device_free(codec->card, jack->jack);
jack              136 sound/pci/hda/hda_jack.c 		for (cb = jack->callback; cb; cb = next) {
jack              148 sound/pci/hda/hda_jack.c 			       struct hda_jack_tbl *jack)
jack              150 sound/pci/hda/hda_jack.c 	if (!jack->jack_dirty)
jack              153 sound/pci/hda/hda_jack.c 	if (jack->phantom_jack)
jack              154 sound/pci/hda/hda_jack.c 		jack->pin_sense = AC_PINSENSE_PRESENCE;
jack              156 sound/pci/hda/hda_jack.c 		jack->pin_sense = read_pin_sense(codec, jack->nid);
jack              159 sound/pci/hda/hda_jack.c 	if (jack->gating_jack && !snd_hda_jack_detect(codec, jack->gating_jack))
jack              160 sound/pci/hda/hda_jack.c 		jack->pin_sense &= ~AC_PINSENSE_PRESENCE;
jack              162 sound/pci/hda/hda_jack.c 	jack->jack_dirty = 0;
jack              165 sound/pci/hda/hda_jack.c 	if (jack->gated_jack) {
jack              167 sound/pci/hda/hda_jack.c 			snd_hda_jack_tbl_get(codec, jack->gated_jack);
jack              184 sound/pci/hda/hda_jack.c 	struct hda_jack_tbl *jack = codec->jacktbl.list;
jack              187 sound/pci/hda/hda_jack.c 	for (i = 0; i < codec->jacktbl.used; i++, jack++)
jack              188 sound/pci/hda/hda_jack.c 		if (jack->nid)
jack              189 sound/pci/hda/hda_jack.c 			jack->jack_dirty = 1;
jack              203 sound/pci/hda/hda_jack.c 	struct hda_jack_tbl *jack = snd_hda_jack_tbl_get(codec, nid);
jack              204 sound/pci/hda/hda_jack.c 	if (jack) {
jack              205 sound/pci/hda/hda_jack.c 		jack_detect_update(codec, jack);
jack              206 sound/pci/hda/hda_jack.c 		return jack->pin_sense;
jack              222 sound/pci/hda/hda_jack.c 	struct hda_jack_tbl *jack = snd_hda_jack_tbl_get(codec, nid);
jack              223 sound/pci/hda/hda_jack.c 	if (jack && jack->phantom_jack)
jack              246 sound/pci/hda/hda_jack.c 	struct hda_jack_tbl *jack;
jack              250 sound/pci/hda/hda_jack.c 	jack = snd_hda_jack_tbl_new(codec, nid);
jack              251 sound/pci/hda/hda_jack.c 	if (!jack)
jack              258 sound/pci/hda/hda_jack.c 		callback->nid = jack->nid;
jack              259 sound/pci/hda/hda_jack.c 		callback->next = jack->callback;
jack              260 sound/pci/hda/hda_jack.c 		jack->callback = callback;
jack              263 sound/pci/hda/hda_jack.c 	if (jack->jack_detect)
jack              265 sound/pci/hda/hda_jack.c 	jack->jack_detect = 1;
jack              270 sound/pci/hda/hda_jack.c 					 AC_USRSP_EN | jack->tag);
jack              321 sound/pci/hda/hda_jack.c 	struct hda_jack_tbl *jack;
jack              325 sound/pci/hda/hda_jack.c 	jack = codec->jacktbl.list;
jack              326 sound/pci/hda/hda_jack.c 	for (i = 0; i < codec->jacktbl.used; i++, jack++)
jack              327 sound/pci/hda/hda_jack.c 		if (jack->nid)
jack              328 sound/pci/hda/hda_jack.c 			jack_detect_update(codec, jack);
jack              333 sound/pci/hda/hda_jack.c 	jack = codec->jacktbl.list;
jack              334 sound/pci/hda/hda_jack.c 	for (i = 0; i < codec->jacktbl.used; i++, jack++)
jack              335 sound/pci/hda/hda_jack.c 		if (jack->nid) {
jack              336 sound/pci/hda/hda_jack.c 			if (!jack->jack || jack->block_report)
jack              338 sound/pci/hda/hda_jack.c 			state = jack->button_state;
jack              339 sound/pci/hda/hda_jack.c 			if (get_jack_plug_state(jack->pin_sense))
jack              340 sound/pci/hda/hda_jack.c 				state |= jack->type;
jack              341 sound/pci/hda/hda_jack.c 			snd_jack_report(jack->jack, state);
jack              342 sound/pci/hda/hda_jack.c 			if (jack->button_state) {
jack              343 sound/pci/hda/hda_jack.c 				snd_jack_report(jack->jack,
jack              344 sound/pci/hda/hda_jack.c 						state & ~jack->button_state);
jack              345 sound/pci/hda/hda_jack.c 				jack->button_state = 0; /* button released */
jack              371 sound/pci/hda/hda_jack.c static void hda_free_jack_priv(struct snd_jack *jack)
jack              373 sound/pci/hda/hda_jack.c 	struct hda_jack_tbl *jacks = jack->private_data;
jack              375 sound/pci/hda/hda_jack.c 	jacks->jack = NULL;
jack              394 sound/pci/hda/hda_jack.c 	struct hda_jack_tbl *jack;
jack              398 sound/pci/hda/hda_jack.c 	jack = snd_hda_jack_tbl_new(codec, nid);
jack              399 sound/pci/hda/hda_jack.c 	if (!jack)
jack              401 sound/pci/hda/hda_jack.c 	if (jack->jack)
jack              414 sound/pci/hda/hda_jack.c 			   &jack->jack, true, phantom_jack);
jack              418 sound/pci/hda/hda_jack.c 	jack->phantom_jack = !!phantom_jack;
jack              419 sound/pci/hda/hda_jack.c 	jack->type = type;
jack              420 sound/pci/hda/hda_jack.c 	jack->button_state = 0;
jack              421 sound/pci/hda/hda_jack.c 	jack->jack->private_data = jack;
jack              422 sound/pci/hda/hda_jack.c 	jack->jack->private_free = hda_free_jack_priv;
jack              425 sound/pci/hda/hda_jack.c 			snd_jack_set_key(jack->jack, map->type, map->key);
jack              429 sound/pci/hda/hda_jack.c 	snd_jack_report(jack->jack, state ? jack->type : 0);
jack              532 sound/pci/hda/hda_jack.c 			       struct hda_jack_tbl *jack)
jack              536 sound/pci/hda/hda_jack.c 	for (cb = jack->callback; cb; cb = cb->next) {
jack              537 sound/pci/hda/hda_jack.c 		cb->jack = jack;
jack              541 sound/pci/hda/hda_jack.c 	if (jack->gated_jack) {
jack              543 sound/pci/hda/hda_jack.c 			snd_hda_jack_tbl_get(codec, jack->gated_jack);
jack              546 sound/pci/hda/hda_jack.c 				cb->jack = gated;
jack              583 sound/pci/hda/hda_jack.c 	struct hda_jack_tbl *jack = codec->jacktbl.list;
jack              586 sound/pci/hda/hda_jack.c 	for (i = 0; i < codec->jacktbl.used; i++, jack++) {
jack              588 sound/pci/hda/hda_jack.c 		if (!jack->nid || !jack->jack_dirty || jack->phantom_jack)
jack              590 sound/pci/hda/hda_jack.c 		old_sense = get_jack_plug_state(jack->pin_sense);
jack              591 sound/pci/hda/hda_jack.c 		jack_detect_update(codec, jack);
jack              592 sound/pci/hda/hda_jack.c 		if (old_sense == get_jack_plug_state(jack->pin_sense))
jack              595 sound/pci/hda/hda_jack.c 		call_jack_callback(codec, 0, jack);
jack               25 sound/pci/hda/hda_jack.h 	struct hda_jack_tbl *jack;	/* associated jack entry */
jack               43 sound/pci/hda/hda_jack.h 	struct snd_jack *jack;
jack             4458 sound/pci/hda/patch_ca0132.c 	struct hda_jack_tbl *jack;
jack             4465 sound/pci/hda/patch_ca0132.c 	jack = snd_hda_jack_tbl_get(spec->codec, spec->unsol_tag_hp);
jack             4466 sound/pci/hda/patch_ca0132.c 	if (jack) {
jack             4467 sound/pci/hda/patch_ca0132.c 		jack->block_report = 0;
jack              403 sound/pci/hda/patch_conexant.c 			    struct hda_jack_callback *jack)
jack              409 sound/pci/hda/patch_conexant.c 		snd_hda_gen_mic_autoswitch(codec, jack);
jack              125 sound/pci/hda/patch_hdmi.c 	struct snd_jack *jack;
jack              778 sound/pci/hda/patch_hdmi.c 			  struct hda_jack_callback *jack)
jack              785 sound/pci/hda/patch_hdmi.c 	check_presence_and_report(codec, jack->nid, 0);
jack              791 sound/pci/hda/patch_hdmi.c 	struct hda_jack_tbl *jack;
jack              800 sound/pci/hda/patch_hdmi.c 	jack = snd_hda_jack_tbl_get_from_tag(codec, tag);
jack              801 sound/pci/hda/patch_hdmi.c 	if (!jack)
jack              803 sound/pci/hda/patch_hdmi.c 	jack->jack_dirty = 1;
jack              807 sound/pci/hda/patch_hdmi.c 		codec->addr, jack->nid, dev_entry, !!(res & AC_UNSOL_RES_IA),
jack              811 sound/pci/hda/patch_hdmi.c 	check_presence_and_report(codec, jack->nid, 0);
jack             1518 sound/pci/hda/patch_hdmi.c 	struct hda_jack_tbl *jack;
jack             1568 sound/pci/hda/patch_hdmi.c 	jack = snd_hda_jack_tbl_get(codec, pin_nid);
jack             1569 sound/pci/hda/patch_hdmi.c 	if (jack) {
jack             1570 sound/pci/hda/patch_hdmi.c 		jack->block_report = !ret;
jack             1571 sound/pci/hda/patch_hdmi.c 		jack->pin_sense = (eld->monitor_present && eld->eld_valid) ?
jack             1582 sound/pci/hda/patch_hdmi.c 	struct snd_jack *jack = NULL;
jack             1592 sound/pci/hda/patch_hdmi.c 		jack = spec->pcm_rec[per_pin->pcm_idx].jack;
jack             1601 sound/pci/hda/patch_hdmi.c 			jack = jack_tbl->jack;
jack             1603 sound/pci/hda/patch_hdmi.c 	return jack;
jack             1612 sound/pci/hda/patch_hdmi.c 	struct snd_jack *jack = NULL;
jack             1639 sound/pci/hda/patch_hdmi.c 	jack = pin_idx_to_jack(codec, per_pin);
jack             1641 sound/pci/hda/patch_hdmi.c 	if (jack == NULL)
jack             1642 sound/pci/hda/patch_hdmi.c 		jack = pin_idx_to_jack(codec, per_pin);
jack             1643 sound/pci/hda/patch_hdmi.c 	if (changed && jack)
jack             1644 sound/pci/hda/patch_hdmi.c 		snd_jack_report(jack,
jack             1678 sound/pci/hda/patch_hdmi.c 	struct hda_jack_tbl *jack;
jack             1680 sound/pci/hda/patch_hdmi.c 	jack = snd_hda_jack_tbl_get(codec, per_pin->pin_nid);
jack             1681 sound/pci/hda/patch_hdmi.c 	if (jack)
jack             1682 sound/pci/hda/patch_hdmi.c 		jack->jack_dirty = 1;
jack             2124 sound/pci/hda/patch_hdmi.c static void free_hdmi_jack_priv(struct snd_jack *jack)
jack             2126 sound/pci/hda/patch_hdmi.c 	struct hdmi_pcm *pcm = jack->private_data;
jack             2128 sound/pci/hda/patch_hdmi.c 	pcm->jack = NULL;
jack             2136 sound/pci/hda/patch_hdmi.c 	struct snd_jack *jack;
jack             2139 sound/pci/hda/patch_hdmi.c 	err = snd_jack_new(codec->card, name, SND_JACK_AVOUT, &jack,
jack             2144 sound/pci/hda/patch_hdmi.c 	spec->pcm_rec[pcm_idx].jack = jack;
jack             2145 sound/pci/hda/patch_hdmi.c 	jack->private_data = &spec->pcm_rec[pcm_idx];
jack             2146 sound/pci/hda/patch_hdmi.c 	jack->private_free = free_hdmi_jack_priv;
jack             2155 sound/pci/hda/patch_hdmi.c 	struct hda_jack_tbl *jack;
jack             2180 sound/pci/hda/patch_hdmi.c 	jack = snd_hda_jack_tbl_get(codec, per_pin->pin_nid);
jack             2181 sound/pci/hda/patch_hdmi.c 	if (jack == NULL)
jack             2186 sound/pci/hda/patch_hdmi.c 	spec->pcm_rec[pcm_idx].jack = jack->jack;
jack             2343 sound/pci/hda/patch_hdmi.c 		if (spec->pcm_rec[pcm_idx].jack == NULL)
jack             2347 sound/pci/hda/patch_hdmi.c 					spec->pcm_rec[pcm_idx].jack);
jack             2349 sound/pci/hda/patch_hdmi.c 			spec->pcm_rec[pcm_idx].jack = NULL;
jack              314 sound/pci/hda/patch_realtek.c 				   struct hda_jack_callback *jack)
jack              326 sound/pci/hda/patch_realtek.c 	val = snd_hda_codec_read(codec, jack->nid, 0,
jack             3009 sound/pci/hda/patch_realtek.c 				     struct hda_jack_callback *jack)
jack             3013 sound/pci/hda/patch_realtek.c 	if (jack->unsol_res & (7 << 13))
jack             3016 sound/pci/hda/patch_realtek.c 	if (jack->unsol_res  & (1 << 16 | 3 << 8))
jack             3020 sound/pci/hda/patch_realtek.c 	if (jack->unsol_res & (7 << 23))
jack             3024 sound/pci/hda/patch_realtek.c 	if (jack->unsol_res & (7 << 10))
jack             3027 sound/pci/hda/patch_realtek.c 	jack->jack->button_state = report;
jack             3890 sound/pci/hda/patch_realtek.c 					 struct hda_jack_callback *jack)
jack             3895 sound/pci/hda/patch_realtek.c 	snd_hda_gen_hp_automute(codec, jack);
jack             5300 sound/pci/hda/patch_realtek.c 				       struct hda_jack_callback *jack)
jack             5302 sound/pci/hda/patch_realtek.c 	snd_hda_gen_hp_automute(codec, jack);
jack             5411 sound/pci/hda/patch_realtek.c 				       struct hda_jack_callback *jack)
jack             5415 sound/pci/hda/patch_realtek.c 	alc_update_headset_jack_cb(codec, jack);
jack             5657 sound/pci/hda/patch_realtek.c 				    struct hda_jack_callback *jack)
jack             5663 sound/pci/hda/patch_realtek.c 	snd_hda_gen_hp_automute(codec, jack);
jack             5805 sound/pci/hda/patch_realtek.c 					  struct hda_jack_callback *jack)
jack             5809 sound/pci/hda/patch_realtek.c 	snd_hda_gen_hp_automute(codec, jack);
jack             8737 sound/pci/hda/patch_realtek.c 					 struct hda_jack_callback *jack)
jack             8742 sound/pci/hda/patch_realtek.c 	snd_hda_gen_hp_automute(codec, jack);
jack              459 sound/pci/hda/patch_sigmatel.c 			      struct hda_jack_callback *jack)
jack              467 sound/pci/hda/patch_sigmatel.c 	if (jack && jack->nid) {
jack              468 sound/pci/hda/patch_sigmatel.c 		stac_toggle_power_map(codec, jack->nid,
jack              469 sound/pci/hda/patch_sigmatel.c 				      snd_hda_jack_detect(codec, jack->nid),
jack             3058 sound/pci/hda/patch_sigmatel.c 	struct hda_jack_callback *jack;
jack             3066 sound/pci/hda/patch_sigmatel.c 	jack = snd_hda_jack_detect_enable_callback(codec, codec->core.afg,
jack             3068 sound/pci/hda/patch_sigmatel.c 	if (!IS_ERR(jack))
jack             3069 sound/pci/hda/patch_sigmatel.c 		jack->private_data = 0x02;
jack             4100 sound/pci/hda/patch_sigmatel.c 	struct hda_jack_callback *jack;
jack             4108 sound/pci/hda/patch_sigmatel.c 		jack = snd_hda_jack_detect_enable_callback(codec, codec->core.afg,
jack             4110 sound/pci/hda/patch_sigmatel.c 		if (!IS_ERR(jack))
jack             4111 sound/pci/hda/patch_sigmatel.c 			jack->private_data = 0x01;
jack               89 sound/soc/amd/acp-da7219-max98357a.c 	snd_jack_set_key(cz_jack.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE);
jack               90 sound/soc/amd/acp-da7219-max98357a.c 	snd_jack_set_key(cz_jack.jack, SND_JACK_BTN_1, KEY_VOLUMEUP);
jack               91 sound/soc/amd/acp-da7219-max98357a.c 	snd_jack_set_key(cz_jack.jack, SND_JACK_BTN_2, KEY_VOLUMEDOWN);
jack               92 sound/soc/amd/acp-da7219-max98357a.c 	snd_jack_set_key(cz_jack.jack, SND_JACK_BTN_3, KEY_VOICECOMMAND);
jack             1248 sound/soc/codecs/88pm860x-codec.c 			  struct snd_soc_jack *jack,
jack             1254 sound/soc/codecs/88pm860x-codec.c 	pm860x->det.hp_jack = jack;
jack             1281 sound/soc/codecs/88pm860x-codec.c 			   struct snd_soc_jack *jack, int det)
jack             1285 sound/soc/codecs/88pm860x-codec.c 	pm860x->det.mic_jack = jack;
jack             2119 sound/soc/codecs/cs43130.c 		snd_soc_jack_report(&cs43130->jack, CS43130_JACK_LINEOUT,
jack             2122 sound/soc/codecs/cs43130.c 		snd_soc_jack_report(&cs43130->jack, CS43130_JACK_HEADPHONE,
jack             2260 sound/soc/codecs/cs43130.c 		snd_soc_jack_report(&cs43130->jack, 0, CS43130_JACK_MASK);
jack             2271 sound/soc/codecs/cs43130.c 		snd_soc_jack_report(&cs43130->jack, SND_JACK_MECHANICAL,
jack             2297 sound/soc/codecs/cs43130.c 				    &cs43130->jack, NULL, 0);
jack              534 sound/soc/codecs/cs43130.h 	struct snd_soc_jack		jack;
jack             1418 sound/soc/codecs/cx2072x.c 	unsigned int jack;
jack             1424 sound/soc/codecs/cx2072x.c 	regmap_read(cx2072x->regmap, CX2072X_PORTA_PIN_SENSE, &jack);
jack             1425 sound/soc/codecs/cx2072x.c 	jack = jack >> 24;
jack             1428 sound/soc/codecs/cx2072x.c 	if (jack == 0x80) {
jack             1464 sound/soc/codecs/cx2072x.c 			    struct snd_soc_jack *jack, void *data)
jack             1469 sound/soc/codecs/cx2072x.c 	if (!jack) {
jack             1478 sound/soc/codecs/cx2072x.c 		err = snd_soc_jack_add_gpios(jack, 1, &cx2072x->jack_gpio);
jack             2207 sound/soc/codecs/da7218.c int da7218_hpldet(struct snd_soc_component *component, struct snd_soc_jack *jack)
jack             2214 sound/soc/codecs/da7218.c 	da7218->jack = jack;
jack             2217 sound/soc/codecs/da7218.c 			    jack ? DA7218_HPLDET_JACK_EN_MASK : 0);
jack             2246 sound/soc/codecs/da7218.c 	snd_soc_jack_report(da7218->jack, report, SND_JACK_HEADPHONE);
jack             2612 sound/soc/codecs/da7218.c 		if (!da7218->jack) {
jack             3004 sound/soc/codecs/da7218.c 	if (!da7218->jack)
jack             3015 sound/soc/codecs/da7218.c 	if (!da7218->jack)
jack             1392 sound/soc/codecs/da7218.h 	struct snd_soc_jack *jack;
jack             1409 sound/soc/codecs/da7218.h int da7218_hpldet(struct snd_soc_component *component, struct snd_soc_jack *jack);
jack               31 sound/soc/codecs/da7219-aad.c void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack)
jack               35 sound/soc/codecs/da7219-aad.c 	da7219->aad->jack = jack;
jack               39 sound/soc/codecs/da7219-aad.c 	snd_soc_jack_report(jack, 0, DA7219_AAD_REPORT_ALL_MASK);
jack               44 sound/soc/codecs/da7219-aad.c 			    (jack ? DA7219_ACCDET_EN_MASK : 0));
jack              333 sound/soc/codecs/da7219-aad.c 		snd_soc_jack_report(da7219_aad->jack, report,
jack              413 sound/soc/codecs/da7219-aad.c 			snd_soc_jack_report(da7219_aad->jack, report, mask);
jack              453 sound/soc/codecs/da7219-aad.c 	snd_soc_jack_report(da7219_aad->jack, report, mask);
jack              838 sound/soc/codecs/da7219-aad.c 	if (da7219_aad->jack) {
jack              866 sound/soc/codecs/da7219-aad.c 	if (da7219_aad->jack) {
jack              199 sound/soc/codecs/da7219-aad.h 	struct snd_soc_jack *jack;
jack              205 sound/soc/codecs/da7219-aad.h void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack);
jack               40 sound/soc/codecs/es8316.c 	struct snd_soc_jack *jack;
jack              589 sound/soc/codecs/es8316.c 	if (!es8316->jack)
jack              598 sound/soc/codecs/es8316.c 		if (es8316->jack->status & SND_JACK_MICROPHONE)
jack              601 sound/soc/codecs/es8316.c 		if (es8316->jack->status & SND_JACK_HEADPHONE) {
jack              602 sound/soc/codecs/es8316.c 			snd_soc_jack_report(es8316->jack, 0,
jack              606 sound/soc/codecs/es8316.c 	} else if (!(es8316->jack->status & SND_JACK_HEADPHONE)) {
jack              618 sound/soc/codecs/es8316.c 			snd_soc_jack_report(es8316->jack,
jack              624 sound/soc/codecs/es8316.c 			snd_soc_jack_report(es8316->jack,
jack              630 sound/soc/codecs/es8316.c 	} else if (es8316->jack->status & SND_JACK_MICROPHONE) {
jack              634 sound/soc/codecs/es8316.c 			snd_soc_jack_report(es8316->jack, 0, SND_JACK_BTN_0);
jack              637 sound/soc/codecs/es8316.c 			snd_soc_jack_report(es8316->jack,
jack              649 sound/soc/codecs/es8316.c 				      struct snd_soc_jack *jack)
jack              663 sound/soc/codecs/es8316.c 	es8316->jack = jack;
jack              665 sound/soc/codecs/es8316.c 	if (es8316->jack->status & SND_JACK_MICROPHONE)
jack              690 sound/soc/codecs/es8316.c 	if (es8316->jack->status & SND_JACK_MICROPHONE) {
jack              692 sound/soc/codecs/es8316.c 		snd_soc_jack_report(es8316->jack, 0, SND_JACK_BTN_0);
jack              695 sound/soc/codecs/es8316.c 	es8316->jack = NULL;
jack              701 sound/soc/codecs/es8316.c 			   struct snd_soc_jack *jack, void *data)
jack              703 sound/soc/codecs/es8316.c 	if (jack)
jack              704 sound/soc/codecs/es8316.c 		es8316_enable_jack_detect(component, jack);
jack              102 sound/soc/codecs/hdac_hdmi.c 	struct snd_soc_jack *jack;
jack              179 sound/soc/codecs/hdac_hdmi.c 			snd_soc_jack_report(pcm->jack, SND_JACK_AVOUT,
jack              190 sound/soc/codecs/hdac_hdmi.c 			snd_soc_jack_report(pcm->jack, 0, SND_JACK_AVOUT);
jack             1791 sound/soc/codecs/hdac_hdmi.c 				struct snd_soc_jack *jack)
jack             1810 sound/soc/codecs/hdac_hdmi.c 	pcm->jack = jack;
jack                6 sound/soc/codecs/hdac_hdmi.h 				struct snd_soc_jack *jack);
jack              278 sound/soc/codecs/hdmi-codec.c 	struct snd_soc_jack *jack;
jack              672 sound/soc/codecs/hdmi-codec.c 	if (hcp->jack && jack_status != hcp->jack_status) {
jack              673 sound/soc/codecs/hdmi-codec.c 		snd_soc_jack_report(hcp->jack, jack_status, SND_JACK_LINEOUT);
jack              694 sound/soc/codecs/hdmi-codec.c 			       struct snd_soc_jack *jack)
jack              700 sound/soc/codecs/hdmi-codec.c 		hcp->jack = jack;
jack              706 sound/soc/codecs/hdmi-codec.c 			hcp->jack = NULL;
jack             2208 sound/soc/codecs/max98090.c 	snd_soc_jack_report(max98090->jack, status,
jack             2296 sound/soc/codecs/max98090.c 	struct snd_soc_jack *jack)
jack             2302 sound/soc/codecs/max98090.c 	max98090->jack = jack;
jack             2303 sound/soc/codecs/max98090.c 	if (jack) {
jack             2314 sound/soc/codecs/max98090.c 	snd_soc_jack_report(max98090->jack, 0,
jack             1533 sound/soc/codecs/max98090.h 	struct snd_soc_jack *jack;
jack             1546 sound/soc/codecs/max98090.h 	struct snd_soc_jack *jack);
jack              296 sound/soc/codecs/msm8916-wcd-analog.c 	struct snd_soc_jack *jack;
jack              951 sound/soc/codecs/msm8916-wcd-analog.c 				      struct snd_soc_jack *jack,
jack              956 sound/soc/codecs/msm8916-wcd-analog.c 	wcd->jack = jack;
jack              974 sound/soc/codecs/msm8916-wcd-analog.c 		snd_soc_jack_report(priv->jack, 0, btn_mask);
jack              991 sound/soc/codecs/msm8916-wcd-analog.c 		snd_soc_jack_report(priv->jack, SND_JACK_BTN_4, btn_mask);
jack              994 sound/soc/codecs/msm8916-wcd-analog.c 		snd_soc_jack_report(priv->jack, SND_JACK_BTN_3, btn_mask);
jack              997 sound/soc/codecs/msm8916-wcd-analog.c 		snd_soc_jack_report(priv->jack, SND_JACK_BTN_2, btn_mask);
jack             1000 sound/soc/codecs/msm8916-wcd-analog.c 		snd_soc_jack_report(priv->jack, SND_JACK_BTN_1, btn_mask);
jack             1005 sound/soc/codecs/msm8916-wcd-analog.c 			snd_soc_jack_report(priv->jack,
jack             1049 sound/soc/codecs/msm8916-wcd-analog.c 			snd_soc_jack_report(priv->jack,
jack             1052 sound/soc/codecs/msm8916-wcd-analog.c 			snd_soc_jack_report(priv->jack,
jack             1058 sound/soc/codecs/msm8916-wcd-analog.c 		snd_soc_jack_report(priv->jack, 0, hs_jack_mask);
jack              806 sound/soc/codecs/nau8824.c 	struct snd_soc_jack *jack = nau8824->jack;
jack              809 sound/soc/codecs/nau8824.c 	if (nau8824->irq && jack)
jack              810 sound/soc/codecs/nau8824.c 		insert = jack->status & SND_JACK_HEADPHONE;
jack              919 sound/soc/codecs/nau8824.c 	snd_soc_jack_report(nau8824->jack, event, event_mask);
jack             1034 sound/soc/codecs/nau8824.c 		snd_soc_jack_report(nau8824->jack, event, event_mask);
jack             1626 sound/soc/codecs/nau8824.c 	struct snd_soc_jack *jack)
jack             1631 sound/soc/codecs/nau8824.c 	nau8824->jack = jack;
jack              434 sound/soc/codecs/nau8824.h 	struct snd_soc_jack *jack;
jack              472 sound/soc/codecs/nau8824.h 	struct snd_soc_jack *jack);
jack              820 sound/soc/codecs/nau8825.c 		snd_soc_jack_report(nau8825->jack, nau8825->xtalk_event,
jack             1429 sound/soc/codecs/nau8825.c 				struct snd_soc_jack *jack)
jack             1434 sound/soc/codecs/nau8825.c 	nau8825->jack = jack;
jack             1795 sound/soc/codecs/nau8825.c 		snd_soc_jack_report(nau8825->jack, event, event_mask);
jack              450 sound/soc/codecs/nau8825.h 	struct snd_soc_jack *jack;
jack              483 sound/soc/codecs/nau8825.h 				struct snd_soc_jack *jack);
jack               40 sound/soc/codecs/rt274.c 	struct snd_soc_jack *jack;
jack              394 sound/soc/codecs/rt274.c 	snd_soc_jack_report(rt274->jack, status,
jack              401 sound/soc/codecs/rt274.c 	struct snd_soc_jack *jack,  void *data)
jack              405 sound/soc/codecs/rt274.c 	rt274->jack = jack;
jack              407 sound/soc/codecs/rt274.c 	if (jack == NULL) {
jack              969 sound/soc/codecs/rt274.c 		snd_soc_jack_report(rt274->jack, status,
jack               43 sound/soc/codecs/rt286.c 	struct snd_soc_jack *jack;
jack              302 sound/soc/codecs/rt286.c 	snd_soc_jack_report(rt286->jack, status,
jack              306 sound/soc/codecs/rt286.c int rt286_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack)
jack              311 sound/soc/codecs/rt286.c 	rt286->jack = jack;
jack              313 sound/soc/codecs/rt286.c 	if (jack) {
jack              315 sound/soc/codecs/rt286.c 		if (rt286->jack->status & SND_JACK_HEADPHONE)
jack              319 sound/soc/codecs/rt286.c 		snd_soc_jack_report(rt286->jack, rt286->jack->status,
jack              930 sound/soc/codecs/rt286.c 	snd_soc_jack_report(rt286->jack, status,
jack              199 sound/soc/codecs/rt286.h int rt286_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack);
jack               42 sound/soc/codecs/rt298.c 	struct snd_soc_jack *jack;
jack              320 sound/soc/codecs/rt298.c 	snd_soc_jack_report(rt298->jack, status,
jack              324 sound/soc/codecs/rt298.c int rt298_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack)
jack              333 sound/soc/codecs/rt298.c 	if (!jack) {
jack              341 sound/soc/codecs/rt298.c 	rt298->jack = jack;
jack              351 sound/soc/codecs/rt298.c 	snd_soc_jack_report(rt298->jack, status,
jack              995 sound/soc/codecs/rt298.c 		snd_soc_jack_report(rt298->jack, status,
jack              210 sound/soc/codecs/rt298.h int rt298_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack);
jack             2226 sound/soc/codecs/rt5640.c 		snd_soc_jack_report(rt5640->jack, SND_JACK_BTN_0,
jack             2234 sound/soc/codecs/rt5640.c 			snd_soc_jack_report(rt5640->jack, 0, SND_JACK_BTN_0);
jack             2298 sound/soc/codecs/rt5640.c 		if (rt5640->jack->status & SND_JACK_HEADPHONE) {
jack             2299 sound/soc/codecs/rt5640.c 			if (rt5640->jack->status & SND_JACK_MICROPHONE) {
jack             2304 sound/soc/codecs/rt5640.c 			snd_soc_jack_report(rt5640->jack, 0,
jack             2308 sound/soc/codecs/rt5640.c 	} else if (!(rt5640->jack->status & SND_JACK_HEADPHONE)) {
jack             2321 sound/soc/codecs/rt5640.c 		snd_soc_jack_report(rt5640->jack, status, SND_JACK_HEADSET);
jack             2351 sound/soc/codecs/rt5640.c 	if (rt5640->jack)
jack             2366 sound/soc/codecs/rt5640.c 				      struct snd_soc_jack *jack)
jack             2420 sound/soc/codecs/rt5640.c 	rt5640->jack = jack;
jack             2421 sound/soc/codecs/rt5640.c 	if (rt5640->jack->status & SND_JACK_MICROPHONE) {
jack             2439 sound/soc/codecs/rt5640.c 	if (!rt5640->jack)
jack             2445 sound/soc/codecs/rt5640.c 	if (rt5640->jack->status & SND_JACK_MICROPHONE) {
jack             2448 sound/soc/codecs/rt5640.c 		snd_soc_jack_report(rt5640->jack, 0, SND_JACK_BTN_0);
jack             2451 sound/soc/codecs/rt5640.c 	rt5640->jack = NULL;
jack             2455 sound/soc/codecs/rt5640.c 			   struct snd_soc_jack *jack, void *data)
jack             2457 sound/soc/codecs/rt5640.c 	if (jack)
jack             2458 sound/soc/codecs/rt5640.c 		rt5640_enable_jack_detect(component, jack);
jack             2148 sound/soc/codecs/rt5640.h 	struct snd_soc_jack *jack;
jack             1985 sound/soc/codecs/rt5651.c 			   struct snd_soc_jack *jack, void *data)
jack             1987 sound/soc/codecs/rt5651.c 	if (jack)
jack             1988 sound/soc/codecs/rt5651.c 		rt5651_enable_jack_detect(component, jack, data);
jack              517 sound/soc/codecs/rt5670.c 	struct snd_soc_jack *jack = rt5670->jack;
jack              518 sound/soc/codecs/rt5670.c 	int val, btn_type, report = jack->status;
jack              578 sound/soc/codecs/rt5670.c 	struct snd_soc_jack *jack)
jack              583 sound/soc/codecs/rt5670.c 	rt5670->jack = jack;
jack              593 sound/soc/codecs/rt5670.c 	ret = snd_soc_jack_add_gpios(rt5670->jack, 1,
jack             2657 sound/soc/codecs/rt5670.c 	snd_soc_jack_free_gpios(rt5670->jack, 1, &rt5670->hp_gpio);
jack             1993 sound/soc/codecs/rt5670.h 	struct snd_soc_jack *jack;
jack             2015 sound/soc/codecs/rt5670.h 	struct snd_soc_jack *jack);
jack              168 sound/soc/codecs/tlv320aic31xx.c 	struct snd_soc_jack *jack;
jack             1267 sound/soc/codecs/tlv320aic31xx.c 			    struct snd_soc_jack *jack, void *data)
jack             1271 sound/soc/codecs/tlv320aic31xx.c 	aic31xx->jack = jack;
jack             1275 sound/soc/codecs/tlv320aic31xx.c 		     jack ? AIC31XX_HSD_ENABLE : 0);
jack             1458 sound/soc/codecs/tlv320aic31xx.c 		if (aic31xx->jack)
jack             1459 sound/soc/codecs/tlv320aic31xx.c 			snd_soc_jack_report(aic31xx->jack, status,
jack               26 sound/soc/codecs/ts3a227e.c 	struct snd_soc_jack *jack;
jack              152 sound/soc/codecs/ts3a227e.c 	if (!ts3a227e->jack)
jack              163 sound/soc/codecs/ts3a227e.c 	snd_soc_jack_report(ts3a227e->jack, report, TS3A227E_JACK_MASK);
jack              237 sound/soc/codecs/ts3a227e.c 				struct snd_soc_jack *jack)
jack              241 sound/soc/codecs/ts3a227e.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE);
jack              242 sound/soc/codecs/ts3a227e.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND);
jack              243 sound/soc/codecs/ts3a227e.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP);
jack              244 sound/soc/codecs/ts3a227e.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN);
jack              246 sound/soc/codecs/ts3a227e.c 	ts3a227e->jack = jack;
jack               12 sound/soc/codecs/ts3a227e.h 				struct snd_soc_jack *jack);
jack               46 sound/soc/codecs/twl6040.c 	struct snd_soc_jack *jack;
jack              271 sound/soc/codecs/twl6040.c 				   struct snd_soc_jack *jack, int report)
jack              281 sound/soc/codecs/twl6040.c 		snd_soc_jack_report(jack, report, report);
jack              283 sound/soc/codecs/twl6040.c 		snd_soc_jack_report(jack, 0, report);
jack              289 sound/soc/codecs/twl6040.c 				struct snd_soc_jack *jack, int report)
jack              294 sound/soc/codecs/twl6040.c 	hs_jack->jack = jack;
jack              297 sound/soc/codecs/twl6040.c 	twl6040_hs_jack_report(component, hs_jack->jack, hs_jack->report);
jack              308 sound/soc/codecs/twl6040.c 	twl6040_hs_jack_report(component, hs_jack->jack, hs_jack->report);
jack               25 sound/soc/codecs/twl6040.h 			    struct snd_soc_jack *jack, int report);
jack               70 sound/soc/codecs/wm5100.c 	struct snd_soc_jack *jack;
jack             1997 sound/soc/codecs/wm5100.c 	snd_soc_jack_report(wm5100->jack, SND_JACK_HEADPHONE,
jack             2031 sound/soc/codecs/wm5100.c 		snd_soc_jack_report(wm5100->jack, 0,
jack             2050 sound/soc/codecs/wm5100.c 			snd_soc_jack_report(wm5100->jack,
jack             2061 sound/soc/codecs/wm5100.c 			snd_soc_jack_report(wm5100->jack, 0, SND_JACK_BTN_0);
jack             2090 sound/soc/codecs/wm5100.c 			snd_soc_jack_report(wm5100->jack, SND_JACK_BTN_0,
jack             2098 sound/soc/codecs/wm5100.c int wm5100_detect(struct snd_soc_component *component, struct snd_soc_jack *jack)
jack             2103 sound/soc/codecs/wm5100.c 	if (jack) {
jack             2104 sound/soc/codecs/wm5100.c 		wm5100->jack = jack;
jack             2144 sound/soc/codecs/wm5100.c 		wm5100->jack = NULL;
jack               16 sound/soc/codecs/wm5100.h int wm5100_detect(struct snd_soc_component *component, struct snd_soc_jack *jack);
jack               53 sound/soc/codecs/wm8350.c 	struct snd_soc_jack *jack;
jack             1238 sound/soc/codecs/wm8350.c 			   struct wm8350_jack_data *jack,
jack             1247 sound/soc/codecs/wm8350.c 		report = jack->report;
jack             1251 sound/soc/codecs/wm8350.c 	snd_soc_jack_report(jack->jack, report, jack->report);
jack             1319 sound/soc/codecs/wm8350.c 			  struct snd_soc_jack *jack, int report)
jack             1327 sound/soc/codecs/wm8350.c 		priv->hpl.jack = jack;
jack             1333 sound/soc/codecs/wm8350.c 		priv->hpr.jack = jack;
jack             1380 sound/soc/codecs/wm8350.c 	snd_soc_jack_report(priv->mic.jack, report,
jack             1398 sound/soc/codecs/wm8350.c 			   struct snd_soc_jack *jack,
jack             1404 sound/soc/codecs/wm8350.c 	priv->mic.jack = jack;
jack             1566 sound/soc/codecs/wm8350.c 	priv->hpl.jack = NULL;
jack             1567 sound/soc/codecs/wm8350.c 	priv->hpr.jack = NULL;
jack             1568 sound/soc/codecs/wm8350.c 	priv->mic.jack = NULL;
jack               20 sound/soc/codecs/wm8350.h 			  struct snd_soc_jack *jack, int report);
jack               22 sound/soc/codecs/wm8350.h 			   struct snd_soc_jack *jack,
jack             1603 sound/soc/codecs/wm8903.c int wm8903_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack,
jack             1613 sound/soc/codecs/wm8903.c 	wm8903->mic_jack = jack;
jack               15 sound/soc/codecs/wm8903.h 			     struct snd_soc_jack *jack,
jack               71 sound/soc/codecs/wm8962.c 	struct snd_soc_jack *jack;
jack             2998 sound/soc/codecs/wm8962.c 	snd_soc_jack_report(wm8962->jack, status,
jack             3109 sound/soc/codecs/wm8962.c int wm8962_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack)
jack             3115 sound/soc/codecs/wm8962.c 	wm8962->jack = jack;
jack             3116 sound/soc/codecs/wm8962.c 	if (jack) {
jack             3130 sound/soc/codecs/wm8962.c 	snd_soc_jack_report(wm8962->jack, 0,
jack             3135 sound/soc/codecs/wm8962.c 	if (jack) {
jack             3779 sound/soc/codecs/wm8962.h int wm8962_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack);
jack              748 sound/soc/codecs/wm8994.c 	if (!wm8994->jackdet || !wm8994->micdet[0].jack)
jack             3361 sound/soc/codecs/wm8994.c int wm8994_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack,
jack             3378 sound/soc/codecs/wm8994.c 		if (jack)
jack             3385 sound/soc/codecs/wm8994.c 		if (jack)
jack             3400 sound/soc/codecs/wm8994.c 		micbias, jack);
jack             3403 sound/soc/codecs/wm8994.c 	micdet->jack = jack;
jack             3407 sound/soc/codecs/wm8994.c 	if (wm8994->micdet[0].jack || wm8994->micdet[1].jack)
jack             3465 sound/soc/codecs/wm8994.c 	snd_soc_jack_report(priv->micdet[0].jack, report,
jack             3484 sound/soc/codecs/wm8994.c 	snd_soc_jack_report(priv->micdet[1].jack, report,
jack             3548 sound/soc/codecs/wm8994.c 	snd_soc_jack_report(wm8994->micdet[0].jack, report,
jack             3570 sound/soc/codecs/wm8994.c 	snd_soc_jack_report(wm8994->micdet[0].jack, 0,
jack             3604 sound/soc/codecs/wm8994.c 		snd_soc_jack_report(wm8994->micdet[0].jack, SND_JACK_HEADSET,
jack             3618 sound/soc/codecs/wm8994.c 		snd_soc_jack_report(wm8994->micdet[0].jack, SND_JACK_HEADPHONE,
jack             3733 sound/soc/codecs/wm8994.c 		snd_soc_jack_report(wm8994->micdet[0].jack,
jack             3736 sound/soc/codecs/wm8994.c 		snd_soc_jack_report(wm8994->micdet[0].jack, 0,
jack             3742 sound/soc/codecs/wm8994.c 	snd_soc_jack_report(wm8994->micdet[0].jack, 0, 0);
jack             3772 sound/soc/codecs/wm8994.c int wm8958_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack,
jack             3789 sound/soc/codecs/wm8994.c 	if (jack) {
jack             3793 sound/soc/codecs/wm8994.c 		wm8994->micdet[0].jack = jack;
jack             3941 sound/soc/codecs/wm8994.c 		snd_soc_jack_report(wm8994->micdet[0].jack, 0,
jack               43 sound/soc/codecs/wm8994.h int wm8994_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack,
jack               45 sound/soc/codecs/wm8994.h int wm8958_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack,
jack               57 sound/soc/codecs/wm8994.h 	struct snd_soc_jack *jack;
jack               86 sound/soc/codecs/wm8996.c 	struct snd_soc_jack *jack;
jack             2236 sound/soc/codecs/wm8996.c int wm8996_detect(struct snd_soc_component *component, struct snd_soc_jack *jack,
jack             2242 sound/soc/codecs/wm8996.c 	wm8996->jack = jack;
jack             2321 sound/soc/codecs/wm8996.c 	snd_soc_jack_report(wm8996->jack, report,
jack             2401 sound/soc/codecs/wm8996.c 		snd_soc_jack_report(wm8996->jack, 0,
jack             2432 sound/soc/codecs/wm8996.c 			snd_soc_jack_report(wm8996->jack, 0, SND_JACK_BTN_0);
jack             2475 sound/soc/codecs/wm8996.c 			snd_soc_jack_report(wm8996->jack, SND_JACK_BTN_0,
jack               23 sound/soc/codecs/wm8996.h int wm8996_detect(struct snd_soc_component *component, struct snd_soc_jack *jack,
jack              537 sound/soc/generic/simple-card-utils.c 				      &sjack->jack,
jack              540 sound/soc/generic/simple-card-utils.c 		snd_soc_jack_add_gpios(&sjack->jack, 1,
jack              211 sound/soc/intel/boards/bxt_da7219_max98357a.c 	snd_jack_set_key(broxton_headset.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE);
jack              212 sound/soc/intel/boards/bxt_da7219_max98357a.c 	snd_jack_set_key(broxton_headset.jack, SND_JACK_BTN_1, KEY_VOLUMEUP);
jack              213 sound/soc/intel/boards/bxt_da7219_max98357a.c 	snd_jack_set_key(broxton_headset.jack, SND_JACK_BTN_2, KEY_VOLUMEDOWN);
jack              214 sound/soc/intel/boards/bxt_da7219_max98357a.c 	snd_jack_set_key(broxton_headset.jack, SND_JACK_BTN_3,
jack               22 sound/soc/intel/boards/byt-max98090.c 	struct snd_soc_jack jack;
jack               88 sound/soc/intel/boards/byt-max98090.c 	struct snd_soc_jack *jack = &drv->jack;
jack              102 sound/soc/intel/boards/byt-max98090.c 				    SND_JACK_LINEOUT | SND_JACK_HEADSET, jack,
jack              107 sound/soc/intel/boards/byt-max98090.c 	return snd_soc_jack_add_gpiods(card->dev->parent, jack,
jack               39 sound/soc/intel/boards/bytcht_es8316.c 	struct snd_soc_jack jack;
jack              224 sound/soc/intel/boards/bytcht_es8316.c 				    &priv->jack, byt_cht_es8316_jack_pins,
jack              231 sound/soc/intel/boards/bytcht_es8316.c 	snd_jack_set_key(priv->jack.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE);
jack              232 sound/soc/intel/boards/bytcht_es8316.c 	snd_soc_component_set_jack(codec, &priv->jack, NULL);
jack              388 sound/soc/intel/boards/bytcht_es8316.c 			snd_soc_component_set_jack(component, &priv->jack, NULL);
jack               87 sound/soc/intel/boards/bytcr_rt5640.c 	struct snd_soc_jack jack;
jack              933 sound/soc/intel/boards/bytcr_rt5640.c 					    &priv->jack, rt5640_pins,
jack              939 sound/soc/intel/boards/bytcr_rt5640.c 		snd_jack_set_key(priv->jack.jack, SND_JACK_BTN_0,
jack              941 sound/soc/intel/boards/bytcr_rt5640.c 		snd_soc_component_set_jack(component, &priv->jack, NULL);
jack             1131 sound/soc/intel/boards/bytcr_rt5640.c 			snd_soc_component_set_jack(component, &priv->jack, NULL);
jack               87 sound/soc/intel/boards/bytcr_rt5651.c 	struct snd_soc_jack jack;
jack              639 sound/soc/intel/boards/bytcr_rt5651.c 				    report, &priv->jack, bytcr_jack_pins,
jack              647 sound/soc/intel/boards/bytcr_rt5651.c 			snd_jack_set_key(priv->jack.jack, SND_JACK_BTN_0,
jack              650 sound/soc/intel/boards/bytcr_rt5651.c 		ret = snd_soc_component_set_jack(codec, &priv->jack,
jack              831 sound/soc/intel/boards/bytcr_rt5651.c 			snd_soc_component_set_jack(component, &priv->jack,
jack               37 sound/soc/intel/boards/cht_bsw_max98090_ti.c 	struct snd_soc_jack jack;
jack              132 sound/soc/intel/boards/cht_bsw_max98090_ti.c 	struct snd_soc_jack *jack = (struct snd_soc_jack *)data;
jack              133 sound/soc/intel/boards/cht_bsw_max98090_ti.c 	struct snd_soc_dapm_context *dapm = &jack->card->dapm;
jack              191 sound/soc/intel/boards/cht_bsw_max98090_ti.c 	struct snd_soc_jack *jack = &ctx->jack;
jack              198 sound/soc/intel/boards/cht_bsw_max98090_ti.c 		snd_soc_jack_notifier_register(jack, &cht_jack_nb);
jack              205 sound/soc/intel/boards/cht_bsw_max98090_ti.c 				    jack_type, jack,
jack              212 sound/soc/intel/boards/cht_bsw_max98090_ti.c 	ret = snd_soc_jack_add_gpiods(runtime->card->dev->parent, jack,
jack              294 sound/soc/intel/boards/cht_bsw_max98090_ti.c 	struct snd_soc_jack *jack = &ctx->jack;
jack              310 sound/soc/intel/boards/cht_bsw_max98090_ti.c 				    jack, NULL, 0);
jack              316 sound/soc/intel/boards/cht_bsw_max98090_ti.c 	return ts3a227e_enable_jack_detect(component, jack);
jack               27 sound/soc/intel/boards/cht_bsw_nau8824.c 	struct snd_soc_jack jack;
jack               98 sound/soc/intel/boards/cht_bsw_nau8824.c 	struct snd_soc_jack *jack = &ctx->jack;
jack              118 sound/soc/intel/boards/cht_bsw_nau8824.c 	ret = snd_soc_card_jack_new(runtime->card, "Headset", jack_type, jack,
jack              125 sound/soc/intel/boards/cht_bsw_nau8824.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_MEDIA);
jack              126 sound/soc/intel/boards/cht_bsw_nau8824.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND);
jack              127 sound/soc/intel/boards/cht_bsw_nau8824.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP);
jack              128 sound/soc/intel/boards/cht_bsw_nau8824.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN);
jack              130 sound/soc/intel/boards/cht_bsw_nau8824.c 	nau8824_enable_jack_detect(component, jack);
jack               41 sound/soc/intel/boards/cht_bsw_rt5645.c 	struct snd_soc_jack jack;
jack              306 sound/soc/intel/boards/cht_bsw_rt5645.c 				    jack_type, &ctx->jack,
jack              313 sound/soc/intel/boards/cht_bsw_rt5645.c 	rt5645_set_jack_detect(component, &ctx->jack, &ctx->jack, &ctx->jack);
jack              209 sound/soc/intel/boards/cht_bsw_rt5672.c 	snd_jack_set_key(ctx->headset.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE);
jack              210 sound/soc/intel/boards/cht_bsw_rt5672.c 	snd_jack_set_key(ctx->headset.jack, SND_JACK_BTN_1, KEY_VOLUMEUP);
jack              211 sound/soc/intel/boards/cht_bsw_rt5672.c 	snd_jack_set_key(ctx->headset.jack, SND_JACK_BTN_2, KEY_VOLUMEDOWN);
jack              139 sound/soc/intel/boards/glk_rt5682_max98357a.c 	struct snd_soc_jack *jack;
jack              168 sound/soc/intel/boards/glk_rt5682_max98357a.c 	jack = &ctx->geminilake_headset;
jack              170 sound/soc/intel/boards/glk_rt5682_max98357a.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE);
jack              171 sound/soc/intel/boards/glk_rt5682_max98357a.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND);
jack              172 sound/soc/intel/boards/glk_rt5682_max98357a.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP);
jack              173 sound/soc/intel/boards/glk_rt5682_max98357a.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN);
jack              175 sound/soc/intel/boards/glk_rt5682_max98357a.c 	ret = snd_soc_component_set_jack(component, jack, NULL);
jack              164 sound/soc/intel/boards/kbl_da7219_max98357a.c 	struct snd_soc_jack *jack;
jack              188 sound/soc/intel/boards/kbl_da7219_max98357a.c 	jack = &ctx->kabylake_headset;
jack              190 sound/soc/intel/boards/kbl_da7219_max98357a.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE);
jack              191 sound/soc/intel/boards/kbl_da7219_max98357a.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOLUMEUP);
jack              192 sound/soc/intel/boards/kbl_da7219_max98357a.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEDOWN);
jack              193 sound/soc/intel/boards/kbl_da7219_max98357a.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOICECOMMAND);
jack              335 sound/soc/intel/boards/kbl_da7219_max98927.c 	struct snd_soc_jack *jack;
jack              357 sound/soc/intel/boards/kbl_da7219_max98927.c 	jack = &ctx->kabylake_headset;
jack              358 sound/soc/intel/boards/kbl_da7219_max98927.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE);
jack              359 sound/soc/intel/boards/kbl_da7219_max98927.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOLUMEUP);
jack              360 sound/soc/intel/boards/kbl_da7219_max98927.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEDOWN);
jack              361 sound/soc/intel/boards/kbl_da7219_max98927.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOICECOMMAND);
jack              262 sound/soc/intel/boards/kbl_rt5663_max98927.c 	struct snd_soc_jack *jack;
jack              277 sound/soc/intel/boards/kbl_rt5663_max98927.c 	jack = &ctx->kabylake_headset;
jack              278 sound/soc/intel/boards/kbl_rt5663_max98927.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE);
jack              279 sound/soc/intel/boards/kbl_rt5663_max98927.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND);
jack              280 sound/soc/intel/boards/kbl_rt5663_max98927.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP);
jack              281 sound/soc/intel/boards/kbl_rt5663_max98927.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN);
jack              160 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c 	struct snd_soc_jack *jack;
jack              175 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c 	jack = &ctx->kabylake_headset;
jack              176 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE);
jack              177 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND);
jack              178 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP);
jack              179 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN);
jack              153 sound/soc/intel/boards/skl_hda_dsp_common.c 		err = snd_jack_add_new_kctl(pcm->hdmi_jack.jack,
jack              141 sound/soc/intel/boards/sof_rt5682.c 	struct snd_soc_jack *jack;
jack              187 sound/soc/intel/boards/sof_rt5682.c 	jack = &ctx->sof_headset;
jack              189 sound/soc/intel/boards/sof_rt5682.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE);
jack              190 sound/soc/intel/boards/sof_rt5682.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND);
jack              191 sound/soc/intel/boards/sof_rt5682.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP);
jack              192 sound/soc/intel/boards/sof_rt5682.c 	snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN);
jack              193 sound/soc/intel/boards/sof_rt5682.c 	ret = snd_soc_component_set_jack(component, jack, NULL);
jack               23 sound/soc/qcom/apq8016_sbc.c 	struct snd_soc_jack jack;
jack               69 sound/soc/qcom/apq8016_sbc.c 		struct snd_jack *jack;
jack               77 sound/soc/qcom/apq8016_sbc.c 					     &pdata->jack, NULL, 0);
jack               84 sound/soc/qcom/apq8016_sbc.c 		jack = pdata->jack.jack;
jack               86 sound/soc/qcom/apq8016_sbc.c 		snd_jack_set_key(jack, SND_JACK_BTN_0, KEY_PLAYPAUSE);
jack               87 sound/soc/qcom/apq8016_sbc.c 		snd_jack_set_key(jack, SND_JACK_BTN_1, KEY_VOICECOMMAND);
jack               88 sound/soc/qcom/apq8016_sbc.c 		snd_jack_set_key(jack, SND_JACK_BTN_2, KEY_VOLUMEUP);
jack               89 sound/soc/qcom/apq8016_sbc.c 		snd_jack_set_key(jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN);
jack              104 sound/soc/qcom/apq8016_sbc.c 		rval = snd_soc_component_set_jack(component, &pdata->jack, NULL);
jack               29 sound/soc/qcom/sdm845.c 	struct snd_soc_jack jack;
jack              161 sound/soc/qcom/sdm845.c static void sdm845_jack_free(struct snd_jack *jack)
jack              163 sound/soc/qcom/sdm845.c 	struct snd_soc_component *component = jack->private_data;
jack              175 sound/soc/qcom/sdm845.c 	struct snd_jack *jack;
jack              184 sound/soc/qcom/sdm845.c 				&pdata->jack, NULL, 0);
jack              191 sound/soc/qcom/sdm845.c 		jack = pdata->jack.jack;
jack              193 sound/soc/qcom/sdm845.c 		snd_jack_set_key(jack, SND_JACK_BTN_0, KEY_PLAYPAUSE);
jack              194 sound/soc/qcom/sdm845.c 		snd_jack_set_key(jack, SND_JACK_BTN_1, KEY_VOICECOMMAND);
jack              195 sound/soc/qcom/sdm845.c 		snd_jack_set_key(jack, SND_JACK_BTN_2, KEY_VOLUMEUP);
jack              196 sound/soc/qcom/sdm845.c 		snd_jack_set_key(jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN);
jack              202 sound/soc/qcom/sdm845.c 		jack  = pdata->jack.jack;
jack              205 sound/soc/qcom/sdm845.c 		jack->private_data = component;
jack              206 sound/soc/qcom/sdm845.c 		jack->private_free = sdm845_jack_free;
jack              208 sound/soc/qcom/sdm845.c 						  &pdata->jack, NULL);
jack              187 sound/soc/rockchip/rk3399_gru_sound.c 		rockchip_sound_jack.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE);
jack              189 sound/soc/rockchip/rk3399_gru_sound.c 		rockchip_sound_jack.jack, SND_JACK_BTN_1, KEY_VOLUMEUP);
jack              191 sound/soc/rockchip/rk3399_gru_sound.c 		rockchip_sound_jack.jack, SND_JACK_BTN_2, KEY_VOLUMEDOWN);
jack              193 sound/soc/rockchip/rk3399_gru_sound.c 		rockchip_sound_jack.jack, SND_JACK_BTN_3, KEY_VOICECOMMAND);
jack               66 sound/soc/rockchip/rockchip_max98090.c 	struct snd_soc_jack *jack = (struct snd_soc_jack *)data;
jack               67 sound/soc/rockchip/rockchip_max98090.c 	struct snd_soc_dapm_context *dapm = &jack->card->dapm;
jack              288 sound/soc/soc-component.c 			       struct snd_soc_jack *jack, void *data)
jack              291 sound/soc/soc-component.c 		return component->driver->set_jack(component, jack, data);
jack               22 sound/soc/soc-jack.c 	struct snd_soc_jack *jack;
jack               42 sound/soc/soc-jack.c 	struct snd_soc_jack *jack, struct snd_soc_jack_pin *pins,
jack               47 sound/soc/soc-jack.c 	mutex_init(&jack->mutex);
jack               48 sound/soc/soc-jack.c 	jack->card = card;
jack               49 sound/soc/soc-jack.c 	INIT_LIST_HEAD(&jack->pins);
jack               50 sound/soc/soc-jack.c 	INIT_LIST_HEAD(&jack->jack_zones);
jack               51 sound/soc/soc-jack.c 	BLOCKING_INIT_NOTIFIER_HEAD(&jack->notifier);
jack               53 sound/soc/soc-jack.c 	ret = snd_jack_new(card->snd_card, id, type, &jack->jack, false, false);
jack               58 sound/soc/soc-jack.c 		return snd_soc_jack_add_pins(jack, num_pins, pins);
jack               78 sound/soc/soc-jack.c void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask)
jack               85 sound/soc/soc-jack.c 	if (!jack)
jack               87 sound/soc/soc-jack.c 	trace_snd_soc_jack_report(jack, mask, status);
jack               89 sound/soc/soc-jack.c 	dapm = &jack->card->dapm;
jack               91 sound/soc/soc-jack.c 	mutex_lock(&jack->mutex);
jack               93 sound/soc/soc-jack.c 	jack->status &= ~mask;
jack               94 sound/soc/soc-jack.c 	jack->status |= status & mask;
jack               96 sound/soc/soc-jack.c 	trace_snd_soc_jack_notify(jack, status);
jack               98 sound/soc/soc-jack.c 	list_for_each_entry(pin, &jack->pins, list) {
jack               99 sound/soc/soc-jack.c 		enable = pin->mask & jack->status;
jack              114 sound/soc/soc-jack.c 	blocking_notifier_call_chain(&jack->notifier, jack->status, jack);
jack              119 sound/soc/soc-jack.c 	snd_jack_report(jack->jack, jack->status);
jack              121 sound/soc/soc-jack.c 	mutex_unlock(&jack->mutex);
jack              135 sound/soc/soc-jack.c int snd_soc_jack_add_zones(struct snd_soc_jack *jack, int count,
jack              142 sound/soc/soc-jack.c 		list_add(&(zones[i].list), &jack->jack_zones);
jack              158 sound/soc/soc-jack.c int snd_soc_jack_get_type(struct snd_soc_jack *jack, int micbias_voltage)
jack              162 sound/soc/soc-jack.c 	list_for_each_entry(zone, &jack->jack_zones, list) {
jack              182 sound/soc/soc-jack.c int snd_soc_jack_add_pins(struct snd_soc_jack *jack, int count,
jack              189 sound/soc/soc-jack.c 			dev_err(jack->card->dev, "ASoC: No name for pin %d\n",
jack              194 sound/soc/soc-jack.c 			dev_err(jack->card->dev, "ASoC: No mask for pin %d"
jack              200 sound/soc/soc-jack.c 		list_add(&(pins[i].list), &jack->pins);
jack              201 sound/soc/soc-jack.c 		snd_jack_add_new_kctl(jack->jack, pins[i].pin, pins[i].mask);
jack              208 sound/soc/soc-jack.c 	snd_soc_jack_report(jack, 0, 0);
jack              226 sound/soc/soc-jack.c void snd_soc_jack_notifier_register(struct snd_soc_jack *jack,
jack              229 sound/soc/soc-jack.c 	blocking_notifier_chain_register(&jack->notifier, nb);
jack              241 sound/soc/soc-jack.c void snd_soc_jack_notifier_unregister(struct snd_soc_jack *jack,
jack              244 sound/soc/soc-jack.c 	blocking_notifier_chain_unregister(&jack->notifier, nb);
jack              252 sound/soc/soc-jack.c 	struct snd_soc_jack *jack = gpio->jack;
jack              268 sound/soc/soc-jack.c 	snd_soc_jack_report(jack, report, gpio->report);
jack              275 sound/soc/soc-jack.c 	struct device *dev = gpio->jack->card->dev;
jack              318 sound/soc/soc-jack.c static void jack_free_gpios(struct snd_soc_jack *jack, int count,
jack              329 sound/soc/soc-jack.c 		gpios[i].jack = NULL;
jack              337 sound/soc/soc-jack.c 	jack_free_gpios(tbl->jack, tbl->count, tbl->gpios);
jack              350 sound/soc/soc-jack.c int snd_soc_jack_add_gpios(struct snd_soc_jack *jack, int count,
jack              359 sound/soc/soc-jack.c 	tbl->jack = jack;
jack              365 sound/soc/soc-jack.c 			dev_err(jack->card->dev,
jack              389 sound/soc/soc-jack.c 				dev_err(jack->card->dev,
jack              405 sound/soc/soc-jack.c 		gpios[i].jack = jack;
jack              419 sound/soc/soc-jack.c 				dev_err(jack->card->dev,
jack              439 sound/soc/soc-jack.c 	devres_add(jack->card->dev, tbl);
jack              445 sound/soc/soc-jack.c 	jack_free_gpios(jack, i, gpios);
jack              464 sound/soc/soc-jack.c 			    struct snd_soc_jack *jack,
jack              472 sound/soc/soc-jack.c 	return snd_soc_jack_add_gpios(jack, count, gpios);
jack              485 sound/soc/soc-jack.c void snd_soc_jack_free_gpios(struct snd_soc_jack *jack, int count,
jack              488 sound/soc/soc-jack.c 	jack_free_gpios(jack, count, gpios);
jack              489 sound/soc/soc-jack.c 	devres_destroy(jack->card->dev, jack_devres_free_gpios, NULL, NULL);
jack             1370 sound/x86/intel_hdmi_audio.c 	snd_jack_report(intelhaddata->jack, SND_JACK_AVOUT);
jack             1405 sound/x86/intel_hdmi_audio.c 	snd_jack_report(intelhaddata->jack, 0);
jack             1631 sound/x86/intel_hdmi_audio.c 			   SND_JACK_AVOUT, &ctx->jack,
jack             1635 sound/x86/intel_hdmi_audio.c 	ctx->jack->private_data = ctx;
jack              131 sound/x86/intel_hdmi_audio.h 	struct snd_jack *jack;