Home
last modified time | relevance | path

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

/sound/oss/
Dvwsnd.c1873 static void pcm_copy_in(vwsnd_port_t *rport, int swidx, int hwidx, int nb) in pcm_copy_in() argument
1882 ASSERT(nb > 0 && (nb % 32) == 0); in pcm_copy_in()
1884 ASSERT(swidx >= 0 && swidx + nb <= rport->swbuf_size); in pcm_copy_in()
1885 ASSERT(hwidx >= 0 && hwidx + nb <= rport->hwbuf_size); in pcm_copy_in()
1891 char *end = src + nb; in pcm_copy_in()
1895 memcpy(dst, src, nb); in pcm_copy_in()
1898 static void pcm_copy_out(vwsnd_port_t *wport, int swidx, int hwidx, int nb) in pcm_copy_out() argument
1904 ASSERT(nb > 0 && (nb % 32) == 0); in pcm_copy_out()
1908 ASSERT(swidx >= 0 && swidx + nb <= wport->swbuf_size); in pcm_copy_out()
1909 ASSERT(hwidx >= 0 && hwidx + nb <= wport->hwbuf_size); in pcm_copy_out()
[all …]
/sound/soc/
Dsoc-jack.c211 struct notifier_block *nb) in snd_soc_jack_notifier_register() argument
213 blocking_notifier_chain_register(&jack->notifier, nb); in snd_soc_jack_notifier_register()
226 struct notifier_block *nb) in snd_soc_jack_notifier_unregister() argument
228 blocking_notifier_chain_unregister(&jack->notifier, nb); in snd_soc_jack_notifier_unregister()
/sound/soc/codecs/
Dtlv320aic3x.c68 struct notifier_block nb; member
1124 static int aic3x_regulator_event(struct notifier_block *nb, in aic3x_regulator_event() argument
1128 container_of(nb, struct aic3x_disable_nb, nb); in aic3x_regulator_event()
1392 aic3x->disable_nb[i].nb.notifier_call = aic3x_regulator_event; in aic3x_probe()
1395 &aic3x->disable_nb[i].nb); in aic3x_probe()
1446 &aic3x->disable_nb[i].nb); in aic3x_probe()
1470 &aic3x->disable_nb[i].nb); in aic3x_remove()
Dwm8770.c102 static int wm8770_regulator_event_##n(struct notifier_block *nb, \
105 struct wm8770_priv *wm8770 = container_of(nb, struct wm8770_priv, \
Dwm8804.c80 static int wm8804_regulator_event_##n(struct notifier_block *nb, \
83 struct wm8804_priv *wm8804 = container_of(nb, struct wm8804_priv, \
Dwm8995.c397 static int wm8995_regulator_event_##n(struct notifier_block *nb, \
400 struct wm8995_priv *wm8995 = container_of(nb, struct wm8995_priv, \
Dwm8962.c94 static int wm8962_regulator_event_##n(struct notifier_block *nb, \
97 struct wm8962_priv *wm8962 = container_of(nb, struct wm8962_priv, \
Dwm8996.c105 static int wm8996_regulator_event_##n(struct notifier_block *nb, \
108 struct wm8996_priv *wm8996 = container_of(nb, struct wm8996_priv, \
/sound/pci/hda/
Dhda_intel.c2989 static int azx_halt(struct notifier_block *nb, unsigned long event, void *buf) in azx_halt() argument
2991 struct azx *chip = container_of(nb, struct azx, reboot_notifier); in azx_halt()