Home
last modified time | relevance | path

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

12

/linux-6.6.21/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 …]
/linux-6.6.21/samples/bpf/
Dmap_perf_test.bpf.c107 long init_val = 1; in BPF_KSYSCALL() local
112 bpf_map_update_elem(&hash_map, &key, &init_val, BPF_ANY); in BPF_KSYSCALL()
125 long init_val = 1; in BPF_KSYSCALL() local
130 bpf_map_update_elem(&percpu_hash_map, &key, &init_val, BPF_ANY); in BPF_KSYSCALL()
142 long init_val = 1; in BPF_KSYSCALL() local
147 bpf_map_update_elem(&hash_map_alloc, &key, &init_val, BPF_ANY); in BPF_KSYSCALL()
159 long init_val = 1; in BPF_KSYSCALL() local
164 bpf_map_update_elem(&percpu_hash_map_alloc, &key, &init_val, BPF_ANY); in BPF_KSYSCALL()
Dtracex2.bpf.c27 long init_val = 1; in bpf_prog2() local
39 bpf_map_update_elem(&my_map, &loc, &init_val, BPF_ANY); in bpf_prog2()
82 long init_val = 1; in BPF_KSYSCALL() local
95 bpf_map_update_elem(&my_hist_map, &key, &init_val, BPF_ANY); in BPF_KSYSCALL()
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()
Dlwt_len_hist.bpf.c49 __u64 *value, key, init_val = 1; in do_len_hist() local
57 bpf_map_update_elem(&lwt_len_hist_map, &key, &init_val, BPF_ANY); in do_len_hist()
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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dbpf_hashmap_full_update_bench.c24 u64 init_val = 1; in loop_update_callback() local
26 bpf_map_update_elem(&hash_map_bench, key, &init_val, BPF_ANY); in loop_update_callback()
Drcu_read_lock.c54 long init_val = 2; in task_succ() local
66 ptr = bpf_task_storage_get(&map_a, real_parent, &init_val, in task_succ()
/linux-6.6.21/tools/lib/bpf/
Dskel_internal.h144 static inline void *skel_finalize_map_data(__u64 *init_val, size_t mmap_sz, int flags, int fd) in skel_finalize_map_data() argument
149 kvfree((void *) (long) *init_val); in skel_finalize_map_data()
150 *init_val = ~0ULL; in skel_finalize_map_data()
196 static inline void *skel_finalize_map_data(__u64 *init_val, size_t mmap_sz, int flags, int fd) in skel_finalize_map_data() argument
200 addr = mmap((void *) (long) *init_val, mmap_sz, flags, MAP_SHARED | MAP_FIXED, fd, 0); in skel_finalize_map_data()
/linux-6.6.21/arch/powerpc/mm/book3s64/
Dpkeys.c338 unsigned long init_val) in __arch_set_user_pkey_access() argument
356 if (init_val & PKEY_DISABLE_EXECUTE) { in __arch_set_user_pkey_access()
364 if (init_val & PKEY_DISABLE_ACCESS) in __arch_set_user_pkey_access()
366 else if (init_val & PKEY_DISABLE_WRITE) in __arch_set_user_pkey_access()
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
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-6.6.21/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
669 init_val = HINIC_EQ_ELEM_DESC_SET(eq->wrapped, WRAPPED); in alloc_eq_pages()
672 aeq_elements_init(eq, init_val); in alloc_eq_pages()
674 ceq_elements_init(eq, init_val); in alloc_eq_pages()
/linux-6.6.21/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()
/linux-6.6.21/tools/perf/util/
Dutil.c512 … do_realloc_array_as_needed(void **arr, size_t *arr_sz, size_t x, size_t msz, const void *init_val) in do_realloc_array_as_needed() argument
531 if (init_val) { in do_realloc_array_as_needed()
533 memcpy(new_arr + (i * msz), init_val, msz); in do_realloc_array_as_needed()
Dutil.h92 size_t msz, const void *init_val);
/linux-6.6.21/include/linux/
Dpkeys.h39 unsigned long init_val) in arch_set_user_pkey_access() argument
/linux-6.6.21/drivers/perf/
Driscv_pmu.c249 u64 init_val; in riscv_pmu_start() local
256 init_val = local64_read(&hwc->prev_count) & max_period; in riscv_pmu_start()
257 rvpmu->ctr_start(event, init_val); in riscv_pmu_start()
Driscv_pmu_sbi.c642 u64 init_val = 0; in pmu_sbi_start_overflow_mask() local
656 init_val = local64_read(&hwc->prev_count) & max_period; in pmu_sbi_start_overflow_mask()
659 flag, init_val, init_val >> 32, 0); in pmu_sbi_start_overflow_mask()
662 flag, init_val, 0, 0); in pmu_sbi_start_overflow_mask()
/linux-6.6.21/include/drm/
Ddrm_mode_object.h139 uint64_t init_val);
/linux-6.6.21/include/linux/perf/
Driscv_pmu.h55 void (*ctr_start)(struct perf_event *event, u64 init_val);
/linux-6.6.21/arch/x86/include/asm/
Dpkeys.h13 unsigned long init_val);
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_main.c45 u32 init_val; member
364 writel(cfg->init_val, cfg->init_reg); in sparx5_init_ram()
367 if ((value & cfg->init_val) != cfg->init_val) in sparx5_init_ram()
/linux-6.6.21/drivers/i2c/
Di2c-core-smbus.c302 static void i2c_smbus_try_get_dmabuf(struct i2c_msg *msg, u8 init_val) in i2c_smbus_try_get_dmabuf() argument
314 if (init_val) in i2c_smbus_try_get_dmabuf()
315 msg->buf[0] = init_val; in i2c_smbus_try_get_dmabuf()

12