Lines Matching full:intensity
89 int intensity; member
393 return lcd->intensity; in corgi_bl_get_intensity()
396 static int corgi_bl_set_intensity(struct corgi_lcd *lcd, int intensity) in corgi_bl_set_intensity() argument
400 if (intensity > 0x10) in corgi_bl_set_intensity()
401 intensity += 0x10; in corgi_bl_set_intensity()
403 corgi_ssp_lcdtg_send(lcd, DUTYCTRL_ADRS, intensity); in corgi_bl_set_intensity()
406 cont = !!(intensity & 0x20); in corgi_bl_set_intensity()
412 gpiod_set_value_cansleep(lcd->backlight_on, intensity); in corgi_bl_set_intensity()
417 lcd->intensity = intensity; in corgi_bl_set_intensity()
424 int intensity = backlight_get_brightness(bd); in corgi_bl_update_status() local
427 intensity = 0; in corgi_bl_update_status()
429 if ((corgibl_flags & CORGIBL_BATTLOW) && intensity > lcd->limit_mask) in corgi_bl_update_status()
430 intensity = lcd->limit_mask; in corgi_bl_update_status()
432 return corgi_bl_set_intensity(lcd, intensity); in corgi_bl_update_status()