Home
last modified time | relevance | path

Searched refs:reference (Results 1 – 25 of 75) sorted by relevance

123

/drivers/acpi/acpica/
Dexresolv.c154 ref_type = stack_desc->reference.class; in acpi_ex_resolve_object_to_value()
165 reference.value, in acpi_ex_resolve_object_to_value()
174 stack_desc->reference.value, in acpi_ex_resolve_object_to_value()
187 switch (stack_desc->reference.target_type) { in acpi_ex_resolve_object_to_value()
205 obj_desc = *stack_desc->reference.where; in acpi_ex_resolve_object_to_value()
232 stack_desc->reference.target_type, in acpi_ex_resolve_object_to_value()
251 if ((stack_desc->reference.node->type == in acpi_ex_resolve_object_to_value()
253 || (stack_desc->reference.node->type == in acpi_ex_resolve_object_to_value()
258 *stack_ptr = (void *)stack_desc->reference.node; in acpi_ex_resolve_object_to_value()
263 (stack_desc->reference.node)->object; in acpi_ex_resolve_object_to_value()
[all …]
Ddbobject.c275 switch (obj_desc->reference.class) { in acpi_db_display_internal_object()
279 obj_desc->reference.value); in acpi_db_display_internal_object()
282 [obj_desc->reference.value].object; in acpi_db_display_internal_object()
292 obj_desc->reference.value); in acpi_db_display_internal_object()
295 [obj_desc->reference.value].object; in acpi_db_display_internal_object()
304 switch (obj_desc->reference.target_type) { in acpi_db_display_internal_object()
308 obj_desc->reference. in acpi_db_display_internal_object()
311 (obj_desc->reference.object); in acpi_db_display_internal_object()
317 obj_desc->reference. in acpi_db_display_internal_object()
319 if (!obj_desc->reference.where) { in acpi_db_display_internal_object()
[all …]
Dexdebug.c203 switch (source_desc->reference.class) { in acpi_ex_do_debug_object()
206 acpi_os_printf("0x%X\n", source_desc->reference.value); in acpi_ex_do_debug_object()
214 source_desc->reference.value); in acpi_ex_do_debug_object()
226 if (source_desc->reference.node) { in acpi_ex_do_debug_object()
228 (source_desc->reference.node) != in acpi_ex_do_debug_object()
232 source_desc->reference.node); in acpi_ex_do_debug_object()
235 source_desc->reference.node, in acpi_ex_do_debug_object()
236 (source_desc->reference.node)-> in acpi_ex_do_debug_object()
239 switch ((source_desc->reference.node)->type) { in acpi_ex_do_debug_object()
254 reference. in acpi_ex_do_debug_object()
[all …]
Dexstore.c155 switch (ref_desc->reference.class) { in acpi_ex_store()
161 ref_desc->reference. in acpi_ex_store()
181 acpi_ds_store_object_to_local(ref_desc->reference.class, in acpi_ex_store()
182 ref_desc->reference.value, in acpi_ex_store()
202 ref_desc->reference.class)); in acpi_ex_store()
243 switch (index_desc->reference.target_type) { in acpi_ex_store_object_to_index()
254 obj_desc = *(index_desc->reference.where); in acpi_ex_store_object_to_index()
257 source_desc->reference.class == ACPI_REFCLASS_TABLE) { in acpi_ex_store_object_to_index()
280 index_desc->reference.object)->common. in acpi_ex_store_object_to_index()
286 *(index_desc->reference.where) = new_desc; in acpi_ex_store_object_to_index()
[all …]
Dexdump.c229 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(reference.class), "Class"},
230 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(reference.target_type), "Target Type"},
231 {ACPI_EXD_UINT32, ACPI_EXD_OFFSET(reference.value), "Value"},
232 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(reference.object), "Object Desc"},
233 {ACPI_EXD_NODE, ACPI_EXD_OFFSET(reference.node), "Node"},
234 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(reference.where), "Where"},
235 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(reference.index_pointer),
661 switch (obj_desc->reference.class) { in acpi_ex_dump_operand()
669 acpi_os_printf("%p\n", obj_desc->reference.object); in acpi_ex_dump_operand()
675 obj_desc->reference.value); in acpi_ex_dump_operand()
[all …]
Ddsobject.c772 obj_desc->reference.value = in acpi_ds_init_object_from_op()
774 obj_desc->reference.class = ACPI_REFCLASS_LOCAL; in acpi_ds_init_object_from_op()
779 obj_desc->reference. in acpi_ds_init_object_from_op()
784 &obj_desc->reference. in acpi_ds_init_object_from_op()
793 obj_desc->reference.value = ((u32)opcode) - AML_ARG_OP; in acpi_ds_init_object_from_op()
794 obj_desc->reference.class = ACPI_REFCLASS_ARG; in acpi_ds_init_object_from_op()
799 reference.value, in acpi_ds_init_object_from_op()
805 reference. in acpi_ds_init_object_from_op()
817 obj_desc->reference.node = op->common.node; in acpi_ds_init_object_from_op()
818 obj_desc->reference.object = in acpi_ds_init_object_from_op()
[all …]
Dexoparg2.c366 return_desc->reference.value = (u32) index; in acpi_ex_opcode_2A_1T_1R()
367 return_desc->reference.class = ACPI_REFCLASS_INDEX; in acpi_ex_opcode_2A_1T_1R()
381 return_desc->reference.target_type = in acpi_ex_opcode_2A_1T_1R()
383 return_desc->reference.index_pointer = in acpi_ex_opcode_2A_1T_1R()
394 return_desc->reference.target_type = in acpi_ex_opcode_2A_1T_1R()
396 return_desc->reference.index_pointer = in acpi_ex_opcode_2A_1T_1R()
407 return_desc->reference.target_type = ACPI_TYPE_PACKAGE; in acpi_ex_opcode_2A_1T_1R()
408 return_desc->reference.where = in acpi_ex_opcode_2A_1T_1R()
432 return_desc->reference.object = operand[0]; in acpi_ex_opcode_2A_1T_1R()
Dexoparg1.c821 switch (operand[0]->reference.class) { in acpi_ex_opcode_1A_0T_1R()
829 (operand[0]->reference.class, in acpi_ex_opcode_1A_0T_1R()
830 operand[0]->reference.value, in acpi_ex_opcode_1A_0T_1R()
849 operand[0]->reference.object; in acpi_ex_opcode_1A_0T_1R()
925 switch (operand[0]->reference.class) { in acpi_ex_opcode_1A_0T_1R()
931 switch (operand[0]->reference.target_type) { in acpi_ex_opcode_1A_0T_1R()
935 operand[0]->reference.object; in acpi_ex_opcode_1A_0T_1R()
951 temp_desc->buffer.pointer[operand[0]->reference.value]); in acpi_ex_opcode_1A_0T_1R()
964 *(operand[0]->reference.where); in acpi_ex_opcode_1A_0T_1R()
982 operand[0]->reference. in acpi_ex_opcode_1A_0T_1R()
[all …]
Dutcopy.c179 switch (internal_object->reference.class) { in acpi_ut_copy_isimple_to_esimple()
185 external_object->reference.handle = in acpi_ut_copy_isimple_to_esimple()
186 internal_object->reference.node; in acpi_ut_copy_isimple_to_esimple()
187 external_object->reference.actual_type = in acpi_ut_copy_isimple_to_esimple()
188 acpi_ns_get_type(internal_object->reference.node); in acpi_ut_copy_isimple_to_esimple()
540 internal_object->reference.class = ACPI_REFCLASS_REFOF; in acpi_ut_copy_esimple_to_isimple()
541 internal_object->reference.object = in acpi_ut_copy_esimple_to_isimple()
542 external_object->reference.handle; in acpi_ut_copy_esimple_to_isimple()
765 if (source_desc->reference.class == ACPI_REFCLASS_TABLE) { in acpi_ut_copy_simple_object()
769 acpi_ut_add_reference(source_desc->reference.object); in acpi_ut_copy_simple_object()
Dexmisc.c89 switch (obj_desc->reference.class) { in acpi_ex_get_object_reference()
96 referenced_obj = obj_desc->reference.object; in acpi_ex_get_object_reference()
102 obj_desc->reference.class)); in acpi_ex_get_object_reference()
129 reference_obj->reference.class = ACPI_REFCLASS_REFOF; in acpi_ex_get_object_reference()
130 reference_obj->reference.object = referenced_obj; in acpi_ex_get_object_reference()
Dexresop.c230 switch (obj_desc->reference.class) { in acpi_ex_resolve_operands()
248 obj_desc->reference. in acpi_ex_resolve_operands()
256 obj_desc->reference.class, in acpi_ex_resolve_operands()
339 && ((*stack_ptr)->reference.class == in acpi_ex_resolve_operands()
Drscreate.c330 if (obj_desc->reference.class != in acpi_rs_create_pci_routing_table()
335 obj_desc->reference.class)); in acpi_rs_create_pci_routing_table()
339 node = obj_desc->reference.node; in acpi_rs_create_pci_routing_table()
Ddswexec.c452 && (walk_state->operands[0]->reference.class == in acpi_ds_exec_end_op()
453 walk_state->operands[1]->reference.class) in acpi_ds_exec_end_op()
454 && (walk_state->operands[0]->reference.value == in acpi_ds_exec_end_op()
455 walk_state->operands[1]->reference.value)) { in acpi_ds_exec_end_op()
Dexresnte.c240 switch (source_desc->reference.class) { in acpi_ex_resolve_node_to_value()
257 source_desc->reference.class)); in acpi_ex_resolve_node_to_value()
Dutdecode.c392 if (object->reference.class > ACPI_REFCLASS_MAX) { in acpi_ut_get_reference_name()
396 return (acpi_gbl_ref_class_names[object->reference.class]); in acpi_ut_get_reference_name()
Dutobject.c514 switch (internal_object->reference.class) { in acpi_ut_get_simple_object_size()
522 reference.node); in acpi_ut_get_simple_object_size()
540 internal_object->reference.class, in acpi_ut_get_simple_object_size()
Dnspredef.c329 if (return_object->reference.class == ACPI_REFCLASS_NAME) { in acpi_ns_check_reference()
336 return_object->reference.class)); in acpi_ns_check_reference()
Dexconfig.c102 obj_desc->reference.class = ACPI_REFCLASS_TABLE; in acpi_ex_add_table()
107 obj_desc->reference.value = table_index; in acpi_ex_add_table()
591 table_index = table_desc->reference.value; in acpi_ex_unload_table()
Dutdelete.c628 if ((object->reference.class == ACPI_REFCLASS_INDEX) || in acpi_ut_update_object_reference()
629 (object->reference.class == ACPI_REFCLASS_NAME)) { in acpi_ut_update_object_reference()
630 next_object = object->reference.object; in acpi_ut_update_object_reference()
/drivers/cpufreq/
Damd_freq_sensitivity.c34 u64 reference; member
46 struct msr actual, reference; in amd_powersave_bias_target() local
59 &reference.l, &reference.h); in amd_powersave_bias_target()
61 reference.h &= 0x00ffffff; in amd_powersave_bias_target()
64 if (actual.q < data->actual || reference.q < data->reference) { in amd_powersave_bias_target()
70 d_reference = reference.q - data->reference; in amd_powersave_bias_target()
107 data->reference = reference.q; in amd_powersave_bias_target()
/drivers/rtc/
Drtc-digicolor.c66 u32 reference, time1, time2; in dc_rtc_read() local
73 reference = readl_relaxed(rtc->regs + DC_RTC_REFERENCE); in dc_rtc_read()
83 *val = reference + time1; in dc_rtc_read()
119 u32 alarm_reg, reference; in dc_rtc_read_alarm() local
124 reference = readl_relaxed(rtc->regs + DC_RTC_REFERENCE); in dc_rtc_read_alarm()
125 rtc_time64_to_tm(reference + alarm_reg, &alarm->time); in dc_rtc_read_alarm()
131 alarm->pending = alarm_reg + reference > now; in dc_rtc_read_alarm()
141 u32 reference; in dc_rtc_set_alarm() local
145 reference = readl_relaxed(rtc->regs + DC_RTC_REFERENCE); in dc_rtc_set_alarm()
146 writel_relaxed(alarm_time - reference, rtc->regs + DC_RTC_ALARM); in dc_rtc_set_alarm()
/drivers/hwmon/
Dadcxx.c56 u32 reference; /* in millivolts */ member
90 value = value * adc->reference >> 12; in adcxx_read()
109 u32 reference; in adcxx_show_max() local
114 reference = adc->reference; in adcxx_show_max()
118 return sprintf(buf, "%d\n", reference); in adcxx_show_max()
134 adc->reference = value; in adcxx_set_max()
176 adc->reference = 3300; in adcxx_probe()
/drivers/media/dvb-frontends/
Dstb6100.c325 fvco = (nfrac * state->reference >> (9 - psd2)) + (nint * state->reference << psd2); in stb6100_get_frequency()
330 state->frequency, odiv, psd2, state->reference, fvco, nint, nfrac); in stb6100_get_frequency()
397 nint = fvco / (state->reference << psd2); in stb6100_set_frequency()
399 nfrac = DIV_ROUND_CLOSEST((fvco - (nint * state->reference << psd2)) in stb6100_set_frequency()
400 << (9 - psd2), state->reference); in stb6100_set_frequency()
447 (unsigned int)psd2, state->reference, in stb6100_set_frequency()
508 state->reference = status->refclock / 1000; /* kHz */ in stb6100_init()
595 state->reference = config->refclock / 1000; /* kHz */ in stb6100_attach()
/drivers/acpi/
Dcppc_acpi.c656 u64 delivered, reference; in cppc_get_perf_ctrs() local
680 cpc_read(&reference_reg->cpc_entry.reg, &reference); in cppc_get_perf_ctrs()
682 if (!delivered || !reference) { in cppc_get_perf_ctrs()
688 perf_fb_ctrs->reference = reference; in cppc_get_perf_ctrs()
691 perf_fb_ctrs->reference -= perf_fb_ctrs->prev_reference; in cppc_get_perf_ctrs()
694 perf_fb_ctrs->prev_reference = reference; in cppc_get_perf_ctrs()
/drivers/staging/iio/Documentation/dac/
Dmax51724 Supply voltage as reference X
25 Separate reference input X

123