Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/arch/arm/mach-tegra/
H A Divc.c72 static inline void tegra_ivc_invalidate_counter(struct tegra_ivc *ivc, in tegra_ivc_invalidate_counter() argument
80 static inline void tegra_ivc_flush_counter(struct tegra_ivc *ivc, in tegra_ivc_flush_counter() argument
88 static inline ulong tegra_ivc_frame_addr(struct tegra_ivc *ivc, in tegra_ivc_frame_addr() argument
92 BUG_ON(frame >= ivc->nframes); in tegra_ivc_frame_addr()
95 (ivc->frame_size * frame); in tegra_ivc_frame_addr()
98 static inline void *tegra_ivc_frame_pointer(struct tegra_ivc *ivc, in tegra_ivc_frame_pointer() argument
102 return (void *)tegra_ivc_frame_addr(ivc, ch, frame); in tegra_ivc_frame_pointer()
105 static inline void tegra_ivc_invalidate_frame(struct tegra_ivc *ivc, in tegra_ivc_invalidate_frame() argument
109 ulong base = tegra_ivc_frame_addr(ivc, h, frame); in tegra_ivc_invalidate_frame()
110 invalidate_dcache_range(base, base + ivc->frame_size); in tegra_ivc_invalidate_frame()
[all …]
H A DMakefile31 obj-$(CONFIG_TEGRA_IVC) += ivc.o
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra/
H A Divc.h96 int tegra_ivc_read_get_next_frame(struct tegra_ivc *ivc, void **frame);
110 int tegra_ivc_read_advance(struct tegra_ivc *ivc);
124 int tegra_ivc_write_get_next_frame(struct tegra_ivc *ivc, void **frame);
138 int tegra_ivc_write_advance(struct tegra_ivc *ivc);
150 int tegra_ivc_channel_notified(struct tegra_ivc *ivc);
162 void tegra_ivc_channel_reset(struct tegra_ivc *ivc);
175 int tegra_ivc_init(struct tegra_ivc *ivc, ulong rx_base, ulong tx_base,
/rk3399_rockchip-uboot/drivers/misc/
H A Dtegra186_bpmp.c26 struct tegra_ivc ivc; member
45 ret = tegra_ivc_write_get_next_frame(&priv->ivc, &ivc_frame); in tegra186_bpmp_call()
56 ret = tegra_ivc_write_advance(&priv->ivc); in tegra186_bpmp_call()
64 ret = tegra_ivc_channel_notified(&priv->ivc); in tegra186_bpmp_call()
70 ret = tegra_ivc_read_get_next_frame(&priv->ivc, &ivc_frame); in tegra186_bpmp_call()
87 ret = tegra_ivc_read_advance(&priv->ivc); in tegra186_bpmp_call()
161 static void tegra186_bpmp_ivc_notify(struct tegra_ivc *ivc) in tegra186_bpmp_ivc_notify() argument
164 container_of(ivc, struct tegra186_bpmp, ivc); in tegra186_bpmp_ivc_notify()
198 ret = tegra_ivc_init(&priv->ivc, rx_base, tx_base, BPMP_IVC_FRAME_COUNT, in tegra186_bpmp_probe()
205 tegra_ivc_channel_reset(&priv->ivc); in tegra186_bpmp_probe()
[all …]