Home
last modified time | relevance | path

Searched refs:new_level (Results 1 – 14 of 14) sorted by relevance

/drivers/leds/
Dleds-lt3593.c32 u8 new_level; member
50 if (led_dat->new_level == 0) { in lt3593_led_work()
55 pulses = 32 - (led_dat->new_level * 32) / 255; in lt3593_led_work()
80 led_dat->new_level = value; in lt3593_led_set()
Dleds-gpio.c29 u8 new_level; member
43 led_dat->new_level, NULL, NULL); in gpio_led_work()
46 gpiod_set_value_cansleep(led_dat->gpiod, led_dat->new_level); in gpio_led_work()
66 led_dat->new_level = level; in gpio_led_set()
/drivers/power/
Ds3c_adc_battery.c146 int new_level; in s3c_adc_bat_get_property() local
178 new_level = 100000; in s3c_adc_bat_get_property()
194 new_level = (lut[1].level + in s3c_adc_bat_get_property()
200 new_level = lut[1].level * 1000; in s3c_adc_bat_get_property()
205 bat->level = new_level; in s3c_adc_bat_get_property()
/drivers/md/
Draid0.c529 mddev->new_level = 0; in raid0_takeover_raid45()
569 mddev->new_level = 0; in raid0_takeover_raid10()
611 mddev->new_level = 0; in raid0_takeover_raid1()
Ddm-cache-policy-smq.c457 unsigned new_level; in q_requeue_before() local
462 new_level = min(q->nr_levels - 1u, e->level + extra_levels); in q_requeue_before()
463 for (de = l_head(q->es, q->qs + new_level); de; de = l_next(q->es, de)) { in q_requeue_before()
477 e->level = new_level; in q_requeue_before()
Draid5.c6517 if (mddev->new_level != 5 in setup_conf()
6518 && mddev->new_level != 4 in setup_conf()
6519 && mddev->new_level != 6) { in setup_conf()
6521 mdname(mddev), mddev->new_level); in setup_conf()
6524 if ((mddev->new_level == 5 in setup_conf()
6526 (mddev->new_level == 6 in setup_conf()
6532 if (mddev->new_level == 6 && mddev->raid_disks < 4) { in setup_conf()
6607 conf->level = mddev->new_level; in setup_conf()
6641 conf->level = mddev->new_level; in setup_conf()
6686 sprintf(pers_name, "raid%d", mddev->new_level); in setup_conf()
[all …]
Dmd.c1088 mddev->new_level = sb->new_level; in super_90_validate()
1096 mddev->new_level = mddev->level; in super_90_validate()
1227 sb->new_level = mddev->new_level; in super_90_sync()
1602 mddev->new_level = le32_to_cpu(sb->new_level); in super_1_validate()
1613 mddev->new_level = mddev->level; in super_1_validate()
1765 sb->new_level = cpu_to_le32(mddev->new_level); in super_1_sync()
3536 mddev->new_level = mddev->level; in level_store()
3559 mddev->level = mddev->new_level; in level_store()
4761 mddev->new_level = mddev->level; in reshape_position_store()
5220 mddev->new_level = pers->level; in md_run()
[all …]
Dmd.h289 int delta_disks, new_level, new_layout; member
Draid1.c3077 mddev->level != mddev->new_level) { in raid1_reshape()
3080 mddev->new_level = mddev->level; in raid1_reshape()
3186 mddev->new_level = 1; in raid1_takeover()
Ddm-raid.c171 rs->md.new_level = rs->md.level; in context_alloc()
Draid10.c3861 mddev->new_level = 10; in raid10_takeover_raid0()
/drivers/platform/x86/
Dthinkpad_acpi.c7362 u8 new_level, new_mute; in volume_write() local
7386 new_level = s & TP_EC_AUDIO_LVL_MSK; in volume_write()
7394 else if (new_level < TP_EC_VOLUME_MAX) in volume_write()
7395 new_level++; in volume_write()
7400 else if (new_level > 0) in volume_write()
7401 new_level--; in volume_write()
7405 new_level = l; in volume_write()
7424 new_mute ? "" : "un", new_level); in volume_write()
7425 rc = volume_set_status(new_mute | new_level); in volume_write()
/drivers/media/common/siano/
Dsmscoreapi.c2024 u8 new_level) { in smscore_gpio_set_level() argument
2035 if ((new_level > 1) || (pin_num > MAX_GPIO_PIN_NUMBER)) in smscore_gpio_set_level()
2054 p_msg->msg_data[1] = new_level; in smscore_gpio_set_level()
Dsmscoreapi.h1167 u8 new_level);