Home
last modified time | relevance | path

Searched refs:intensity (Results 1 – 25 of 65) sorted by relevance

123

/linux-6.1.9/drivers/video/backlight/
Dapple_bl.c50 static void intel_chipset_set_brightness(int intensity) in intel_chipset_set_brightness() argument
52 outb(0x04 | (intensity << 4), 0xb3); in intel_chipset_set_brightness()
58 int intensity = bd->props.brightness; in intel_chipset_send_intensity() local
61 pr_debug("setting brightness to %d\n", intensity); in intel_chipset_send_intensity()
63 intel_chipset_set_brightness(intensity); in intel_chipset_send_intensity()
69 int intensity; in intel_chipset_get_intensity() local
73 intensity = inb(0xb3) >> 4; in intel_chipset_get_intensity()
76 pr_debug("read brightness of %d\n", intensity); in intel_chipset_get_intensity()
78 return intensity; in intel_chipset_get_intensity()
95 static void nvidia_chipset_set_brightness(int intensity) in nvidia_chipset_set_brightness() argument
[all …]
Dhp680_bl.c36 int intensity = backlight_get_brightness(bd); in hp680bl_send_intensity() local
39 intensity = 0; in hp680bl_send_intensity()
42 if (intensity && current_intensity == 0) { in hp680bl_send_intensity()
47 sh_dac_output(255-(u8)intensity, DAC_LCD_BRIGHTNESS); in hp680bl_send_intensity()
48 } else if (intensity == 0 && current_intensity != 0) { in hp680bl_send_intensity()
49 sh_dac_output(255-(u8)intensity, DAC_LCD_BRIGHTNESS); in hp680bl_send_intensity()
54 } else if (intensity) { in hp680bl_send_intensity()
55 sh_dac_output(255-(u8)intensity, DAC_LCD_BRIGHTNESS); in hp680bl_send_intensity()
59 current_intensity = intensity; in hp680bl_send_intensity()
Dkb3886_bl.c28 static void kb3886_bl_set_intensity(int intensity) in kb3886_bl_set_intensity() argument
31 intensity = intensity&0xff; in kb3886_bl_set_intensity()
36 outb(intensity, KB3886_IO); in kb3886_bl_set_intensity()
44 void (*set_bl_intensity)(int intensity);
90 int intensity = backlight_get_brightness(bd); in kb3886bl_send_intensity() local
93 intensity = 0; in kb3886bl_send_intensity()
95 bl_machinfo->set_bl_intensity(intensity); in kb3886bl_send_intensity()
97 kb3886bl_intensity = intensity; in kb3886bl_send_intensity()
Dipaq_micro_bl.c19 int intensity = bd->props.brightness; in micro_bl_update_status() local
26 intensity = 0; in micro_bl_update_status()
28 intensity = 0; in micro_bl_update_status()
37 msg.tx_data[1] = intensity > 0 ? 1 : 0; in micro_bl_update_status()
38 msg.tx_data[2] = intensity; in micro_bl_update_status()
Dcorgi_lcd.c88 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
[all …]
Drave-sp-backlight.c21 const u8 intensity = in rave_sp_backlight_update_status() local
27 [2] = intensity ? RAVE_SP_BACKLIGHT_LCD_EN | intensity : 0, in rave_sp_backlight_update_status()
Dlocomolcd.c114 int intensity = backlight_get_brightness(bd); in locomolcd_set_intensity() local
117 intensity = 0; in locomolcd_set_intensity()
119 switch (intensity) { in locomolcd_set_intensity()
142 current_intensity = intensity; in locomolcd_set_intensity()
Dcr_bllcd.c82 u8 intensity; in cr_backlight_get_intensity() local
85 intensity = 0; in cr_backlight_get_intensity()
87 intensity = 1; in cr_backlight_get_intensity()
89 return intensity; in cr_backlight_get_intensity()
Domap1_bl.c30 static inline void omapbl_send_intensity(int intensity) in omapbl_send_intensity() argument
32 omap_writeb(intensity, OMAP_PWL_ENABLE); in omapbl_send_intensity()
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-bus-iio-light-si11335 Unit-less infrared intensity. The intensity is measured from 1
13 Unit-less infrared intensity. The intensity is measured from 4
21 Unit-less light intensity with more diodes.
Dsysfs-class-led-driver-turris-omnia6 a button which can be used to control the intensity of all the
/linux-6.1.9/drivers/input/misc/
Darizona-haptics.c28 u8 intensity; member
46 if (haptics->intensity) { in arizona_haptics_work()
50 haptics->intensity); in arizona_haptics_work()
122 haptics->intensity = in arizona_haptics_play()
125 haptics->intensity += 0x7f; in arizona_haptics_play()
127 haptics->intensity = in arizona_haptics_play()
131 haptics->intensity = 0; in arizona_haptics_play()
Dregulator-haptic.c61 unsigned int intensity; in regulator_haptic_set_voltage() local
65 intensity = (unsigned int)(volt_mag_multi >> MAX_MAGNITUDE_SHIFT); in regulator_haptic_set_voltage()
68 intensity + haptic->min_volt, in regulator_haptic_set_voltage()
72 intensity + haptic->min_volt, error); in regulator_haptic_set_voltage()
/linux-6.1.9/drivers/staging/media/atomisp/i2c/
Datomisp-lm3554.c282 static int lm3554_s_flash_intensity(struct v4l2_subdev *sd, u32 intensity) in lm3554_s_flash_intensity() argument
286 intensity = LM3554_CLAMP_PERCENTAGE(intensity); in lm3554_s_flash_intensity()
287 intensity = LM3554_PERCENT_TO_VALUE(intensity, LM3554_FLASH_STEP); in lm3554_s_flash_intensity()
289 flash->flash_current = intensity; in lm3554_s_flash_intensity()
304 static int lm3554_s_torch_intensity(struct v4l2_subdev *sd, u32 intensity) in lm3554_s_torch_intensity() argument
308 intensity = LM3554_CLAMP_PERCENTAGE(intensity); in lm3554_s_torch_intensity()
309 intensity = LM3554_PERCENT_TO_VALUE(intensity, LM3554_TORCH_STEP); in lm3554_s_torch_intensity()
311 flash->torch_current = intensity; in lm3554_s_torch_intensity()
326 static int lm3554_s_indicator_intensity(struct v4l2_subdev *sd, u32 intensity) in lm3554_s_indicator_intensity() argument
330 intensity = LM3554_CLAMP_PERCENTAGE(intensity); in lm3554_s_indicator_intensity()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/leds/
Dleds-trigger-pattern.txt19 It will make the LED go gradually from zero-intensity to max (255) intensity in
20 1000 milliseconds, then back to zero intensity in 2000 milliseconds:
/linux-6.1.9/Documentation/leds/
Dleds-class-multicolor.rst43 intensity setting divided by the global max_brightness setting multiplied by
59 intensity = 138
62 intensity = 43
65 intensity = 226
/linux-6.1.9/include/media/
Dv4l2-flash-led-class.h47 (struct v4l2_flash *v4l2_flash, s32 intensity);
65 struct led_flash_setting intensity; member
/linux-6.1.9/drivers/leds/
Dled-class-multicolor.c23 mcled_cdev->subled_info[i].intensity / in led_mc_calc_color_components()
60 mcled_cdev->subled_info[i].intensity = intensity_value[i]; in multi_intensity_store()
80 mcled_cdev->subled_info[i].intensity); in multi_intensity_show()
/linux-6.1.9/Documentation/devicetree/bindings/iio/light/
Damstaos,tsl2591.yaml14 light-to-digital converter that transforms light intensity into a digital
28 interrupt is used to detect if the light intensity has fallen below
/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-flash-led-class.c44 struct v4l2_ctrl *ctrl, s32 intensity) in __intensity_to_led_brightness() argument
46 intensity -= ctrl->minimum; in __intensity_to_led_brightness()
47 intensity /= (u32) ctrl->step; in __intensity_to_led_brightness()
56 ++intensity; in __intensity_to_led_brightness()
58 return intensity; in __intensity_to_led_brightness()
334 __lfs_to_v4l2_ctrl_config(&flash_cfg->intensity, in __fill_ctrl_init_data()
372 __lfs_to_v4l2_ctrl_config(&flash_cfg->intensity, ctrl_cfg); in __fill_ctrl_init_data()
/linux-6.1.9/include/linux/spi/
Dcorgi_lcd.h14 void (*notify)(int intensity);
/linux-6.1.9/drivers/media/platform/renesas/vsp1/
Dvsp1_sru.h28 unsigned int intensity; member
Dvsp1_sru.c82 sru->intensity = ctrl->val; in sru_s_ctrl()
297 param = &vsp1_sru_params[sru->intensity - 1]; in sru_configure_stream()
384 sru->intensity = 1; in vsp1_sru_create()
/linux-6.1.9/drivers/gpu/drm/panel/
Dpanel-sony-acx565akm.c323 unsigned int intensity; in acx565akm_bl_get_intensity() local
328 intensity = acx565akm_get_actual_brightness(lcd); in acx565akm_bl_get_intensity()
330 intensity = 0; in acx565akm_bl_get_intensity()
334 return intensity; in acx565akm_bl_get_intensity()
/linux-6.1.9/include/linux/
Dled-class-multicolor.h15 unsigned int intensity; member

123