Lines Matching refs:node
27 struct acpi_apmt_node *node) in apmt_init_resources() argument
32 res[num_res].start = node->base_address0; in apmt_init_resources()
33 res[num_res].end = node->base_address0 + SZ_4K - 1; in apmt_init_resources()
38 if (node->flags & ACPI_APMT_FLAGS_DUAL_PAGE) { in apmt_init_resources()
39 res[num_res].start = node->base_address1; in apmt_init_resources()
40 res[num_res].end = node->base_address1 + SZ_4K - 1; in apmt_init_resources()
46 if (node->ovflw_irq != 0) { in apmt_init_resources()
47 trigger = (node->ovflw_irq_flags & ACPI_APMT_OVFLW_IRQ_FLAGS_MODE); in apmt_init_resources()
50 irq = acpi_register_gsi(NULL, node->ovflw_irq, trigger, in apmt_init_resources()
75 static int __init apmt_add_platform_device(struct acpi_apmt_node *node, in apmt_add_platform_device() argument
88 count = apmt_init_resources(res, node); in apmt_add_platform_device()
98 ret = platform_device_add_data(pdev, &node, sizeof(node)); in apmt_add_platform_device()