Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/firmware/tegra/
Divc.c71 static inline void tegra_ivc_invalidate(struct tegra_ivc *ivc, dma_addr_t phys) in tegra_ivc_invalidate() argument
73 if (!ivc->peer) in tegra_ivc_invalidate()
76 dma_sync_single_for_cpu(ivc->peer, phys, TEGRA_IVC_ALIGN, in tegra_ivc_invalidate()
80 static inline void tegra_ivc_flush(struct tegra_ivc *ivc, dma_addr_t phys) in tegra_ivc_flush() argument
82 if (!ivc->peer) in tegra_ivc_flush()
85 dma_sync_single_for_device(ivc->peer, phys, TEGRA_IVC_ALIGN, in tegra_ivc_flush()
89 static inline bool tegra_ivc_empty(struct tegra_ivc *ivc, in tegra_ivc_empty() argument
110 if (tx - rx > ivc->num_frames) in tegra_ivc_empty()
116 static inline bool tegra_ivc_full(struct tegra_ivc *ivc, in tegra_ivc_full() argument
126 return tx - rx >= ivc->num_frames; in tegra_ivc_full()
[all …]
Dbpmp-tegra186.c45 frame = tegra_ivc_read_get_next_frame(channel->ivc); in tegra186_bpmp_is_message_ready()
60 frame = tegra_ivc_write_get_next_frame(channel->ivc); in tegra186_bpmp_is_channel_free()
73 return tegra_ivc_read_advance(channel->ivc); in tegra186_bpmp_ack_message()
78 return tegra_ivc_write_advance(channel->ivc); in tegra186_bpmp_post_message()
95 static void tegra186_bpmp_ivc_notify(struct tegra_ivc *ivc, void *data) in tegra186_bpmp_ivc_notify() argument
115 channel->ivc = devm_kzalloc(bpmp->dev, sizeof(*channel->ivc), in tegra186_bpmp_channel_init()
117 if (!channel->ivc) in tegra186_bpmp_channel_init()
124 err = tegra_ivc_init(channel->ivc, NULL, in tegra186_bpmp_channel_init()
144 tegra_ivc_reset(channel->ivc); in tegra186_bpmp_channel_reset()
147 while (tegra_ivc_notified(channel->ivc)) in tegra186_bpmp_channel_reset()
[all …]
DMakefile9 obj-$(CONFIG_TEGRA_IVC) += ivc.o
/kernel/linux/linux-5.10/include/soc/tegra/
Divc.h23 void (*notify)(struct tegra_ivc *ivc, void *data);
39 void *tegra_ivc_read_get_next_frame(struct tegra_ivc *ivc);
49 int tegra_ivc_read_advance(struct tegra_ivc *ivc);
59 void *tegra_ivc_write_get_next_frame(struct tegra_ivc *ivc);
69 int tegra_ivc_write_advance(struct tegra_ivc *ivc);
80 int tegra_ivc_notified(struct tegra_ivc *ivc);
90 void tegra_ivc_reset(struct tegra_ivc *ivc);
94 int tegra_ivc_init(struct tegra_ivc *ivc, struct device *peer, void *rx,
97 void (*notify)(struct tegra_ivc *ivc, void *data),
99 void tegra_ivc_cleanup(struct tegra_ivc *ivc);
Dbpmp.h44 struct tegra_ivc *ivc; member
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/
Dfimc-isp-video.c305 struct fimc_is_video *ivc = &isp->video_capture; in isp_video_release() local
306 struct media_entity *entity = &ivc->ve.vdev.entity; in isp_video_release()
314 if (is_singular_file && ivc->streaming) { in isp_video_release()
316 ivc->streaming = 0; in isp_video_release()
322 fimc_pipeline_call(&ivc->ve, close); in isp_video_release()