Searched refs:hook (Results 1 – 7 of 7) sorted by relevance
/sound/core/ |
D | vmaster.c | 36 void (*hook)(void *private_data, int); member 130 if (master->hook) in master_init() 131 master->hook(master->hook_private_data, master->val); in master_init() 351 if (master->hook && !first_init) in master_put() 352 master->hook(master->hook_private_data, master->val); in master_put() 448 void (*hook)(void *private_data, int), in snd_ctl_add_vmaster_hook() 452 master->hook = hook; in snd_ctl_add_vmaster_hook() 485 if (master->hook && !first_init) in snd_ctl_sync_vmaster() 486 master->hook(master->hook_private_data, master->val); in snd_ctl_sync_vmaster()
|
/sound/pci/hda/ |
D | hda_codec.c | 2015 struct hda_vmaster_mute_hook *hook = private_data; in vmaster_hook() local 2017 hook->hook(hook->codec, enabled); in vmaster_hook() 2028 struct hda_vmaster_mute_hook *hook) in snd_hda_add_vmaster_hook() argument 2030 if (!hook->hook || !hook->sw_kctl) in snd_hda_add_vmaster_hook() 2032 hook->codec = codec; in snd_hda_add_vmaster_hook() 2033 snd_ctl_add_vmaster_hook(hook->sw_kctl, vmaster_hook, hook); in snd_hda_add_vmaster_hook() 2045 void snd_hda_sync_vmaster_hook(struct hda_vmaster_mute_hook *hook) in snd_hda_sync_vmaster_hook() argument 2047 if (!hook->hook || !hook->codec) in snd_hda_sync_vmaster_hook() 2052 if (hook->codec->bus->shutdown) in snd_hda_sync_vmaster_hook() 2054 snd_ctl_sync_vmaster_hook(hook->sw_kctl); in snd_hda_sync_vmaster_hook()
|
D | patch_analog.c | 222 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad_fixup_inv_jack_detect() 558 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad1981_fixup_hp_eapd() 991 spec->gen.vmaster_mute.hook = ad1884_vmaster_hp_gpio_hook; in ad1884_fixup_hp_eapd() 1016 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad1884_fixup_thinkpad()
|
D | hda_local.h | 149 void (*hook)(void *, int); member 155 struct hda_vmaster_mute_hook *hook); 156 void snd_hda_sync_vmaster_hook(struct hda_vmaster_mute_hook *hook);
|
D | patch_conexant.c | 1215 if (!spec->gen.vmaster_mute.hook && spec->dynamic_eapd) in patch_conexant_auto() 1216 spec->gen.vmaster_mute.hook = cx_auto_vmaster_hook; in patch_conexant_auto()
|
D | hda_generic.c | 1173 return spec->vmaster_mute.hook ? "PCM" : "Master"; in get_line_out_pfx() 1181 return spec->vmaster_mute.hook ? "PCM" : "Master"; in get_line_out_pfx() 1225 return spec->vmaster_mute.hook ? "PCM" : "Master"; in get_line_out_pfx() 3975 if (spec->vmaster_mute.hook) in snd_hda_gen_add_mute_led_cdev() 5220 if (spec->vmaster_mute.hook) { in snd_hda_gen_build_controls() 5998 if (spec->vmaster_mute.sw_kctl && spec->vmaster_mute.hook) in snd_hda_gen_init()
|
/sound/soc/codecs/ |
D | 88pm860x-codec.c | 1251 int det, int hook, int hs_shrt, int lo_shrt) in pm860x_hs_jack_detect() argument 1258 pm860x->det.hook_det = hook; in pm860x_hs_jack_detect()
|