#ifdef USE_POSBUF /* use the position buffer */ pos = *azx_dev->posbuf; #else /* read LPIB */ pos = azx_sd_readl(azx_dev, SD_LPIB) + azx_dev->fifo_size; #endif 
if (chip->position_fix == POS_FIX_POSBUF) { /* use the position buffer */ pos = *azx_dev->posbuf; } else { /* read LPIB */ pos = azx_sd_readl(azx_dev, SD_LPIB); if (chip->position_fix == POS_FIX_FIFO) pos += azx_dev->fifo_size; } 
static snd_pcm_uframes_t azx_pcm_pointer(snd_pcm_substream_t *substream){	azx_dev_t *azx_dev = get_azx_dev(substream);	unsigned int pos;#ifdef USE_POSBUF	/* use the position buffer */	pos = *azx_dev->posbuf;#else	/* read LPIB */	pos = azx_sd_readl(azx_dev, SD_LPIB) + azx_dev->fifo_size;#endif	if (pos >= azx_dev->bufsize)		pos = 0;	return bytes_to_frames(substream->runtime, pos);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/c74db86bcf0897cdd4dc1f85ae0d76ef59aaeb20/hda_intel.c/clean/sound/pci/hda/hda_intel.c