| /linux/drivers/video/backlight/ |
| H A D | apple_bl.c | 50 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 …]
|
| H A D | kb3886_bl.c | 28 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()
|
| H A D | corgi_lcd.c | 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 [all …]
|
| H A D | ipaq_micro_bl.c | 18 int intensity = backlight_get_brightness(bd); in micro_bl_update_status() local 28 * Byte 2: intensity, 0-255 in micro_bl_update_status() 31 msg.tx_data[1] = intensity > 0 ? 1 : 0; in micro_bl_update_status() 32 msg.tx_data[2] = intensity; in micro_bl_update_status()
|
| /linux/drivers/platform/x86/ |
| H A D | silicom-platform.c | 285 .intensity = 0, 291 .intensity = 0, 297 .intensity = 0, 306 .intensity = 0, 312 .intensity = 0, 318 .intensity = 0, 327 .intensity = 0, 333 .intensity = 0, 339 .intensity = 0, 345 .intensity = 0, [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-iio-light-si1133 | 5 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.
|
| H A D | sysfs-bus-i2c-devices-turris-omnia-mcu | 30 configured either to change the intensity of all the LEDs on the 36 change the LEDs panel intensity.
|
| H A D | sysfs-class-led-multicolor | 20 described by the multi_index array. The maximum intensity should
|
| /linux/drivers/leds/rgb/ |
| H A D | leds-group-multicolor.c | 38 unsigned int intensity = mc_cdev->subled_info[i].intensity; in leds_gmc_set() local 42 * Scale the brightness according to relative intensity of the in leds_gmc_set() 45 mono_brightness = DIV_ROUND_CLOSEST(brightness * intensity * mono_max_brightness, in leds_gmc_set() 112 /* Configure the LED intensity to its maximum */ in leds_gmc_probe() 113 subled[i].intensity = max_brightness; in leds_gmc_probe()
|
| /linux/include/uapi/linux/media/arm/ |
| H A D | mali-c55-config.h | 45 * intensity distributions of pixels in fixed-width bins. The modules can be 88 * @hist0: 16-bit normalised pixel count for the 0th intensity bin 89 * @hist1: 16-bit normalised pixel count for the 1st intensity bin 90 * @hist3: 16-bit normalised pixel count for the 3rd intensity bin 91 * @hist4: 16-bit normalised pixel count for the 4th intensity bin 94 * pixel intensity for each of 225 possible zones within a frame. The centre bin 128 * struct mali_c55_af_statistics - Auto Focus edge and intensity statistics 130 * @intensity_stats: Packed mantissa and exponent value for pixel intensity 131 * @edge_stats: Packed mantissa and exponent values for edge intensity 138 * The intensity and edge statistics for a zone can be used to calculate the [all …]
|
| /linux/drivers/media/v4l2-core/ |
| H A D | v4l2-flash-led-class.c | 44 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() 71 * V4L2_FLASH_LED_MODE_NONE the cached torch intensity value is used. in __led_brightness_to_intensity() 94 * brightness <-> intensity conversion, it also must have defined in v4l2_flash_set_led_brightness() 96 * from led brightness to v4l2 intensity is required to find out the in v4l2_flash_set_led_brightness() 97 * aligned intensity value. in v4l2_flash_set_led_brightness() 188 * microamperes for flash intensity units. in v4l2_flash_g_volatile_ctrl() [all …]
|
| /linux/drivers/staging/media/atomisp/include/linux/ |
| H A D | atomisp.h | 66 /* [intensity] Sensitivity of Edge (Used by Bayer NR) */ 68 /* [intensity] coring threshold for Cb (Used by YCC NR) */ 70 /* [intensity] coring threshold for Cr (Used by YCC NR) */ 77 unsigned int threshold_y;/* [intensity] Motion sensitivity for Y */ 78 unsigned int threshold_uv;/* [intensity] Motion sensitivity for U/V */ 99 /* [intensity] optical black level for GR (relevant for fixed mode) */ 101 /* [intensity] optical black level for R (relevant for fixed mode) */ 103 /* [intensity] optical black level for B (relevant for fixed mode) */ 105 /* [intensity] optical black level for GB (relevant for fixed mode) */ 117 /* [intensity] The threshold that divides noises from edge. u8_8 */ [all …]
|
| /linux/include/media/ |
| H A D | v4l2-flash-led-class.h | 38 * @intensity_to_led_brightness: Convert intensity to brightness in a device 40 * @led_brightness_to_intensity: convert brightness to intensity in a device 47 (struct v4l2_flash *v4l2_flash, s32 intensity); 56 * @intensity: non-flash strobe constraints for the LED 65 struct led_flash_setting intensity; member
|
| /linux/Documentation/leds/ |
| H A D | leds-class-multicolor.rst | 47 intensity setting divided by the global max_brightness setting multiplied by 65 intensity = 138 68 intensity = 43 71 intensity = 226
|
| /linux/drivers/platform/x86/tuxedo/nb04/ |
| H A D | wmi_ab.c | 88 0x09, 0x2b, // Usage (Intensity Level Count) 116 0x09, 0x54, // Usage (Intensity Update Channel) 120 0x09, 0x54, // Usage (Intensity Update Channel) 124 0x09, 0x54, // Usage (Intensity Update Channel) 128 0x09, 0x54, // Usage (Intensity Update Channel) 132 0x09, 0x54, // Usage (Intensity Update Channel) 136 0x09, 0x54, // Usage (Intensity Update Channel) 140 0x09, 0x54, // Usage (Intensity Update Channel) 144 0x09, 0x54, // Usage (Intensity Update Channel) 170 0x09, 0x54, // Usage (Intensity Update Channel) [all …]
|
| /linux/Documentation/devicetree/bindings/leds/ |
| H A D | leds-trigger-pattern.txt | 19 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/include/media/i2c/ |
| H A D | adp1653.h | 89 u32 max_flash_intensity; /* led intensity, flash mode, mA */ 90 u32 max_torch_intensity; /* led intensity, torch mode, mA */ 91 u32 max_indicator_intensity; /* indicator led intensity, uA */
|
| /linux/Documentation/devicetree/bindings/iio/light/ |
| H A D | amstaos,tsl2591.yaml | 14 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/drivers/leds/ |
| H A D | led-class-multicolor.c | 23 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() 81 mcled_cdev->subled_info[i].intensity); in multi_intensity_show()
|
| /linux/drivers/staging/greybus/ |
| H A D | light.c | 110 u32 intensity) in __gb_lights_flash_intensity_set() argument 126 req.intensity_uA = cpu_to_le32(intensity); in __gb_lights_flash_intensity_set() 138 u32 intensity; in __gb_lights_flash_brightness_set() local 148 /* For not flash we need to convert brightness to intensity */ in __gb_lights_flash_brightness_set() 149 intensity = channel->intensity_uA.min + in __gb_lights_flash_brightness_set() 152 return __gb_lights_flash_intensity_set(channel, intensity); in __gb_lights_flash_brightness_set() 523 &sd_cfg.intensity); in gb_lights_light_v4l2_register() 528 &sd_cfg_ind.intensity); in gb_lights_light_v4l2_register() 826 * Intensity constraints for flash related modes: flash, torch, in gb_lights_channel_flash_config() 835 * On flash type, max brightness is set as the number of intensity steps in gb_lights_channel_flash_config()
|
| /linux/arch/arm/mach-omap1/ |
| H A D | board-sx1.c | 99 /* set keyboard backlight intensity */ 106 /* get current keylight intensity */ 111 /* set LCD backlight intensity */ 119 /* get current LCD backlight intensity */
|
| /linux/drivers/video/console/ |
| H A D | mdacon.c | 392 return ((ch & 0x0200) << 2) | /* intensity */ in mda_convert_attr() 398 enum vc_intensity intensity, in mdacon_build_attr() argument 404 * Bit 0..1 : intensity (0..2) in mdacon_build_attr() 410 return (intensity & VCI_MASK) | in mdacon_build_attr()
|
| /linux/include/linux/spi/ |
| H A D | corgi_lcd.h | 14 void (*notify)(int intensity);
|
| /linux/drivers/media/platform/renesas/vsp1/ |
| H A D | vsp1_sru.h | 28 unsigned int intensity; member
|
| /linux/drivers/leds/flash/ |
| H A D | leds-aat1290.c | 371 s32 intensity) in aat1290_intensity_to_brightness() argument 378 if (intensity >= led->mm_current_scale[i]) in aat1290_intensity_to_brightness() 427 s = &v4l2_sd_cfg->intensity; in aat1290_init_v4l2_flash_config()
|