Home
last modified time | relevance | path

Searched refs:levels (Results 1 - 3 of 3) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/video/backlight/
H A Dpwm_bl.c26 unsigned int *levels; member
102 if (pb->levels) { in compute_duty_cycle()
103 duty_cycle = pb->levels[brightness]; in compute_duty_cycle()
206 * Once we have 4096 levels there's little point going much higher... in pwm_backlight_brightness_default()
212 data->levels = devm_kcalloc(dev, data->max_brightness, sizeof(*data->levels), GFP_KERNEL); in pwm_backlight_brightness_default()
213 if (!data->levels) { in pwm_backlight_brightness_default()
224 data->levels[i] = (unsigned int)retval; in pwm_backlight_brightness_default()
259 * Determine the number of brightness levels, if this property is not in pwm_backlight_parse_dt()
260 * set a default table of brightness levels wil in pwm_backlight_parse_dt()
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/opp/
H A Dof.c442 unsigned int levels = opp_table->supported_hw_count; in _opp_is_supported() local
461 if (count <= 0 || count % levels) { in _opp_is_supported()
466 versions = count / levels; in _opp_is_supported()
468 /* All levels in at least one of the versions should match */ in _opp_is_supported()
472 for (j = 0; j < levels; j++) { in _opp_is_supported()
473 ret = of_property_read_u32_index(np, "opp-supported-hw", i * levels + j, &val); in _opp_is_supported()
476 i * levels + j, ret); in _opp_is_supported()
/device/soc/rockchip/common/sdk_linux/kernel/power/
H A Dsnapshot.c376 int levels; /* Number of Radix Tree Levels */ member
450 /* How many levels do we need for this block nr? */ in add_rtree_block()
456 /* Make sure the rtree has enough levels */ in add_rtree_block()
457 for (i = zone->levels; i < levels_needed; i++) { in add_rtree_block()
465 zone->levels += 1; in add_rtree_block()
478 for (i = zone->levels; i > 0; i--) { in add_rtree_block()
763 for (i = zone->levels; i > 0; i--) { in memory_bm_find_bit()

Completed in 6 milliseconds