Lines Matching refs:pcsp_chip
41 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()
83 pcsp_chip.port = 0x61; in snd_pcsp_create()
84 pcsp_chip.irq = -1; in snd_pcsp_create()
85 pcsp_chip.dma = -1; in snd_pcsp_create()
86 card->private_data = &pcsp_chip; in snd_pcsp_create()
106 hrtimer_init(&pcsp_chip.timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_card_pcsp_probe()
107 pcsp_chip.timer.function = pcsp_do_timer; in snd_card_pcsp_probe()
118 err = snd_pcsp_new_pcm(&pcsp_chip); in snd_card_pcsp_probe()
122 err = snd_pcsp_new_mixer(&pcsp_chip, nopcm); in snd_card_pcsp_probe()
129 pcsp_chip.port); in snd_card_pcsp_probe()
162 err = pcspkr_input_init(&pcsp_chip.input_dev, &dev->dev); in pcsp_probe()
170 platform_set_drvdata(dev, &pcsp_chip); in pcsp_probe()