Home
last modified time | relevance | path

Searched refs:new_setting (Results 1 – 4 of 4) sorted by relevance

/drivers/power/supply/
Dds2780_battery.c467 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 …]
Dds2781_battery.c469 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 …]
/drivers/staging/media/ipu3/
Dipu3-css-params.c2698 void *new_setting, *old_setting; in imgu_css_cfg_copy() local
2700 new_setting = imgu_css_fw_pipeline_params(css, pipe, c, m, par, in imgu_css_cfg_copy()
2702 if (!new_setting) in imgu_css_cfg_copy()
2707 memcpy(new_setting, user_setting, par_size); in imgu_css_cfg_copy()
2715 memcpy(new_setting, old_setting, par_size); in imgu_css_cfg_copy()
2717 return new_setting; /* Need to calculate */ in imgu_css_cfg_copy()
/drivers/net/ethernet/natsemi/
Dnatsemi.c682 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()