Home
last modified time | relevance | path

Searched refs:user_val (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/core/
Duverbs_std_types_flow_action.c143 } user_val = {}; in parse_esp_ip() local
157 if (len > sizeof(user_val.ipv4) && in parse_esp_ip()
158 !ib_is_buffer_cleared(val_ptr + sizeof(user_val.ipv4), in parse_esp_ip()
159 len - sizeof(user_val.ipv4))) in parse_esp_ip()
162 val_len = min_t(size_t, len, sizeof(user_val.ipv4)); in parse_esp_ip()
163 ret = copy_from_user(&user_val.ipv4, val_ptr, in parse_esp_ip()
171 if (len > sizeof(user_val.ipv6) && in parse_esp_ip()
172 !ib_is_buffer_cleared(val_ptr + sizeof(user_val.ipv6), in parse_esp_ip()
173 len - sizeof(user_val.ipv6))) in parse_esp_ip()
176 val_len = min_t(size_t, len, sizeof(user_val.ipv6)); in parse_esp_ip()
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dab8500-debugfs.c1478 unsigned long user_val; in ab8500_val_write() local
1481 err = kstrtoul_from_user(user_buf, count, 0, &user_val); in ab8500_val_write()
1485 if (user_val > 0xff) { in ab8500_val_write()
1490 (u8)debug_bank, debug_address, (u8)user_val); in ab8500_val_write()
1858 unsigned long user_val; in ab8500_subscribe_write() local
1862 err = kstrtoul_from_user(user_buf, count, 0, &user_val); in ab8500_subscribe_write()
1866 if (user_val < irq_first) { in ab8500_subscribe_write()
1870 if (user_val > irq_last) { in ab8500_subscribe_write()
1875 irq_index = user_val - irq_first; in ab8500_subscribe_write()
1888 event_name[irq_index] = kasprintf(GFP_KERNEL, "%lu", user_val); in ab8500_subscribe_write()
[all …]
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dclk-hfpll.h23 u32 user_val; member
Dhfpll.c27 .user_val = 0x8,
Dclk-hfpll.c36 u32 regval = hd->user_val; in __clk_hfpll_init_once()
/kernel/linux/linux-5.10/arch/arm/kernel/
Dptrace.c507 u32 user_val; in ptrace_sethbpregs() local
525 if (get_user(user_val, data)) { in ptrace_sethbpregs()
544 attr.bp_addr = user_val; in ptrace_sethbpregs()
547 decode_ctrl_reg(user_val, &ctrl); in ptrace_sethbpregs()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dcpufeature.h76 u64 user_val; member
550 return (reg->user_val | (reg->sys_val & reg->user_mask)); in arm64_ftr_reg_user_value()
/kernel/linux/linux-5.10/drivers/hwmon/
Dabituguru.c1150 unsigned long user_val; in store_pwm_enable() local
1152 ret = kstrtoul(buf, 10, &user_val); in store_pwm_enable()
1159 switch (user_val) { in store_pwm_enable()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dcpufeature.c794 reg->user_val = arm64_ftr_set_value(ftrp, in init_cpu_ftr_reg()
795 reg->user_val, in init_cpu_ftr_reg()