hdac_stream.c (aaccf3c97418f169afdbb5855e9cbcbda34e90fd) | hdac_stream.c (fc2a6cf060d0c6feeb3719bf40088e48c5926e40) |
---|---|
1/* 2 * HD-audio stream operations 3 */ 4 5#include <linux/kernel.h> 6#include <linux/delay.h> 7#include <linux/export.h> 8#include <linux/clocksource.h> --- 42 unchanged lines hidden (view full) --- 51 52 trace_snd_hdac_stream_start(bus, azx_dev); 53 54 azx_dev->start_wallclk = snd_hdac_chip_readl(bus, WALLCLK); 55 if (!fresh_start) 56 azx_dev->start_wallclk -= azx_dev->period_wallclk; 57 58 /* enable SIE */ | 1/* 2 * HD-audio stream operations 3 */ 4 5#include <linux/kernel.h> 6#include <linux/delay.h> 7#include <linux/export.h> 8#include <linux/clocksource.h> --- 42 unchanged lines hidden (view full) --- 51 52 trace_snd_hdac_stream_start(bus, azx_dev); 53 54 azx_dev->start_wallclk = snd_hdac_chip_readl(bus, WALLCLK); 55 if (!fresh_start) 56 azx_dev->start_wallclk -= azx_dev->period_wallclk; 57 58 /* enable SIE */ |
59 snd_hdac_chip_updatel(bus, INTCTL, 0, 1 << azx_dev->index); | 59 snd_hdac_chip_updatel(bus, INTCTL, 60 1 << azx_dev->index, 61 1 << azx_dev->index); |
60 /* set DMA start and interrupt mask */ 61 snd_hdac_stream_updateb(azx_dev, SD_CTL, 62 0, SD_CTL_DMA_START | SD_INT_MASK); 63 azx_dev->running = true; 64} 65EXPORT_SYMBOL_GPL(snd_hdac_stream_start); 66 67/** --- 653 unchanged lines hidden --- | 62 /* set DMA start and interrupt mask */ 63 snd_hdac_stream_updateb(azx_dev, SD_CTL, 64 0, SD_CTL_DMA_START | SD_INT_MASK); 65 azx_dev->running = true; 66} 67EXPORT_SYMBOL_GPL(snd_hdac_stream_start); 68 69/** --- 653 unchanged lines hidden --- |