Home
last modified time | relevance | path

Searched refs:brightness (Results 1 - 25 of 27) sorted by relevance

12

/device/soc/rockchip/common/sdk_linux/drivers/video/backlight/
H A Dpwm_bl.c34 int (*notify)(struct device *, int brightness);
35 void (*notify_after)(struct device *, int brightness);
94 static int compute_duty_cycle(struct pwm_bl_data *pb, int brightness) in compute_duty_cycle() argument
103 duty_cycle = pb->levels[brightness]; in compute_duty_cycle()
105 duty_cycle = brightness; in compute_duty_cycle()
117 int brightness = backlight_get_brightness(bl); in pwm_backlight_update_status() local
121 brightness = pb->notify(pb->dev, brightness); in pwm_backlight_update_status()
124 if (brightness > 0) { in pwm_backlight_update_status()
126 state.duty_cycle = compute_duty_cycle(pb, brightness); in pwm_backlight_update_status()
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
H A Ddrm_mipi_dsi.c1062 * mipi_dsi_dcs_set_display_brightness() - sets the brightness value of the
1065 * @brightness: brightness value
1069 int mipi_dsi_dcs_set_display_brightness(struct mipi_dsi_device *dsi, u16 brightness) in mipi_dsi_dcs_set_display_brightness() argument
1071 u8 payload[0x2] = {brightness & 0xff, brightness >> 0x8}; in mipi_dsi_dcs_set_display_brightness()
1084 * mipi_dsi_dcs_get_display_brightness() - gets the current brightness value
1087 * @brightness: brightness value
1091 int mipi_dsi_dcs_get_display_brightness(struct mipi_dsi_device *dsi, u16 *brightness) in mipi_dsi_dcs_get_display_brightness() argument
[all...]
H A Ddrm_atomic_uapi.c671 state->tv.brightness = val; in drm_atomic_connector_set_property()
771 *val = state->tv.brightness; in drm_atomic_connector_get_property()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_logo.h30 unsigned int brightness; member
H A Drockchip_drm_logo.c427 if (!of_property_read_u32(route, "bcsh,brightness", &val)) { in of_parse_display_resource()
428 set->brightness = val; in of_parse_display_resource()
430 set->brightness = 0x32; in of_parse_display_resource()
680 conn_state->tv.brightness = set->brightness; in setup_initial_state()
H A Drockchip_drm_drv.h87 int brightness; member
H A Drockchip_drm_vop.c3506 int brightness, contrast, saturation, hue, sin_hue, cos_hue; in vop_tv_config_update() local
3517 * 1. tv_state: include brightness,contrast,saturation and hue; in vop_tv_config_update()
3534 if (s->tv_state->brightness != 0x32 || s->tv_state->contrast != 0x32 || s->tv_state->saturation != 0x32 || in vop_tv_config_update()
3567 brightness = interpolate(0, -0x80, 0x64, 0x7f, s->tv_state->brightness); in vop_tv_config_update()
3569 brightness = interpolate(0, -0x40, 0x64, 0x3f, s->tv_state->brightness); in vop_tv_config_update()
3571 brightness = interpolate(0, -0x20, 0x64, 0x1f, s->tv_state->brightness); in vop_tv_config_update()
3607 VOP_CTRL_SET(vop, bcsh_brightness, brightness); in vop_tv_config_update()
[all...]
H A Drockchip_drm_vop2.c7089 VOP_MODULE_SET(vop2, vp, bcsh_brightness, bcsh_state->brightness); in vop2_bcsh_reg_update()
7106 int brightness, contrast, saturation, hue, sin_hue, cos_hue; in vop2_tv_config_update() local
7117 if (vcstate->tv_state->brightness != 0x32 || vcstate->tv_state->contrast != 0x32 || in vop2_tv_config_update()
7124 * 1. tv_state: include brightness,contrast,saturation and hue; in vop2_tv_config_update()
7155 brightness = interpolate(0, -0x80, 0x64, 0x7f, vcstate->tv_state->brightness); in vop2_tv_config_update()
7157 brightness = interpolate(0, -0x20, 0x64, 0x1f, vcstate->tv_state->brightness); in vop2_tv_config_update()
7174 bcsh_state.brightness = brightness; in vop2_tv_config_update()
[all...]
H A Drockchip_drm_drv.c1163 connector_state->tv.brightness = 0x32; in rockchip_drm_set_property_default()
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_logo.h30 unsigned int brightness; member
H A Drockchip_drm_logo.c400 if (!of_property_read_u32(route, "bcsh,brightness", &val)) in of_parse_display_resource()
401 set->brightness = val; in of_parse_display_resource()
403 set->brightness = 50; in of_parse_display_resource()
650 conn_state->tv.brightness = set->brightness; in setup_initial_state()
H A Drockchip_drm_vop2.c7207 VOP_MODULE_SET(vop2, vp, bcsh_brightness, bcsh_state->brightness); in vop2_bcsh_reg_update()
7228 int brightness, contrast, saturation, hue, sin_hue, cos_hue; in vop2_tv_config_update() local
7238 if (vcstate->tv_state->brightness != 50 || in vop2_tv_config_update()
7245 * 1. tv_state: include brightness,contrast,saturation and hue; in vop2_tv_config_update()
7272 brightness = interpolate(0, -128, 100, 127, in vop2_tv_config_update()
7273 vcstate->tv_state->brightness); in vop2_tv_config_update()
7275 brightness = interpolate(0, -32, 100, 31, in vop2_tv_config_update()
7276 vcstate->tv_state->brightness); in vop2_tv_config_update()
7292 bcsh_state.brightness = brightness; in vop2_tv_config_update()
[all...]
/device/soc/rockchip/rk3588/kernel/include/drm/
H A Drockchip_drm_logo.h30 unsigned int brightness; member
/device/soc/rockchip/common/sdk_linux/include/drm/
H A Ddrm_mipi_dsi.h284 int mipi_dsi_dcs_set_display_brightness(struct mipi_dsi_device *dsi, u16 brightness);
285 int mipi_dsi_dcs_get_display_brightness(struct mipi_dsi_device *dsi, u16 *brightness);
H A Ddrm_connector.h633 * @brightness: brightness in percent
644 unsigned int brightness; member
/device/soc/rockchip/common/sdk_linux/include/uapi/linux/
H A Drkisp1-config.h320 * @brightness: 80~7F, -128~+127
329 unsigned char brightness; member
H A Drkisp2-config.h952 u8 brightness; member
/device/soc/rockchip/rk3588/kernel/include/uapi/linux/
H A Drkisp1-config.h333 * @brightness: 80~7F, -128~+127
342 unsigned char brightness; member
H A Drkisp2-config.h971 u8 brightness; member
/device/soc/rockchip/rk3588/kernel/drivers/devfreq/
H A Drockchip_drm_drv.h88 int brightness; member
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/panel/
H A Dpanel-simple.c761 ret = mipi_dsi_dcs_set_display_brightness(dsi, bl->props.brightness); in dcs_bl_update_status()
775 u16 brightness = bl->props.brightness; in dcs_bl_get_brightness() local
784 ret = mipi_dsi_dcs_get_display_brightness(dsi, &brightness); in dcs_bl_get_brightness()
791 return brightness & 0xff; in dcs_bl_get_brightness()
5339 props.brightness = 0xff; in panel_simple_dsi_probe()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
H A Disp_params_v1x.c597 rkisp1_iowrite32(params_vdev, arg->brightness, CIF_C_PROC_BRIGHTNESS); in isp_cproc_config()
H A Disp_params_v21.c701 rkisp_iowrite32(params_vdev, arg->brightness, CPROC_BRIGHTNESS); in isp_cproc_config()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
H A Disp_params_v1x.c757 rkisp1_iowrite32(params_vdev, arg->brightness, CIF_C_PROC_BRIGHTNESS); in isp_cproc_config()
H A Disp_params_v21.c877 rkisp_iowrite32(params_vdev, arg->brightness, CPROC_BRIGHTNESS); in isp_cproc_config()

Completed in 86 milliseconds

12