Searched refs:mmio_res (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/soc/intel/common/ |
D | soc_gpio.c | 47 struct acpi_mmio_resource mmio_res; in soc_acpi_gpio_resource_get() local 58 mmio_res.mmio_max = ARRAY_SIZE(reg_base); in soc_acpi_gpio_resource_get() 59 mmio_res.reg_base = reg_base; in soc_acpi_gpio_resource_get() 60 ret = acpi_device_mmio_get(acpi_child, &mmio_res); in soc_acpi_gpio_resource_get() 77 if (ACPI_RESOURCE_TYPE_GET(&mmio_res) == ACPI_RES_TYPE_MEM) { in soc_acpi_gpio_resource_get() 86 res->reg_base = ACPI_MMIO_GET(&mmio_res) & (~0x0FFFFFF); in soc_acpi_gpio_resource_get() 88 res->len = ACPI_RESOURCE_SIZE_GET(&mmio_res); in soc_acpi_gpio_resource_get()
|
/Zephyr-latest/tests/lib/acpi/integration/src/ |
D | main.c | 51 struct acpi_mmio_resource mmio_res; in ZTEST() local 62 mmio_res.mmio_max = ARRAY_SIZE(reg_base); in ZTEST() 63 mmio_res.reg_base = reg_base; in ZTEST() 64 ret = acpi_device_mmio_get(dev, &mmio_res); in ZTEST()
|
/Zephyr-latest/lib/acpi/ |
D | acpi_shell.c | 281 struct acpi_mmio_resource mmio_res; in get_acpi_dev_resource() local 298 mmio_res.mmio_max = ARRAY_SIZE(reg_base); in get_acpi_dev_resource() 299 mmio_res.reg_base = reg_base; in get_acpi_dev_resource() 300 if (!acpi_device_mmio_get(dev, &mmio_res)) { in get_acpi_dev_resource() 303 for (int i = 0; i < ACPI_RESOURCE_COUNT_GET(&mmio_res); i++) { in get_acpi_dev_resource() 305 ACPI_MULTI_RESOURCE_TYPE_GET(&mmio_res, i), in get_acpi_dev_resource() 306 (void *)ACPI_MULTI_MMIO_GET(&mmio_res, i), in get_acpi_dev_resource() 307 ACPI_MULTI_RESOURCE_SIZE_GET(&mmio_res, i)); in get_acpi_dev_resource()
|
D | acpi.c | 488 int acpi_device_mmio_get(struct acpi_dev *child_dev, struct acpi_mmio_resource *mmio_res) in acpi_device_mmio_get() argument 491 struct acpi_reg_base *reg_base = mmio_res->reg_base; in acpi_device_mmio_get() 533 if (mmio_cnt >= mmio_res->mmio_max && in acpi_device_mmio_get() 543 mmio_res->mmio_max = mmio_cnt; in acpi_device_mmio_get()
|
/Zephyr-latest/include/zephyr/acpi/ |
D | acpi.h | 217 int acpi_device_mmio_get(struct acpi_dev *child_dev, struct acpi_mmio_resource *mmio_res);
|