Searched refs:new_setting (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/power/supply/ |
D | ds2780_battery.c | 467 u8 control_reg, new_setting; in ds2780_set_pmod_enabled() local 476 ret = kstrtou8(buf, 0, &new_setting); in ds2780_set_pmod_enabled() 480 if ((new_setting != 0) && (new_setting != 1)) { in ds2780_set_pmod_enabled() 485 if (new_setting) in ds2780_set_pmod_enabled() 520 u8 new_setting; in ds2780_set_sense_resistor_value() local 524 ret = kstrtou8(buf, 0, &new_setting); in ds2780_set_sense_resistor_value() 528 ret = ds2780_set_sense_register(dev_info, new_setting); in ds2780_set_sense_resistor_value() 557 u16 new_setting; in ds2780_set_rsgain_setting() local 561 ret = kstrtou16(buf, 0, &new_setting); in ds2780_set_rsgain_setting() 566 if (new_setting > 1999) { in ds2780_set_rsgain_setting() [all …]
|
D | ds2781_battery.c | 469 u8 control_reg, new_setting; in ds2781_set_pmod_enabled() local 478 ret = kstrtou8(buf, 0, &new_setting); in ds2781_set_pmod_enabled() 482 if ((new_setting != 0) && (new_setting != 1)) { in ds2781_set_pmod_enabled() 487 if (new_setting) in ds2781_set_pmod_enabled() 522 u8 new_setting; in ds2781_set_sense_resistor_value() local 526 ret = kstrtou8(buf, 0, &new_setting); in ds2781_set_sense_resistor_value() 530 ret = ds2781_set_sense_register(dev_info, new_setting); in ds2781_set_sense_resistor_value() 559 u16 new_setting; in ds2781_set_rsgain_setting() local 563 ret = kstrtou16(buf, 0, &new_setting); in ds2781_set_rsgain_setting() 568 if (new_setting > 1999) { in ds2781_set_rsgain_setting() [all …]
|
/linux-6.1.9/kernel/time/ |
D | posix-timers.h | 19 struct itimerspec64 *new_setting, 43 struct itimerspec64 *new_setting,
|
D | posix-timers.c | 859 struct itimerspec64 *new_setting, in common_timer_set() argument 884 if (!new_setting->it_value.tv_sec && !new_setting->it_value.tv_nsec) in common_timer_set() 887 timr->it_interval = timespec64_to_ktime(new_setting->it_interval); in common_timer_set() 888 expires = timespec64_to_ktime(new_setting->it_value); in common_timer_set() 939 const struct __kernel_itimerspec __user *, new_setting, in SYSCALL_DEFINE4() argument 946 if (!new_setting) in SYSCALL_DEFINE4() 949 if (get_itimerspec64(&new_spec, new_setting)) in SYSCALL_DEFINE4()
|
/linux-6.1.9/drivers/platform/x86/ |
D | think-lmi.c | 955 char *set_str = NULL, *new_setting = NULL; in current_value_store() local 962 new_setting = kstrdup(buf, GFP_KERNEL); in current_value_store() 963 if (!new_setting) in current_value_store() 967 strip_cr(new_setting); in current_value_store() 976 new_setting, tlmi_priv.pwd_admin->signature); in current_value_store() 1003 new_setting, auth_str); in current_value_store() 1006 new_setting); in current_value_store() 1029 kfree(new_setting); in current_value_store() 1114 char *set_str = NULL, *new_setting = NULL; in debug_cmd_store() local 1121 new_setting = kstrdup(buf, GFP_KERNEL); in debug_cmd_store() [all …]
|
/linux-6.1.9/drivers/staging/media/ipu3/ |
D | ipu3-css-params.c | 2713 void *new_setting, *old_setting; in imgu_css_cfg_copy() local 2715 new_setting = imgu_css_fw_pipeline_params(css, pipe, c, m, par, in imgu_css_cfg_copy() 2717 if (!new_setting) in imgu_css_cfg_copy() 2722 memcpy(new_setting, user_setting, par_size); in imgu_css_cfg_copy() 2730 memcpy(new_setting, old_setting, par_size); in imgu_css_cfg_copy() 2732 return new_setting; /* Need to calculate */ in imgu_css_cfg_copy()
|
/linux-6.1.9/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 682 int new_setting; in natsemi_set_dspcfg_workaround() local 687 new_setting = 1; in natsemi_set_dspcfg_workaround() 690 new_setting = 0; in natsemi_set_dspcfg_workaround() 696 np->dspcfg_workaround = new_setting; in natsemi_set_dspcfg_workaround()
|
/linux-6.1.9/include/linux/ |
D | syscalls.h | 658 const struct __kernel_itimerspec __user *new_setting,
|