Searched refs:period_index (Results 1 – 4 of 4) sorted by relevance
54 int period_index; member73 (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()
97 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()
49 int period_index; member
1278 u8 period_index; in reset_dev_param() local1285 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() local3760 dcb->min_nego_period = clock_period[period_index]; in device_alloc()