Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 16 of 16) sorted by relevance

/sound/soc/
Dsoc-jack.c189 struct notifier_block *nb) in snd_soc_jack_notifier_register() argument
191 blocking_notifier_chain_register(&jack->notifier, nb); in snd_soc_jack_notifier_register()
204 struct notifier_block *nb) in snd_soc_jack_notifier_unregister() argument
206 blocking_notifier_chain_unregister(&jack->notifier, nb); in snd_soc_jack_notifier_unregister()
259 static int snd_soc_jack_pm_notifier(struct notifier_block *nb, in snd_soc_jack_pm_notifier() argument
263 container_of(nb, struct snd_soc_jack_gpio, pm_notifier); in snd_soc_jack_pm_notifier()
/sound/soc/codecs/
Darizona.h330 struct notifier_block *nb, in arizona_register_notifier() argument
332 (struct notifier_block *nb, in arizona_register_notifier()
338 nb->notifier_call = notify; in arizona_register_notifier()
340 return blocking_notifier_chain_register(&arizona->notifier, nb); in arizona_register_notifier()
344 struct notifier_block *nb) in arizona_unregister_notifier() argument
349 return blocking_notifier_chain_unregister(&arizona->notifier, nb); in arizona_unregister_notifier()
Dmadera.h440 struct notifier_block *nb) in madera_register_notifier() argument
445 return blocking_notifier_chain_register(&madera->notifier, nb); in madera_register_notifier()
450 struct notifier_block *nb) in madera_unregister_notifier() argument
455 return blocking_notifier_chain_unregister(&madera->notifier, nb); in madera_unregister_notifier()
Dtlv320aic31xx.c156 struct notifier_block nb; member
1164 static int aic31xx_regulator_event(struct notifier_block *nb, in aic31xx_regulator_event() argument
1168 container_of(nb, struct aic31xx_disable_nb, nb); in aic31xx_regulator_event()
1339 aic31xx->disable_nb[i].nb.notifier_call = in aic31xx_codec_probe()
1344 &aic31xx->disable_nb[i].nb); in aic31xx_codec_probe()
Dtlv320aic3x.c66 struct notifier_block nb; member
1364 static int aic3x_regulator_event(struct notifier_block *nb, in aic3x_regulator_event() argument
1368 container_of(nb, struct aic3x_disable_nb, nb); in aic3x_regulator_event()
1625 aic3x->disable_nb[i].nb.notifier_call = aic3x_regulator_event; in aic3x_probe()
1629 &aic3x->disable_nb[i].nb); in aic3x_probe()
Dwm8770.c99 static int wm8770_regulator_event_##n(struct notifier_block *nb, \
102 struct wm8770_priv *wm8770 = container_of(nb, struct wm8770_priv, \
Dwm8804.c83 static int wm8804_regulator_event_##n(struct notifier_block *nb, \
86 struct wm8804_priv *wm8804 = container_of(nb, struct wm8804_priv, \
Dmax9860.c37 static int max9860_dvddio_event(struct notifier_block *nb, in max9860_dvddio_event() argument
40 struct max9860_priv *max9860 = container_of(nb, struct max9860_priv, in max9860_dvddio_event()
Dcros_ec_codec.c806 static int wov_host_event(struct notifier_block *nb, in wov_host_event() argument
810 container_of(nb, struct cros_ec_codec_priv, wov_notifier); in wov_host_event()
Dwm8995.c394 static int wm8995_regulator_event_##n(struct notifier_block *nb, \
397 struct wm8995_priv *wm8995 = container_of(nb, struct wm8995_priv, \
Dpcm512x.c59 static int pcm512x_regulator_event_##n(struct notifier_block *nb, \
62 struct pcm512x_priv *pcm512x = container_of(nb, struct pcm512x_priv, \
Dwm8996.c102 static int wm8996_regulator_event_##n(struct notifier_block *nb, \
105 struct wm8996_priv *wm8996 = container_of(nb, struct wm8996_priv, \
Dwm8962.c92 static int wm8962_regulator_event_##n(struct notifier_block *nb, \
95 struct wm8962_priv *wm8962 = container_of(nb, struct wm8962_priv, \
/sound/soc/fsl/
Dfsl-asoc-card.c446 static int hp_jack_event(struct notifier_block *nb, unsigned long event, in hp_jack_event() argument
465 static int mic_jack_event(struct notifier_block *nb, unsigned long event, in mic_jack_event() argument
/sound/soc/rockchip/
Drockchip_max98090.c109 static int rk_jack_event(struct notifier_block *nb, unsigned long event, in rk_jack_event() argument
/sound/soc/intel/boards/
Dcht_bsw_max98090_ti.c129 static int cht_ti_jack_event(struct notifier_block *nb, in cht_ti_jack_event() argument