Home
last modified time | relevance | path

Searched refs:pcsp_chip (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/sound/drivers/pcsp/
Dpcsp.c41 struct snd_pcsp pcsp_chip; variable
72 pcsp_chip.max_treble = min(order, PCSP_MAX_TREBLE); in snd_pcsp_create()
73 pcsp_chip.treble = min(pcsp_chip.max_treble, PCSP_DEFAULT_TREBLE); in snd_pcsp_create()
74 pcsp_chip.playback_ptr = 0; in snd_pcsp_create()
75 pcsp_chip.period_ptr = 0; in snd_pcsp_create()
76 atomic_set(&pcsp_chip.timer_active, 0); in snd_pcsp_create()
77 pcsp_chip.enable = 1; in snd_pcsp_create()
78 pcsp_chip.pcspkr = 1; in snd_pcsp_create()
80 spin_lock_init(&pcsp_chip.substream_lock); in snd_pcsp_create()
82 pcsp_chip.card = card; in snd_pcsp_create()
[all …]
Dpcsp_input.c48 if (atomic_read(&pcsp_chip.timer_active) || !pcsp_chip.pcspkr) in pcspkr_input_event()
Dpcsp_lib.c32 if (atomic_read(&pcsp_chip.timer_active)) { in pcsp_call_pcm_elapsed()
34 substream = pcsp_chip.playback_substream; in pcsp_call_pcm_elapsed()
169 hrtimer_start(&pcsp_chip.timer, 0, HRTIMER_MODE_REL); in pcsp_start_playing()
Dpcsp.h75 extern struct snd_pcsp pcsp_chip;