Lines Matching full:intensity
88 int intensity; member
392 return lcd->intensity; in corgi_bl_get_intensity()
395 static int corgi_bl_set_intensity(struct corgi_lcd *lcd, int intensity) in corgi_bl_set_intensity() argument
399 if (intensity > 0x10) in corgi_bl_set_intensity()
400 intensity += 0x10; in corgi_bl_set_intensity()
402 corgi_ssp_lcdtg_send(lcd, DUTYCTRL_ADRS, intensity); in corgi_bl_set_intensity()
405 cont = !!(intensity & 0x20); in corgi_bl_set_intensity()
411 gpiod_set_value_cansleep(lcd->backlight_on, intensity); in corgi_bl_set_intensity()
416 lcd->intensity = intensity; in corgi_bl_set_intensity()
423 int intensity = backlight_get_brightness(bd); in corgi_bl_update_status() local
426 intensity = 0; in corgi_bl_update_status()
428 if ((corgibl_flags & CORGIBL_BATTLOW) && intensity > lcd->limit_mask) in corgi_bl_update_status()
429 intensity = lcd->limit_mask; in corgi_bl_update_status()
431 return corgi_bl_set_intensity(lcd, intensity); in corgi_bl_update_status()