Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/acpi/acpica/
Ddspkginit.c65 u16 reference_count; in acpi_ds_build_internal_package_obj() local
229 reference_count = in acpi_ds_build_internal_package_obj()
230 (*obj_desc_ptr)->common.reference_count; in acpi_ds_build_internal_package_obj()
231 if (reference_count > 1) { in acpi_ds_build_internal_package_obj()
237 index < ((u32)reference_count - 1); in acpi_ds_build_internal_package_obj()
Dnsrepair.c263 new_object->common.reference_count = in acpi_ns_simple_repair()
264 return_object->common.reference_count; in acpi_ns_simple_repair()
407 new_object->common.reference_count = in acpi_ns_repair_null_element()
408 info->parent_package->common.reference_count; in acpi_ns_repair_null_element()
Dutdelete.c383 original_count = object->common.reference_count; in acpi_ut_update_ref_count()
391 object->common.reference_count = new_count; in acpi_ut_update_ref_count()
416 object->common.reference_count = new_count; in acpi_ut_update_ref_count()
690 object, object->common.reference_count)); in acpi_ut_add_reference()
733 object->common.reference_count)); in acpi_ut_remove_reference()
Dutcopy.c643 u16 reference_count; in acpi_ut_copy_simple_object() local
650 reference_count = dest_desc->common.reference_count; in acpi_ut_copy_simple_object()
667 dest_desc->common.reference_count = reference_count; in acpi_ut_copy_simple_object()
Dexstore.c247 reference_count; i++) { in acpi_ex_store_object_to_index()
258 reference_count; i++) { in acpi_ex_store_object_to_index()
Ddsopcode.c225 buffer_desc->common.reference_count = (u16) in acpi_ds_init_buffer_field()
226 (buffer_desc->common.reference_count + in acpi_ds_init_buffer_field()
227 obj_desc->common.reference_count); in acpi_ds_init_buffer_field()
Dutobject.c92 second_object->common.reference_count = 1; in acpi_ut_create_internal_object_dbg()
111 object->common.reference_count = 1; in acpi_ut_create_internal_object_dbg()
Ddsmthdat.c291 type, object->common.reference_count, in acpi_ds_method_data_set_value()
540 if (obj_desc->common.reference_count > 1) { in acpi_ds_store_object_to_local()
Dnsrepair2.c369 original_ref_count = original_element->common.reference_count; in acpi_ns_repair_CID()
380 (*element_ptr)->common.reference_count = in acpi_ns_repair_CID()
Dexdump.c249 {ACPI_EXD_UINT16, ACPI_EXD_OFFSET(common.reference_count),
623 obj_desc->common.reference_count)); in acpi_ex_dump_operand()
626 obj_desc, obj_desc->common.reference_count)); in acpi_ex_dump_operand()
Dacobject.h50 u16 reference_count; /* For object deletion management */\
Duttrack.c657 reference_count); in acpi_ut_dump_allocations()
Dnsdump.c435 acpi_os_printf("(R%u)", obj_desc->common.reference_count); in acpi_ns_dump_one_object()
/linux-6.1.9/drivers/acpi/
Dec.c228 ec_dbg_raw("%lu: " fmt, ec->reference_count, ## __VA_ARGS__)
266 return ec->reference_count == 1; in acpi_ec_flushed()
349 BUG_ON(ec->reference_count < 1); in acpi_ec_enable_gpe()
368 BUG_ON(ec->reference_count < 1); in acpi_ec_disable_gpe()
379 ec->reference_count++; in acpi_ec_submit_request()
381 ec->gpe >= 0 && ec->reference_count == 1) in acpi_ec_submit_request()
389 ec->reference_count--; in acpi_ec_complete_request()
391 ec->gpe >= 0 && ec->reference_count == 0) in acpi_ec_complete_request()
1433 if (test_bit(EC_FLAGS_STARTED, &ec->flags) && ec->reference_count >= 1) in install_gpe_event_handler()
1983 ec->gpe >= 0 && ec->reference_count >= 1) in acpi_ec_suspend_noirq()
[all …]
Dinternal.h182 unsigned long reference_count; member
/linux-6.1.9/drivers/hid/intel-ish-hid/ishtp/
Dbus.h44 int reference_count; member
Dbus.c577 cl_device->reference_count++; in ishtp_get_device()
589 cl_device->reference_count--; in ishtp_put_device()
756 if (warm_reset && cl_device->reference_count) in ishtp_bus_remove_all_clients()