Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/platform/ti/vpe/
Dvpdma.c280 static u32 read_reg(struct vpdma_data *vpdma, int offset) in read_reg() argument
282 return ioread32(vpdma->base + offset); in read_reg()
285 static void write_reg(struct vpdma_data *vpdma, int offset, u32 value) in write_reg() argument
287 iowrite32(value, vpdma->base + offset); in write_reg()
290 static int read_field_reg(struct vpdma_data *vpdma, int offset, in read_field_reg() argument
293 return (read_reg(vpdma, offset) & (mask << shift)) >> shift; in read_field_reg()
296 static void write_field_reg(struct vpdma_data *vpdma, int offset, u32 field, in write_field_reg() argument
299 u32 val = read_reg(vpdma, offset); in write_field_reg()
304 write_reg(vpdma, offset, val); in write_field_reg()
307 void vpdma_dump_regs(struct vpdma_data *vpdma) in vpdma_dump_regs() argument
[all …]
Dvpdma.h215 int vpdma_map_desc_buf(struct vpdma_data *vpdma, struct vpdma_buf *buf);
216 void vpdma_unmap_desc_buf(struct vpdma_data *vpdma, struct vpdma_buf *buf);
222 int vpdma_submit_descs(struct vpdma_data *vpdma, struct vpdma_desc_list *list,
224 bool vpdma_list_busy(struct vpdma_data *vpdma, int list_num);
225 void vpdma_update_dma_addr(struct vpdma_data *vpdma,
230 int vpdma_hwlist_alloc(struct vpdma_data *vpdma, void *priv);
231 void *vpdma_hwlist_get_priv(struct vpdma_data *vpdma, int list_num);
232 void *vpdma_hwlist_release(struct vpdma_data *vpdma, int list_num);
257 int vpdma_list_cleanup(struct vpdma_data *vpdma, int list_num,
261 void vpdma_enable_list_complete_irq(struct vpdma_data *vpdma, int irq_num,
[all …]
DMakefile3 obj-$(CONFIG_VIDEO_TI_VPDMA) += ti-vpdma.o
8 ti-vpdma-y := vpdma.o
Dvpe.c387 struct vpdma_data *vpdma; /* vpdma data handle */ member
718 vpdma_set_line_mode(ctx->dev->vpdma, line_mode, VPE_CHAN_CHROMA1_IN); in set_line_modes()
719 vpdma_set_line_mode(ctx->dev->vpdma, line_mode, VPE_CHAN_CHROMA2_IN); in set_line_modes()
720 vpdma_set_line_mode(ctx->dev->vpdma, line_mode, VPE_CHAN_CHROMA3_IN); in set_line_modes()
723 vpdma_set_frame_start_event(ctx->dev->vpdma, VPDMA_FSEVENT_CHANNEL_ACTIVE, in set_line_modes()
725 vpdma_set_frame_start_event(ctx->dev->vpdma, VPDMA_FSEVENT_CHANNEL_ACTIVE, in set_line_modes()
727 vpdma_set_frame_start_event(ctx->dev->vpdma, VPDMA_FSEVENT_CHANNEL_ACTIVE, in set_line_modes()
731 vpdma_set_frame_start_event(ctx->dev->vpdma, VPDMA_FSEVENT_CHANNEL_ACTIVE, in set_line_modes()
733 vpdma_set_frame_start_event(ctx->dev->vpdma, VPDMA_FSEVENT_CHANNEL_ACTIVE, in set_line_modes()
735 vpdma_set_frame_start_event(ctx->dev->vpdma, VPDMA_FSEVENT_CHANNEL_ACTIVE, in set_line_modes()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/media/
Dti,vpe.yaml34 - const: vpdma
60 "vpdma";
/linux-6.6.21/arch/arm/boot/dts/ti/omap/
Ddra7-l4.dtsi4211 "vpdma";