Searched refs:kstrtoul (Results 1 - 200 of 339) sorted by relevance

12

/linux-4.1.27/drivers/leds/trigger/
H A Dledtrig-timer.c36 ret = kstrtoul(buf, 10, &state); led_delay_on_store()
61 ret = kstrtoul(buf, 10, &state); led_delay_off_store()
H A Dledtrig-oneshot.c59 ret = kstrtoul(buf, 0, &state); led_invert_store()
88 ret = kstrtoul(buf, 0, &state); led_delay_on_store()
111 ret = kstrtoul(buf, 0, &state); led_delay_off_store()
H A Dledtrig-transient.c64 ret = kstrtoul(buf, 10, &state); transient_activate_store()
116 ret = kstrtoul(buf, 10, &state); transient_duration_store()
143 ret = kstrtoul(buf, 10, &state); transient_state_store()
H A Dledtrig-backlight.c81 ret = kstrtoul(buf, 10, &invert); bl_trig_invert_store()
H A Dledtrig-gpio.c113 ret = kstrtoul(buf, 10, &inverted); gpio_trig_inverted_store()
/linux-4.1.27/arch/avr32/kernel/
H A Dcpu.c44 ret = kstrtoul(buf, 0, &val); store_pc0event()
68 ret = kstrtoul(buf, 0, &val); store_pc0count()
91 ret = kstrtoul(buf, 0, &val); store_pc1event()
115 ret = kstrtoul(buf, 0, &val); store_pc1count()
138 ret = kstrtoul(buf, 0, &val); store_pccycles()
161 ret = kstrtoul(buf, 0, &val); store_pcenable()
/linux-4.1.27/drivers/hwtracing/coresight/
H A Dcoresight-etm3x.c506 ret = kstrtoul(buf, 16, &val); reset_store()
550 ret = kstrtoul(buf, 16, &val); mode_store()
619 ret = kstrtoul(buf, 16, &val); trigger_event_store()
647 ret = kstrtoul(buf, 16, &val); enable_event_store()
675 ret = kstrtoul(buf, 16, &val); fifofull_level_store()
703 ret = kstrtoul(buf, 16, &val); addr_idx_store()
752 ret = kstrtoul(buf, 16, &val); addr_single_store()
869 ret = kstrtoul(buf, 16, &val); addr_start_store()
921 ret = kstrtoul(buf, 16, &val); addr_stop_store()
964 ret = kstrtoul(buf, 16, &val); addr_acctype_store()
994 ret = kstrtoul(buf, 16, &val); cntr_idx_store()
1033 ret = kstrtoul(buf, 16, &val); cntr_rld_val_store()
1066 ret = kstrtoul(buf, 16, &val); cntr_event_store()
1099 ret = kstrtoul(buf, 16, &val); cntr_rld_event_store()
1143 ret = kstrtoul(buf, 16, &val); cntr_val_store()
1173 ret = kstrtoul(buf, 16, &val); seq_12_event_store()
1200 ret = kstrtoul(buf, 16, &val); seq_21_event_store()
1227 ret = kstrtoul(buf, 16, &val); seq_23_event_store()
1254 ret = kstrtoul(buf, 16, &val); seq_31_event_store()
1281 ret = kstrtoul(buf, 16, &val); seq_32_event_store()
1308 ret = kstrtoul(buf, 16, &val); seq_13_event_store()
1353 ret = kstrtoul(buf, 16, &val); seq_curr_state_store()
1384 ret = kstrtoul(buf, 16, &val); ctxid_idx_store()
1424 ret = kstrtoul(buf, 16, &val); ctxid_val_store()
1454 ret = kstrtoul(buf, 16, &val); ctxid_mask_store()
1481 ret = kstrtoul(buf, 16, &val); sync_freq_store()
1508 ret = kstrtoul(buf, 16, &val); timestamp_event_store()
1595 ret = kstrtoul(buf, 16, &val); traceid_store()
H A Dcoresight.c396 ret = kstrtoul(buf, 10, &val); enable_sink_store()
426 ret = kstrtoul(buf, 10, &val); enable_source_store()
H A Dcoresight-funnel.c133 ret = kstrtoul(buf, 16, &val); priority_store()
H A Dcoresight-etb10.c402 ret = kstrtoul(buf, 16, &val); trigger_cntr_store()
/linux-4.1.27/drivers/edac/
H A Damd64_edac_inj.c27 ret = kstrtoul(data, 10, &value); amd64_inject_section_store()
64 ret = kstrtoul(data, 10, &value); amd64_inject_word_store()
100 ret = kstrtoul(data, 16, &value); amd64_inject_ecc_vector_store()
127 ret = kstrtoul(data, 10, &value); amd64_inject_read_store()
160 ret = kstrtoul(data, 10, &value); amd64_inject_write_store()
H A Dedac_module.c27 ret = kstrtoul(buf, 0, &val); edac_set_debug_level()
H A Docteon_edac-lmc.c148 if (!kstrtoul(data, 0, &pvt->reg)) \
H A Di7core_edac.c707 rc = kstrtoul(data, 10, &value); i7core_inject_section_store()
744 rc = kstrtoul(data, 10, &value); i7core_inject_type_store()
784 rc = kstrtoul(data, 10, &value); i7core_inject_eccmask_store()
833 rc = kstrtoul(data, 10, &value); \
937 rc = kstrtoul(data, 10, &enable); i7core_inject_enable_store()
/linux-4.1.27/drivers/iio/trigger/
H A Diio-trig-sysfs.c37 ret = kstrtoul(buf, 10, &input); iio_sysfs_trig_add()
56 ret = kstrtoul(buf, 10, &input); iio_sysfs_trig_remove()
/linux-4.1.27/arch/x86/kernel/
H A Dcheck.c33 ret = kstrtoul(arg, 10, &val); set_corruption_check()
47 ret = kstrtoul(arg, 10, &val); set_corruption_check_period()
H A Ddumpstack.c327 ret = kstrtoul(s, 0, &val); kstack_setup()
343 ret = kstrtoul(s, 0, &val); code_bytes_setup()
H A Dearly_printk.c178 if (kstrtoul(s, 0, &baud) < 0 || baud == 0) early_serial_init()
298 if (kstrtoul(s, 0, &baud) < 0 || baud == 0) early_pci_serial_init()
/linux-4.1.27/drivers/platform/x86/
H A Dintel-rst.c55 error = kstrtoul(buf, 0, &value); irst_store_wakeup_events()
101 error = kstrtoul(buf, 0, &value); irst_store_wakeup_time()
H A Dclassmate-laptop.c243 r = kstrtoul(buf, 0, &sensitivity); cmpc_accel_sensitivity_store_v4()
292 r = kstrtoul(buf, 0, &g_select); cmpc_accel_g_select_store_v4()
592 r = kstrtoul(buf, 0, &sensitivity); cmpc_accel_sensitivity_store()
H A Dsony-laptop.c1812 if (kstrtoul(buffer, 10, &value)) sony_nc_kbd_backlight_mode_store()
1856 if (kstrtoul(buffer, 10, &value)) sony_nc_kbd_backlight_timeout_store()
1972 if (kstrtoul(buffer, 10, &value)) sony_nc_battery_care_limit_store()
2309 if (kstrtoul(buffer, 10, &value) || value > 1) sony_nc_lid_resume_store()
2541 if (kstrtoul(buffer, 10, &value) || value > 1) sony_nc_highspeed_charging_store()
2615 if (kstrtoul(buffer, 10, &value) || value > 1) sony_nc_lowbatt_store()
2681 if (kstrtoul(buffer, 10, &value) || value > 1) sony_nc_hsfan_store()
2788 if (kstrtoul(buffer, 10, &value) || value > 1) sony_nc_usb_charge_store()
2909 if (kstrtoul(buffer, 10, &value) || value > 1) sony_nc_smart_conn_store()
2967 if (kstrtoul(buffer, 10, &value) || value > 1) sony_nc_touchpad_store()
3894 if (kstrtoul(buffer, 10, &value)) sony_pic_wwanpower_store()
3933 if (kstrtoul(buffer, 10, &value)) sony_pic_bluetoothpower_store()
3974 if (kstrtoul(buffer, 10, &value)) sony_pic_fanspeed_store()
/linux-4.1.27/include/target/
H A Dtarget_core_backend_configfs.h24 ret = kstrtoul(page, 0, &val); \
26 pr_err("kstrtoul() failed with ret: %d\n", ret); \
/linux-4.1.27/drivers/crypto/qat/qat_common/
H A Dqat_crypto.c165 if (kstrtoul(val, 0, &num_inst)) qat_crypto_create_instances()
182 if (kstrtoul(val, 10, &bank)) qat_crypto_create_instances()
188 if (kstrtoul(val, 10, &num_msg_sym)) qat_crypto_create_instances()
195 if (kstrtoul(val, 10, &num_msg_asym)) qat_crypto_create_instances()
/linux-4.1.27/arch/microblaze/kernel/
H A Dtraps.c29 return !kstrtoul(s, 0, &kstack_depth_to_print); kstack_setup()
/linux-4.1.27/arch/mips/fw/lib/
H A Dcmdline.c95 tmp = kstrtoul(str, 0, &envl); fw_getenvl()
/linux-4.1.27/fs/ncpfs/
H A Dgetopt.c56 int rc = kstrtoul(val, 0, value); ncp_getopt()
/linux-4.1.27/security/integrity/
H A Dintegrity_audit.c25 if (!kstrtoul(str, 0, &audit)) integrity_audit_setup()
/linux-4.1.27/drivers/misc/
H A Dspear13xx_pcie_gadget.c322 ret = kstrtoul(buf, 0, &config->requested_msi); pcie_gadget_store_no_of_msi()
340 ret = kstrtoul(buf, 0, &en); pcie_gadget_store_inta()
363 ret = kstrtoul(buf, 0, &vector); pcie_gadget_store_send_msi()
409 ret = kstrtoul(buf, 0, &id); pcie_gadget_store_vendor_id()
436 ret = kstrtoul(buf, 0, &id); pcie_gadget_store_device_id()
461 ret = kstrtoul(buf, 0, &size); pcie_gadget_store_bar0_size()
511 ret = kstrtoul(buf, 0, &address); pcie_gadget_store_bar0_address()
541 ret = kstrtoul(buf, 0, &offset); pcie_gadget_store_bar0_rw_offset()
574 ret = kstrtoul(buf, 0, &data); pcie_gadget_store_bar0_data()
H A Dti_dac7512.c35 ret = kstrtoul(buf, 10, &val); dac7512_store_val()
H A Disl29003.c210 ret = kstrtoul(buf, 10, &val); isl29003_store_range()
245 ret = kstrtoul(buf, 10, &val); isl29003_store_resolution()
277 ret = kstrtoul(buf, 10, &val); isl29003_store_mode()
312 ret = kstrtoul(buf, 10, &val); isl29003_store_power_state()
H A Dbh1770glc.c654 ret = kstrtoul(buf, 0, &value); bh1770_power_state_store()
732 ret = kstrtoul(buf, 0, &value); bh1770_prox_enable_store()
832 ret = kstrtoul(buf, 0, &value); bh1770_set_prox_rate_above()
850 ret = kstrtoul(buf, 0, &value); bh1770_set_prox_rate_below()
875 ret = kstrtoul(buf, 0, &value); bh1770_set_prox_thres()
907 ret = kstrtoul(buf, 0, &value); bh1770_prox_persistence_store()
934 ret = kstrtoul(buf, 0, &value); bh1770_prox_abs_thres_store()
981 ret = kstrtoul(buf, 0, &value); bh1770_lux_calib_store()
1030 ret = kstrtoul(buf, 0, &rate_hz); bh1770_set_lux_rate()
1069 ret = kstrtoul(buf, 0, &thresh); bh1770_set_lux_thresh()
H A Dhmc6352.c48 ret = kstrtoul(buf, 10, &val); compass_store()
H A Dbh1780gli.c111 error = kstrtoul(buf, 0, &val); bh1780_store_power_state()
H A Disl29020.c92 ret_val = kstrtoul(buf, 10, &val); als_sensing_range_store()
H A Dapds990x.c701 ret = kstrtoul(buf, 0, &value); apds990x_lux_calib_store()
764 ret = kstrtoul(buf, 0, &value); apds990x_rate_store()
821 ret = kstrtoul(buf, 0, &value); apds990x_prox_enable_store()
903 ret = kstrtoul(buf, 0, &thresh); apds990x_set_lux_thresh()
968 ret = kstrtoul(buf, 0, &value); apds990x_prox_threshold_store()
1003 ret = kstrtoul(buf, 0, &value); apds990x_power_state_store()
H A Dapds9802als.c128 ret_val = kstrtoul(buf, 10, &val); als_sensing_range_store()
H A Dbmp085.c313 int err = kstrtoul(buf, 10, &oversampling); set_oversampling()
/linux-4.1.27/drivers/xen/
H A Dxen-selfballoon.c270 err = kstrtoul(buf, 10, &tmp); store_selfballooning()
299 err = kstrtoul(buf, 10, &val); store_selfballoon_interval()
323 err = kstrtoul(buf, 10, &val); store_selfballoon_downhys()
348 err = kstrtoul(buf, 10, &val); store_selfballoon_uphys()
373 err = kstrtoul(buf, 10, &val); store_selfballoon_min_usable_mb()
399 err = kstrtoul(buf, 10, &val); store_selfballoon_reserved_mb()
427 err = kstrtoul(buf, 10, &tmp); store_frontswap_selfshrinking()
456 err = kstrtoul(buf, 10, &val); store_frontswap_inertia()
481 err = kstrtoul(buf, 10, &val); store_frontswap_hysteresis()
/linux-4.1.27/drivers/staging/fbtft/
H A Dfbtft-sysfs.c17 ret = kstrtoul(p_val, base, val); get_next_ulong()
188 ret = kstrtoul(buf, 10, &par->debug); store_debug()
/linux-4.1.27/arch/mips/alchemy/devboards/
H A Dpm.c156 tmp = kstrtoul(instr, 0, &l); db1x_pmattr_store()
179 tmp = kstrtoul(instr, 0, &l); db1x_pmattr_store()
H A Dplatform.c32 if (!memsize_str || kstrtoul(memsize_str, 0, &memsize)) prom_init()
/linux-4.1.27/arch/mips/mti-malta/
H A Dmalta-memory.c40 tmp = kstrtoul(memsize_str, 0, &memsize); fw_getmdesc()
48 tmp = kstrtoul(ememsize_str, 0, &ememsize); fw_getmdesc()
/linux-4.1.27/drivers/md/bcache/
H A Dsysfs.h91 int _r = kstrtoul(cp, 10, &_v); \
H A Dutil.h341 int _r = kstrtoul(cp, 10, &_v); \
350 int _r = kstrtoul(cp, 10, &_v); \
/linux-4.1.27/drivers/hwmon/
H A Dlm95245.c253 if (kstrtoul(buf, 10, &val) < 0) set_limit()
290 if (kstrtoul(buf, 10, &val) < 0) set_crit_hyst()
325 if (kstrtoul(buf, 10, &val) < 0) set_type()
372 if (kstrtoul(buf, 10, &val) < 0) set_interval()
H A Datxp1.c111 err = kstrtoul(buf, 10, &vcore); atxp1_storevcore()
186 err = kstrtoul(buf, 16, &value); atxp1_storegpio1()
232 err = kstrtoul(buf, 16, &value); atxp1_storegpio2()
H A Dw83l786ng.c258 int err = kstrtoul(buf, 10, &val); \
313 err = kstrtoul(buf, 10, &val); store_fan_min()
358 err = kstrtoul(buf, 10, &val); store_fan_div()
498 err = kstrtoul(buf, 10, &val); store_pwm_mode()
525 err = kstrtoul(buf, 10, &val); store_pwm()
550 err = kstrtoul(buf, 10, &val); store_pwm_enable()
606 err = kstrtoul(buf, 10, &val); store_tolerance()
H A Dgl520sm.c401 err = kstrtoul(buf, 10, &v); set_fan_min()
440 err = kstrtoul(buf, 10, &v); set_fan_div()
488 err = kstrtoul(buf, 10, &v); set_fan_off()
629 err = kstrtoul(buf, 10, &v); set_beep_enable()
652 err = kstrtoul(buf, 10, &r); set_beep_mask()
708 err = kstrtoul(buf, 10, &bit); set_beep()
H A Df75375s.c308 err = kstrtoul(buf, 10, &val); set_fan_min()
328 err = kstrtoul(buf, 10, &val); set_fan_target()
353 err = kstrtoul(buf, 10, &val); set_pwm()
449 err = kstrtoul(buf, 10, &val); set_pwm_enable()
470 err = kstrtoul(buf, 10, &val); set_pwm_mode()
555 err = kstrtoul(buf, 10, &val); set_in_max()
576 err = kstrtoul(buf, 10, &val); set_in_min()
624 err = kstrtoul(buf, 10, &val); set_temp_max()
645 err = kstrtoul(buf, 10, &val); set_temp_max_hyst()
H A Dmax6639.c210 res = kstrtoul(buf, 10, &val); set_temp_max()
242 res = kstrtoul(buf, 10, &val); set_temp_crit()
275 res = kstrtoul(buf, 10, &val); set_temp_emergency()
307 res = kstrtoul(buf, 10, &val); set_pwm()
H A Dw83792d.c395 int err = kstrtoul(buf, 10, &val); \
435 err = kstrtoul(buf, 10, &val); store_fan_min()
479 err = kstrtoul(buf, 10, &val); store_fan_div()
644 err = kstrtoul(buf, 10, &val); store_pwm()
670 err = kstrtoul(buf, 10, &val); store_pwmenable()
721 err = kstrtoul(buf, 10, &val); store_pwm_mode()
757 if (kstrtoul(buf, 10, &val) || val != 0) store_chassis_clear()
792 err = kstrtoul(buf, 10, &val); store_thermal_cruise()
832 err = kstrtoul(buf, 10, &val); store_tolerance()
878 err = kstrtoul(buf, 10, &val); store_sf2_point()
920 err = kstrtoul(buf, 10, &val); store_sf2_level()
H A Dlm93.c1168 err = kstrtoul(buf, 10, &val); store_in_min()
1249 err = kstrtoul(buf, 10, &val); store_in_max()
1477 err = kstrtoul(buf, 10, &val); store_temp_auto_boost_hyst()
1528 err = kstrtoul(buf, 10, &val); store_temp_auto_offset()
1641 err = kstrtoul(buf, 10, &val); store_temp_auto_pwm_min()
1689 err = kstrtoul(buf, 10, &val); store_temp_auto_offset_hyst()
1749 err = kstrtoul(buf, 10, &val); store_fan_min()
1832 err = kstrtoul(buf, 10, &val); store_fan_smart_tach()
1889 err = kstrtoul(buf, 10, &val); store_pwm()
1937 err = kstrtoul(buf, 10, &val); store_pwm_enable()
2015 err = kstrtoul(buf, 10, &val); store_pwm_freq()
2054 err = kstrtoul(buf, 10, &val); store_pwm_auto_channels()
2096 err = kstrtoul(buf, 10, &val); store_pwm_auto_spinup_min()
2139 err = kstrtoul(buf, 10, &val); store_pwm_auto_spinup_time()
2177 err = kstrtoul(buf, 10, &val); store_pwm_auto_prochot_ramp()
2211 err = kstrtoul(buf, 10, &val); store_pwm_auto_vrdhot_ramp()
2278 err = kstrtoul(buf, 10, &val); store_prochot_max()
2316 err = kstrtoul(buf, 10, &val); store_prochot_override()
2360 err = kstrtoul(buf, 10, &val); store_prochot_interval()
2398 err = kstrtoul(buf, 10, &val); store_prochot_override_duty_cycle()
2431 err = kstrtoul(buf, 10, &val); store_prochot_short()
H A Dpcf8591.c122 err = kstrtoul(buf, 10, &val); set_out0_output()
154 err = kstrtoul(buf, 10, &val); set_out0_enable()
H A Dw83795.c745 if (kstrtoul(buf, 10, &val) < 0) store_beep()
770 if (kstrtoul(buf, 10, &val) < 0 || val != 0) store_chassis_clear()
816 if (kstrtoul(buf, 10, &val)) store_fan_min()
878 if (kstrtoul(buf, 10, &val) < 0) store_pwm()
939 if (kstrtoul(buf, 10, &val) < 0) store_pwm_enable()
1044 if (kstrtoul(buf, 10, &channel) < 0 || store_temp_src()
1111 if (kstrtoul(buf, 10, &tmp) < 0) store_temp_pwm_enable()
1172 if (kstrtoul(buf, 10, &val) < 0) store_fanin()
1221 if (kstrtoul(buf, 10, &val) < 0) store_temp_pwm()
1280 if (kstrtoul(buf, 10, &val) < 0) store_sf4_pwm()
1316 if (kstrtoul(buf, 10, &val) < 0) store_sf4_temp()
1459 if (kstrtoul(buf, 10, &val) < 0) store_temp_mode()
1535 if (kstrtoul(buf, 10, &val) < 0) store_in()
1592 if (kstrtoul(buf, 10, &val) < 0) store_sf_setup()
H A Demc1403.c82 if (kstrtoul(buf, 10, &val)) store_temp()
99 if (kstrtoul(buf, 10, &val)) store_bit()
154 if (kstrtoul(buf, 10, &val)) store_hyst()
H A Dgpio-fan.c208 if (kstrtoul(buf, 10, &pwm) || pwm > 255) set_pwm()
241 if (kstrtoul(buf, 10, &val) || val > 1) set_pwm_enable()
298 if (kstrtoul(buf, 10, &rpm)) set_rpm()
H A Di5k_amb.c161 int ret = kstrtoul(buf, 10, &temp); store_amb_min()
181 int ret = kstrtoul(buf, 10, &temp); store_amb_mid()
201 int ret = kstrtoul(buf, 10, &temp); store_amb_max()
H A Dg760a.c149 if (kstrtoul(buf, 10, &val)) set_pwm()
H A Dgl518sm.c320 int err = kstrtoul(buf, 10, &val); \
362 err = kstrtoul(buf, 10, &val); set_fan_min()
395 err = kstrtoul(buf, 10, &val); set_fan_div()
495 err = kstrtoul(buf, 10, &bit); set_beep()
H A Dmax6650.c264 err = kstrtoul(buf, 10, &rpm); set_target()
332 err = kstrtoul(buf, 10, &pwm); set_pwm()
379 err = kstrtoul(buf, 10, &mode); set_enable()
428 err = kstrtoul(buf, 10, &div); set_div()
H A Dadm9240.c342 err = kstrtoul(buf, 10, &val); set_in_min()
364 err = kstrtoul(buf, 10, &val); set_in_max()
441 err = kstrtoul(buf, 10, &val); set_fan_min()
572 if (kstrtoul(buf, 10, &val) || val != 0) chassis_clear()
H A Dw83627hf.c603 err = kstrtoul(buf, 10, &val); store_regs_in_min0()
632 err = kstrtoul(buf, 10, &val); store_regs_in_max0()
685 err = kstrtoul(buf, 10, &val); store_fan_min()
819 err = kstrtoul(buf, 10, &val); store_vrm_reg()
878 err = kstrtoul(buf, 10, &val); store_beep_mask()
919 err = kstrtoul(buf, 10, &bit); store_beep()
1017 err = kstrtoul(buf, 10, &val); store_fan_div()
1071 err = kstrtoul(buf, 10, &val); store_pwm()
1118 err = kstrtoul(buf, 10, &val); store_pwm_enable()
1164 err = kstrtoul(buf, 10, &val); store_pwm_freq()
1212 err = kstrtoul(buf, 10, &val); store_temp_type()
H A Dlm95241.c171 if (kstrtoul(buf, 10, &val) < 0) set_type()
289 if (kstrtoul(buf, 10, &val) < 0) set_interval()
H A Dw83791d.c392 int err = kstrtoul(buf, 10, &val); \
468 err = kstrtoul(buf, 10, &val); store_beep()
557 err = kstrtoul(buf, 10, &val); store_fan_min()
601 err = kstrtoul(buf, 10, &val); store_fan_div()
743 if (kstrtoul(buf, 10, &val)) store_pwm()
788 int ret = kstrtoul(buf, 10, &val); store_pwmenable()
895 if (kstrtoul(buf, 10, &val)) store_temp_tolerance()
1180 err = kstrtoul(buf, 10, &val); store_vrm_reg()
H A Dasb100.c269 int err = kstrtoul(buf, 10, &val); \
335 err = kstrtoul(buf, 10, &val); set_fan_min()
363 err = kstrtoul(buf, 10, &val); set_fan_div()
510 err = kstrtoul(buf, 10, &val); set_vrm()
568 err = kstrtoul(buf, 10, &val); set_pwm1()
595 err = kstrtoul(buf, 10, &val); set_pwm_enable1()
H A Dg762.c781 if (kstrtoul(buf, 10, &val)) set_pwm_mode()
813 if (kstrtoul(buf, 10, &val)) set_fan_div()
845 if (kstrtoul(buf, 10, &val)) set_fan_pulses()
888 if (kstrtoul(buf, 10, &val)) set_pwm_enable()
920 if (kstrtoul(buf, 10, &val)) set_pwm()
966 if (kstrtoul(buf, 10, &val)) set_fan_target()
H A Dvt8231.c234 err = kstrtoul(buf, 10, &val); set_in_min()
254 err = kstrtoul(buf, 10, &val); set_in_max()
300 err = kstrtoul(buf, 10, &val); set_in5_min()
319 err = kstrtoul(buf, 10, &val); set_in5_max()
534 err = kstrtoul(buf, 10, &val); set_fan_min()
557 err = kstrtoul(buf, 10, &val); set_fan_div()
H A Dw83781d.c280 int err = kstrtoul(buf, 10, &val); \
335 err = kstrtoul(buf, 10, &val); store_fan_min()
442 err = kstrtoul(buf, 10, &val); store_vrm_reg()
510 err = kstrtoul(buf, 10, &val); store_beep_mask()
551 err = kstrtoul(buf, 10, &bit); store_beep()
660 err = kstrtoul(buf, 10, &val); store_fan_div()
727 err = kstrtoul(buf, 10, &val); store_pwm()
747 err = kstrtoul(buf, 10, &val); store_pwm2_enable()
803 err = kstrtoul(buf, 10, &val); store_sensor()
H A Dw83793.c352 err = kstrtoul(buf, 10, &val); store_vrm()
399 err = kstrtoul(buf, 10, &val); store_beep()
432 err = kstrtoul(buf, 10, &val); store_beep_enable()
461 err = kstrtoul(buf, 10, &val); store_chassis_clear()
507 err = kstrtoul(buf, 10, &val); store_fan_min()
553 err = kstrtoul(buf, 10, &val); store_pwm()
672 err = kstrtoul(buf, 10, &val); store_temp_mode()
910 err = kstrtoul(buf, 10, &val); store_sf2_pwm()
999 err = kstrtoul(buf, 10, &val); store_in()
H A Dlm63.c359 err = kstrtoul(buf, 10, &val); set_fan()
405 err = kstrtoul(buf, 10, &val); set_pwm1()
436 err = kstrtoul(buf, 10, &val); set_pwm1_enable()
689 err = kstrtoul(buf, 10, &val); set_update_interval()
717 ret = kstrtoul(buf, 10, &val); set_type()
H A Dnct6775.c1546 err = kstrtoul(buf, 10, &val); store_in_reg()
1627 err = kstrtoul(buf, 10, &val); store_beep()
1676 err = kstrtoul(buf, 10, &val); store_temp_beep()
1786 err = kstrtoul(buf, 10, &val); store_fan_min()
1889 err = kstrtoul(buf, 10, &val); store_fan_pulses()
2060 err = kstrtoul(buf, 10, &val); store_temp_type()
2191 err = kstrtoul(buf, 10, &val); store_pwm_mode()
2252 err = kstrtoul(buf, 10, &val); store_pwm()
2351 err = kstrtoul(buf, 10, &val); store_pwm_enable()
2422 err = kstrtoul(buf, 10, &val); store_pwm_temp_sel()
2464 err = kstrtoul(buf, 10, &val); store_pwm_weight_temp_sel()
2511 err = kstrtoul(buf, 10, &val); store_target_temp()
2548 err = kstrtoul(buf, 10, &val); store_target_speed()
2585 err = kstrtoul(buf, 10, &val); store_temp_tolerance()
2644 err = kstrtoul(buf, 10, &val); store_speed_tolerance()
2708 err = kstrtoul(buf, 10, &val); store_weight_temp()
2758 err = kstrtoul(buf, 10, &val); store_fan_time()
2791 err = kstrtoul(buf, 10, &val); store_auto_pwm()
2873 err = kstrtoul(buf, 10, &val); store_auto_temp()
3054 if (kstrtoul(buf, 10, &val) || val != 0) clear_caseopen()
H A Dnct7802.c244 err = kstrtoul(buf, 10, &val); store_in()
321 err = kstrtoul(buf, 10, &val); store_fan_min()
369 err = kstrtoul(buf, 10, &val); store_beep()
H A Dsmsc47m192.c218 err = kstrtoul(buf, 10, &val); set_in_min()
240 err = kstrtoul(buf, 10, &val); set_in_max()
424 err = kstrtoul(buf, 10, &val); set_vrm()
H A Dacpi_power_meter.c165 res = kstrtoul(buf, 10, &temp); set_avg_interval()
236 res = kstrtoul(buf, 10, &temp); set_cap()
306 res = kstrtoul(buf, 10, &temp); set_trip()
H A Dlm85.c582 err = kstrtoul(buf, 10, &val); set_fan_min()
639 err = kstrtoul(buf, 10, &val); store_vrm_reg()
706 err = kstrtoul(buf, 10, &val); set_pwm()
749 err = kstrtoul(buf, 10, &val); set_pwm_enable()
806 err = kstrtoul(buf, 10, &val); set_pwm_freq()
1065 err = kstrtoul(buf, 10, &val); set_pwm_auto_pwm_min()
H A Dina2xx.c339 status = kstrtoul(buf, 10, &val); ina2xx_set_shunt()
366 status = kstrtoul(buf, 10, &val); ina226_set_interval()
H A Dltc2945.c254 ret = kstrtoul(buf, 10, &val); ltc2945_set_value()
289 ret = kstrtoul(buf, 10, &val); ltc2945_reset_history()
H A Dnct7904.c391 if (kstrtoul(buf, 10, &val) < 0) store_pwm()
424 if (kstrtoul(buf, 10, &val) < 0) store_enable()
H A Dlm73.c109 err = kstrtoul(buf, 10, &convrate); set_convrate()
H A Dlm78.c191 err = kstrtoul(buf, 10, &val); set_in_min()
211 err = kstrtoul(buf, 10, &val); set_in_max()
332 err = kstrtoul(buf, 10, &val); set_fan_min()
368 err = kstrtoul(buf, 10, &val); set_fan_div()
H A Dmax6642.c236 err = kstrtoul(buf, 10, &val); set_temp_max()
H A Dpwm-fan.c88 if (kstrtoul(buf, 10, &pwm) || pwm > MAX_PWM) set_pwm()
H A Dsis5595.c261 err = kstrtoul(buf, 10, &val); set_in_min()
281 err = kstrtoul(buf, 10, &val); set_in_max()
400 err = kstrtoul(buf, 10, &val); set_fan_min()
437 err = kstrtoul(buf, 10, &val); set_fan_div()
H A Dultra45_env.c124 err = kstrtoul(buf, 10, &rpm); set_fan_speed()
H A Dvia686a.c390 err = kstrtoul(buf, 10, &val); set_in_min()
409 err = kstrtoul(buf, 10, &val); set_in_max()
539 err = kstrtoul(buf, 10, &val); set_fan_min()
558 err = kstrtoul(buf, 10, &val); set_fan_div()
H A Dvt1211.c540 err = kstrtoul(buf, 10, &val); set_fan()
646 err = kstrtoul(buf, 10, &val); set_pwm()
846 err = kstrtoul(buf, 10, &val); set_pwm_auto_point_pwm()
878 err = kstrtoul(buf, 10, &val); set_vrm()
H A Dadcxx.c128 if (kstrtoul(buf, 10, &value)) adcxx_set_max()
H A Dadt7411.c202 ret = kstrtoul(buf, 0, &flag); adt7411_set_bit()
H A Dabituguru.c850 ret = kstrtoul(buf, 10, &val); store_bank1_setting()
883 ret = kstrtoul(buf, 10, &val); store_bank2_setting()
975 ret = kstrtoul(buf, 10, &mask); store_bank1_mask()
1008 ret = kstrtoul(buf, 10, &mask); store_bank2_mask()
1051 ret = kstrtoul(buf, 10, &val); store_pwm_setting()
1120 ret = kstrtoul(buf, 10, &val); store_pwm_sensor()
1165 ret = kstrtoul(buf, 10, &user_val); store_pwm_enable()
H A Df71805f.c704 err = kstrtoul(buf, 10, &val); set_pwm()
731 err = kstrtoul(buf, 10, &val); set_pwm_enable()
780 err = kstrtoul(buf, 10, &val); set_pwm_freq()
816 err = kstrtoul(buf, 10, &val); set_pwm_auto_point_temp()
853 err = kstrtoul(buf, 10, &val); set_pwm_auto_point_fan()
H A Dlm80.c336 int err = kstrtoul(buf, 10, &val); set_fan_min()
363 int err = kstrtoul(buf, 10, &val); set_fan_div()
H A Dlm95234.c265 ret = kstrtoul(buf, 10, &val); set_type()
477 ret = kstrtoul(buf, 10, &val); set_interval()
H A Dw83627ehf.c963 err = kstrtoul(buf, 10, &val); \
1080 err = kstrtoul(buf, 10, &val); store_fan_min()
1401 err = kstrtoul(buf, 10, &val); store_pwm_mode()
1433 err = kstrtoul(buf, 10, &val); store_pwm()
1458 err = kstrtoul(buf, 10, &val); store_pwm_enable()
1638 err = kstrtoul(buf, 10, &val); \
1677 err = kstrtoul(buf, 10, &val); \
1784 if (kstrtoul(buf, 10, &val) || val != 0) clear_caseopen()
H A Dds1621.c297 err = kstrtoul(buf, 10, &convrate); set_convrate()
H A Dthmc50.c148 err = kstrtoul(buf, 10, &tmp); set_analog_out()
H A Dapplesmc.c834 if (kstrtoul(sysfsbuf, 10, &speed) < 0 || speed >= 0x4000) applesmc_store_fan_speed()
874 if (kstrtoul(sysfsbuf, 10, &input) < 0) applesmc_store_fan_manual()
1029 if (kstrtoul(sysfsbuf, 10, &newkey) < 0 applesmc_key_at_index_store()
H A Dpc87427.c433 if (kstrtoul(buf, 10, &val) < 0) set_fan_min()
591 if (kstrtoul(buf, 10, &val) < 0 || val > 2) set_pwm_enable()
623 if (kstrtoul(buf, 10, &val) < 0 || val > 0xff) set_pwm()
H A Dfschmd.c451 err = kstrtoul(buf, 10, &v); store_fan_div()
538 err = kstrtoul(buf, 10, &v); store_pwm_auto_point1_pwm()
583 err = kstrtoul(buf, 10, &v); store_alert_led()
H A Demc6w201.c293 err = kstrtoul(buf, 10, &val); set_fan()
H A Df71882fg.c1382 err = kstrtoul(buf, 10, &val); store_fan_beep()
1469 err = kstrtoul(buf, 10, &val); store_in_beep()
1684 err = kstrtoul(buf, 10, &val); store_temp_beep()
2029 err = kstrtoul(buf, 10, &val); store_pwm_interpolate()
H A Dmax16065.c232 err = kstrtoul(buf, 10, &val); max16065_set_limit()
H A Dabx500.c203 int res = kstrtoul(buf, 10, &val); set_max_hyst()
H A Dadm1021.c271 err = kstrtoul(buf, 10, &val); set_low_power()
H A Dadm1026.c968 err = kstrtoul(buf, 10, &val); set_temp_crit_enable()
1084 err = kstrtoul(buf, 10, &val); store_vrm_reg()
1296 err = kstrtoul(buf, 10, &val); set_auto_pwm_min()
1333 err = kstrtoul(buf, 10, &val); set_pwm_enable()
/linux-4.1.27/drivers/leds/
H A Dled-class-flash.c55 ret = kstrtoul(buf, 10, &state); flash_brightness_store()
107 ret = kstrtoul(buf, 10, &state); flash_strobe_store()
157 ret = kstrtoul(buf, 10, &flash_timeout); flash_timeout_store()
H A Dleds-lp55xx-common.c101 if (kstrtoul(buf, 0, &curr)) lp55xx_store_current()
249 if (kstrtoul(buf, 0, &val)) lp55xx_store_engine_select()
290 if (kstrtoul(buf, 0, &val)) lp55xx_store_engine_run()
H A Dled-class.c52 ret = kstrtoul(buf, 10, &state); brightness_store()
H A Dleds-ns2.c153 ret = kstrtoul(buff, 10, &enable); ns2_led_sata_store()
H A Dleds-bd2802.c331 ret = kstrtoul(buf, 16, &val); \
495 ret = kstrtoul(buf, 16, &val); \
H A Dleds-netxbig.c245 ret = kstrtoul(buff, 10, &enable); netxbig_led_sata_store()
H A Dleds-lp5562.c414 ret = kstrtoul(buf, 0, &mode); lp5562_store_pattern()
H A Dleds-ss4200.c461 ret = kstrtoul(buf, 10, &blink_state); nas_led_blink_store()
/linux-4.1.27/drivers/rtc/
H A Drtc-pcf2123.c98 ret = kstrtoul(r->name, 16, &reg); pcf2123_show()
122 ret = kstrtoul(r->name, 16, &reg); pcf2123_store()
126 ret = kstrtoul(buffer, 10, &val); pcf2123_store()
/linux-4.1.27/drivers/target/iscsi/
H A Discsi_target_auth.c322 ret = kstrtoul(&identifier[2], 0, &id); chap_server_compute_md5()
324 ret = kstrtoul(identifier, 0, &id); chap_server_compute_md5()
327 pr_err("kstrtoul() failed for CHAP identifier: %d\n", ret); chap_server_compute_md5()
H A Discsi_target_configfs.c263 ret = kstrtoul(port_str, 0, &port); lio_target_call_addnptotpg()
265 pr_err("kstrtoul() failed for port_str: %d\n", ret); lio_target_call_addnptotpg()
288 ret = kstrtoul(port_str, 0, &port); lio_target_call_addnptotpg()
290 pr_err("kstrtoul() failed for port_str: %d\n", ret); lio_target_call_addnptotpg()
/linux-4.1.27/drivers/acpi/
H A Dacpi_pad.c277 if (kstrtoul(buf, 0, &num)) acpi_pad_rrtime_store()
300 if (kstrtoul(buf, 0, &num)) acpi_pad_idlepct_store()
323 if (kstrtoul(buf, 0, &num)) acpi_pad_idlecpus_store()
H A Dsysfs.c600 else if (!kstrtoul(buf, 0, &tmp)) counter_set()
615 else if (!kstrtoul(buf, 0, &tmp)) counter_set()
/linux-4.1.27/drivers/hid/
H A Dhid-roccat-arvo.c62 retval = kstrtoul(buf, 10, &state); arvo_sysfs_set_mode_key()
112 retval = kstrtoul(buf, 10, &key_mask); arvo_sysfs_set_key_mask()
166 retval = kstrtoul(buf, 10, &profile); arvo_sysfs_set_actual_profile()
H A Dhid-ntrig.c241 if (kstrtoul(buf, 0, &val)) set_min_width()
276 if (kstrtoul(buf, 0, &val)) set_min_height()
310 if (kstrtoul(buf, 0, &val)) set_activate_slack()
345 if (kstrtoul(buf, 0, &val)) set_activation_width()
381 if (kstrtoul(buf, 0, &val)) set_activation_height()
415 if (kstrtoul(buf, 0, &val)) set_deactivate_slack()
H A Dhid-roccat-kone.c482 retval = kstrtoul(buf, 10, &state); kone_sysfs_set_tcu()
572 retval = kstrtoul(buf, 10, &new_startup_profile); kone_sysfs_set_startup_profile()
H A Dhid-roccat-isku.c85 retval = kstrtoul(buf, 10, &profile); isku_sysfs_set_actual_profile()
H A Dhid-magicmouse.c39 if (!val || kstrtoul(val, 0, &speed) || speed > 63) param_set_scroll_speed()
H A Dhid-roccat-koneplus.c270 retval = kstrtoul(buf, 10, &profile); koneplus_sysfs_set_actual_profile()
H A Dhid-roccat-kovaplus.c298 retval = kstrtoul(buf, 10, &profile); kovaplus_sysfs_set_actual_profile()
/linux-4.1.27/drivers/macintosh/ams/
H A Dams-input.c123 ret = kstrtoul(buf, 0, &enable); ams_input_store_joystick()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dcommon-spectral.c387 if (kstrtoul(buf, 0, &val)) write_file_spectral_short_repeat()
435 if (kstrtoul(buf, 0, &val)) write_file_spectral_count()
483 if (kstrtoul(buf, 0, &val)) write_file_spectral_period()
531 if (kstrtoul(buf, 0, &val)) write_file_spectral_fft_period()
H A Ddebug.c112 if (kstrtoul(buf, 0, &mask)) write_file_debug()
202 if (kstrtoul(buf, 0, &ani)) write_file_ani()
262 if (kstrtoul(buf, 0, &bt_ant_diversity)) write_file_bt_ant_diversity()
848 if (kstrtoul(buf, 0, &regidx)) write_file_regidx()
893 if (kstrtoul(buf, 0, &regval)) write_file_regval()
1085 if (kstrtoul(buf, 0, &val)) write_file_wow()
1149 if (kstrtoul(buf, 0, &val)) write_file_tpc()
H A Ddfs_debug.c110 if (kstrtoul(buf, 0, &val)) write_file_dfs()
H A Dhtc_drv_debug.c386 if (kstrtoul(buf, 0, &mask)) write_file_debug()
/linux-4.1.27/drivers/s390/scsi/
H A Dzfcp_sysfs.c108 if (kstrtoul(buf, 0, &val) || val != 0) zfcp_sysfs_port_failed_store()
147 if (kstrtoul(buf, 0, &val) || val != 0) zfcp_sysfs_unit_failed_store()
197 if (kstrtoul(buf, 0, &val) || val != 0) { zfcp_sysfs_adapter_failed_store()
486 if (kstrtoul(buf, 0, &val) || val != 0) zfcp_sysfs_scsi_zfcp_failed_store()
/linux-4.1.27/arch/mips/alchemy/
H A Dboard-xxs1500.c52 if (!memsize_str || kstrtoul(memsize_str, 0, &memsize)) prom_init()
H A Dboard-gpr.c56 if (!memsize_str || kstrtoul(memsize_str, 0, &memsize)) prom_init()
H A Dboard-mtx1.c55 if (!memsize_str || kstrtoul(memsize_str, 0, &memsize)) prom_init()
/linux-4.1.27/arch/mips/kernel/
H A Dvpe-cmp.c55 ret = kstrtoul(buf, 0, &new); ntcs_store()
H A Dvpe-mt.c294 ret = kstrtoul(buf, 0, &new); ntcs_store()
/linux-4.1.27/drivers/video/backlight/
H A Dadp5520_bl.c167 ret = kstrtoul(buf, 10, &val); adp5520_store()
221 ret = kstrtoul(buf, 10, &data->cached_daylight_max); adp5520_bl_daylight_max_store()
H A Dlcd.c115 rc = kstrtoul(buf, 0, &power); lcd_power_store()
154 rc = kstrtoul(buf, 0, &contrast); contrast_store()
H A Dadp8860_bl.c453 ret = kstrtoul(buf, 10, &val); adp8860_store()
503 int ret = kstrtoul(buf, 10, &data->cached_daylight_max); adp8860_bl_l1_daylight_max_store()
611 ret = kstrtoul(buf, 10, &val); adp8860_bl_ambient_light_zone_store()
H A Dbacklight.c139 rc = kstrtoul(buf, 0, &power); bl_power_store()
174 rc = kstrtoul(buf, 0, &brightness); brightness_store()
H A Dlm3533_bl.c173 if (kstrtoul(buf, 0, &linear)) store_linear()
H A Dsky81452-backlight.c89 ret = kstrtoul(buf, 16, &value); sky81452_bl_store_enable()
H A Dadp8870_bl.c574 ret = kstrtoul(buf, 10, &val); adp8870_store()
654 int ret = kstrtoul(buf, 10, &data->cached_daylight_max); adp8870_bl_l1_daylight_max_store()
797 ret = kstrtoul(buf, 10, &val); adp8870_bl_ambient_light_zone_store()
/linux-4.1.27/kernel/trace/
H A Dtrace_probe.c238 if (kstrtoul(type, 0, &bs)) find_fetch_type()
306 /* skip sign because kstrtoul doesn't accept '+' */ traceprobe_split_symbol_offset()
307 ret = kstrtoul(tmp + 1, 0, offset); traceprobe_split_symbol_offset()
342 ret = kstrtoul(arg + 5, 10, &param); parse_probe_vars()
383 ret = kstrtoul(arg + 1, 0, &param); parse_probe_arg()
/linux-4.1.27/drivers/pci/
H A Dpci-sysfs.c71 if (kstrtoul(buf, 0, &val) < 0) broken_parity_status_store()
174 ssize_t result = kstrtoul(buf, 0, &val); enable_store()
273 if (kstrtoul(buf, 0, &val) < 0) msi_bus_store()
308 if (kstrtoul(buf, 0, &val) < 0) bus_rescan_store()
342 if (kstrtoul(buf, 0, &val) < 0) dev_rescan_store()
361 if (kstrtoul(buf, 0, &val) < 0) remove_store()
379 if (kstrtoul(buf, 0, &val) < 0) dev_bus_rescan_store()
402 if (kstrtoul(buf, 0, &val) < 0) d3cold_allowed_store()
1300 ssize_t result = kstrtoul(buf, 0, &val); reset_store()
/linux-4.1.27/kernel/power/
H A Dmain.c62 if (kstrtoul(buf, 10, &val)) pm_async_store()
259 if (kstrtoul(buf, 10, &val)) pm_print_times_store()
575 if (kstrtoul(buf, 10, &val)) pm_freeze_timeout_store()
/linux-4.1.27/drivers/ssb/
H A Dsprom.c57 err = kstrtoul(tmp, 16, &parsed); hex2sprom()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Dsysfs.c53 ret = kstrtoul(buf, 10, &res); wl1271_sysfs_store_bt_coex_state()
/linux-4.1.27/arch/arm/mach-w90x900/
H A Dcpu.c181 if (kstrtoul(str, 0, &cpufreq)) nuc900_set_cpufreq()
/linux-4.1.27/kernel/
H A Dksysfs.c120 if (kstrtoul(buf, 0, &cnt)) kexec_crash_size_store()
/linux-4.1.27/drivers/target/
H A Dtarget_core_configfs.c1786 ret = kstrtoul(page, 0, &lu_gp_id); target_core_alua_lu_gp_store_attr_lu_gp_id()
1788 pr_err("kstrtoul() returned %d for" target_core_alua_lu_gp_store_attr_lu_gp_id()
1987 ret = kstrtoul(page, 0, &tmp); target_core_alua_tg_pt_gp_store_attr_alua_access_state()
2041 ret = kstrtoul(page, 0, &tmp); target_core_alua_tg_pt_gp_store_attr_alua_access_status()
2108 ret = kstrtoul(p, 0, &tmp); \
2185 ret = kstrtoul(page, 0, &tmp); target_core_alua_tg_pt_gp_store_attr_alua_write_metadata()
2309 ret = kstrtoul(page, 0, &tg_pt_gp_id); target_core_alua_tg_pt_gp_store_attr_tg_pt_gp_id()
2311 pr_err("kstrtoul() returned %d for" target_core_alua_tg_pt_gp_store_attr_tg_pt_gp_id()
2723 ret = kstrtoul(page, 0, &mode_flag); target_core_hba_store_attr_hba_mode()
2814 ret = kstrtoul(str, 0, &plugin_dep_id); target_core_call_addhbatotarget()
2816 pr_err("kstrtoul() returned %d for" target_core_call_addhbatotarget()
H A Dtarget_core_alua.c2125 ret = kstrtoul(page, 0, &tmp); core_alua_store_access_type()
2163 ret = kstrtoul(page, 0, &tmp); core_alua_store_nonop_delay_msecs()
2194 ret = kstrtoul(page, 0, &tmp); core_alua_store_trans_delay_msecs()
2225 ret = kstrtoul(page, 0, &tmp); core_alua_store_implicit_trans_secs()
2256 ret = kstrtoul(page, 0, &tmp); core_alua_store_preferred_bit()
2291 ret = kstrtoul(page, 0, &tmp); core_alua_store_offline_bit()
2330 ret = kstrtoul(page, 0, &tmp); core_alua_store_secondary_status()
2363 ret = kstrtoul(page, 0, &tmp); core_alua_store_secondary_write_metadata()
H A Dtarget_core_user.c986 ret = kstrtoul(arg_p, 0, (unsigned long *) &udev->dev_size); tcmu_set_configfs_dev_params()
989 pr_err("kstrtoul() failed for dev_size=\n"); tcmu_set_configfs_dev_params()
997 ret = kstrtoul(arg_p, 0, &tmp_ul); tcmu_set_configfs_dev_params()
1000 pr_err("kstrtoul() failed for hw_block_size=\n"); tcmu_set_configfs_dev_params()
H A Dtarget_core_iblock.c579 ret = kstrtoul(arg_p, 0, &tmp_readonly); iblock_set_configfs_dev_params()
582 pr_err("kstrtoul() failed for" iblock_set_configfs_dev_params()
H A Dtarget_core_fabric_configfs.c208 ret = kstrtoul(page, 0, &op); target_fabric_mappedlun_store_write_protect()
369 ret = kstrtoul(buf + 4, 0, &mapped_lun); target_fabric_make_mappedlun()
898 errno = kstrtoul(name + 4, 0, &unpacked_lun); target_fabric_make_lun()
/linux-4.1.27/drivers/mfd/
H A Daat2870-core.c306 ret = kstrtoul(start, 16, &addr); aat2870_reg_write_file()
318 ret = kstrtoul(start, 16, &val); aat2870_reg_write_file()
/linux-4.1.27/drivers/misc/mic/host/
H A Dmic_sysfs.c394 ret = kstrtoul(buf, 16, &addr); log_buf_addr_store()
428 ret = kstrtoul(buf, 16, &addr); log_buf_len_store()
/linux-4.1.27/drivers/usb/misc/
H A Dlvstest.c192 ret = kstrtoul(buf, 10, &val); u2_timeout_store()
221 ret = kstrtoul(buf, 10, &val); u1_timeout_store()
/linux-4.1.27/drivers/power/
H A Dpcf50633-charger.c194 ret = kstrtoul(buf, 10, &ma); set_usblim()
231 ret = kstrtoul(buf, 10, &ma); set_chglim()
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.c919 ret = kstrtoul(page, 0, &val); \
921 pr_err("kstrtoul() failed with" \
1045 rc = kstrtoul(page, 0, &op); tcm_qla2xxx_tpg_store_enable()
1047 pr_err("kstrtoul() returned %d\n", rc); tcm_qla2xxx_tpg_store_enable()
1098 int ret = kstrtoul(page, 0, &val); tcm_qla2xxx_tpg_store_fabric_prot_type()
1101 pr_err("kstrtoul() returned %d for fabric_prot_type\n", ret); tcm_qla2xxx_tpg_store_fabric_prot_type()
1144 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > USHRT_MAX) tcm_qla2xxx_make_tpg()
1222 rc = kstrtoul(page, 0, &op); tcm_qla2xxx_npiv_tpg_store_enable()
1224 pr_err("kstrtoul() returned %d\n", rc); tcm_qla2xxx_npiv_tpg_store_enable()
1268 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > USHRT_MAX) tcm_qla2xxx_npiv_make_tpg()
/linux-4.1.27/drivers/staging/olpc_dcon/
H A Dolpc_dcon.c442 rc = kstrtoul(buf, 10, &enable_mono); dcon_mono_store()
458 ret = kstrtoul(buf, 10, &output); dcon_freeze_store()
503 ret = kstrtoul(buf, 10, &output); dcon_sleep_store()
/linux-4.1.27/security/integrity/ima/
H A Dima_policy.c619 result = kstrtoul(args[0].from, 16, &entry->fsmagic); ima_parse_rule()
648 result = kstrtoul(args[0].from, 10, &lnum); ima_parse_rule()
668 result = kstrtoul(args[0].from, 10, &lnum); ima_parse_rule()
/linux-4.1.27/sound/pci/hda/
H A Dhda_sysfs.c172 int err = kstrtoul(buf, 0, &val); \
482 else if (kstrtoul(p, 0, &val)) snd_hda_get_int_hint()
599 if (!kstrtoul(buf, 0, &val)) \
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Dspectral.c390 if (kstrtoul(buf, 0, &val)) write_file_spectral_count()
445 if (kstrtoul(buf, 0, &val)) write_file_spectral_bins()
/linux-4.1.27/drivers/staging/iio/adc/
H A Dad7606_core.c127 ret = kstrtoul(buf, 10, &lval); ad7606_store_range()
176 ret = kstrtoul(buf, 10, &lval); ad7606_store_oversampling_ratio()
H A Dad7816.c178 ret = kstrtoul(buf, 10, &data); ad7816_store_channel()
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/
H A Dmce_amd.c362 if (kstrtoul(buf, 0, &new) < 0) store_interrupt_enable()
381 if (kstrtoul(buf, 0, &new) < 0) store_threshold_limit()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sysfs.c53 if (kstrtoul(buf, 2, &new)) qlcnic_store_bridged_mode()
83 if (kstrtoul(buf, 2, &new)) qlcnic_store_diag_mode()
130 if (kstrtoul(buf, 2, &h_beacon)) qlcnic_83xx_store_beacon()
1138 ret = kstrtoul(buf, 16, &data); qlcnic_83xx_sysfs_flash_write_handler()
/linux-4.1.27/drivers/staging/iio/frequency/
H A Dad9832.c84 ret = kstrtoul(buf, 10, &val); ad9832_write()
H A Dad9834.c76 ret = kstrtoul(buf, 10, &val); ad9834_write()
/linux-4.1.27/drivers/staging/iio/
H A Diio_dummy_evgen.c167 ret = kstrtoul(buf, 10, &event); iio_evgen_poke()
/linux-4.1.27/drivers/s390/block/
H A Ddasd_devmap.c933 if ((kstrtoul(buf, 10, &val) != 0) || val > 1) dasd_use_raw_store()
1228 if ((kstrtoul(buf, 10, &val) != 0) || dasd_expires_store()
1268 if ((kstrtoul(buf, 10, &val) != 0) || dasd_retries_store()
1310 if ((kstrtoul(buf, 10, &val) != 0) || dasd_timeout_store()
/linux-4.1.27/drivers/input/touchscreen/
H A Dili210x.c158 if (kstrtoul(buf, 10, &calibrate)) ili210x_calibrate()
/linux-4.1.27/arch/x86/kvm/
H A Dmmu_audit.c276 ret = kstrtoul(val, 10, &enable); mmu_audit_set()
/linux-4.1.27/drivers/platform/chrome/
H A Dcros_ec_lightbar.c54 if (kstrtoul(buf, 0, &msec)) interval_msec_store()
/linux-4.1.27/arch/s390/kernel/
H A Dvdso.c64 rc = kstrtoul(s, 0, &val); vdso_setup()
/linux-4.1.27/arch/powerpc/kvm/
H A Dbook3s_hv_builtin.c48 return kstrtoul(p, 0, &kvm_cma_resv_ratio); early_parse_kvm_cma_resv()
/linux-4.1.27/net/dns_resolver/
H A Ddns_key.c117 ret = kstrtoul(eq, 10, &derrno); dns_resolver_preparse()
/linux-4.1.27/drivers/target/sbp/
H A Dsbp_target.c2186 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > UINT_MAX) sbp_make_tpg()
2318 if (kstrtoul(page, 16, &val) < 0) sbp_tpg_store_directory_id()
2348 if (kstrtoul(page, 0, &val) < 0) sbp_tpg_store_enable()
2410 if (kstrtoul(page, 0, &val) < 0) sbp_tpg_attrib_store_mgt_orb_timeout()
2446 if (kstrtoul(page, 0, &val) < 0) sbp_tpg_attrib_store_max_reconnect_timeout()
2481 if (kstrtoul(page, 0, &val) < 0) sbp_tpg_attrib_store_max_logins_per_lun()
/linux-4.1.27/drivers/scsi/fnic/
H A Dfnic_debugfs.c202 ret = kstrtoul(buf, 10, &val); fnic_trace_ctrl_write()
611 ret = kstrtoul(buf, 10, &val); fnic_reset_stats_write()
/linux-4.1.27/drivers/thermal/
H A Dintel_powerclamp.c105 ret = kstrtoul(arg, 10, &new_duration); duration_set()
153 ret = kstrtoul(arg, 10, &new_window_size); window_size_set()
H A Dthermal_core.c639 if (kstrtoul(buf, 10, &temperature)) trip_point_temp_store()
683 if (kstrtoul(buf, 10, &temperature)) trip_point_hyst_store()
818 if (kstrtoul(buf, 10, &temperature)) emul_temp_store()
/linux-4.1.27/net/ipv4/netfilter/
H A Dipt_CLUSTERIP.c691 rc = kstrtoul(buffer+1, 10, &nodenum); clusterip_proc_write()
697 rc = kstrtoul(buffer+1, 10, &nodenum); clusterip_proc_write()
/linux-4.1.27/drivers/md/
H A Ddm-raid.c510 if ((kstrtoul(argv[0], 10, &value) < 0)) { parse_raid_params()
591 if (kstrtoul(argv[i], 10, &value) < 0) { parse_raid_params()
1231 if (kstrtoul(argv[0], 10, &num_raid_params) < 0) { raid_ctr()
1244 if ((kstrtoul(argv[num_raid_params], 10, &num_raid_devs) < 0) || raid_ctr()
/linux-4.1.27/drivers/iio/proximity/
H A Das3935.c135 ret = kstrtoul((const char *) buf, 10, &val); as3935_sensor_sensitivity_store()
/linux-4.1.27/drivers/net/usb/
H A Dcdc_ncm.c228 if (kstrtoul(buf, 0, &val)) cdc_ncm_store_min_tx_pkt()
241 if (kstrtoul(buf, 0, &val) || cdc_ncm_check_rx_max(dev, val) != val) cdc_ncm_store_rx_max()
254 if (kstrtoul(buf, 0, &val) || cdc_ncm_check_tx_max(dev, val) != val) cdc_ncm_store_tx_max()
268 ret = kstrtoul(buf, 0, &val); cdc_ncm_store_tx_timer_usecs()
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-sysfs.c450 r = kstrtoul(buf, 0, &size); store_size()
/linux-4.1.27/drivers/video/fbdev/
H A Dwm8505fb.c176 if (kstrtoul(buf, 10, &tmp) || (tmp > 0xff)) contrast_store()
/linux-4.1.27/arch/arm/mach-s3c24xx/
H A Dmach-jive.c245 if (kstrtoul(options, 10, &set)) { jive_mtdset()
/linux-4.1.27/lib/
H A Dkstrtox.c340 kstrto_from_user(kstrtoul_from_user, kstrtoul, unsigned long);
/linux-4.1.27/drivers/target/loopback/
H A Dtcm_loop.c939 int ret = kstrtoul(page, 0, &val); tcm_loop_tpg_attrib_store_fabric_prot_type()
942 pr_err("kstrtoul() returned %d for fabric_prot_type\n", ret); tcm_loop_tpg_attrib_store_fabric_prot_type()
1223 if (kstrtoul(name+5, 10, &tpgt)) tcm_loop_make_naa_tpg()
/linux-4.1.27/drivers/media/pci/solo6x10/
H A Dsolo6x10-core.c300 int ret = kstrtoul(buf, 10, &ms); p2m_timeout_store()
/linux-4.1.27/drivers/staging/iio/accel/
H A Dlis3l02dq_core.c341 ret = kstrtoul(buf, 10, &val); lis3l02dq_write_frequency()
/linux-4.1.27/drivers/staging/iio/impedance-analyzer/
H A Dad5933.c327 ret = kstrtoul(buf, 10, &val); ad5933_store_frequency()
/linux-4.1.27/drivers/staging/iio/magnetometer/
H A Dhmc5843_core.c234 ret = kstrtoul(buf, 10, &meas_conf); hmc5843_set_measurement_configuration()
/linux-4.1.27/drivers/s390/cio/
H A Dccwgroup.c140 ret = kstrtoul(buf, 0, &value); ccwgroup_online_store()
/linux-4.1.27/arch/x86/kernel/cpu/microcode/
H A Dcore.c308 ret = kstrtoul(buf, 0, &val); reload_store()
/linux-4.1.27/block/
H A Dblk-sysfs.c34 err = kstrtoul(page, 10, &v); queue_var_store()
/linux-4.1.27/drivers/base/regmap/
H A Dregmap-debugfs.c292 if (kstrtoul(start, 16, &value)) regmap_map_write_file()
/linux-4.1.27/drivers/block/
H A Dosdblk.c601 rc = kstrtoul(buf, 10, &ul); class_osdblk_remove()
/linux-4.1.27/drivers/target/tcm_fc/
H A Dtfc_conf.c315 ret = kstrtoul(name + 5, 10, &index); ft_add_tpg()

Completed in 3668 milliseconds

12