/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_rpf.c | 40 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_rpf_write() 42 vsp1_dl_body_write(dlb, reg + rpf->entity.index * VI6_RPF_OFFSET, in vsp1_rpf_write() 61 struct vsp1_dl_body *dlb) in rpf_configure_stream() 88 vsp1_rpf_write(rpf, dlb, VI6_RPF_SRCM_PSTRIDE, pstride); in rpf_configure_stream() 109 vsp1_rpf_write(rpf, dlb, VI6_RPF_INFMT, infmt); in rpf_configure_stream() 110 vsp1_rpf_write(rpf, dlb, VI6_RPF_DSWAP, fmtinfo->swap); in rpf_configure_stream() 159 vsp1_rpf_write(rpf, dlb, VI6_RPF_EXT_INFMT0, ext_infmt0); in rpf_configure_stream() 160 vsp1_rpf_write(rpf, dlb, VI6_RPF_EXT_INFMT1, ext_infmt1); in rpf_configure_stream() 161 vsp1_rpf_write(rpf, dlb, VI6_RPF_EXT_INFMT2, ext_infmt2); in rpf_configure_stream() 179 vsp1_rpf_write(rpf, dlb, VI6_RPF_LO in rpf_configure_stream() 39 vsp1_rpf_write(struct vsp1_rwpf *rpf, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_rpf_write() argument 58 rpf_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) rpf_configure_stream() argument 278 rpf_configure_frame(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) rpf_configure_frame() argument 293 rpf_configure_partition(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) rpf_configure_partition() argument [all...] |
H A D | vsp1_dl.c | 288 struct vsp1_dl_body *dlb = &pool->bodies[i]; in vsp1_dl_body_pool_create() local 290 dlb->pool = pool; in vsp1_dl_body_pool_create() 291 dlb->max_entries = num_entries; in vsp1_dl_body_pool_create() 293 dlb->dma = pool->dma + i * dlb_size; in vsp1_dl_body_pool_create() 294 dlb->entries = pool->mem + i * dlb_size; in vsp1_dl_body_pool_create() 296 list_add_tail(&dlb->free, &pool->free); in vsp1_dl_body_pool_create() 331 struct vsp1_dl_body *dlb = NULL; in vsp1_dl_body_get() local 337 dlb = list_first_entry(&pool->free, struct vsp1_dl_body, free); in vsp1_dl_body_get() 338 list_del(&dlb->free); in vsp1_dl_body_get() 339 refcount_set(&dlb in vsp1_dl_body_get() 353 vsp1_dl_body_put(struct vsp1_dl_body *dlb) vsp1_dl_body_put() argument 380 vsp1_dl_body_write(struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_dl_body_write() argument 580 struct vsp1_dl_body *dlb, *tmp; vsp1_dl_list_bodies_put() local 712 vsp1_dl_list_add_body(struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) vsp1_dl_list_add_body() argument 755 struct vsp1_dl_body *dlb; vsp1_dl_list_fill_header() local [all...] |
H A D | vsp1_lut.c | 29 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_lut_write() 31 vsp1_dl_body_write(dlb, reg, data); in vsp1_lut_write() 42 struct vsp1_dl_body *dlb; in lut_set_table() local 45 dlb = vsp1_dl_body_get(lut->pool); in lut_set_table() 46 if (!dlb) in lut_set_table() 50 vsp1_dl_body_write(dlb, VI6_LUT_TABLE + 4 * i, in lut_set_table() 54 swap(lut->lut, dlb); in lut_set_table() 57 vsp1_dl_body_put(dlb); in lut_set_table() 152 struct vsp1_dl_body *dlb) in lut_configure_stream() 156 vsp1_lut_write(lut, dlb, VI6_LUT_CTR in lut_configure_stream() 28 vsp1_lut_write(struct vsp1_lut *lut, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_lut_write() argument 149 lut_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) lut_configure_stream() argument 159 lut_configure_frame(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) lut_configure_frame() argument [all...] |
H A D | vsp1_wpf.c | 30 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_wpf_write() 32 vsp1_dl_body_write(dlb, reg + wpf->entity.index * VI6_WPF_OFFSET, data); in vsp1_wpf_write() 240 struct vsp1_dl_body *dlb; in wpf_configure_writeback_chain() local 249 dlb = vsp1_dl_list_get_body0(dl_next); in wpf_configure_writeback_chain() 250 vsp1_dl_body_write(dlb, VI6_WPF_WRBCK_CTRL(index), 0); in wpf_configure_writeback_chain() 259 struct vsp1_dl_body *dlb) in wpf_configure_stream() 296 vsp1_wpf_write(wpf, dlb, VI6_WPF_DSTM_STRIDE_Y, in wpf_configure_stream() 299 vsp1_wpf_write(wpf, dlb, VI6_WPF_DSTM_STRIDE_C, in wpf_configure_stream() 302 vsp1_wpf_write(wpf, dlb, VI6_WPF_DSWAP, fmtinfo->swap); in wpf_configure_stream() 305 vsp1_wpf_write(wpf, dlb, VI6_WPF_ROT_CTR in wpf_configure_stream() 29 vsp1_wpf_write(struct vsp1_rwpf *wpf, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_wpf_write() argument 256 wpf_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) wpf_configure_stream() argument 365 wpf_configure_frame(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) wpf_configure_frame() argument 391 wpf_configure_partition(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) wpf_configure_partition() argument [all...] |
H A D | vsp1_clu.c | 29 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_clu_write() 31 vsp1_dl_body_write(dlb, reg, data); in vsp1_clu_write() 45 struct vsp1_dl_body *dlb; in clu_set_table() local 48 dlb = vsp1_dl_body_get(clu->pool); in clu_set_table() 49 if (!dlb) in clu_set_table() 52 vsp1_dl_body_write(dlb, VI6_CLU_ADDR, 0); in clu_set_table() 54 vsp1_dl_body_write(dlb, VI6_CLU_DATA, ctrl->p_new.p_u32[i]); in clu_set_table() 57 swap(clu->clu, dlb); in clu_set_table() 60 vsp1_dl_body_put(dlb); in clu_set_table() 176 struct vsp1_dl_body *dlb) in clu_configure_stream() 28 vsp1_clu_write(struct vsp1_clu *clu, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_clu_write() argument 173 clu_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) clu_configure_stream() argument 191 clu_configure_frame(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) clu_configure_frame() argument [all...] |
H A D | vsp1_hgt.c | 32 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_hgt_write() 34 vsp1_dl_body_write(dlb, reg, data); in vsp1_hgt_write() 131 struct vsp1_dl_body *dlb) in hgt_configure_stream() 148 vsp1_hgt_write(hgt, dlb, VI6_HGT_REGRST, VI6_HGT_REGRST_RCLEA); in hgt_configure_stream() 150 vsp1_hgt_write(hgt, dlb, VI6_HGT_OFFSET, in hgt_configure_stream() 153 vsp1_hgt_write(hgt, dlb, VI6_HGT_SIZE, in hgt_configure_stream() 161 vsp1_hgt_write(hgt, dlb, VI6_HGT_HUE_AREA(i), in hgt_configure_stream() 169 vsp1_hgt_write(hgt, dlb, VI6_HGT_MODE, in hgt_configure_stream() 31 vsp1_hgt_write(struct vsp1_hgt *hgt, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_hgt_write() argument 128 hgt_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) hgt_configure_stream() argument
|
H A D | vsp1_uif.c | 36 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_uif_write() 38 vsp1_dl_body_write(dlb, reg + uif->entity.index * VI6_UIF_OFFSET, data); in vsp1_uif_write() 199 struct vsp1_dl_body *dlb) in uif_configure_stream() 206 vsp1_uif_write(uif, dlb, VI6_UIF_DISCOM_DOCMPMR, in uif_configure_stream() 221 vsp1_uif_write(uif, dlb, VI6_UIF_DISCOM_DOCMSPXR, left); in uif_configure_stream() 222 vsp1_uif_write(uif, dlb, VI6_UIF_DISCOM_DOCMSPYR, crop->top); in uif_configure_stream() 223 vsp1_uif_write(uif, dlb, VI6_UIF_DISCOM_DOCMSZXR, width); in uif_configure_stream() 224 vsp1_uif_write(uif, dlb, VI6_UIF_DISCOM_DOCMSZYR, crop->height); in uif_configure_stream() 226 vsp1_uif_write(uif, dlb, VI6_UIF_DISCOM_DOCMCR, in uif_configure_stream() 35 vsp1_uif_write(struct vsp1_uif *uif, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_uif_write() argument 196 uif_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) uif_configure_stream() argument
|
H A D | vsp1_lif.c | 27 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_lif_write() 29 vsp1_dl_body_write(dlb, reg + lif->entity.index * VI6_LIF_OFFSET, in vsp1_lif_write() 89 struct vsp1_dl_body *dlb) in lif_configure_stream() 125 vsp1_lif_write(lif, dlb, VI6_LIF_CSBTH, in lif_configure_stream() 129 vsp1_lif_write(lif, dlb, VI6_LIF_CTRL, in lif_configure_stream() 141 vsp1_lif_write(lif, dlb, VI6_LIF_LBA, in lif_configure_stream() 26 vsp1_lif_write(struct vsp1_lif *lif, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_lif_write() argument 86 lif_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) lif_configure_stream() argument
|
H A D | vsp1_hgo.c | 32 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_hgo_write() 34 vsp1_dl_body_write(dlb, reg, data); in vsp1_hgo_write() 135 struct vsp1_dl_body *dlb) in hgo_configure_stream() 149 vsp1_hgo_write(hgo, dlb, VI6_HGO_REGRST, VI6_HGO_REGRST_RCLEA); in hgo_configure_stream() 151 vsp1_hgo_write(hgo, dlb, VI6_HGO_OFFSET, in hgo_configure_stream() 154 vsp1_hgo_write(hgo, dlb, VI6_HGO_SIZE, in hgo_configure_stream() 166 vsp1_hgo_write(hgo, dlb, VI6_HGO_MODE, in hgo_configure_stream() 31 vsp1_hgo_write(struct vsp1_hgo *hgo, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_hgo_write() argument 132 hgo_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) hgo_configure_stream() argument
|
H A D | vsp1_uds.c | 31 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_uds_write() 33 vsp1_dl_body_write(dlb, reg + uds->entity.index * VI6_UDS_OFFSET, data); in vsp1_uds_write() 40 void vsp1_uds_set_alpha(struct vsp1_entity *entity, struct vsp1_dl_body *dlb, in vsp1_uds_set_alpha() argument 45 vsp1_uds_write(uds, dlb, VI6_UDS_ALPVAL, in vsp1_uds_set_alpha() 263 struct vsp1_dl_body *dlb) in uds_configure_stream() 292 vsp1_uds_write(uds, dlb, VI6_UDS_CTRL, in uds_configure_stream() 296 vsp1_uds_write(uds, dlb, VI6_UDS_PASS_BWIDTH, in uds_configure_stream() 303 vsp1_uds_write(uds, dlb, VI6_UDS_SCALE, in uds_configure_stream() 311 struct vsp1_dl_body *dlb) in uds_configure_partition() 321 vsp1_uds_write(uds, dlb, VI6_UDS_HSZCLI in uds_configure_partition() 30 vsp1_uds_write(struct vsp1_uds *uds, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_uds_write() argument 260 uds_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) uds_configure_stream() argument 308 uds_configure_partition(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) uds_configure_partition() argument [all...] |
H A D | vsp1_hsit.c | 27 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_hsit_write() 29 vsp1_dl_body_write(dlb, reg, data); in vsp1_hsit_write() 135 struct vsp1_dl_body *dlb) in hsit_configure_stream() 140 vsp1_hsit_write(hsit, dlb, VI6_HSI_CTRL, VI6_HSI_CTRL_EN); in hsit_configure_stream() 142 vsp1_hsit_write(hsit, dlb, VI6_HST_CTRL, VI6_HST_CTRL_EN); in hsit_configure_stream() 26 vsp1_hsit_write(struct vsp1_hsit *hsit, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_hsit_write() argument 132 hsit_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) hsit_configure_stream() argument
|
H A D | vsp1_dl.h | 73 void vsp1_dl_body_put(struct vsp1_dl_body *dlb); 75 void vsp1_dl_body_write(struct vsp1_dl_body *dlb, u32 reg, u32 data); 76 int vsp1_dl_list_add_body(struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb);
|
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_rpf.c | 40 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_rpf_write() 42 vsp1_dl_body_write(dlb, reg + rpf->entity.index * VI6_RPF_OFFSET, in vsp1_rpf_write() 61 struct vsp1_dl_body *dlb) in rpf_configure_stream() 88 vsp1_rpf_write(rpf, dlb, VI6_RPF_SRCM_PSTRIDE, pstride); in rpf_configure_stream() 109 vsp1_rpf_write(rpf, dlb, VI6_RPF_INFMT, infmt); in rpf_configure_stream() 110 vsp1_rpf_write(rpf, dlb, VI6_RPF_DSWAP, fmtinfo->swap); in rpf_configure_stream() 127 vsp1_rpf_write(rpf, dlb, VI6_RPF_LOC, in rpf_configure_stream() 154 vsp1_rpf_write(rpf, dlb, VI6_RPF_ALPH_SEL, VI6_RPF_ALPH_SEL_AEXT_EXT | in rpf_configure_stream() 191 vsp1_rpf_write(rpf, dlb, VI6_RPF_MSK_CTRL, 0); in rpf_configure_stream() 192 vsp1_rpf_write(rpf, dlb, VI6_RPF_CKEY_CTR in rpf_configure_stream() 39 vsp1_rpf_write(struct vsp1_rwpf *rpf, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_rpf_write() argument 58 rpf_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) rpf_configure_stream() argument 226 rpf_configure_frame(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) rpf_configure_frame() argument 241 rpf_configure_partition(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) rpf_configure_partition() argument [all...] |
H A D | vsp1_dl.c | 288 struct vsp1_dl_body *dlb = &pool->bodies[i]; in vsp1_dl_body_pool_create() local 290 dlb->pool = pool; in vsp1_dl_body_pool_create() 291 dlb->max_entries = num_entries; in vsp1_dl_body_pool_create() 293 dlb->dma = pool->dma + i * dlb_size; in vsp1_dl_body_pool_create() 294 dlb->entries = pool->mem + i * dlb_size; in vsp1_dl_body_pool_create() 296 list_add_tail(&dlb->free, &pool->free); in vsp1_dl_body_pool_create() 331 struct vsp1_dl_body *dlb = NULL; in vsp1_dl_body_get() local 337 dlb = list_first_entry(&pool->free, struct vsp1_dl_body, free); in vsp1_dl_body_get() 338 list_del(&dlb->free); in vsp1_dl_body_get() 339 refcount_set(&dlb in vsp1_dl_body_get() 353 vsp1_dl_body_put(struct vsp1_dl_body *dlb) vsp1_dl_body_put() argument 380 vsp1_dl_body_write(struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_dl_body_write() argument 580 struct vsp1_dl_body *dlb, *tmp; vsp1_dl_list_bodies_put() local 712 vsp1_dl_list_add_body(struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) vsp1_dl_list_add_body() argument 755 struct vsp1_dl_body *dlb; vsp1_dl_list_fill_header() local [all...] |
H A D | vsp1_lut.c | 29 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_lut_write() 31 vsp1_dl_body_write(dlb, reg, data); in vsp1_lut_write() 42 struct vsp1_dl_body *dlb; in lut_set_table() local 45 dlb = vsp1_dl_body_get(lut->pool); in lut_set_table() 46 if (!dlb) in lut_set_table() 50 vsp1_dl_body_write(dlb, VI6_LUT_TABLE + 4 * i, in lut_set_table() 54 swap(lut->lut, dlb); in lut_set_table() 57 vsp1_dl_body_put(dlb); in lut_set_table() 151 struct vsp1_dl_body *dlb) in lut_configure_stream() 155 vsp1_lut_write(lut, dlb, VI6_LUT_CTR in lut_configure_stream() 28 vsp1_lut_write(struct vsp1_lut *lut, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_lut_write() argument 148 lut_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) lut_configure_stream() argument 158 lut_configure_frame(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) lut_configure_frame() argument [all...] |
H A D | vsp1_wpf.c | 30 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_wpf_write() 32 vsp1_dl_body_write(dlb, reg + wpf->entity.index * VI6_WPF_OFFSET, data); in vsp1_wpf_write() 240 struct vsp1_dl_body *dlb; in wpf_configure_writeback_chain() local 249 dlb = vsp1_dl_list_get_body0(dl_next); in wpf_configure_writeback_chain() 250 vsp1_dl_body_write(dlb, VI6_WPF_WRBCK_CTRL(index), 0); in wpf_configure_writeback_chain() 259 struct vsp1_dl_body *dlb) in wpf_configure_stream() 296 vsp1_wpf_write(wpf, dlb, VI6_WPF_DSTM_STRIDE_Y, in wpf_configure_stream() 299 vsp1_wpf_write(wpf, dlb, VI6_WPF_DSTM_STRIDE_C, in wpf_configure_stream() 302 vsp1_wpf_write(wpf, dlb, VI6_WPF_DSWAP, fmtinfo->swap); in wpf_configure_stream() 305 vsp1_wpf_write(wpf, dlb, VI6_WPF_ROT_CTR in wpf_configure_stream() 29 vsp1_wpf_write(struct vsp1_rwpf *wpf, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_wpf_write() argument 256 wpf_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) wpf_configure_stream() argument 365 wpf_configure_frame(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) wpf_configure_frame() argument 391 wpf_configure_partition(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) wpf_configure_partition() argument [all...] |
H A D | vsp1_clu.c | 29 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_clu_write() 31 vsp1_dl_body_write(dlb, reg, data); in vsp1_clu_write() 45 struct vsp1_dl_body *dlb; in clu_set_table() local 48 dlb = vsp1_dl_body_get(clu->pool); in clu_set_table() 49 if (!dlb) in clu_set_table() 52 vsp1_dl_body_write(dlb, VI6_CLU_ADDR, 0); in clu_set_table() 54 vsp1_dl_body_write(dlb, VI6_CLU_DATA, ctrl->p_new.p_u32[i]); in clu_set_table() 57 swap(clu->clu, dlb); in clu_set_table() 60 vsp1_dl_body_put(dlb); in clu_set_table() 175 struct vsp1_dl_body *dlb) in clu_configure_stream() 28 vsp1_clu_write(struct vsp1_clu *clu, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_clu_write() argument 172 clu_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) clu_configure_stream() argument 190 clu_configure_frame(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) clu_configure_frame() argument [all...] |
H A D | vsp1_hgt.c | 32 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_hgt_write() 34 vsp1_dl_body_write(dlb, reg, data); in vsp1_hgt_write() 131 struct vsp1_dl_body *dlb) in hgt_configure_stream() 148 vsp1_hgt_write(hgt, dlb, VI6_HGT_REGRST, VI6_HGT_REGRST_RCLEA); in hgt_configure_stream() 150 vsp1_hgt_write(hgt, dlb, VI6_HGT_OFFSET, in hgt_configure_stream() 153 vsp1_hgt_write(hgt, dlb, VI6_HGT_SIZE, in hgt_configure_stream() 161 vsp1_hgt_write(hgt, dlb, VI6_HGT_HUE_AREA(i), in hgt_configure_stream() 169 vsp1_hgt_write(hgt, dlb, VI6_HGT_MODE, in hgt_configure_stream() 31 vsp1_hgt_write(struct vsp1_hgt *hgt, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_hgt_write() argument 128 hgt_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) hgt_configure_stream() argument
|
H A D | vsp1_uif.c | 36 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_uif_write() 38 vsp1_dl_body_write(dlb, reg + uif->entity.index * VI6_UIF_OFFSET, data); in vsp1_uif_write() 196 struct vsp1_dl_body *dlb) in uif_configure_stream() 203 vsp1_uif_write(uif, dlb, VI6_UIF_DISCOM_DOCMPMR, in uif_configure_stream() 218 vsp1_uif_write(uif, dlb, VI6_UIF_DISCOM_DOCMSPXR, left); in uif_configure_stream() 219 vsp1_uif_write(uif, dlb, VI6_UIF_DISCOM_DOCMSPYR, crop->top); in uif_configure_stream() 220 vsp1_uif_write(uif, dlb, VI6_UIF_DISCOM_DOCMSZXR, width); in uif_configure_stream() 221 vsp1_uif_write(uif, dlb, VI6_UIF_DISCOM_DOCMSZYR, crop->height); in uif_configure_stream() 223 vsp1_uif_write(uif, dlb, VI6_UIF_DISCOM_DOCMCR, in uif_configure_stream() 35 vsp1_uif_write(struct vsp1_uif *uif, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_uif_write() argument 193 uif_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) uif_configure_stream() argument
|
H A D | vsp1_lif.c | 27 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_lif_write() 29 vsp1_dl_body_write(dlb, reg + lif->entity.index * VI6_LIF_OFFSET, in vsp1_lif_write() 88 struct vsp1_dl_body *dlb) in lif_configure_stream() 122 vsp1_lif_write(lif, dlb, VI6_LIF_CSBTH, in lif_configure_stream() 126 vsp1_lif_write(lif, dlb, VI6_LIF_CTRL, in lif_configure_stream() 139 vsp1_lif_write(lif, dlb, VI6_LIF_LBA, in lif_configure_stream() 26 vsp1_lif_write(struct vsp1_lif *lif, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_lif_write() argument 85 lif_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) lif_configure_stream() argument
|
H A D | vsp1_hgo.c | 32 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_hgo_write() 34 vsp1_dl_body_write(dlb, reg, data); in vsp1_hgo_write() 135 struct vsp1_dl_body *dlb) in hgo_configure_stream() 149 vsp1_hgo_write(hgo, dlb, VI6_HGO_REGRST, VI6_HGO_REGRST_RCLEA); in hgo_configure_stream() 151 vsp1_hgo_write(hgo, dlb, VI6_HGO_OFFSET, in hgo_configure_stream() 154 vsp1_hgo_write(hgo, dlb, VI6_HGO_SIZE, in hgo_configure_stream() 166 vsp1_hgo_write(hgo, dlb, VI6_HGO_MODE, in hgo_configure_stream() 31 vsp1_hgo_write(struct vsp1_hgo *hgo, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_hgo_write() argument 132 hgo_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) hgo_configure_stream() argument
|
H A D | vsp1_uds.c | 31 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_uds_write() 33 vsp1_dl_body_write(dlb, reg + uds->entity.index * VI6_UDS_OFFSET, data); in vsp1_uds_write() 40 void vsp1_uds_set_alpha(struct vsp1_entity *entity, struct vsp1_dl_body *dlb, in vsp1_uds_set_alpha() argument 45 vsp1_uds_write(uds, dlb, VI6_UDS_ALPVAL, in vsp1_uds_set_alpha() 261 struct vsp1_dl_body *dlb) in uds_configure_stream() 290 vsp1_uds_write(uds, dlb, VI6_UDS_CTRL, in uds_configure_stream() 294 vsp1_uds_write(uds, dlb, VI6_UDS_PASS_BWIDTH, in uds_configure_stream() 301 vsp1_uds_write(uds, dlb, VI6_UDS_SCALE, in uds_configure_stream() 309 struct vsp1_dl_body *dlb) in uds_configure_partition() 319 vsp1_uds_write(uds, dlb, VI6_UDS_HSZCLI in uds_configure_partition() 30 vsp1_uds_write(struct vsp1_uds *uds, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_uds_write() argument 258 uds_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) uds_configure_stream() argument 306 uds_configure_partition(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) uds_configure_partition() argument [all...] |
H A D | vsp1_hsit.c | 27 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_hsit_write() 29 vsp1_dl_body_write(dlb, reg, data); in vsp1_hsit_write() 133 struct vsp1_dl_body *dlb) in hsit_configure_stream() 138 vsp1_hsit_write(hsit, dlb, VI6_HSI_CTRL, VI6_HSI_CTRL_EN); in hsit_configure_stream() 140 vsp1_hsit_write(hsit, dlb, VI6_HST_CTRL, VI6_HST_CTRL_EN); in hsit_configure_stream() 26 vsp1_hsit_write(struct vsp1_hsit *hsit, struct vsp1_dl_body *dlb, u32 reg, u32 data) vsp1_hsit_write() argument 130 hsit_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) hsit_configure_stream() argument
|
H A D | vsp1_dl.h | 73 void vsp1_dl_body_put(struct vsp1_dl_body *dlb); 75 void vsp1_dl_body_write(struct vsp1_dl_body *dlb, u32 reg, u32 data); 76 int vsp1_dl_list_add_body(struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb);
|
H A D | vsp1_entity.c | 25 struct vsp1_dl_body *dlb) in vsp1_entity_route_setup() 41 vsp1_dl_body_write(dlb, VI6_DPR_HGO_SMPPT, smppt); in vsp1_entity_route_setup() 54 vsp1_dl_body_write(dlb, VI6_DPR_HGT_SMPPT, smppt); in vsp1_entity_route_setup() 69 vsp1_dl_body_write(dlb, source->route->reg, route); in vsp1_entity_route_setup() 75 struct vsp1_dl_body *dlb) in vsp1_entity_configure_stream() 78 entity->ops->configure_stream(entity, pipe, dl, dlb); in vsp1_entity_configure_stream() 84 struct vsp1_dl_body *dlb) in vsp1_entity_configure_frame() 87 entity->ops->configure_frame(entity, pipe, dl, dlb); in vsp1_entity_configure_frame() 93 struct vsp1_dl_body *dlb) in vsp1_entity_configure_partition() 96 entity->ops->configure_partition(entity, pipe, dl, dlb); in vsp1_entity_configure_partition() 23 vsp1_entity_route_setup(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_body *dlb) vsp1_entity_route_setup() argument 72 vsp1_entity_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) vsp1_entity_configure_stream() argument 81 vsp1_entity_configure_frame(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) vsp1_entity_configure_frame() argument 90 vsp1_entity_configure_partition(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) vsp1_entity_configure_partition() argument [all...] |