Searched refs:new_setting (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/power/supply/ |
H A 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() 557 u16 new_setting; in ds2780_set_rsgain_setting() local 566 if (new_setting > 1999) { in ds2780_set_rsgain_setting() 601 u8 new_setting; in ds2780_set_pio_pin() local 605 ret = kstrtou8(buf, 0, &new_setting); in ds2780_set_pio_pin() [all …]
|
H A 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() 559 u16 new_setting; in ds2781_set_rsgain_setting() local 568 if (new_setting > 1999) { in ds2781_set_rsgain_setting() 603 u8 new_setting; in ds2781_set_pio_pin() local 607 ret = kstrtou8(buf, 0, &new_setting); in ds2781_set_pio_pin() [all …]
|
/openbmc/linux/kernel/time/ |
H A D | posix-timers.h | 19 struct itimerspec64 *new_setting, 43 struct itimerspec64 *new_setting,
|
H A D | posix-timers.c | 861 struct itimerspec64 *new_setting, in common_timer_set() argument 886 if (!new_setting->it_value.tv_sec && !new_setting->it_value.tv_nsec) in common_timer_set() 889 timr->it_interval = timespec64_to_ktime(new_setting->it_interval); in common_timer_set() 890 expires = timespec64_to_ktime(new_setting->it_value); in common_timer_set() 941 const struct __kernel_itimerspec __user *, new_setting, in SYSCALL_DEFINE4() argument 947 if (!new_setting) in SYSCALL_DEFINE4() 950 if (get_itimerspec64(&new_spec, new_setting)) in SYSCALL_DEFINE4()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | think-lmi.c | 988 new_setting = kstrdup(buf, GFP_KERNEL); in current_value_store() 989 if (!new_setting) in current_value_store() 993 strip_cr(new_setting); in current_value_store() 1035 new_setting); in current_value_store() 1060 new_setting, auth_str); in current_value_store() 1063 new_setting); in current_value_store() 1087 kfree(new_setting); in current_value_store() 1168 new_setting = kstrdup(buf, GFP_KERNEL); in debug_cmd_store() 1169 if (!new_setting) in debug_cmd_store() 1173 strip_cr(new_setting); in debug_cmd_store() [all …]
|
/openbmc/linux/drivers/staging/media/ipu3/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/natsemi/ |
H A 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()
|
/openbmc/linux/include/linux/ |
H A D | syscalls.h | 575 const struct __kernel_itimerspec __user *new_setting,
|