Home
last modified time | relevance | path

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

/linux-2.6.39/sound/soc/omap/
Domap-pcm.c54 int period_index; member
73 (prtd->period_index == runtime->periods - 1)) { in omap_pcm_dma_irq()
78 if (prtd->period_index >= 0) { in omap_pcm_dma_irq()
81 prtd->period_index = 0; in omap_pcm_dma_irq()
84 prtd->period_index = runtime->periods - 1; in omap_pcm_dma_irq()
85 } else if (++prtd->period_index >= runtime->periods) { in omap_pcm_dma_irq()
87 prtd->period_index = 0; in omap_pcm_dma_irq()
224 prtd->period_index = 0; in omap_pcm_trigger()
235 prtd->period_index = -1; in omap_pcm_trigger()
254 offset = prtd->period_index * runtime->period_size; in omap_pcm_pointer()
/linux-2.6.39/sound/soc/tegra/
Dtegra_pcm.c97 if (++prtd->period_index >= runtime->periods) in dma_complete_callback()
98 prtd->period_index = 0; in dma_complete_callback()
233 prtd->period_index = 0; in tegra_pcm_trigger()
265 return prtd->period_index * runtime->period_size; in tegra_pcm_pointer()
Dtegra_pcm.h49 int period_index; member
/linux-2.6.39/drivers/scsi/
Ddc395x.c1278 u8 period_index; in reset_dev_param() local
1285 period_index = eeprom->target[dcb->target_id].period & 0x07; in reset_dev_param()
1286 dcb->min_nego_period = clock_period[period_index]; in reset_dev_param()
3736 u8 period_index = eeprom->target[target].period & 0x07; in device_alloc() local
3760 dcb->min_nego_period = clock_period[period_index]; in device_alloc()