/openbmc/linux/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() argument 53 struct vsp1_dl_body *dlb) in rpf_configure_stream() argument 101 vsp1_rpf_write(rpf, dlb, VI6_RPF_INFMT, infmt); in rpf_configure_stream() 171 vsp1_rpf_write(rpf, dlb, VI6_RPF_LOC, in rpf_configure_stream() 235 vsp1_rpf_write(rpf, dlb, VI6_RPF_MSK_CTRL, 0); in rpf_configure_stream() 236 vsp1_rpf_write(rpf, dlb, VI6_RPF_CKEY_CTRL, 0); in rpf_configure_stream() 273 struct vsp1_dl_body *dlb) in rpf_configure_frame() argument 277 vsp1_rpf_write(rpf, dlb, VI6_RPF_VRTCOL_SET, in rpf_configure_frame() 288 struct vsp1_dl_body *dlb) in rpf_configure_partition() argument 327 vsp1_rpf_write(rpf, dlb, VI6_RPF_SRC_BSIZE, in rpf_configure_partition() [all …]
|
H A D | vsp1_dl.c | 290 dlb->pool = pool; in vsp1_dl_body_pool_create() 338 list_del(&dlb->free); in vsp1_dl_body_get() 344 return dlb; in vsp1_dl_body_get() 357 if (!dlb) in vsp1_dl_body_put() 363 dlb->num_entries = 0; in vsp1_dl_body_put() 366 list_add_tail(&dlb->free, &dlb->pool->free); in vsp1_dl_body_put() 382 if (WARN_ONCE(dlb->num_entries >= dlb->max_entries, in vsp1_dl_body_write() 386 dlb->entries[dlb->num_entries].addr = reg; in vsp1_dl_body_write() 387 dlb->entries[dlb->num_entries].data = data; in vsp1_dl_body_write() 388 dlb->num_entries++; in vsp1_dl_body_write() [all …]
|
H A D | vsp1_lut.c | 29 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_lut_write() argument 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() argument 156 vsp1_lut_write(lut, dlb, VI6_LUT_CTRL, VI6_LUT_CTRL_EN); in lut_configure_stream() [all …]
|
H A D | vsp1_clu.c | 29 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_clu_write() argument 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() 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() argument 194 struct vsp1_dl_body *dlb) in clu_configure_frame() argument [all …]
|
H A D | vsp1_wpf.c | 30 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_wpf_write() argument 217 struct vsp1_dl_body *dlb; in wpf_configure_writeback_chain() local 226 dlb = vsp1_dl_list_get_body0(dl_next); in wpf_configure_writeback_chain() 236 struct vsp1_dl_body *dlb) in wpf_configure_stream() argument 273 vsp1_wpf_write(wpf, dlb, VI6_WPF_DSTM_STRIDE_Y, in wpf_configure_stream() 276 vsp1_wpf_write(wpf, dlb, VI6_WPF_DSTM_STRIDE_C, in wpf_configure_stream() 282 vsp1_wpf_write(wpf, dlb, VI6_WPF_ROT_CTRL, in wpf_configure_stream() 317 vsp1_wpf_write(wpf, dlb, VI6_WPF_SRCRPF, srcrpf); in wpf_configure_stream() 321 vsp1_dl_body_write(dlb, VI6_WPF_IRQ_ENB(index), in wpf_configure_stream() 345 struct vsp1_dl_body *dlb) in wpf_configure_frame() argument [all …]
|
H A D | vsp1_hgt.c | 32 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_hgt_write() argument 34 vsp1_dl_body_write(dlb, reg, data); in vsp1_hgt_write() 131 struct vsp1_dl_body *dlb) in hgt_configure_stream() argument 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()
|
H A D | vsp1_lif.c | 27 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_lif_write() argument 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() argument 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()
|
H A D | vsp1_uif.c | 36 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_uif_write() argument 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() argument 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()
|
H A D | vsp1_uds.c | 31 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_uds_write() argument 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() argument 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() argument 321 vsp1_uds_write(uds, dlb, VI6_UDS_HSZCLIP, VI6_UDS_HSZCLIP_HCEN | in uds_configure_partition() [all …]
|
H A D | vsp1_brx.c | 30 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_brx_write() argument 32 vsp1_dl_body_write(dlb, brx->base + reg, data); in vsp1_brx_write() 289 struct vsp1_dl_body *dlb) in brx_configure_stream() argument 311 vsp1_brx_write(brx, dlb, VI6_BRU_INCTRL, in brx_configure_stream() 319 vsp1_brx_write(brx, dlb, VI6_BRU_VIRRPF_SIZE, in brx_configure_stream() 322 vsp1_brx_write(brx, dlb, VI6_BRU_VIRRPF_LOC, 0); in brx_configure_stream() 324 vsp1_brx_write(brx, dlb, VI6_BRU_VIRRPF_COL, brx->bgcolor | in brx_configure_stream() 334 vsp1_brx_write(brx, dlb, VI6_BRU_ROP, in brx_configure_stream() 376 vsp1_brx_write(brx, dlb, VI6_BRU_CTRL(i), ctrl); in brx_configure_stream() 391 vsp1_brx_write(brx, dlb, VI6_BRU_BLD(i), in brx_configure_stream()
|
H A D | vsp1_hgo.c | 32 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_hgo_write() argument 34 vsp1_dl_body_write(dlb, reg, data); in vsp1_hgo_write() 135 struct vsp1_dl_body *dlb) in hgo_configure_stream() argument 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()
|
H A D | vsp1_hsit.c | 27 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_hsit_write() argument 29 vsp1_dl_body_write(dlb, reg, data); in vsp1_hsit_write() 135 struct vsp1_dl_body *dlb) in hsit_configure_stream() argument 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()
|
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.h | 154 struct vsp1_dl_body *dlb); 159 struct vsp1_dl_body *dlb); 164 struct vsp1_dl_body *dlb); 169 struct vsp1_dl_body *dlb);
|
H A D | vsp1_entity.c | 25 struct vsp1_dl_body *dlb) in vsp1_entity_route_setup() argument 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() argument 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() argument 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() argument 96 entity->ops->configure_partition(entity, pipe, dl, dlb); in vsp1_entity_configure_partition()
|
H A D | vsp1_sru.c | 28 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_sru_write() argument 30 vsp1_dl_body_write(dlb, reg, data); in vsp1_sru_write() 275 struct vsp1_dl_body *dlb) in sru_configure_stream() argument 301 vsp1_sru_write(sru, dlb, VI6_SRU_CTRL0, ctrl0); in sru_configure_stream() 302 vsp1_sru_write(sru, dlb, VI6_SRU_CTRL1, VI6_SRU_CTRL1_PARAM5); in sru_configure_stream() 303 vsp1_sru_write(sru, dlb, VI6_SRU_CTRL2, param->ctrl2); in sru_configure_stream()
|
H A D | vsp1_uds.h | 34 void vsp1_uds_set_alpha(struct vsp1_entity *uds, struct vsp1_dl_body *dlb,
|
H A D | vsp1_drm.c | 546 struct vsp1_dl_body *dlb; in vsp1_du_pipeline_configure() local 555 dlb = vsp1_dl_list_get_body0(dl); in vsp1_du_pipeline_configure() 560 vsp1_dl_body_write(dlb, entity->route->reg, in vsp1_du_pipeline_configure() 569 vsp1_entity_route_setup(entity, pipe, dlb); in vsp1_du_pipeline_configure() 570 vsp1_entity_configure_stream(entity, pipe, dl, dlb); in vsp1_du_pipeline_configure() 571 vsp1_entity_configure_frame(entity, pipe, dl, dlb); in vsp1_du_pipeline_configure() 572 vsp1_entity_configure_partition(entity, pipe, dl, dlb); in vsp1_du_pipeline_configure()
|
H A D | vsp1_pipe.h | 166 struct vsp1_dl_body *dlb,
|
H A D | vsp1_pipe.c | 431 struct vsp1_dl_body *dlb, unsigned int alpha) in vsp1_pipeline_propagate_alpha() argument 444 vsp1_uds_set_alpha(pipe->uds, dlb, alpha); in vsp1_pipeline_propagate_alpha()
|
H A D | vsp1_video.c | 368 struct vsp1_dl_body *dlb = vsp1_dl_list_get_body0(dl); in vsp1_video_pipeline_run_partition() local 374 vsp1_entity_configure_partition(entity, pipe, dl, dlb); in vsp1_video_pipeline_run_partition() 381 struct vsp1_dl_body *dlb; in vsp1_video_pipeline_run() local 396 dlb = vsp1_dl_list_get_body0(dl); in vsp1_video_pipeline_run() 399 vsp1_entity_configure_frame(entity, pipe, dl, dlb); in vsp1_video_pipeline_run()
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_police.h | 25 bool dlb; /* Enable DLB (dual leaky bucket mode */ member
|
H A D | ocelot_police.c | 45 if (conf->dlb) { in qos_policer_conf_set()
|