Searched refs:cal_set_field (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/media/platform/ti/cal/ |
D | cal.c | 305 cal_set_field(&val, ctx->cport, CAL_CSI2_CTX_CPORT_MASK); in cal_ctx_csi2_config() 314 cal_set_field(&val, ctx->datatype, CAL_CSI2_CTX_DT_MASK); in cal_ctx_csi2_config() 315 cal_set_field(&val, ctx->vc, CAL_CSI2_CTX_VC_MASK); in cal_ctx_csi2_config() 316 cal_set_field(&val, ctx->v_fmt.fmt.pix.height, CAL_CSI2_CTX_LINES_MASK); in cal_ctx_csi2_config() 317 cal_set_field(&val, CAL_CSI2_CTX_ATT_PIX, CAL_CSI2_CTX_ATT_MASK); in cal_ctx_csi2_config() 318 cal_set_field(&val, CAL_CSI2_CTX_PACK_MODE_LINE, in cal_ctx_csi2_config() 366 cal_set_field(&val, extract, CAL_PIX_PROC_EXTRACT_MASK); in cal_ctx_pix_proc_config() 367 cal_set_field(&val, CAL_PIX_PROC_DPCMD_BYPASS, CAL_PIX_PROC_DPCMD_MASK); in cal_ctx_pix_proc_config() 368 cal_set_field(&val, CAL_PIX_PROC_DPCME_BYPASS, CAL_PIX_PROC_DPCME_MASK); in cal_ctx_pix_proc_config() 369 cal_set_field(&val, pack, CAL_PIX_PROC_PACK_MASK); in cal_ctx_pix_proc_config() [all …]
|
D | cal-camerarx.c | 89 cal_set_field(&val, mipi_csi2->clock_lane + 1, lane_mask); in cal_camerarx_lane_config() 90 cal_set_field(&val, mipi_csi2->lane_polarities[0], polarity_mask); in cal_camerarx_lane_config() 98 cal_set_field(&val, mipi_csi2->data_lanes[lane] + 1, lane_mask); in cal_camerarx_lane_config() 99 cal_set_field(&val, mipi_csi2->lane_polarities[lane + 1], in cal_camerarx_lane_config() 149 cal_set_field(®0, CAL_CSI2_PHY_REG0_HSCLOCKCONFIG_DISABLE, in cal_camerarx_config() 151 cal_set_field(®0, ths_term, CAL_CSI2_PHY_REG0_THS_TERM_MASK); in cal_camerarx_config() 152 cal_set_field(®0, ths_settle, CAL_CSI2_PHY_REG0_THS_SETTLE_MASK); in cal_camerarx_config() 158 cal_set_field(®1, TCLK_TERM, CAL_CSI2_PHY_REG1_TCLK_TERM_MASK); in cal_camerarx_config() 159 cal_set_field(®1, 0xb8, CAL_CSI2_PHY_REG1_DPHY_HS_SYNC_PATTERN_MASK); in cal_camerarx_config() 160 cal_set_field(®1, TCLK_MISS, in cal_camerarx_config() [all …]
|
D | cal.h | 306 static inline void cal_set_field(u32 *valp, u32 field, u32 mask) in cal_set_field() function
|