Lines Matching full:position
153 if (ivc->tx.position == ivc->num_frames - 1) in tegra_ivc_advance_tx()
154 ivc->tx.position = 0; in tegra_ivc_advance_tx()
156 ivc->tx.position++; in tegra_ivc_advance_tx()
165 if (ivc->rx.position == ivc->num_frames - 1) in tegra_ivc_advance_rx()
166 ivc->rx.position = 0; in tegra_ivc_advance_rx()
168 ivc->rx.position++; in tegra_ivc_advance_rx()
291 * Order observation of ivc->rx.position potentially indicating new in tegra_ivc_read_get_next_frame()
296 tegra_ivc_invalidate_frame(ivc, ivc->rx.phys, ivc->rx.position, 0, in tegra_ivc_read_get_next_frame()
299 return tegra_ivc_frame_virt(ivc, &ivc->rx.map, ivc->rx.position, map); in tegra_ivc_read_get_next_frame()
323 * Ensure our write to ivc->rx.position occurs before our read from in tegra_ivc_read_advance()
324 * ivc->tx.position. in tegra_ivc_read_advance()
351 return tegra_ivc_frame_virt(ivc, &ivc->tx.map, ivc->tx.position, map); in tegra_ivc_write_get_next_frame()
366 tegra_ivc_flush_frame(ivc, ivc->tx.phys, ivc->tx.position, 0, in tegra_ivc_write_advance()
371 * ivc->tx.position. in tegra_ivc_write_advance()
379 * Ensure our write to ivc->tx.position occurs before our read from in tegra_ivc_write_advance()
380 * ivc->rx.position. in tegra_ivc_write_advance()
455 ivc->tx.position = 0; in tegra_ivc_notified()
456 ivc->rx.position = 0; in tegra_ivc_notified()
494 ivc->tx.position = 0; in tegra_ivc_notified()
495 ivc->rx.position = 0; in tegra_ivc_notified()
702 ivc->tx.position = 0; in tegra_ivc_init()
703 ivc->rx.position = 0; in tegra_ivc_init()