Searched refs:ivc (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/firmware/tegra/ |
D | ivc.c | 79 static inline void tegra_ivc_invalidate(struct tegra_ivc *ivc, dma_addr_t phys) in tegra_ivc_invalidate() argument 81 if (!ivc->peer) in tegra_ivc_invalidate() 84 dma_sync_single_for_cpu(ivc->peer, phys, TEGRA_IVC_ALIGN, in tegra_ivc_invalidate() 88 static inline void tegra_ivc_flush(struct tegra_ivc *ivc, dma_addr_t phys) in tegra_ivc_flush() argument 90 if (!ivc->peer) in tegra_ivc_flush() 93 dma_sync_single_for_device(ivc->peer, phys, TEGRA_IVC_ALIGN, in tegra_ivc_flush() 97 static inline bool tegra_ivc_empty(struct tegra_ivc *ivc, in tegra_ivc_empty() argument 118 if (tx - rx > ivc->num_frames) in tegra_ivc_empty() 124 static inline bool tegra_ivc_full(struct tegra_ivc *ivc, in tegra_ivc_full() argument 134 return tx - rx >= ivc->num_frames; in tegra_ivc_full() [all …]
|
D | bpmp.c | 101 frame = tegra_ivc_read_get_next_frame(channel->ivc); in tegra_bpmp_master_acked() 131 frame = tegra_ivc_write_get_next_frame(channel->ivc); in tegra_bpmp_master_free() 167 err = tegra_ivc_read_advance(channel->ivc); in __tegra_bpmp_channel_read() 211 return tegra_ivc_write_advance(channel->ivc); in __tegra_bpmp_channel_write() 376 err = tegra_ivc_read_advance(channel->ivc); in tegra_bpmp_mrq_return() 383 frame = tegra_ivc_write_get_next_frame(channel->ivc); in tegra_bpmp_mrq_return() 392 err = tegra_ivc_write_advance(channel->ivc); in tegra_bpmp_mrq_return() 598 static void tegra_bpmp_ivc_notify(struct tegra_ivc *ivc, void *data) in tegra_bpmp_ivc_notify() argument 621 channel->ivc = devm_kzalloc(bpmp->dev, sizeof(*channel->ivc), in tegra_bpmp_channel_init() 623 if (!channel->ivc) in tegra_bpmp_channel_init() [all …]
|
D | Makefile | 4 obj-$(CONFIG_TEGRA_IVC) += ivc.o
|
/Linux-v4.19/include/soc/tegra/ |
D | ivc.h | 31 void (*notify)(struct tegra_ivc *ivc, void *data); 47 void *tegra_ivc_read_get_next_frame(struct tegra_ivc *ivc); 57 int tegra_ivc_read_advance(struct tegra_ivc *ivc); 67 void *tegra_ivc_write_get_next_frame(struct tegra_ivc *ivc); 77 int tegra_ivc_write_advance(struct tegra_ivc *ivc); 88 int tegra_ivc_notified(struct tegra_ivc *ivc); 98 void tegra_ivc_reset(struct tegra_ivc *ivc); 102 int tegra_ivc_init(struct tegra_ivc *ivc, struct device *peer, void *rx, 105 void (*notify)(struct tegra_ivc *ivc, void *data), 107 void tegra_ivc_cleanup(struct tegra_ivc *ivc);
|
D | bpmp.h | 49 struct tegra_ivc *ivc; member
|
/Linux-v4.19/drivers/media/platform/exynos4-is/ |
D | fimc-isp-video.c | 308 struct fimc_is_video *ivc = &isp->video_capture; in isp_video_release() local 309 struct media_entity *entity = &ivc->ve.vdev.entity; in isp_video_release() 314 if (v4l2_fh_is_singular_file(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()
|