Home
last modified time | relevance | path

Searched refs:objhdl (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_util.c425 acpidev_data_handle_t objhdl = data; in acpidev_free_object_handler() local
427 if (objhdl->aod_class != NULL) { in acpidev_free_object_handler()
428 atomic_dec_32(&objhdl->aod_class->adc_refcnt); in acpidev_free_object_handler()
429 objhdl->aod_class = NULL; in acpidev_free_object_handler()
431 kmem_free(objhdl, sizeof (acpidev_data_handle_t)); in acpidev_free_object_handler()
438 acpidev_data_handle_t objhdl = NULL; in acpidev_data_get_handle() local
441 objhdl = (acpidev_data_handle_t)ptr; in acpidev_data_get_handle()
444 return (objhdl); in acpidev_data_get_handle()
450 acpidev_data_handle_t objhdl; in acpidev_data_create_handle() local
452 objhdl = kmem_zalloc(sizeof (*objhdl), KM_SLEEP); in acpidev_data_create_handle()
[all …]
H A Dacpidev_drv.c377 acpidev_data_handle_t objhdl; in acpidev_create_root_node() local
431 objhdl = acpidev_data_create_handle(ACPI_ROOT_OBJECT); in acpidev_create_root_node()
432 if (objhdl == NULL) { in acpidev_create_root_node()
437 objhdl->aod_level = 0; in acpidev_create_root_node()
438 objhdl->aod_hdl = ACPI_ROOT_OBJECT; in acpidev_create_root_node()
439 objhdl->aod_dip = dip; in acpidev_create_root_node()
440 objhdl->aod_class = &acpidev_class_scope; in acpidev_create_root_node()
441 objhdl->aod_status = acpidev_query_device_status(ACPI_ROOT_OBJECT); in acpidev_create_root_node()
442 objhdl->aod_iflag = ACPIDEV_ODF_STATUS_VALID | in acpidev_create_root_node()