Home
last modified time | relevance | path

Searched refs:init_val (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/acpi/acpica/
Dnsaccess.c37 const struct acpi_predefined_names *init_val = NULL; in acpi_ns_root_initialize() local
85 for (init_val = acpi_gbl_pre_defined_names; init_val->name; init_val++) { in acpi_ns_root_initialize()
90 if (!strcmp(init_val->name, "_OSI") in acpi_ns_root_initialize()
102 acpi_ns_create_node(*ACPI_CAST_PTR(u32, init_val->name)); in acpi_ns_root_initialize()
109 new_node->type = init_val->type; in acpi_ns_root_initialize()
124 if (init_val->val) { in acpi_ns_root_initialize()
125 status = acpi_os_predefined_override(init_val, &val); in acpi_ns_root_initialize()
129 init_val->name)); in acpi_ns_root_initialize()
133 val = init_val->val; in acpi_ns_root_initialize()
141 acpi_ut_create_internal_object(init_val->type); in acpi_ns_root_initialize()
[all …]
/kernel/linux/linux-5.10/samples/bpf/
Dmap_perf_test_kern.c109 long init_val = 1; in SYSCALL() local
112 bpf_map_update_elem(&hash_map, &key, &init_val, BPF_ANY); in SYSCALL()
124 long init_val = 1; in SYSCALL() local
127 bpf_map_update_elem(&percpu_hash_map, &key, &init_val, BPF_ANY); in SYSCALL()
138 long init_val = 1; in SYSCALL() local
141 bpf_map_update_elem(&hash_map_alloc, &key, &init_val, BPF_ANY); in SYSCALL()
152 long init_val = 1; in SYSCALL() local
155 bpf_map_update_elem(&percpu_hash_map_alloc, &key, &init_val, BPF_ANY); in SYSCALL()
Dtracex2_kern.c29 long init_val = 1; in bpf_prog2() local
41 bpf_map_update_elem(&my_map, &loc, &init_val, BPF_ANY); in bpf_prog2()
85 long init_val = 1; in SYSCALL() local
98 bpf_map_update_elem(&my_hist_map, &key, &init_val, BPF_ANY); in SYSCALL()
Dsampleip_kern.c27 u32 *value, init_val = 1; in do_sample() local
35 bpf_map_update_elem(&ip_map, &ip, &init_val, BPF_NOEXIST); in do_sample()
Dsyscall_tp_kern.c38 u32 *value, init_val = 1; in count() local
44 bpf_map_update_elem(map, &key, &init_val, BPF_NOEXIST); in count()
Dlwt_len_hist_kern.c69 __u64 *value, key, init_val = 1; in do_len_hist() local
77 bpf_map_update_elem(&lwt_len_hist_map, &key, &init_val, BPF_ANY); in do_len_hist()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpkeys.h15 unsigned long init_val);
47 unsigned long init_val);
124 unsigned long init_val);
126 unsigned long init_val);
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dpkeys.h147 unsigned long init_val);
149 unsigned long init_val) in arch_set_user_pkey_access() argument
161 return init_val ? -EINVAL : 0; in arch_set_user_pkey_access()
163 return __arch_set_user_pkey_access(tsk, pkey, init_val); in arch_set_user_pkey_access()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-cpcap.c22 u16 init_val; member
49 .init_val = 0x5FF0,
58 .init_val = 0x0008,
195 led->info->init_mask, led->info->init_val); in cpcap_led_probe()
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dpkeys.c281 unsigned long init_val) in __arch_set_user_pkey_access() argument
299 if (init_val & PKEY_DISABLE_EXECUTE) { in __arch_set_user_pkey_access()
307 if (init_val & PKEY_DISABLE_ACCESS) in __arch_set_user_pkey_access()
309 else if (init_val & PKEY_DISABLE_WRITE) in __arch_set_user_pkey_access()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_init_ops.c126 p_hwfn->rt_data.init_val[rt_offset] = val; in qed_init_store_rt_reg()
136 p_hwfn->rt_data.init_val[rt_offset + i] = p_val[i]; in qed_init_store_rt_agg()
145 u32 *p_init_val = &p_hwfn->rt_data.init_val[rt_offset]; in qed_init_rt()
200 rt_data->init_val = kcalloc(RUNTIME_ARRAY_SIZE, sizeof(u32), in qed_init_alloc()
202 if (!rt_data->init_val) { in qed_init_alloc()
213 kfree(p_hwfn->rt_data.init_val); in qed_init_free()
214 p_hwfn->rt_data.init_val = NULL; in qed_init_free()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
Dattach.c46 u32 init_val; in ath5k_hw_post() local
54 init_val = ath5k_hw_reg_read(ah, cur_reg); in ath5k_hw_post()
87 ath5k_hw_reg_write(ah, init_val, cur_reg); in ath5k_hw_post()
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_eqs.c592 static void aeq_elements_init(struct hinic_eq *eq, u32 init_val) in aeq_elements_init() argument
599 aeqe->desc = cpu_to_be32(init_val); in aeq_elements_init()
610 static void ceq_elements_init(struct hinic_eq *eq, u32 init_val) in ceq_elements_init() argument
617 *(ceqe) = cpu_to_be32(init_val); in ceq_elements_init()
633 u32 init_val, addr, val; in alloc_eq_pages() local
670 init_val = HINIC_EQ_ELEM_DESC_SET(eq->wrapped, WRAPPED); in alloc_eq_pages()
673 aeq_elements_init(eq, init_val); in alloc_eq_pages()
675 ceq_elements_init(eq, init_val); in alloc_eq_pages()
/kernel/linux/linux-5.10/include/linux/
Dpkeys.h37 unsigned long init_val) in arch_set_user_pkey_access() argument
/kernel/linux/linux-5.10/include/drm/
Ddrm_mode_object.h132 uint64_t init_val);
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dprotection_keys.c489 int sys_pkey_alloc(unsigned long flags, unsigned long init_val) in sys_pkey_alloc() argument
491 int ret = syscall(SYS_pkey_alloc, flags, init_val); in sys_pkey_alloc()
493 __func__, flags, init_val, ret, errno); in sys_pkey_alloc()
500 unsigned long init_val = 0x0; in alloc_pkey() local
504 ret = sys_pkey_alloc(0, init_val); in alloc_pkey()
527 init_val); in alloc_pkey()
Dpkey-helpers.h82 int sys_pkey_alloc(unsigned long flags, unsigned long init_val);
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c65 #define INSTALL_PROPERTY(name, NAME, init_val, fnc, ...) do { \ in mdp5_plane_install_properties() argument
78 drm_object_attach_property(&plane->base, prop, init_val); \ in mdp5_plane_install_properties()
81 #define INSTALL_RANGE_PROPERTY(name, NAME, min, max, init_val) \ in mdp5_plane_install_properties() argument
82 INSTALL_PROPERTY(name, NAME, init_val, \ in mdp5_plane_install_properties()
85 #define INSTALL_ENUM_PROPERTY(name, NAME, init_val) \ in mdp5_plane_install_properties() argument
86 INSTALL_PROPERTY(name, NAME, init_val, \ in mdp5_plane_install_properties()
/kernel/linux/linux-5.10/drivers/i2c/
Di2c-core-smbus.c293 static void i2c_smbus_try_get_dmabuf(struct i2c_msg *msg, u8 init_val) in i2c_smbus_try_get_dmabuf() argument
305 if (init_val) in i2c_smbus_try_get_dmabuf()
306 msg->buf[0] = init_val; in i2c_smbus_try_get_dmabuf()
/kernel/linux/linux-5.10/mm/
Dmprotect.c661 SYSCALL_DEFINE2(pkey_alloc, unsigned long, flags, unsigned long, init_val) in SYSCALL_DEFINE2() argument
670 if (init_val & ~PKEY_ACCESS_MASK) in SYSCALL_DEFINE2()
680 ret = arch_set_user_pkey_access(current, pkey, init_val); in SYSCALL_DEFINE2()
/kernel/linux/linux-5.10/tools/power/acpi/os_specific/service_layers/
Dosunixxf.c212 acpi_os_predefined_override(const struct acpi_predefined_names *init_val, in acpi_os_predefined_override() argument
216 if (!init_val || !new_val) { in acpi_os_predefined_override()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_mode_object.c233 uint64_t init_val) in drm_object_attach_property() argument
257 obj->properties->values[count] = init_val; in drm_object_attach_property()
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/
Dxstate.c1030 unsigned long init_val) in arch_set_user_pkey_access() argument
1051 if (init_val & PKEY_DISABLE_ACCESS) in arch_set_user_pkey_access()
1053 if (init_val & PKEY_DISABLE_WRITE) in arch_set_user_pkey_access()
/kernel/linux/linux-5.10/include/net/
Ddevlink.h1468 union devlink_param_value *init_val);
1470 union devlink_param_value init_val);
1474 union devlink_param_value *init_val);
1477 union devlink_param_value init_val);
/kernel/linux/linux-5.10/drivers/acpi/
Dosl.c523 acpi_os_predefined_override(const struct acpi_predefined_names *init_val, in acpi_os_predefined_override() argument
526 if (!init_val || !new_val) in acpi_os_predefined_override()
530 if (!memcmp(init_val->name, "_OS_", 4) && strlen(acpi_os_name)) { in acpi_os_predefined_override()
536 if (!memcmp(init_val->name, "_REV", 4) && acpi_rev_override) { in acpi_os_predefined_override()

12