Home
last modified time | relevance | path

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

/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 …]
/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()
/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()
Dqed.h115 u32 *init_val; member
/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()
/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()
/drivers/perf/
Driscv_pmu.c182 u64 init_val; in riscv_pmu_start() local
189 init_val = local64_read(&hwc->prev_count) & max_period; in riscv_pmu_start()
190 rvpmu->ctr_start(event, init_val); in riscv_pmu_start()
Driscv_pmu_sbi.c533 u64 init_val = 0; in pmu_sbi_start_overflow_mask() local
547 init_val = local64_read(&hwc->prev_count) & max_period; in pmu_sbi_start_overflow_mask()
550 flag, init_val, init_val >> 32, 0); in pmu_sbi_start_overflow_mask()
553 flag, init_val, 0, 0); in pmu_sbi_start_overflow_mask()
/drivers/net/ethernet/microchip/sparx5/
Dsparx5_main.c45 u32 init_val; member
359 writel(cfg->init_val, cfg->init_reg); in sparx5_init_ram()
362 if ((value & cfg->init_val) != cfg->init_val) in sparx5_init_ram()
/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()
/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()
/drivers/acpi/
Dosl.c525 acpi_os_predefined_override(const struct acpi_predefined_names *init_val, in acpi_os_predefined_override() argument
528 if (!init_val || !new_val) in acpi_os_predefined_override()
532 if (!memcmp(init_val->name, "_OS_", 4) && strlen(acpi_os_name)) { in acpi_os_predefined_override()
537 if (!memcmp(init_val->name, "_REV", 4) && acpi_rev_override) { in acpi_os_predefined_override()
/drivers/net/ethernet/amazon/ena/
Dena_com.h663 const u8 *key, u16 key_len, u32 init_val);
Dena_admin_defs.h745 u32 init_val; member
Dena_com.c2349 cmd.u.flow_hash_func.init_val = rss->hash_init_val; in ena_com_set_hash_function()
2379 const u8 *key, u16 key_len, u32 init_val) in ena_com_fill_hash_function() argument
2417 rss->hash_init_val = init_val; in ena_com_fill_hash_function()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c3073 u8 init_val = mem_init->init_val; in bnxt_init_ctx_mem() local
3078 if (!init_val) in bnxt_init_ctx_mem()
3081 memset(p, init_val, len); in bnxt_init_ctx_mem()
3085 *(p2 + i + offset) = init_val; in bnxt_init_ctx_mem()
7051 u8 init_val; in bnxt_init_ctx_initializer() local
7055 init_val = resp->ctx_kind_initializer; in bnxt_init_ctx_initializer()
7060 mem_init->init_val = init_val; in bnxt_init_ctx_initializer()
7069 mem_init->init_val = 0; in bnxt_init_ctx_initializer()
Dbnxt.h739 u8 init_val; member