Home
last modified time | relevance | path

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

/drivers/media/platform/rockchip/rga/
Drga-hw.c167 union rga_src_info src_info; in rga_cmd_set_trans_info() local
189 src_info.val = dest[(RGA_SRC_INFO - RGA_MODE_BASE_REG) >> 2]; in rga_cmd_set_trans_info()
198 src_info.data.format = ctx->in.fmt->hw_format; in rga_cmd_set_trans_info()
199 src_info.data.swap = ctx->in.fmt->color_swap; in rga_cmd_set_trans_info()
212 src_info.data.csc_mode = RGA_SRC_CSC_MODE_BT709_R0; in rga_cmd_set_trans_info()
215 src_info.data.csc_mode = RGA_SRC_CSC_MODE_BT601_R0; in rga_cmd_set_trans_info()
233 src_info.data.mir_mode |= RGA_SRC_MIRR_MODE_X; in rga_cmd_set_trans_info()
236 src_info.data.mir_mode |= RGA_SRC_MIRR_MODE_Y; in rga_cmd_set_trans_info()
240 src_info.data.rot_mode = RGA_SRC_ROT_MODE_90_DEGREE; in rga_cmd_set_trans_info()
243 src_info.data.rot_mode = RGA_SRC_ROT_MODE_180_DEGREE; in rga_cmd_set_trans_info()
[all …]
/drivers/dma/
Dste_dma40_ll.c59 l1 |= cfg->src_info.psize << D40_MEM_LCSP1_SCFG_PSIZE_POS; in d40_log_cfg()
60 l1 |= d40_width_to_bits(cfg->src_info.data_width) in d40_log_cfg()
79 if (cfg->src_info.flow_ctrl == STEDMA40_NO_FLOW_CTRL) in d40_phy_cfg()
103 if (cfg->src_info.psize != STEDMA40_PSIZE_PHY_1) { in d40_phy_cfg()
105 src |= cfg->src_info.psize << D40_SREG_CFG_PSIZE_POS; in d40_phy_cfg()
113 src |= d40_width_to_bits(cfg->src_info.data_width) in d40_phy_cfg()
124 if (cfg->src_info.big_endian) in d40_phy_cfg()
Dste_dma40.c115 .src_info.data_width = DMA_SLAVE_BUSWIDTH_1_BYTE,
116 .src_info.psize = STEDMA40_PSIZE_PHY_1,
117 .src_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL,
129 .src_info.data_width = DMA_SLAVE_BUSWIDTH_1_BYTE,
130 .src_info.psize = STEDMA40_PSIZE_LOG_1,
131 .src_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL,
1753 if (d40_psize_2_burst_size(is_log, conf->src_info.psize) * in d40_validate_conf()
1754 conf->src_info.data_width != in d40_validate_conf()
2140 struct stedma40_half_channel_info *src_info = &cfg->src_info; in d40_prep_sg_log() local
2148 src_info->data_width, in d40_prep_sg_log()
[all …]
Dste_dma40.h103 struct stedma40_half_channel_info src_info; member
/drivers/media/platform/rockchip/rkisp1/
Drkisp1-isp.c504 const struct rkisp1_mbus_info *src_info; in rkisp1_isp_set_src_fmt() local
525 src_info = rkisp1_mbus_info_get_by_code(src_fmt->code); in rkisp1_isp_set_src_fmt()
526 if (!src_info || !(src_info->direction & RKISP1_ISP_SD_SRC)) { in rkisp1_isp_set_src_fmt()
528 src_info = rkisp1_mbus_info_get_by_code(src_fmt->code); in rkisp1_isp_set_src_fmt()
532 src_info->pixel_enc == V4L2_PIXEL_ENC_BAYER) { in rkisp1_isp_set_src_fmt()
534 src_info = sink_info; in rkisp1_isp_set_src_fmt()
553 src_info->pixel_enc == V4L2_PIXEL_ENC_YUV) in rkisp1_isp_set_src_fmt()
576 if (set_csc && src_info->pixel_enc == V4L2_PIXEL_ENC_YUV) { in rkisp1_isp_set_src_fmt()
601 isp->src_fmt = src_info; in rkisp1_isp_set_src_fmt()
/drivers/media/platform/nxp/imx8-isi/
Dimx8-isi-pipe.c239 const struct mxc_isi_bus_format_info *src_info; in mxc_isi_pipe_enable() local
273 src_info = mxc_isi_bus_format_by_code(src_fmt->code, in mxc_isi_pipe_enable()
285 sink_info->encoding, src_info->encoding); in mxc_isi_pipe_enable()
826 const struct mxc_isi_bus_format_info *src_info; in mxc_isi_pipe_acquire() local
841 src_info = mxc_isi_bus_format_by_code(src_fmt->code, in mxc_isi_pipe_acquire()
846 sink_info->encoding == src_info->encoding; in mxc_isi_pipe_acquire()