Home
last modified time | relevance | path

Searched refs:dlb (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/media/platform/vsp1/
A Dvsp1_dl.c290 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 …]
A Dvsp1_rpf.c40 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_rpf_write() argument
61 struct vsp1_dl_body *dlb) in rpf_configure_stream() argument
109 vsp1_rpf_write(rpf, dlb, VI6_RPF_INFMT, infmt); in rpf_configure_stream()
127 vsp1_rpf_write(rpf, dlb, VI6_RPF_LOC, 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_CTRL, 0); in rpf_configure_stream()
229 struct vsp1_dl_body *dlb) in rpf_configure_frame() argument
233 vsp1_rpf_write(rpf, dlb, VI6_RPF_VRTCOL_SET, in rpf_configure_frame()
244 struct vsp1_dl_body *dlb) in rpf_configure_partition() argument
283 vsp1_rpf_write(rpf, dlb, VI6_RPF_SRC_BSIZE, in rpf_configure_partition()
[all …]
A Dvsp1_wpf.c30 struct vsp1_dl_body *dlb, u32 reg, u32 data) in vsp1_wpf_write() argument
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()
259 struct vsp1_dl_body *dlb) in wpf_configure_stream() argument
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()
305 vsp1_wpf_write(wpf, dlb, VI6_WPF_ROT_CTRL, in wpf_configure_stream()
340 vsp1_wpf_write(wpf, dlb, VI6_WPF_SRCRPF, srcrpf); in wpf_configure_stream()
344 vsp1_dl_body_write(dlb, VI6_WPF_IRQ_ENB(index), in wpf_configure_stream()
368 struct vsp1_dl_body *dlb) in wpf_configure_frame() argument
[all …]
A Dvsp1_lut.c29 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 …]
A Dvsp1_clu.c29 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 …]
A Dvsp1_hgt.c32 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()
A Dvsp1_uif.c36 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()
A Dvsp1_uds.c31 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 …]
A Dvsp1_lif.c27 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
123 vsp1_lif_write(lif, dlb, VI6_LIF_CSBTH, in lif_configure_stream()
127 vsp1_lif_write(lif, dlb, VI6_LIF_CTRL, in lif_configure_stream()
140 vsp1_lif_write(lif, dlb, VI6_LIF_LBA, in lif_configure_stream()
A Dvsp1_brx.c30 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()
A Dvsp1_hgo.c32 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()
A Dvsp1_hsit.c27 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()
A Dvsp1_entity.c25 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()
A Dvsp1_entity.h156 struct vsp1_dl_body *dlb);
161 struct vsp1_dl_body *dlb);
166 struct vsp1_dl_body *dlb);
171 struct vsp1_dl_body *dlb);
A Dvsp1_dl.h73 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);
A Dvsp1_sru.c28 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()
A Dvsp1_drm.c545 struct vsp1_dl_body *dlb; in vsp1_du_pipeline_configure() local
554 dlb = vsp1_dl_list_get_body0(dl); in vsp1_du_pipeline_configure()
559 vsp1_dl_body_write(dlb, entity->route->reg, in vsp1_du_pipeline_configure()
568 vsp1_entity_route_setup(entity, pipe, dlb); in vsp1_du_pipeline_configure()
569 vsp1_entity_configure_stream(entity, pipe, dl, dlb); in vsp1_du_pipeline_configure()
570 vsp1_entity_configure_frame(entity, pipe, dl, dlb); in vsp1_du_pipeline_configure()
571 vsp1_entity_configure_partition(entity, pipe, dl, dlb); in vsp1_du_pipeline_configure()
A Dvsp1_uds.h34 void vsp1_uds_set_alpha(struct vsp1_entity *uds, struct vsp1_dl_body *dlb,
A Dvsp1_pipe.h164 struct vsp1_dl_body *dlb,
A Dvsp1_pipe.c413 struct vsp1_dl_body *dlb, unsigned int alpha) in vsp1_pipeline_propagate_alpha() argument
426 vsp1_uds_set_alpha(pipe->uds, dlb, alpha); in vsp1_pipeline_propagate_alpha()
A Dvsp1_video.c367 struct vsp1_dl_body *dlb = vsp1_dl_list_get_body0(dl); in vsp1_video_pipeline_run_partition() local
373 vsp1_entity_configure_partition(entity, pipe, dl, dlb); in vsp1_video_pipeline_run_partition()
380 struct vsp1_dl_body *dlb; in vsp1_video_pipeline_run() local
395 dlb = vsp1_dl_list_get_body0(dl); in vsp1_video_pipeline_run()
398 vsp1_entity_configure_frame(entity, pipe, dl, dlb); in vsp1_video_pipeline_run()
/linux/drivers/net/ethernet/mscc/
A Docelot_police.h24 bool dlb; /* Enable DLB (dual leaky bucket mode */ member
A Docelot_police.c45 if (conf->dlb) { in qos_policer_conf_set()

Completed in 30 milliseconds