void s5p_dsim_set_data_lane_number(unsigned int dsim_base, unsigned char count) { unsigned int cfg = 0; /* set the data lane number. */ cfg = DSIM_NUM_OF_DATA_LANE(count); writel(cfg, dsim_base + S5P_DSIM_CONFIG); }
void s5p_mipi_dsi_set_data_lane_number(struct mipi_dsim_device *dsim, unsigned int count) { unsigned int cfg; /* get the data lane number. */ cfg = DSIM_NUM_OF_DATA_LANE(count); writel(cfg, dsim->reg_base + S5P_DSIM_CONFIG); }
void exynos_mipi_dsi_set_data_lane_number(struct mipi_dsim_device *dsim, unsigned int count) { unsigned int cfg; struct exynos_mipi_dsim *mipi_dsim = (struct exynos_mipi_dsim *)samsung_get_base_mipi_dsim(); /* get the data lane number. */ cfg = DSIM_NUM_OF_DATA_LANE(count); writel(cfg, &mipi_dsim->config); }