Home
last modified time | relevance | path

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

12

/linux/drivers/acpi/acpica/
A 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()
109 new_node->type = init_val->type; in acpi_ns_root_initialize()
124 if (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()
152 switch (init_val->type) { in acpi_ns_root_initialize()
206 if (strcmp(init_val->name, "_GL_") == 0) { in acpi_ns_root_initialize()
[all …]
/linux/samples/bpf/
A 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()
A 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()
A Dsampleip_kern.c26 u32 *value, init_val = 1; in do_sample() local
34 bpf_map_update_elem(&ip_map, &ip, &init_val, BPF_NOEXIST); in do_sample()
A 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()
A 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()
/linux/arch/x86/include/asm/
A Dpkeys.h13 unsigned long init_val);
45 unsigned long init_val);
122 unsigned long init_val);
124 unsigned long init_val);
/linux/arch/powerpc/include/asm/
A 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()
/linux/drivers/leds/
A 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()
/linux/arch/powerpc/mm/book3s64/
A Dpkeys.c337 unsigned long init_val) in __arch_set_user_pkey_access() argument
355 if (init_val & PKEY_DISABLE_EXECUTE) { in __arch_set_user_pkey_access()
363 if (init_val & PKEY_DISABLE_ACCESS) in __arch_set_user_pkey_access()
365 else if (init_val & PKEY_DISABLE_WRITE) in __arch_set_user_pkey_access()
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_init_ops.c136 p_hwfn->rt_data.init_val[rt_offset] = val; in qed_init_store_rt_reg()
154 p_hwfn->rt_data.init_val[rt_offset + i] = p_val[i]; in qed_init_store_rt_agg()
163 u32 *p_init_val = &p_hwfn->rt_data.init_val[rt_offset]; in qed_init_rt()
218 rt_data->init_val = kcalloc(RUNTIME_ARRAY_SIZE, sizeof(u32), in qed_init_alloc()
220 if (!rt_data->init_val) { in qed_init_alloc()
231 kfree(p_hwfn->rt_data.init_val); in qed_init_free()
232 p_hwfn->rt_data.init_val = NULL; in qed_init_free()
/linux/drivers/net/ethernet/huawei/hinic/
A 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()
/linux/drivers/net/wireless/ath/ath5k/
A 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()
/linux/include/linux/
A Dpkeys.h39 unsigned long init_val) in arch_set_user_pkey_access() argument
/linux/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_main.c44 u32 init_val; member
331 writel(cfg->init_val, cfg->init_reg); in sparx5_init_ram()
334 if ((value & cfg->init_val) != cfg->init_val) in sparx5_init_ram()
/linux/include/drm/
A Ddrm_mode_object.h132 uint64_t init_val);
/linux/tools/testing/selftests/vm/
A 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()
A Dpkey-helpers.h82 int sys_pkey_alloc(unsigned long flags, unsigned long init_val);
/linux/drivers/i2c/
A Di2c-core-smbus.c301 static void i2c_smbus_try_get_dmabuf(struct i2c_msg *msg, u8 init_val) in i2c_smbus_try_get_dmabuf() argument
313 if (init_val) in i2c_smbus_try_get_dmabuf()
314 msg->buf[0] = init_val; in i2c_smbus_try_get_dmabuf()
/linux/mm/
A Dmprotect.c676 SYSCALL_DEFINE2(pkey_alloc, unsigned long, flags, unsigned long, init_val) in SYSCALL_DEFINE2() argument
685 if (init_val & ~PKEY_ACCESS_MASK) in SYSCALL_DEFINE2()
695 ret = arch_set_user_pkey_access(current, pkey, init_val); in SYSCALL_DEFINE2()
/linux/drivers/gpu/drm/
A 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()
/linux/tools/power/acpi/os_specific/service_layers/
A 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()
/linux/drivers/acpi/
A Dosl.c526 acpi_os_predefined_override(const struct acpi_predefined_names *init_val, in acpi_os_predefined_override() argument
529 if (!init_val || !new_val) in acpi_os_predefined_override()
533 if (!memcmp(init_val->name, "_OS_", 4) && strlen(acpi_os_name)) { in acpi_os_predefined_override()
538 if (!memcmp(init_val->name, "_REV", 4) && acpi_rev_override) { in acpi_os_predefined_override()
/linux/include/acpi/
A Dacpiosxf.h64 acpi_os_predefined_override(const struct acpi_predefined_names *init_val,
/linux/arch/x86/kernel/fpu/
A Dxstate.c1072 unsigned long init_val) in arch_set_user_pkey_access() argument
1093 if (init_val & PKEY_DISABLE_ACCESS) in arch_set_user_pkey_access()
1095 if (init_val & PKEY_DISABLE_WRITE) in arch_set_user_pkey_access()

Completed in 40 milliseconds

12