Searched refs:pcsp_chip (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/sound/drivers/pcsp/ |
H A D | pcsp.c | 40 struct snd_pcsp pcsp_chip; variable in typeref:struct:snd_pcsp 74 pcsp_chip.max_treble = min(order, PCSP_MAX_TREBLE); snd_pcsp_create() 75 pcsp_chip.treble = min(pcsp_chip.max_treble, PCSP_DEFAULT_TREBLE); snd_pcsp_create() 76 pcsp_chip.playback_ptr = 0; snd_pcsp_create() 77 pcsp_chip.period_ptr = 0; snd_pcsp_create() 78 atomic_set(&pcsp_chip.timer_active, 0); snd_pcsp_create() 79 pcsp_chip.enable = 1; snd_pcsp_create() 80 pcsp_chip.pcspkr = 1; snd_pcsp_create() 82 spin_lock_init(&pcsp_chip.substream_lock); snd_pcsp_create() 84 pcsp_chip.card = card; snd_pcsp_create() 85 pcsp_chip.port = 0x61; snd_pcsp_create() 86 pcsp_chip.irq = -1; snd_pcsp_create() 87 pcsp_chip.dma = -1; snd_pcsp_create() 90 err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, &pcsp_chip, &ops); snd_pcsp_create() 105 hrtimer_init(&pcsp_chip.timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); snd_card_pcsp_probe() 106 pcsp_chip.timer.function = pcsp_do_timer; snd_card_pcsp_probe() 118 err = snd_pcsp_new_pcm(&pcsp_chip); snd_card_pcsp_probe() 124 err = snd_pcsp_new_mixer(&pcsp_chip, nopcm); snd_card_pcsp_probe() 133 pcsp_chip.port); snd_card_pcsp_probe() 172 err = pcspkr_input_init(&pcsp_chip.input_dev, &dev->dev); pcsp_probe() 178 pcspkr_input_remove(pcsp_chip.input_dev); pcsp_probe() 182 platform_set_drvdata(dev, &pcsp_chip); pcsp_probe()
|
H A D | pcsp_input.c | 53 if (atomic_read(&pcsp_chip.timer_active) || !pcsp_chip.pcspkr) pcspkr_input_event()
|
H A D | pcsp.h | 74 extern struct snd_pcsp pcsp_chip;
|
H A D | pcsp_lib.c | 30 if (atomic_read(&pcsp_chip.timer_active)) { pcsp_call_pcm_elapsed() 32 substream = pcsp_chip.playback_substream; pcsp_call_pcm_elapsed() 169 hrtimer_start(&pcsp_chip.timer, ktime_set(0, 0), HRTIMER_MODE_REL); pcsp_start_playing()
|
Completed in 102 milliseconds