Home
last modified time | relevance | path

Searched refs:cal_set_field (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/media/platform/ti-vpe/
Dcal-camerarx.c75 cal_set_field(&val, mipi_csi2->clock_lane + 1, lane_mask); in cal_camerarx_lane_config()
76 cal_set_field(&val, mipi_csi2->lane_polarities[0], polarity_mask); in cal_camerarx_lane_config()
84 cal_set_field(&val, mipi_csi2->data_lanes[lane] + 1, lane_mask); in cal_camerarx_lane_config()
85 cal_set_field(&val, mipi_csi2->lane_polarities[lane + 1], in cal_camerarx_lane_config()
151 cal_set_field(&reg0, CAL_CSI2_PHY_REG0_HSCLOCKCONFIG_DISABLE, in cal_camerarx_config()
153 cal_set_field(&reg0, ths_term, CAL_CSI2_PHY_REG0_THS_TERM_MASK); in cal_camerarx_config()
154 cal_set_field(&reg0, ths_settle, CAL_CSI2_PHY_REG0_THS_SETTLE_MASK); in cal_camerarx_config()
160 cal_set_field(&reg1, TCLK_TERM, CAL_CSI2_PHY_REG1_TCLK_TERM_MASK); in cal_camerarx_config()
161 cal_set_field(&reg1, 0xb8, CAL_CSI2_PHY_REG1_DPHY_HS_SYNC_PATTERN_MASK); in cal_camerarx_config()
162 cal_set_field(&reg1, TCLK_MISS, in cal_camerarx_config()
[all …]
Dcal.c164 cal_set_field(&val, ctx->cport, CAL_CSI2_CTX_CPORT_MASK); in cal_ctx_csi2_config()
173 cal_set_field(&val, 0x1, CAL_CSI2_CTX_DT_MASK); in cal_ctx_csi2_config()
174 cal_set_field(&val, 0, CAL_CSI2_CTX_VC_MASK); in cal_ctx_csi2_config()
175 cal_set_field(&val, ctx->v_fmt.fmt.pix.height, CAL_CSI2_CTX_LINES_MASK); in cal_ctx_csi2_config()
176 cal_set_field(&val, CAL_CSI2_CTX_ATT_PIX, CAL_CSI2_CTX_ATT_MASK); in cal_ctx_csi2_config()
177 cal_set_field(&val, CAL_CSI2_CTX_PACK_MODE_LINE, in cal_ctx_csi2_config()
224 cal_set_field(&val, extract, CAL_PIX_PROC_EXTRACT_MASK); in cal_ctx_pix_proc_config()
225 cal_set_field(&val, CAL_PIX_PROC_DPCMD_BYPASS, CAL_PIX_PROC_DPCMD_MASK); in cal_ctx_pix_proc_config()
226 cal_set_field(&val, CAL_PIX_PROC_DPCME_BYPASS, CAL_PIX_PROC_DPCME_MASK); in cal_ctx_pix_proc_config()
227 cal_set_field(&val, pack, CAL_PIX_PROC_PACK_MASK); in cal_ctx_pix_proc_config()
[all …]
Dcal.h233 static inline void cal_set_field(u32 *valp, u32 field, u32 mask) in cal_set_field() function