Lines Matching full:position

149 	if (ivc->tx.position == ivc->num_frames - 1)  in tegra_ivc_advance_tx()
150 ivc->tx.position = 0; in tegra_ivc_advance_tx()
152 ivc->tx.position++; in tegra_ivc_advance_tx()
160 if (ivc->rx.position == ivc->num_frames - 1) in tegra_ivc_advance_rx()
161 ivc->rx.position = 0; in tegra_ivc_advance_rx()
163 ivc->rx.position++; in tegra_ivc_advance_rx()
279 * Order observation of ivc->rx.position potentially indicating new in tegra_ivc_read_get_next_frame()
284 tegra_ivc_invalidate_frame(ivc, ivc->rx.phys, ivc->rx.position, 0, in tegra_ivc_read_get_next_frame()
287 return tegra_ivc_frame_virt(ivc, ivc->rx.channel, ivc->rx.position); in tegra_ivc_read_get_next_frame()
311 * Ensure our write to ivc->rx.position occurs before our read from in tegra_ivc_read_advance()
312 * ivc->tx.position. in tegra_ivc_read_advance()
339 return tegra_ivc_frame_virt(ivc, ivc->tx.channel, ivc->tx.position); in tegra_ivc_write_get_next_frame()
354 tegra_ivc_flush_frame(ivc, ivc->tx.phys, ivc->tx.position, 0, in tegra_ivc_write_advance()
359 * ivc->tx.position. in tegra_ivc_write_advance()
367 * Ensure our write to ivc->tx.position occurs before our read from in tegra_ivc_write_advance()
368 * ivc->rx.position. in tegra_ivc_write_advance()
442 ivc->tx.position = 0; in tegra_ivc_notified()
443 ivc->rx.position = 0; in tegra_ivc_notified()
481 ivc->tx.position = 0; in tegra_ivc_notified()
482 ivc->rx.position = 0; in tegra_ivc_notified()
668 ivc->tx.position = 0; in tegra_ivc_init()
669 ivc->rx.position = 0; in tegra_ivc_init()