Home
last modified time | relevance | path

Searched refs:kstrtoul (Results 1 – 200 of 358) sorted by relevance

12

/linux-4.4.14/drivers/xen/
Dxen-selfballoon.c270 err = kstrtoul(buf, 10, &tmp); in store_selfballooning()
299 err = kstrtoul(buf, 10, &val); in store_selfballoon_interval()
323 err = kstrtoul(buf, 10, &val); in store_selfballoon_downhys()
348 err = kstrtoul(buf, 10, &val); in store_selfballoon_uphys()
373 err = kstrtoul(buf, 10, &val); in store_selfballoon_min_usable_mb()
399 err = kstrtoul(buf, 10, &val); in store_selfballoon_reserved_mb()
427 err = kstrtoul(buf, 10, &tmp); in store_frontswap_selfshrinking()
456 err = kstrtoul(buf, 10, &val); in store_frontswap_inertia()
481 err = kstrtoul(buf, 10, &val); in store_frontswap_hysteresis()
/linux-4.4.14/drivers/edac/
Damd64_edac_inj.c27 ret = kstrtoul(data, 10, &value); in amd64_inject_section_store()
64 ret = kstrtoul(data, 10, &value); in amd64_inject_word_store()
100 ret = kstrtoul(data, 16, &value); in amd64_inject_ecc_vector_store()
127 ret = kstrtoul(data, 10, &value); in amd64_inject_read_store()
160 ret = kstrtoul(data, 10, &value); in amd64_inject_write_store()
Dedac_module.c27 ret = kstrtoul(buf, 0, &val); in edac_set_debug_level()
Di7core_edac.c707 rc = kstrtoul(data, 10, &value); in i7core_inject_section_store()
744 rc = kstrtoul(data, 10, &value); in i7core_inject_type_store()
784 rc = kstrtoul(data, 10, &value); in i7core_inject_eccmask_store()
833 rc = kstrtoul(data, 10, &value); \
937 rc = kstrtoul(data, 10, &enable); in i7core_inject_enable_store()
Docteon_edac-lmc.c148 if (!kstrtoul(data, 0, &pvt->reg)) \
Dedac_mc_sysfs.c61 ret = kstrtoul(val, 0, &l); in edac_set_poll_msec()
678 if (kstrtoul(data, 10, &bandwidth) < 0) in mci_sdram_scrub_rate_store()
/linux-4.4.14/drivers/hwtracing/coresight/
Dcoresight-etm3x.c493 ret = kstrtoul(buf, 16, &val); in reset_store()
537 ret = kstrtoul(buf, 16, &val); in mode_store()
606 ret = kstrtoul(buf, 16, &val); in trigger_event_store()
634 ret = kstrtoul(buf, 16, &val); in enable_event_store()
662 ret = kstrtoul(buf, 16, &val); in fifofull_level_store()
690 ret = kstrtoul(buf, 16, &val); in addr_idx_store()
739 ret = kstrtoul(buf, 16, &val); in addr_single_store()
856 ret = kstrtoul(buf, 16, &val); in addr_start_store()
908 ret = kstrtoul(buf, 16, &val); in addr_stop_store()
951 ret = kstrtoul(buf, 16, &val); in addr_acctype_store()
[all …]
Dcoresight-etm4x.c430 if (kstrtoul(buf, 16, &val)) in reset_store()
550 if (kstrtoul(buf, 16, &val)) in mode_store()
711 if (kstrtoul(buf, 16, &val)) in pe_store()
744 if (kstrtoul(buf, 16, &val)) in event_store()
791 if (kstrtoul(buf, 16, &val)) in event_instren_store()
840 if (kstrtoul(buf, 16, &val)) in event_ts_store()
868 if (kstrtoul(buf, 16, &val)) in syncfreq_store()
896 if (kstrtoul(buf, 16, &val)) in cyc_threshold_store()
924 if (kstrtoul(buf, 16, &val)) in bb_ctrl_store()
960 if (kstrtoul(buf, 16, &val)) in event_vinst_store()
[all …]
Dcoresight.c401 ret = kstrtoul(buf, 10, &val); in enable_sink_store()
431 ret = kstrtoul(buf, 10, &val); in enable_source_store()
Dcoresight-funnel.c129 ret = kstrtoul(buf, 16, &val); in priority_store()
/linux-4.4.14/drivers/crypto/qat/qat_common/
Dqat_crypto.c177 if (kstrtoul(val, 0, &num_inst)) in qat_crypto_create_instances()
194 if (kstrtoul(val, 10, &bank)) in qat_crypto_create_instances()
200 if (kstrtoul(val, 10, &num_msg_sym)) in qat_crypto_create_instances()
209 if (kstrtoul(val, 10, &num_msg_asym)) in qat_crypto_create_instances()
/linux-4.4.14/arch/avr32/kernel/
Dcpu.c44 ret = kstrtoul(buf, 0, &val); in store_pc0event()
68 ret = kstrtoul(buf, 0, &val); in store_pc0count()
91 ret = kstrtoul(buf, 0, &val); in store_pc1event()
115 ret = kstrtoul(buf, 0, &val); in store_pc1count()
138 ret = kstrtoul(buf, 0, &val); in store_pccycles()
161 ret = kstrtoul(buf, 0, &val); in store_pcenable()
/linux-4.4.14/drivers/misc/
Dspear13xx_pcie_gadget.c323 ret = kstrtoul(buf, 0, &to_target(item)->requested_msi); in pcie_gadget_no_of_msi_store()
340 ret = kstrtoul(buf, 0, &en); in pcie_gadget_inta_store()
363 ret = kstrtoul(buf, 0, &vector); in pcie_gadget_send_msi_store()
406 ret = kstrtoul(buf, 0, &id); in pcie_gadget_vendor_id_store()
430 ret = kstrtoul(buf, 0, &id); in pcie_gadget_device_id_store()
453 ret = kstrtoul(buf, 0, &size); in pcie_gadget_bar0_size_store()
502 ret = kstrtoul(buf, 0, &address); in pcie_gadget_bar0_address_store()
530 ret = kstrtoul(buf, 0, &offset); in pcie_gadget_bar0_rw_offset_store()
562 ret = kstrtoul(buf, 0, &data); in pcie_gadget_bar0_data_store()
Disl29003.c210 ret = kstrtoul(buf, 10, &val); in isl29003_store_range()
245 ret = kstrtoul(buf, 10, &val); in isl29003_store_resolution()
277 ret = kstrtoul(buf, 10, &val); in isl29003_store_mode()
312 ret = kstrtoul(buf, 10, &val); in isl29003_store_power_state()
Dbh1770glc.c654 ret = kstrtoul(buf, 0, &value); in bh1770_power_state_store()
732 ret = kstrtoul(buf, 0, &value); in bh1770_prox_enable_store()
832 ret = kstrtoul(buf, 0, &value); in bh1770_set_prox_rate_above()
850 ret = kstrtoul(buf, 0, &value); in bh1770_set_prox_rate_below()
875 ret = kstrtoul(buf, 0, &value); in bh1770_set_prox_thres()
907 ret = kstrtoul(buf, 0, &value); in bh1770_prox_persistence_store()
934 ret = kstrtoul(buf, 0, &value); in bh1770_prox_abs_thres_store()
981 ret = kstrtoul(buf, 0, &value); in bh1770_lux_calib_store()
1030 ret = kstrtoul(buf, 0, &rate_hz); in bh1770_set_lux_rate()
1069 ret = kstrtoul(buf, 0, &thresh); in bh1770_set_lux_thresh()
Dti_dac7512.c35 ret = kstrtoul(buf, 10, &val); in dac7512_store_val()
Dapds990x.c701 ret = kstrtoul(buf, 0, &value); in apds990x_lux_calib_store()
764 ret = kstrtoul(buf, 0, &value); in apds990x_rate_store()
821 ret = kstrtoul(buf, 0, &value); in apds990x_prox_enable_store()
903 ret = kstrtoul(buf, 0, &thresh); in apds990x_set_lux_thresh()
968 ret = kstrtoul(buf, 0, &value); in apds990x_prox_threshold_store()
1003 ret = kstrtoul(buf, 0, &value); in apds990x_power_state_store()
Dhmc6352.c48 ret = kstrtoul(buf, 10, &val); in compass_store()
Disl29020.c92 ret_val = kstrtoul(buf, 10, &val); in als_sensing_range_store()
Dbh1780gli.c111 error = kstrtoul(buf, 0, &val); in bh1780_store_power_state()
Dapds9802als.c128 ret_val = kstrtoul(buf, 10, &val); in als_sensing_range_store()
Dbmp085.c313 int err = kstrtoul(buf, 10, &oversampling); in set_oversampling()
/linux-4.4.14/drivers/leds/trigger/
Dledtrig-oneshot.c59 ret = kstrtoul(buf, 0, &state); in led_invert_store()
88 ret = kstrtoul(buf, 0, &state); in led_delay_on_store()
111 ret = kstrtoul(buf, 0, &state); in led_delay_off_store()
Dledtrig-transient.c64 ret = kstrtoul(buf, 10, &state); in transient_activate_store()
116 ret = kstrtoul(buf, 10, &state); in transient_duration_store()
143 ret = kstrtoul(buf, 10, &state); in transient_state_store()
Dledtrig-timer.c36 ret = kstrtoul(buf, 10, &state); in led_delay_on_store()
61 ret = kstrtoul(buf, 10, &state); in led_delay_off_store()
Dledtrig-backlight.c81 ret = kstrtoul(buf, 10, &invert); in bl_trig_invert_store()
Dledtrig-heartbeat.c105 ret = kstrtoul(buf, 0, &state); in led_invert_store()
Dledtrig-gpio.c113 ret = kstrtoul(buf, 10, &inverted); in gpio_trig_inverted_store()
/linux-4.4.14/drivers/hwtracing/intel_th/
Dpti.c70 ret = kstrtoul(buf, 10, &val); in mode_store()
102 ret = kstrtoul(buf, 10, &val); in freerunning_clock_store()
130 ret = kstrtoul(buf, 10, &val); in clock_divider_store()
/linux-4.4.14/drivers/platform/x86/
Dintel-rst.c55 error = kstrtoul(buf, 0, &value); in irst_store_wakeup_events()
101 error = kstrtoul(buf, 0, &value); in irst_store_wakeup_time()
Dsony-laptop.c1814 if (kstrtoul(buffer, 10, &value)) in sony_nc_kbd_backlight_mode_store()
1858 if (kstrtoul(buffer, 10, &value)) in sony_nc_kbd_backlight_timeout_store()
1974 if (kstrtoul(buffer, 10, &value)) in sony_nc_battery_care_limit_store()
2311 if (kstrtoul(buffer, 10, &value) || value > 1) in sony_nc_lid_resume_store()
2543 if (kstrtoul(buffer, 10, &value) || value > 1) in sony_nc_highspeed_charging_store()
2617 if (kstrtoul(buffer, 10, &value) || value > 1) in sony_nc_lowbatt_store()
2683 if (kstrtoul(buffer, 10, &value) || value > 1) in sony_nc_hsfan_store()
2790 if (kstrtoul(buffer, 10, &value) || value > 1) in sony_nc_usb_charge_store()
2911 if (kstrtoul(buffer, 10, &value) || value > 1) in sony_nc_smart_conn_store()
2969 if (kstrtoul(buffer, 10, &value) || value > 1) in sony_nc_touchpad_store()
[all …]
Dclassmate-laptop.c243 r = kstrtoul(buf, 0, &sensitivity); in cmpc_accel_sensitivity_store_v4()
292 r = kstrtoul(buf, 0, &g_select); in cmpc_accel_g_select_store_v4()
592 r = kstrtoul(buf, 0, &sensitivity); in cmpc_accel_sensitivity_store()
/linux-4.4.14/arch/x86/kernel/
Dcheck.c33 ret = kstrtoul(arg, 10, &val); in set_corruption_check()
47 ret = kstrtoul(arg, 10, &val); in set_corruption_check_period()
Ddumpstack.c327 ret = kstrtoul(s, 0, &val); in kstack_setup()
343 ret = kstrtoul(s, 0, &val); in code_bytes_setup()
Dearly_printk.c300 if (kstrtoul(s, 0, &baud) < 0 || baud == 0) in early_pci_serial_init()
/linux-4.4.14/drivers/hwmon/
Datxp1.c108 err = kstrtoul(buf, 10, &vcore); in atxp1_storevcore()
183 err = kstrtoul(buf, 16, &value); in atxp1_storegpio1()
229 err = kstrtoul(buf, 16, &value); in atxp1_storegpio2()
Df75375s.c308 err = kstrtoul(buf, 10, &val); in set_fan_min()
328 err = kstrtoul(buf, 10, &val); in set_fan_target()
353 err = kstrtoul(buf, 10, &val); in set_pwm()
449 err = kstrtoul(buf, 10, &val); in set_pwm_enable()
470 err = kstrtoul(buf, 10, &val); in set_pwm_mode()
555 err = kstrtoul(buf, 10, &val); in set_in_max()
576 err = kstrtoul(buf, 10, &val); in set_in_min()
624 err = kstrtoul(buf, 10, &val); in set_temp_max()
645 err = kstrtoul(buf, 10, &val); in set_temp_max_hyst()
Dw83l786ng.c258 int err = kstrtoul(buf, 10, &val); \
313 err = kstrtoul(buf, 10, &val); in store_fan_min()
358 err = kstrtoul(buf, 10, &val); in store_fan_div()
498 err = kstrtoul(buf, 10, &val); in show_pwm_reg()
525 err = kstrtoul(buf, 10, &val); in store_pwm()
550 err = kstrtoul(buf, 10, &val); in store_pwm_enable()
606 err = kstrtoul(buf, 10, &val); in store_tolerance()
Dlm93.c1168 err = kstrtoul(buf, 10, &val); in store_in_min()
1249 err = kstrtoul(buf, 10, &val); in store_in_max()
1477 err = kstrtoul(buf, 10, &val); in store_temp_auto_boost_hyst()
1528 err = kstrtoul(buf, 10, &val); in store_temp_auto_offset()
1641 err = kstrtoul(buf, 10, &val); in store_temp_auto_pwm_min()
1689 err = kstrtoul(buf, 10, &val); in store_temp_auto_offset_hyst()
1749 err = kstrtoul(buf, 10, &val); in store_fan_min()
1832 err = kstrtoul(buf, 10, &val); in store_fan_smart_tach()
1889 err = kstrtoul(buf, 10, &val); in store_pwm()
1937 err = kstrtoul(buf, 10, &val); in store_pwm_enable()
[all …]
Dlm95245.c253 if (kstrtoul(buf, 10, &val) < 0) in set_limit()
290 if (kstrtoul(buf, 10, &val) < 0) in set_crit_hyst()
325 if (kstrtoul(buf, 10, &val) < 0) in set_type()
372 if (kstrtoul(buf, 10, &val) < 0) in set_interval()
Dmax6650.c264 err = kstrtoul(buf, 10, &rpm); in set_target()
332 err = kstrtoul(buf, 10, &pwm); in set_pwm()
379 err = kstrtoul(buf, 10, &mode); in set_enable()
428 err = kstrtoul(buf, 10, &div); in set_div()
Dg762.c782 if (kstrtoul(buf, 10, &val)) in set_pwm_mode()
814 if (kstrtoul(buf, 10, &val)) in set_fan_div()
846 if (kstrtoul(buf, 10, &val)) in set_fan_pulses()
889 if (kstrtoul(buf, 10, &val)) in set_pwm_enable()
921 if (kstrtoul(buf, 10, &val)) in set_pwm()
967 if (kstrtoul(buf, 10, &val)) in set_fan_target()
Dw83795.c745 if (kstrtoul(buf, 10, &val) < 0) in store_beep()
770 if (kstrtoul(buf, 10, &val) < 0 || val != 0) in store_chassis_clear()
816 if (kstrtoul(buf, 10, &val)) in store_fan_min()
878 if (kstrtoul(buf, 10, &val) < 0) in store_pwm()
939 if (kstrtoul(buf, 10, &val) < 0) in store_pwm_enable()
1044 if (kstrtoul(buf, 10, &channel) < 0 || in store_temp_src()
1111 if (kstrtoul(buf, 10, &tmp) < 0) in store_temp_pwm_enable()
1172 if (kstrtoul(buf, 10, &val) < 0) in store_fanin()
1221 if (kstrtoul(buf, 10, &val) < 0) in store_temp_pwm()
1280 if (kstrtoul(buf, 10, &val) < 0) in store_sf4_pwm()
[all …]
Dw83792d.c392 int err = kstrtoul(buf, 10, &val); \
432 err = kstrtoul(buf, 10, &val); in store_fan_min()
476 err = kstrtoul(buf, 10, &val); in store_fan_div()
641 err = kstrtoul(buf, 10, &val); in store_pwm()
667 err = kstrtoul(buf, 10, &val); in store_pwmenable()
718 err = kstrtoul(buf, 10, &val); in store_pwm_mode()
754 if (kstrtoul(buf, 10, &val) || val != 0) in store_chassis_clear()
789 err = kstrtoul(buf, 10, &val); in store_thermal_cruise()
829 err = kstrtoul(buf, 10, &val); in store_tolerance()
875 err = kstrtoul(buf, 10, &val); in store_sf2_point()
[all …]
Dpcf8591.c122 err = kstrtoul(buf, 10, &val); in set_out0_output()
154 err = kstrtoul(buf, 10, &val); in set_out0_enable()
Dmax6639.c210 res = kstrtoul(buf, 10, &val); in set_temp_max()
242 res = kstrtoul(buf, 10, &val); in set_temp_crit()
275 res = kstrtoul(buf, 10, &val); in set_temp_emergency()
307 res = kstrtoul(buf, 10, &val); in set_pwm()
Dasb100.c269 int err = kstrtoul(buf, 10, &val); \
335 err = kstrtoul(buf, 10, &val); in set_fan_min()
363 err = kstrtoul(buf, 10, &val); in set_fan_div()
510 err = kstrtoul(buf, 10, &val); in set_vrm()
568 err = kstrtoul(buf, 10, &val); in set_pwm1()
595 err = kstrtoul(buf, 10, &val); in set_pwm_enable1()
Dgl520sm.c401 err = kstrtoul(buf, 10, &v); in set_fan_min()
440 err = kstrtoul(buf, 10, &v); in set_fan_div()
488 err = kstrtoul(buf, 10, &v); in set_fan_off()
629 err = kstrtoul(buf, 10, &v); in set_beep_enable()
652 err = kstrtoul(buf, 10, &r); in set_beep_mask()
708 err = kstrtoul(buf, 10, &bit); in set_beep()
Dvt8231.c234 err = kstrtoul(buf, 10, &val); in set_in_min()
254 err = kstrtoul(buf, 10, &val); in set_in_max()
300 err = kstrtoul(buf, 10, &val); in set_in5_min()
319 err = kstrtoul(buf, 10, &val); in set_in5_max()
534 err = kstrtoul(buf, 10, &val); in set_fan_min()
557 err = kstrtoul(buf, 10, &val); in set_fan_div()
Dw83627hf.c603 err = kstrtoul(buf, 10, &val); in store_regs_in_min0()
632 err = kstrtoul(buf, 10, &val); in store_regs_in_max0()
685 err = kstrtoul(buf, 10, &val); in store_fan_min()
819 err = kstrtoul(buf, 10, &val); in store_vrm_reg()
878 err = kstrtoul(buf, 10, &val); in store_beep_mask()
919 err = kstrtoul(buf, 10, &bit); in store_beep()
1017 err = kstrtoul(buf, 10, &val); in store_fan_div()
1071 err = kstrtoul(buf, 10, &val); in store_pwm()
1118 err = kstrtoul(buf, 10, &val); in store_pwm_enable()
1164 err = kstrtoul(buf, 10, &val); in store_pwm_freq()
[all …]
Demc1403.c82 if (kstrtoul(buf, 10, &val)) in store_temp()
99 if (kstrtoul(buf, 10, &val)) in store_bit()
154 if (kstrtoul(buf, 10, &val)) in store_hyst()
Dabituguru.c850 ret = kstrtoul(buf, 10, &val); in store_bank1_setting()
883 ret = kstrtoul(buf, 10, &val); in store_bank2_setting()
975 ret = kstrtoul(buf, 10, &mask); in store_bank1_mask()
1008 ret = kstrtoul(buf, 10, &mask); in store_bank2_mask()
1051 ret = kstrtoul(buf, 10, &val); in store_pwm_setting()
1120 ret = kstrtoul(buf, 10, &val); in store_pwm_sensor()
1165 ret = kstrtoul(buf, 10, &user_val); in store_pwm_enable()
Dina2xx.c314 status = kstrtoul(buf, 10, &val); in ina2xx_set_shunt()
341 status = kstrtoul(buf, 10, &val); in ina226_set_interval()
Dnct6775.c1639 err = kstrtoul(buf, 10, &val); in store_in_reg()
1720 err = kstrtoul(buf, 10, &val); in store_beep()
1769 err = kstrtoul(buf, 10, &val); in store_temp_beep()
1879 err = kstrtoul(buf, 10, &val); in store_fan_min()
1982 err = kstrtoul(buf, 10, &val); in store_fan_pulses()
2153 err = kstrtoul(buf, 10, &val); in store_temp_type()
2284 err = kstrtoul(buf, 10, &val); in store_pwm_mode()
2345 err = kstrtoul(buf, 10, &val); in store_pwm()
2444 err = kstrtoul(buf, 10, &val); in store_pwm_enable()
2515 err = kstrtoul(buf, 10, &val); in store_pwm_temp_sel()
[all …]
Dgpio-fan.c208 if (kstrtoul(buf, 10, &pwm) || pwm > 255) in set_pwm()
241 if (kstrtoul(buf, 10, &val) || val > 1) in set_pwm_enable()
298 if (kstrtoul(buf, 10, &rpm)) in set_rpm()
Dadm9240.c342 err = kstrtoul(buf, 10, &val); in set_in_min()
364 err = kstrtoul(buf, 10, &val); in set_in_max()
441 err = kstrtoul(buf, 10, &val); in set_fan_min()
572 if (kstrtoul(buf, 10, &val) || val != 0) in chassis_clear()
Dgl518sm.c320 int err = kstrtoul(buf, 10, &val); \
362 err = kstrtoul(buf, 10, &val); in set_fan_min()
395 err = kstrtoul(buf, 10, &val); in set_fan_div()
495 err = kstrtoul(buf, 10, &bit); in set_beep()
Dw83791d.c392 int err = kstrtoul(buf, 10, &val); \
468 err = kstrtoul(buf, 10, &val); in store_beep()
557 err = kstrtoul(buf, 10, &val); in store_fan_min()
601 err = kstrtoul(buf, 10, &val); in store_fan_div()
743 if (kstrtoul(buf, 10, &val)) in store_pwm()
788 int ret = kstrtoul(buf, 10, &val); in store_pwmenable()
895 if (kstrtoul(buf, 10, &val)) in store_temp_tolerance()
1180 err = kstrtoul(buf, 10, &val); in store_vrm_reg()
Di5k_amb.c161 int ret = kstrtoul(buf, 10, &temp); in store_amb_min()
181 int ret = kstrtoul(buf, 10, &temp); in store_amb_mid()
201 int ret = kstrtoul(buf, 10, &temp); in store_amb_max()
Dw83781d.c280 int err = kstrtoul(buf, 10, &val); \
335 err = kstrtoul(buf, 10, &val); in store_fan_min()
442 err = kstrtoul(buf, 10, &val); in store_vrm_reg()
510 err = kstrtoul(buf, 10, &val); in store_beep_mask()
551 err = kstrtoul(buf, 10, &bit); in store_beep()
660 err = kstrtoul(buf, 10, &val); in store_fan_div()
727 err = kstrtoul(buf, 10, &val); in store_pwm()
747 err = kstrtoul(buf, 10, &val); in store_pwm2_enable()
803 err = kstrtoul(buf, 10, &val); in store_sensor()
Dsis5595.c261 err = kstrtoul(buf, 10, &val); in set_in_min()
281 err = kstrtoul(buf, 10, &val); in set_in_max()
400 err = kstrtoul(buf, 10, &val); in set_fan_min()
437 err = kstrtoul(buf, 10, &val); in set_fan_div()
Dvia686a.c390 err = kstrtoul(buf, 10, &val); in set_in_min()
409 err = kstrtoul(buf, 10, &val); in set_in_max()
539 err = kstrtoul(buf, 10, &val); in set_fan_min()
558 err = kstrtoul(buf, 10, &val); in set_fan_div()
Dmax31790.c217 err = kstrtoul(buf, 10, &rpm); in set_fan_target()
281 err = kstrtoul(buf, 10, &pwm); in set_pwm()
333 err = kstrtoul(buf, 10, &mode); in set_pwm_enable()
Dw83793.c352 err = kstrtoul(buf, 10, &val); in store_vrm()
399 err = kstrtoul(buf, 10, &val); in store_beep()
432 err = kstrtoul(buf, 10, &val); in store_beep_enable()
461 err = kstrtoul(buf, 10, &val); in store_chassis_clear()
507 err = kstrtoul(buf, 10, &val); in store_fan_min()
553 err = kstrtoul(buf, 10, &val); in store_pwm()
672 err = kstrtoul(buf, 10, &val); in store_temp_mode()
910 err = kstrtoul(buf, 10, &val); in store_sf2_pwm()
999 err = kstrtoul(buf, 10, &val); in store_in()
Dlm63.c359 err = kstrtoul(buf, 10, &val); in set_fan()
405 err = kstrtoul(buf, 10, &val); in set_pwm1()
436 err = kstrtoul(buf, 10, &val); in set_pwm1_enable()
689 err = kstrtoul(buf, 10, &val); in set_update_interval()
717 ret = kstrtoul(buf, 10, &val); in set_type()
Dlm95241.c171 if (kstrtoul(buf, 10, &val) < 0) in set_type()
289 if (kstrtoul(buf, 10, &val) < 0) in set_interval()
Dsmsc47m192.c218 err = kstrtoul(buf, 10, &val); in set_in_min()
240 err = kstrtoul(buf, 10, &val); in set_in_max()
424 err = kstrtoul(buf, 10, &val); in set_vrm()
Dltc2945.c254 ret = kstrtoul(buf, 10, &val); in ltc2945_set_value()
289 ret = kstrtoul(buf, 10, &val); in ltc2945_reset_history()
Dlm78.c191 err = kstrtoul(buf, 10, &val); in set_in_min()
211 err = kstrtoul(buf, 10, &val); in set_in_max()
332 err = kstrtoul(buf, 10, &val); in set_fan_min()
368 err = kstrtoul(buf, 10, &val); in set_fan_div()
Dg760a.c149 if (kstrtoul(buf, 10, &val)) in set_pwm()
Dlm85.c582 err = kstrtoul(buf, 10, &val); in set_fan_min()
639 err = kstrtoul(buf, 10, &val); in store_vrm_reg()
706 err = kstrtoul(buf, 10, &val); in set_pwm()
749 err = kstrtoul(buf, 10, &val); in set_pwm_enable()
806 err = kstrtoul(buf, 10, &val); in set_pwm_freq()
1065 err = kstrtoul(buf, 10, &val); in set_pwm_auto_pwm_min()
Dadcxx.c128 if (kstrtoul(buf, 10, &value)) in adcxx_set_max()
Dacpi_power_meter.c165 res = kstrtoul(buf, 10, &temp); in set_avg_interval()
236 res = kstrtoul(buf, 10, &temp); in set_cap()
306 res = kstrtoul(buf, 10, &temp); in set_trip()
Dvt1211.c540 err = kstrtoul(buf, 10, &val); in set_fan()
646 err = kstrtoul(buf, 10, &val); in set_pwm()
846 err = kstrtoul(buf, 10, &val); in set_pwm_auto_point_pwm()
878 err = kstrtoul(buf, 10, &val); in set_vrm()
Dlm73.c109 err = kstrtoul(buf, 10, &convrate); in set_convrate()
Dmax6642.c236 err = kstrtoul(buf, 10, &val); in set_temp_max()
Dnct7904.c391 if (kstrtoul(buf, 10, &val) < 0) in store_pwm()
424 if (kstrtoul(buf, 10, &val) < 0) in store_enable()
Df71805f.c704 err = kstrtoul(buf, 10, &val); in set_pwm()
731 err = kstrtoul(buf, 10, &val); in set_pwm_enable()
780 err = kstrtoul(buf, 10, &val); in set_pwm_freq()
816 err = kstrtoul(buf, 10, &val); in set_pwm_auto_point_temp()
853 err = kstrtoul(buf, 10, &val); in set_pwm_auto_point_fan()
Dw83627ehf.c963 err = kstrtoul(buf, 10, &val); \ in show_in_reg()
1080 err = kstrtoul(buf, 10, &val); in store_fan_min()
1401 err = kstrtoul(buf, 10, &val); in show_pwm_reg()
1433 err = kstrtoul(buf, 10, &val); in store_pwm()
1458 err = kstrtoul(buf, 10, &val); in store_pwm_enable()
1638 err = kstrtoul(buf, 10, &val); \
1677 err = kstrtoul(buf, 10, &val); \
1784 if (kstrtoul(buf, 10, &val) || val != 0) in clear_caseopen()
Dpwm-fan.c88 if (kstrtoul(buf, 10, &pwm) || pwm > MAX_PWM) in set_pwm()
Dapplesmc.c834 if (kstrtoul(sysfsbuf, 10, &speed) < 0 || speed >= 0x4000) in applesmc_store_fan_speed()
874 if (kstrtoul(sysfsbuf, 10, &input) < 0) in applesmc_store_fan_manual()
1029 if (kstrtoul(sysfsbuf, 10, &newkey) < 0 in applesmc_key_at_index_store()
Dds1621.c297 err = kstrtoul(buf, 10, &convrate); in set_convrate()
Dadt7411.c202 ret = kstrtoul(buf, 0, &flag); in adt7411_set_bit()
Dultra45_env.c124 err = kstrtoul(buf, 10, &rpm); in set_fan_speed()
Dlm95234.c265 ret = kstrtoul(buf, 10, &val); in set_type()
477 ret = kstrtoul(buf, 10, &val); in set_interval()
Dlm80.c336 int err = kstrtoul(buf, 10, &val); in set_fan_min()
363 int err = kstrtoul(buf, 10, &val); in set_fan_div()
Dnct7802.c370 err = kstrtoul(buf, 10, &val); in store_in()
447 err = kstrtoul(buf, 10, &val); in store_fan_min()
495 err = kstrtoul(buf, 10, &val); in store_beep()
Dfschmd.c451 err = kstrtoul(buf, 10, &v); in store_fan_div()
538 err = kstrtoul(buf, 10, &v); in store_pwm_auto_point1_pwm()
583 err = kstrtoul(buf, 10, &v); in store_alert_led()
Dpc87427.c433 if (kstrtoul(buf, 10, &val) < 0) in set_fan_min()
591 if (kstrtoul(buf, 10, &val) < 0 || val > 2) in set_pwm_enable()
623 if (kstrtoul(buf, 10, &val) < 0 || val > 0xff) in set_pwm()
Dadm1021.c271 err = kstrtoul(buf, 10, &val); in set_low_power()
Dthmc50.c148 err = kstrtoul(buf, 10, &tmp); in set_analog_out()
Dadm1026.c968 err = kstrtoul(buf, 10, &val); in set_temp_crit_enable()
1084 err = kstrtoul(buf, 10, &val); in store_vrm_reg()
1296 err = kstrtoul(buf, 10, &val); in set_auto_pwm_min()
1333 err = kstrtoul(buf, 10, &val); in set_pwm_enable()
/linux-4.4.14/drivers/iio/trigger/
Diio-trig-sysfs.c37 ret = kstrtoul(buf, 10, &input); in iio_sysfs_trig_add()
56 ret = kstrtoul(buf, 10, &input); in iio_sysfs_trig_remove()
/linux-4.4.14/drivers/rtc/
Drtc-pcf2123.c98 ret = kstrtoul(r->name, 16, &reg); in pcf2123_show()
122 ret = kstrtoul(r->name, 16, &reg); in pcf2123_store()
126 ret = kstrtoul(buffer, 10, &val); in pcf2123_store()
/linux-4.4.14/drivers/hid/
Dhid-ntrig.c241 if (kstrtoul(buf, 0, &val)) in set_min_width()
276 if (kstrtoul(buf, 0, &val)) in set_min_height()
310 if (kstrtoul(buf, 0, &val)) in set_activate_slack()
345 if (kstrtoul(buf, 0, &val)) in set_activation_width()
381 if (kstrtoul(buf, 0, &val)) in set_activation_height()
415 if (kstrtoul(buf, 0, &val)) in set_deactivate_slack()
Dhid-roccat-arvo.c62 retval = kstrtoul(buf, 10, &state); in arvo_sysfs_set_mode_key()
112 retval = kstrtoul(buf, 10, &key_mask); in arvo_sysfs_set_key_mask()
166 retval = kstrtoul(buf, 10, &profile); in arvo_sysfs_set_actual_profile()
Dhid-roccat-kone.c482 retval = kstrtoul(buf, 10, &state); in kone_sysfs_set_tcu()
572 retval = kstrtoul(buf, 10, &new_startup_profile); in kone_sysfs_set_startup_profile()
Dhid-roccat-isku.c85 retval = kstrtoul(buf, 10, &profile); in isku_sysfs_set_actual_profile()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dlproc_osc.c63 rc = kstrtoul(buffer, 10, &val); in active_store()
103 rc = kstrtoul(buffer, 10, &val); in max_rpcs_in_flight_store()
161 rc = kstrtoul(buffer, 10, &pages_number); in max_dirty_mb_store()
334 rc = kstrtoul(buffer, 10, &val); in grant_shrink_interval_store()
367 rc = kstrtoul(buffer, 10, &val); in checksums_store()
454 rc = kstrtoul(buffer, 10, &val); in resend_count_store()
/linux-4.4.14/arch/mips/alchemy/devboards/
Dpm.c156 tmp = kstrtoul(instr, 0, &l); in db1x_pmattr_store()
179 tmp = kstrtoul(instr, 0, &l); in db1x_pmattr_store()
Dplatform.c32 if (!memsize_str || kstrtoul(memsize_str, 0, &memsize)) in prom_init()
/linux-4.4.14/drivers/acpi/
Dacpi_pad.c271 if (kstrtoul(buf, 0, &num)) in acpi_pad_rrtime_store()
294 if (kstrtoul(buf, 0, &num)) in acpi_pad_idlepct_store()
317 if (kstrtoul(buf, 0, &num)) in acpi_pad_idlecpus_store()
Dsysfs.c663 else if (!kstrtoul(buf, 0, &tmp)) in counter_set()
678 else if (!kstrtoul(buf, 0, &tmp)) in counter_set()
/linux-4.4.14/drivers/leds/
Dled-class-flash.c55 ret = kstrtoul(buf, 10, &state); in flash_brightness_store()
107 ret = kstrtoul(buf, 10, &state); in flash_strobe_store()
157 ret = kstrtoul(buf, 10, &flash_timeout); in flash_timeout_store()
Dleds-lp55xx-common.c101 if (kstrtoul(buf, 0, &curr)) in lp55xx_store_current()
249 if (kstrtoul(buf, 0, &val)) in lp55xx_store_engine_select()
290 if (kstrtoul(buf, 0, &val)) in lp55xx_store_engine_run()
Dled-class.c52 ret = kstrtoul(buf, 10, &state); in brightness_store()
Dleds-bd2802.c331 ret = kstrtoul(buf, 16, &val); \
495 ret = kstrtoul(buf, 16, &val); \
Dleds-ss4200.c461 ret = kstrtoul(buf, 10, &blink_state); in nas_led_blink_store()
Dleds-ns2.c149 ret = kstrtoul(buff, 10, &enable); in ns2_led_sata_store()
/linux-4.4.14/arch/microblaze/kernel/
Dtraps.c29 return !kstrtoul(s, 0, &kstack_depth_to_print); in kstack_setup()
/linux-4.4.14/fs/ncpfs/
Dgetopt.c56 int rc = kstrtoul(val, 0, value); in ncp_getopt()
/linux-4.4.14/drivers/staging/fbtft/
Dfbtft-sysfs.c17 ret = kstrtoul(p_val, base, val); in get_next_ulong()
187 ret = kstrtoul(buf, 10, &par->debug); in store_debug()
/linux-4.4.14/drivers/pci/
Dpci-sysfs.c71 if (kstrtoul(buf, 0, &val) < 0) in broken_parity_status_store()
174 ssize_t result = kstrtoul(buf, 0, &val); in enable_store()
276 if (kstrtoul(buf, 0, &val) < 0) in msi_bus_store()
311 if (kstrtoul(buf, 0, &val) < 0) in bus_rescan_store()
345 if (kstrtoul(buf, 0, &val) < 0) in dev_rescan_store()
364 if (kstrtoul(buf, 0, &val) < 0) in remove_store()
382 if (kstrtoul(buf, 0, &val) < 0) in dev_bus_rescan_store()
405 if (kstrtoul(buf, 0, &val) < 0) in d3cold_allowed_store()
1303 ssize_t result = kstrtoul(buf, 0, &val); in reset_store()
/linux-4.4.14/security/integrity/
Dintegrity_audit.c25 if (!kstrtoul(str, 0, &audit)) in integrity_audit_setup()
/linux-4.4.14/arch/mips/fw/lib/
Dcmdline.c95 tmp = kstrtoul(str, 0, &envl); in fw_getenvl()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dlproc_llite.c250 rc = kstrtoul(buffer, 10, &pages_number); in max_read_ahead_mb_store()
298 rc = kstrtoul(buffer, 10, &pages_number); in max_read_ahead_per_file_mb_store()
343 rc = kstrtoul(buffer, 10, &pages_number); in max_read_ahead_whole_mb_store()
508 rc = kstrtoul(buffer, 10, &val); in checksum_pages_store()
548 rc = kstrtoul(buffer, 10, &pid); in ll_wr_track_id()
628 rc = kstrtoul(buffer, 10, &val); in statahead_max_store()
662 rc = kstrtoul(buffer, 10, &val); in statahead_agl_store()
712 rc = kstrtoul(buffer, 10, &val); in lazystatfs_store()
804 rc = kstrtoul(buffer, 10, &val); in xattr_cache_store()
/linux-4.4.14/kernel/trace/
Dtrace_probe.c238 if (kstrtoul(type, 0, &bs)) in find_fetch_type()
307 ret = kstrtoul(tmp + 1, 0, offset); in traceprobe_split_symbol_offset()
342 ret = kstrtoul(arg + 5, 10, &param); in parse_probe_vars()
383 ret = kstrtoul(arg + 1, 0, &param); in parse_probe_arg()
Dtrace_functions.c551 ret = kstrtoul(number, 0, (unsigned long *)&count); in ftrace_trace_probe_callback()
Dtrace_events_trigger.c649 ret = kstrtoul(number, 0, &trigger_data->count); in event_trigger_callback()
1240 ret = kstrtoul(number, 0, &trigger_data->count); in event_enable_trigger_func()
/linux-4.4.14/kernel/power/
Dmain.c62 if (kstrtoul(buf, 10, &val)) in pm_async_store()
259 if (kstrtoul(buf, 10, &val)) in pm_print_times_store()
591 if (kstrtoul(buf, 10, &val)) in pm_freeze_timeout_store()
/linux-4.4.14/arch/mips/alchemy/
Dboard-xxs1500.c52 if (!memsize_str || kstrtoul(memsize_str, 0, &memsize)) in prom_init()
Dboard-gpr.c57 if (!memsize_str || kstrtoul(memsize_str, 0, &memsize)) in prom_init()
Dboard-mtx1.c56 if (!memsize_str || kstrtoul(memsize_str, 0, &memsize)) in prom_init()
/linux-4.4.14/drivers/video/backlight/
Dlcd.c115 rc = kstrtoul(buf, 0, &power); in lcd_power_store()
154 rc = kstrtoul(buf, 0, &contrast); in contrast_store()
Dadp5520_bl.c167 ret = kstrtoul(buf, 10, &val); in adp5520_store()
221 ret = kstrtoul(buf, 10, &data->cached_daylight_max); in adp5520_bl_daylight_max_store()
Dbacklight.c139 rc = kstrtoul(buf, 0, &power); in bl_power_store()
174 rc = kstrtoul(buf, 0, &brightness); in brightness_store()
Dadp8860_bl.c453 ret = kstrtoul(buf, 10, &val); in adp8860_store()
503 int ret = kstrtoul(buf, 10, &data->cached_daylight_max); in adp8860_bl_l1_daylight_max_store()
611 ret = kstrtoul(buf, 10, &val); in adp8860_bl_ambient_light_zone_store()
Dadp8870_bl.c574 ret = kstrtoul(buf, 10, &val); in adp8870_store()
654 int ret = kstrtoul(buf, 10, &data->cached_daylight_max); in adp8870_bl_l1_daylight_max_store()
797 ret = kstrtoul(buf, 10, &val); in adp8870_bl_ambient_light_zone_store()
Dsky81452-backlight.c89 ret = kstrtoul(buf, 16, &value); in sky81452_bl_store_enable()
Dlm3533_bl.c173 if (kstrtoul(buf, 0, &linear)) in store_linear()
/linux-4.4.14/drivers/s390/scsi/
Dzfcp_sysfs.c108 if (kstrtoul(buf, 0, &val) || val != 0) in zfcp_sysfs_port_failed_store()
147 if (kstrtoul(buf, 0, &val) || val != 0) in zfcp_sysfs_unit_failed_store()
197 if (kstrtoul(buf, 0, &val) || val != 0) { in zfcp_sysfs_adapter_failed_store()
486 if (kstrtoul(buf, 0, &val) || val != 0) in zfcp_sysfs_scsi_zfcp_failed_store()
/linux-4.4.14/drivers/bluetooth/
Dbt3c_cs.c476 if (kstrtoul(b, 16, &size) < 0) in bt3c_load_firmware()
481 if (kstrtoul(b, 16, &addr) < 0) in bt3c_load_firmware()
486 if (kstrtoul(b, 16, &fcs) < 0) in bt3c_load_firmware()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/linux/
Dlinux-sysctl.c112 rc = kstrtoul(buffer, 10, &val); in max_dirty_mb_store()
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_internal.h255 rc = kstrtoul(buffer, 10, &tmp); \
291 rc = kstrtoul(buffer, 10, &tmp); \
Dldlm_resource.c242 err = kstrtoul(buffer, 10, &tmp); in lru_size_store()
309 err = kstrtoul(buffer, 10, &tmp); in lru_max_age_store()
339 rc = kstrtoul(buffer, 10, &supp); in early_lock_cancel_store()
/linux-4.4.14/drivers/target/
Dtarget_core_alua.c2066 ret = kstrtoul(page, 0, &tmp); in core_alua_store_access_type()
2104 ret = kstrtoul(page, 0, &tmp); in core_alua_store_nonop_delay_msecs()
2135 ret = kstrtoul(page, 0, &tmp); in core_alua_store_trans_delay_msecs()
2166 ret = kstrtoul(page, 0, &tmp); in core_alua_store_implicit_trans_secs()
2197 ret = kstrtoul(page, 0, &tmp); in core_alua_store_preferred_bit()
2234 ret = kstrtoul(page, 0, &tmp); in core_alua_store_offline_bit()
2267 ret = kstrtoul(page, 0, &tmp); in core_alua_store_secondary_status()
2299 ret = kstrtoul(page, 0, &tmp); in core_alua_store_secondary_write_metadata()
Dtarget_core_configfs.c2154 ret = kstrtoul(page, 0, &lu_gp_id); in target_lu_gp_lu_gp_id_store()
2333 ret = kstrtoul(page, 0, &tmp); in target_tg_pt_gp_alua_access_state_store()
2381 ret = kstrtoul(page, 0, &tmp); in target_tg_pt_gp_alua_access_status_store()
2436 ret = kstrtoul(p, 0, &tmp); \
2475 ret = kstrtoul(page, 0, &tmp); in target_tg_pt_gp_alua_write_metadata_store()
2560 ret = kstrtoul(page, 0, &tg_pt_gp_id); in target_tg_pt_gp_tg_pt_gp_id_store()
2961 ret = kstrtoul(page, 0, &mode_flag); in target_hba_mode_store()
3049 ret = kstrtoul(str, 0, &plugin_dep_id); in target_core_call_addhbatotarget()
/linux-4.4.14/arch/mips/mti-malta/
Dmalta-dtshim.c72 err = kstrtoul(var, 0, &physical_memsize); in append_memory()
/linux-4.4.14/drivers/staging/olpc_dcon/
Dolpc_dcon.c439 rc = kstrtoul(buf, 10, &enable_mono); in dcon_mono_store()
455 ret = kstrtoul(buf, 10, &output); in dcon_freeze_store()
500 ret = kstrtoul(buf, 10, &output); in dcon_sleep_store()
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_auth.c322 ret = kstrtoul(&identifier[2], 0, &id); in chap_server_compute_md5()
324 ret = kstrtoul(identifier, 0, &id); in chap_server_compute_md5()
/linux-4.4.14/drivers/md/bcache/
Dsysfs.h91 int _r = kstrtoul(cp, 10, &_v); \
Dutil.h336 int _r = kstrtoul(cp, 10, &_v); \
345 int _r = kstrtoul(cp, 10, &_v); \
/linux-4.4.14/arch/mips/kernel/
Dvpe-cmp.c55 ret = kstrtoul(buf, 0, &new); in ntcs_store()
Dvpe-mt.c294 ret = kstrtoul(buf, 0, &new); in ntcs_store()
/linux-4.4.14/drivers/macintosh/ams/
Dams-input.c123 ret = kstrtoul(buf, 0, &enable); in ams_input_store_joystick()
/linux-4.4.14/drivers/power/
Dpcf50633-charger.c194 ret = kstrtoul(buf, 10, &ma); in set_usblim()
231 ret = kstrtoul(buf, 10, &ma); in set_chglim()
Dmax14577_charger.c555 ret = kstrtoul(buf, 10, &val); in store_fast_charge_timer()
/linux-4.4.14/drivers/mfd/
Daat2870-core.c306 ret = kstrtoul(start, 16, &addr); in aat2870_reg_write_file()
318 ret = kstrtoul(start, 16, &val); in aat2870_reg_write_file()
Dintel_soc_pmic_bxtwc.c270 if (kstrtoul(buf, 0, &bxtwc_reg_addr)) { in bxtwc_reg_store()
/linux-4.4.14/drivers/misc/mic/cosm/
Dcosm_sysfs.c395 ret = kstrtoul(buf, 16, &addr); in log_buf_addr_store()
429 ret = kstrtoul(buf, 16, &addr); in log_buf_len_store()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Ddebug.c112 if (kstrtoul(buf, 0, &mask)) in write_file_debug()
202 if (kstrtoul(buf, 0, &ani)) in write_file_ani()
262 if (kstrtoul(buf, 0, &bt_ant_diversity)) in write_file_bt_ant_diversity()
850 if (kstrtoul(buf, 0, &regidx)) in write_file_regidx()
895 if (kstrtoul(buf, 0, &regval)) in write_file_regval()
1087 if (kstrtoul(buf, 0, &val)) in write_file_wow()
1151 if (kstrtoul(buf, 0, &val)) in write_file_tpc()
Dcommon-spectral.c877 if (kstrtoul(buf, 0, &val)) in write_file_spectral_short_repeat()
925 if (kstrtoul(buf, 0, &val)) in write_file_spectral_count()
973 if (kstrtoul(buf, 0, &val)) in write_file_spectral_period()
1021 if (kstrtoul(buf, 0, &val)) in write_file_spectral_fft_period()
Ddfs_debug.c110 if (kstrtoul(buf, 0, &val)) in write_file_dfs()
/linux-4.4.14/drivers/ssb/
Dsprom.c57 err = kstrtoul(tmp, 16, &parsed); in hex2sprom()
/linux-4.4.14/sound/pci/hda/
Dhda_sysfs.c172 int err = kstrtoul(buf, 0, &val); \
482 else if (kstrtoul(p, 0, &val)) in snd_hda_get_int_hint()
598 if (!kstrtoul(buf, 0, &val)) \
/linux-4.4.14/drivers/scsi/fnic/
Dfnic_debugfs.c203 ret = kstrtoul(buf, 10, &val); in fnic_trace_ctrl_write()
612 ret = kstrtoul(buf, 10, &val); in fnic_reset_stats_write()
/linux-4.4.14/drivers/usb/misc/
Dlvstest.c192 ret = kstrtoul(buf, 10, &val); in u2_timeout_store()
221 ret = kstrtoul(buf, 10, &val); in u1_timeout_store()
/linux-4.4.14/fs/ext4/
Dsysfs.c82 ret = kstrtoul(skip_spaces(buf), 0, &t); in inode_readahead_blks_store()
307 ret = kstrtoul(skip_spaces(buf), 0, &t); in ext4_attr_store()
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_hv_builtin.c48 return kstrtoul(p, 0, &kvm_cma_resv_ratio); in early_parse_kvm_cma_resv()
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dsysfs.c53 ret = kstrtoul(buf, 10, &res); in wl1271_sysfs_store_bt_coex_state()
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/
Dlproc_mdc.c70 rc = kstrtoul(buffer, 10, &val); in max_rpcs_in_flight_store()
/linux-4.4.14/arch/arm/mach-w90x900/
Dcpu.c181 if (kstrtoul(str, 0, &cpufreq)) in nuc900_set_cpufreq()
/linux-4.4.14/security/integrity/ima/
Dima_policy.c619 result = kstrtoul(args[0].from, 16, &entry->fsmagic); in ima_parse_rule()
648 result = kstrtoul(args[0].from, 10, &lnum); in ima_parse_rule()
668 result = kstrtoul(args[0].from, 10, &lnum); in ima_parse_rule()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c750 ret = kstrtoul(page, 0, &val); \
833 rc = kstrtoul(page, 0, &op); in tcm_qla2xxx_tpg_enable_store()
880 int ret = kstrtoul(page, 0, &val); in tcm_qla2xxx_tpg_fabric_prot_type_store()
929 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > USHRT_MAX) in tcm_qla2xxx_make_tpg()
1004 rc = kstrtoul(page, 0, &op); in tcm_qla2xxx_npiv_tpg_enable_store()
1050 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > USHRT_MAX) in tcm_qla2xxx_npiv_make_tpg()
/linux-4.4.14/kernel/
Dksysfs.c120 if (kstrtoul(buf, 0, &cnt)) in kexec_crash_size_store()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dspectral.c398 if (kstrtoul(buf, 0, &val)) in write_file_spectral_count()
453 if (kstrtoul(buf, 0, &val)) in write_file_spectral_bins()
/linux-4.4.14/drivers/thermal/
Dintel_powerclamp.c105 ret = kstrtoul(arg, 10, &new_duration); in duration_set()
153 ret = kstrtoul(arg, 10, &new_window_size); in window_size_set()
/linux-4.4.14/lib/
Dkstrtox.c340 kstrto_from_user(kstrtoul_from_user, kstrtoul, unsigned long);
/linux-4.4.14/arch/s390/kernel/
Dvdso.c64 rc = kstrtoul(s, 0, &val); in vdso_setup()
/linux-4.4.14/drivers/s390/block/
Ddasd_devmap.c933 if ((kstrtoul(buf, 10, &val) != 0) || val > 1) in dasd_use_raw_store()
1228 if ((kstrtoul(buf, 10, &val) != 0) || in dasd_expires_store()
1268 if ((kstrtoul(buf, 10, &val) != 0) || in dasd_retries_store()
1310 if ((kstrtoul(buf, 10, &val) != 0) || in dasd_timeout_store()
/linux-4.4.14/net/dns_resolver/
Ddns_key.c117 ret = kstrtoul(eq, 10, &derrno); in dns_resolver_preparse()
/linux-4.4.14/drivers/staging/iio/
Diio_dummy_evgen.c188 ret = kstrtoul(buf, 10, &event); in iio_evgen_poke()
/linux-4.4.14/drivers/staging/iio/adc/
Dad7606_core.c128 ret = kstrtoul(buf, 10, &lval); in ad7606_store_range()
179 ret = kstrtoul(buf, 10, &lval); in ad7606_store_oversampling_ratio()
Dad7816.c177 ret = kstrtoul(buf, 10, &data); in ad7816_store_channel()
/linux-4.4.14/net/ipv4/netfilter/
Dipt_CLUSTERIP.c696 rc = kstrtoul(buffer+1, 10, &nodenum); in clusterip_proc_write()
702 rc = kstrtoul(buffer+1, 10, &nodenum); in clusterip_proc_write()
/linux-4.4.14/drivers/md/
Ddm-raid.c510 if ((kstrtoul(argv[0], 10, &value) < 0)) { in parse_raid_params()
591 if (kstrtoul(argv[i], 10, &value) < 0) { in parse_raid_params()
1236 if (kstrtoul(argv[0], 10, &num_raid_params) < 0) { in raid_ctr()
1249 if ((kstrtoul(argv[num_raid_params], 10, &num_raid_devs) < 0) || in raid_ctr()
/linux-4.4.14/drivers/target/sbp/
Dsbp_target.c2025 if (kstrtoul(name + 5, 10, &tpgt) || tpgt > UINT_MAX) in sbp_make_tpg()
2152 if (kstrtoul(page, 16, &val) < 0) in sbp_tpg_directory_id_store()
2180 if (kstrtoul(page, 0, &val) < 0) in sbp_tpg_enable_store()
2241 if (kstrtoul(page, 0, &val) < 0) in sbp_tpg_attrib_mgt_orb_timeout_store()
2276 if (kstrtoul(page, 0, &val) < 0) in sbp_tpg_attrib_max_reconnect_timeout_store()
2310 if (kstrtoul(page, 0, &val) < 0) in sbp_tpg_attrib_max_logins_per_lun_store()
/linux-4.4.14/arch/x86/kvm/
Dmmu_audit.c282 ret = kstrtoul(val, 10, &enable); in mmu_audit_set()
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/
Dmce_amd.c463 if (kstrtoul(buf, 0, &new) < 0) in SHOW_FIELDS()
482 if (kstrtoul(buf, 0, &new) < 0) in store_threshold_limit()
/linux-4.4.14/mm/
Dksm.c2118 err = kstrtoul(buf, 10, &msecs); in sleep_millisecs_store()
2141 err = kstrtoul(buf, 10, &nr_pages); in pages_to_scan_store()
2163 err = kstrtoul(buf, 10, &flags); in run_store()
2213 err = kstrtoul(buf, 10, &knob); in merge_across_nodes_store()
Dhuge_memory.c326 ret = kstrtoul(buf, 10, &value); in single_flag_store()
423 err = kstrtoul(buf, 10, &msecs); in scan_sleep_millisecs_store()
450 err = kstrtoul(buf, 10, &msecs); in alloc_sleep_millisecs_store()
476 err = kstrtoul(buf, 10, &pages); in pages_to_scan_store()
544 err = kstrtoul(buf, 10, &max_ptes_none); in khugepaged_max_ptes_none_store()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sysfs.c50 if (kstrtoul(buf, 2, &new)) in qlcnic_store_bridged_mode()
80 if (kstrtoul(buf, 2, &new)) in qlcnic_store_diag_mode()
127 if (kstrtoul(buf, 2, &h_beacon)) in qlcnic_83xx_store_beacon()
1130 ret = kstrtoul(buf, 16, &data); in qlcnic_83xx_sysfs_flash_write_handler()
/linux-4.4.14/drivers/platform/chrome/
Dcros_ec_lightbar.c55 if (kstrtoul(buf, 0, &msec)) in interval_msec_store()
/linux-4.4.14/drivers/input/touchscreen/
Dili210x.c158 if (kstrtoul(buf, 10, &calibrate)) in ili210x_calibrate()
/linux-4.4.14/arch/x86/kernel/cpu/
Dintel_cacheinfo.c441 if (kstrtoul(buf, 10, &val) < 0) in store_cache_disable()
486 if (kstrtoul(buf, 16, &val) < 0) in subcaches_store()
/linux-4.4.14/drivers/net/usb/
Dcdc_ncm.c228 if (kstrtoul(buf, 0, &val)) in cdc_ncm_store_min_tx_pkt()
241 if (kstrtoul(buf, 0, &val) || cdc_ncm_check_rx_max(dev, val) != val) in cdc_ncm_store_rx_max()
254 if (kstrtoul(buf, 0, &val) || cdc_ncm_check_tx_max(dev, val) != val) in cdc_ncm_store_tx_max()
268 ret = kstrtoul(buf, 0, &val); in cdc_ncm_store_tx_timer_usecs()
/linux-4.4.14/arch/arm/mach-s3c24xx/
Dmach-jive.c245 if (kstrtoul(options, 10, &set)) { in jive_mtdset()
/linux-4.4.14/drivers/staging/iio/frequency/
Dad9832.c84 ret = kstrtoul(buf, 10, &val); in ad9832_write()
Dad9834.c76 ret = kstrtoul(buf, 10, &val); in ad9834_write()
/linux-4.4.14/drivers/iio/proximity/
Das3935.c135 ret = kstrtoul((const char *) buf, 10, &val); in as3935_sensor_sensitivity_store()
/linux-4.4.14/drivers/target/tcm_fc/
Dtfc_conf.c248 ret = kstrtoul(name + 5, 10, &index); in ft_add_tpg()
/linux-4.4.14/drivers/scsi/snic/
Dsnic_debugfs.c156 ret = kstrtoul(buf, 10, &val); in snic_reset_stats_write()
/linux-4.4.14/drivers/nvdimm/
Dcore.c201 rc = kstrtoul(buf, 0, &lbasize); in nd_sector_size_store()
/linux-4.4.14/drivers/target/loopback/
Dtcm_loop.c781 int ret = kstrtoul(page, 0, &val); in tcm_loop_tpg_attrib_fabric_prot_type_store()
1066 if (kstrtoul(name+5, 10, &tpgt)) in tcm_loop_make_naa_tpg()
/linux-4.4.14/arch/x86/kernel/cpu/microcode/
Dcore.c402 ret = kstrtoul(buf, 0, &val); in reload_store()
/linux-4.4.14/drivers/uio/
Duio_fsl_elbc_gpcm.c106 if (kstrtoul(buf, 0, &val) != 0) in reg_store()
/linux-4.4.14/arch/arm/mach-pxa/
Dballoon3.c93 return kstrtoul(arg, 0, &balloon3_features_present); in parse_balloon3_features()
/linux-4.4.14/net/rfkill/
Dcore.c674 err = kstrtoul(buf, 0, &state); in soft_store()
717 err = kstrtoul(buf, 0, &state); in state_store()
/linux-4.4.14/drivers/block/
Dosdblk.c601 rc = kstrtoul(buf, 10, &ul); in class_osdblk_remove()
/linux-4.4.14/drivers/video/fbdev/
Dwm8505fb.c176 if (kstrtoul(buf, 10, &tmp) || (tmp > 0xff)) in contrast_store()

12