Searched refs:new_level (Results 1 - 21 of 21) sorted by relevance

/linux-4.4.14/drivers/leds/
H A Dleds-lt3593.c32 u8 new_level; member in struct:lt3593_led_data
50 if (led_dat->new_level == 0) { lt3593_led_work()
55 pulses = 32 - (led_dat->new_level * 32) / 255; lt3593_led_work()
80 led_dat->new_level = value; lt3593_led_set()
H A Dleds-gpio.c29 u8 new_level; member in struct:gpio_led_data
43 led_dat->new_level, NULL, NULL); gpio_led_work()
46 gpiod_set_value_cansleep(led_dat->gpiod, led_dat->new_level); gpio_led_work()
66 led_dat->new_level = level; gpio_led_set()
/linux-4.4.14/fs/ocfs2/dlmfs/
H A Duserdlm.c117 int new_level = DLM_LOCK_EX; user_highest_compat_lock_level() local
120 new_level = DLM_LOCK_NL; user_highest_compat_lock_level()
122 new_level = DLM_LOCK_PR; user_highest_compat_lock_level()
123 return new_level; user_highest_compat_lock_level()
300 int new_level, status; user_dlm_unblock_lock() local
377 new_level = user_highest_compat_lock_level(lockres->l_blocking); user_dlm_unblock_lock()
378 lockres->l_requested = new_level; user_dlm_unblock_lock()
381 lockres->l_namelen, lockres->l_name, lockres->l_level, new_level); user_dlm_unblock_lock()
385 status = ocfs2_dlm_lock(conn, new_level, &lockres->l_lksb, user_dlm_unblock_lock()
/linux-4.4.14/drivers/power/
H A Ds3c_adc_battery.c146 int new_level; s3c_adc_bat_get_property() local
178 new_level = 100000; s3c_adc_bat_get_property()
194 new_level = (lut[1].level + s3c_adc_bat_get_property()
200 new_level = lut[1].level * 1000; s3c_adc_bat_get_property()
205 bat->level = new_level; s3c_adc_bat_get_property()
/linux-4.4.14/arch/s390/kernel/
H A Ddebug.c801 debug_set_level(debug_info_t* id, int new_level) debug_set_level() argument
807 if(new_level == DEBUG_OFF_LEVEL){ debug_set_level()
810 } else if ((new_level > DEBUG_MAX_LEVEL) || (new_level < 0)) { debug_set_level()
812 id->name, new_level, 0, DEBUG_MAX_LEVEL); debug_set_level()
814 id->level = new_level; debug_set_level()
1289 int rc,new_level; debug_input_level_fn() local
1307 new_level = debug_get_uint(str); debug_input_level_fn()
1309 if(new_level < 0) { debug_input_level_fn()
1314 debug_set_level(id, new_level); debug_input_level_fn()
/linux-4.4.14/fs/ocfs2/
H A Ddlmglue.c100 int new_level);
115 int new_level);
381 int new_level);
384 int new_level,
792 int new_level = DLM_LOCK_EX; ocfs2_highest_compat_lock_level() local
795 new_level = DLM_LOCK_NL; ocfs2_highest_compat_lock_level()
797 new_level = DLM_LOCK_PR; ocfs2_highest_compat_lock_level()
798 return new_level; ocfs2_highest_compat_lock_level()
3284 int new_level) ocfs2_prepare_downconvert()
3290 if (lockres->l_level <= new_level) { ocfs2_prepare_downconvert()
3294 new_level, list_empty(&lockres->l_blocked_list), ocfs2_prepare_downconvert()
3304 lockres->l_name, lockres->l_level, new_level, lockres->l_blocking); ocfs2_prepare_downconvert()
3307 lockres->l_requested = new_level; ocfs2_prepare_downconvert()
3314 int new_level, ocfs2_downconvert_lock()
3322 lockres->l_level, new_level); ocfs2_downconvert_lock()
3328 new_level, ocfs2_downconvert_lock()
3398 int new_level; ocfs2_unblock_lock() local
3514 new_level = ocfs2_highest_compat_lock_level(lockres->l_blocking); ocfs2_unblock_lock()
3517 && !lockres->l_ops->check_downconvert(lockres, new_level)) { ocfs2_unblock_lock()
3572 gen = ocfs2_prepare_downconvert(lockres, new_level); ocfs2_unblock_lock()
3574 ret = ocfs2_downconvert_lock(osb, lockres, new_level, set_lvb, ocfs2_unblock_lock()
3640 int new_level) ocfs2_ci_checkpointed()
3644 BUG_ON(new_level != DLM_LOCK_NL && new_level != DLM_LOCK_PR); ocfs2_ci_checkpointed()
3655 int new_level) ocfs2_check_meta_downconvert()
3659 return ocfs2_ci_checkpointed(INODE_CACHE(inode), lockres, new_level); ocfs2_check_meta_downconvert()
3794 int new_level) ocfs2_check_refcount_downconvert()
3799 return ocfs2_ci_checkpointed(&tree->rf_ci, lockres, new_level); ocfs2_check_refcount_downconvert()
3283 ocfs2_prepare_downconvert(struct ocfs2_lock_res *lockres, int new_level) ocfs2_prepare_downconvert() argument
3312 ocfs2_downconvert_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int new_level, int lvb, unsigned int generation) ocfs2_downconvert_lock() argument
3638 ocfs2_ci_checkpointed(struct ocfs2_caching_info *ci, struct ocfs2_lock_res *lockres, int new_level) ocfs2_ci_checkpointed() argument
3654 ocfs2_check_meta_downconvert(struct ocfs2_lock_res *lockres, int new_level) ocfs2_check_meta_downconvert() argument
3793 ocfs2_check_refcount_downconvert(struct ocfs2_lock_res *lockres, int new_level) ocfs2_check_refcount_downconvert() argument
/linux-4.4.14/drivers/md/
H A Draid0.c529 mddev->new_level = 0;
569 mddev->new_level = 0; raid0_takeover_raid10()
611 mddev->new_level = 0; raid0_takeover_raid1()
H A Ddm-cache-policy-smq.c457 unsigned new_level; q_requeue_before() local
462 new_level = min(q->nr_levels - 1u, e->level + extra_levels); q_requeue_before()
463 for (de = l_head(q->es, q->qs + new_level); de; de = l_next(q->es, de)) { q_requeue_before()
477 e->level = new_level; q_requeue_before()
H A Draid5.c6472 if (mddev->new_level != 5 setup_conf()
6473 && mddev->new_level != 4 setup_conf()
6474 && mddev->new_level != 6) { setup_conf()
6476 mdname(mddev), mddev->new_level); setup_conf()
6479 if ((mddev->new_level == 5 setup_conf()
6481 (mddev->new_level == 6 setup_conf()
6487 if (mddev->new_level == 6 && mddev->raid_disks < 4) { setup_conf()
6562 conf->level = mddev->new_level; setup_conf()
6596 conf->level = mddev->new_level;
6641 sprintf(pers_name, "raid%d", mddev->new_level);
6749 if (mddev->new_level != mddev->level) {
6810 BUG_ON(mddev->level != mddev->new_level);
7634 mddev->new_level = level; raid45_takeover_raid0()
7665 mddev->new_level = 5; raid5_takeover_raid1()
7698 mddev->new_level = 5; raid5_takeover_raid6()
7779 mddev->new_level = 5; raid5_takeover()
7799 mddev->new_level = 4; raid4_takeover()
7846 mddev->new_level = 6; raid6_takeover()
H A Dmd.c1081 mddev->new_level = sb->new_level; super_90_validate()
1089 mddev->new_level = mddev->level; super_90_validate()
1220 sb->new_level = mddev->new_level; super_90_sync()
1594 mddev->new_level = le32_to_cpu(sb->new_level); super_1_validate()
1605 mddev->new_level = mddev->level; super_1_validate()
1750 sb->new_level = cpu_to_le32(mddev->new_level); super_1_sync()
3518 mddev->new_level = mddev->level; level_store()
3541 mddev->level = mddev->new_level; level_store()
4743 mddev->new_level = mddev->level; reshape_position_store()
5202 mddev->new_level = pers->level;
5432 mddev->new_level = LEVEL_NONE; md_clean()
6409 mddev->new_level = mddev->level; set_array_info()
H A Draid1.c3050 mddev->level != mddev->new_level) { raid1_reshape()
3053 mddev->new_level = mddev->level; raid1_reshape()
3159 mddev->new_level = 1; raid1_takeover()
H A Dmd.h289 int delta_disks, new_level, new_layout; member in struct:mddev
H A Ddm-raid.c171 rs->md.new_level = rs->md.level; context_alloc()
H A Draid10.c3811 mddev->new_level = 10; raid10_takeover_raid0()
/linux-4.4.14/include/uapi/linux/raid/
H A Dmd_p.h178 __u32 new_level; /* 14 new level we are reshaping to */ member in struct:mdp_superblock_s
247 __le32 new_level; /* new level we are reshaping to */ member in struct:mdp_superblock_1
/linux-4.4.14/virt/kvm/arm/
H A Darch_timer.c164 static void kvm_timer_update_irq(struct kvm_vcpu *vcpu, bool new_level) kvm_timer_update_irq() argument
171 timer->irq.level = new_level; kvm_timer_update_irq()
/linux-4.4.14/arch/s390/include/asm/
H A Ddebug.h105 void debug_set_level(debug_info_t* id, int new_level);
/linux-4.4.14/drivers/media/common/siano/
H A Dsmscoreapi.c2028 u8 new_level) { smscore_gpio_set_level()
2039 if ((new_level > 1) || (pin_num > MAX_GPIO_PIN_NUMBER)) smscore_gpio_set_level()
2058 p_msg->msg_data[1] = new_level; smscore_gpio_set_level()
2027 smscore_gpio_set_level(struct smscore_device_t *coredev, u8 pin_num, u8 new_level) smscore_gpio_set_level() argument
H A Dsmscoreapi.h1167 u8 new_level);
/linux-4.4.14/drivers/platform/x86/
H A Dthinkpad_acpi.c7359 u8 new_level, new_mute; volume_write() local
7383 new_level = s & TP_EC_AUDIO_LVL_MSK; volume_write()
7391 else if (new_level < TP_EC_VOLUME_MAX) volume_write()
7392 new_level++; volume_write()
7397 else if (new_level > 0) volume_write()
7398 new_level--; volume_write()
7402 new_level = l; volume_write()
7421 new_mute ? "" : "un", new_level); volume_write()
7422 rc = volume_set_status(new_mute | new_level); volume_write()
/linux-4.4.14/tools/perf/ui/browsers/
H A Dhists.c645 const int new_level = level + (extra_offset ? 2 : 1); hist_browser__show_callchain() local
653 new_level, row, new_total, hist_browser__show_callchain()

Completed in 1048 milliseconds