Searched refs:hook (Results 1 – 9 of 9) sorted by relevance
/sound/core/ |
D | vmaster.c | 40 void (*hook)(void *private_data, int); member 131 if (master->hook) in master_init() 132 master->hook(master->hook_private_data, master->val); in master_init() 339 if (master->hook && !err) in master_put() 340 master->hook(master->hook_private_data, master->val); in master_put() 434 void (*hook)(void *private_data, int), in snd_ctl_add_vmaster_hook() 438 master->hook = hook; in snd_ctl_add_vmaster_hook() 458 if (master->hook) in snd_ctl_sync_vmaster_hook() 459 master->hook(master->hook_private_data, master->val); in snd_ctl_sync_vmaster_hook()
|
/sound/pci/hda/ |
D | hda_codec.c | 2735 struct hda_vmaster_mute_hook *hook = snd_kcontrol_chip(kcontrol); in vmaster_mute_mode_get() local 2736 ucontrol->value.enumerated.item[0] = hook->mute_mode; in vmaster_mute_mode_get() 2743 struct hda_vmaster_mute_hook *hook = snd_kcontrol_chip(kcontrol); in vmaster_mute_mode_put() local 2744 unsigned int old_mode = hook->mute_mode; in vmaster_mute_mode_put() 2746 hook->mute_mode = ucontrol->value.enumerated.item[0]; in vmaster_mute_mode_put() 2747 if (hook->mute_mode > HDA_VMUTE_FOLLOW_MASTER) in vmaster_mute_mode_put() 2748 hook->mute_mode = HDA_VMUTE_FOLLOW_MASTER; in vmaster_mute_mode_put() 2749 if (old_mode == hook->mute_mode) in vmaster_mute_mode_put() 2751 snd_hda_sync_vmaster_hook(hook); in vmaster_mute_mode_put() 2769 struct hda_vmaster_mute_hook *hook, in snd_hda_add_vmaster_hook() argument [all …]
|
D | hda_local.h | 165 void (*hook)(void *, int); member 172 struct hda_vmaster_mute_hook *hook, 174 void snd_hda_sync_vmaster_hook(struct hda_vmaster_mute_hook *hook);
|
D | patch_realtek.c | 2764 spec->gen.vmaster_mute.hook = alc269_fixup_mic_mute_hook; in alc269_fixup_hp_mute_led() 2779 spec->gen.vmaster_mute.hook = alc269_fixup_mic_mute_hook; in alc269_fixup_hp_mute_led_mic1() 2791 spec->gen.vmaster_mute.hook = alc269_fixup_mic_mute_hook; in alc269_fixup_hp_mute_led_mic2() 2843 spec->gen.vmaster_mute.hook = alc269_fixup_hp_gpio_mute_hook; in alc269_fixup_hp_gpio_led()
|
D | hda_generic.c | 946 return spec->vmaster_mute.hook ? "PCM" : "Master"; in get_line_out_pfx() 953 return spec->vmaster_mute.hook ? "PCM" : "Master"; in get_line_out_pfx() 4386 if (spec->vmaster_mute.hook) in snd_hda_gen_build_controls() 5119 if (spec->vmaster_mute.sw_kctl && spec->vmaster_mute.hook) in snd_hda_gen_init()
|
D | patch_analog.c | 2126 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad1981_fixup_hp_eapd() 3610 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad1884_fixup_hp_eapd()
|
D | patch_conexant.c | 3363 spec->gen.vmaster_mute.hook = cx_auto_vmaster_hook; in patch_conexant_auto()
|
D | patch_sigmatel.c | 3588 spec->gen.vmaster_mute.hook = stac_vmaster_hook; in stac_parse_auto_config()
|
/sound/soc/codecs/ |
D | 88pm860x-codec.c | 1312 int det, int hook, int hs_shrt, int lo_shrt) in pm860x_hs_jack_detect() argument 1319 pm860x->det.hook_det = hook; in pm860x_hs_jack_detect()
|