Home
last modified time | relevance | path

Searched refs:ares (Results 1 – 4 of 4) sorted by relevance

/drivers/acpi/
Dresource.c71 bool acpi_dev_resource_memory(struct acpi_resource *ares, struct resource *res) in acpi_dev_resource_memory() argument
77 switch (ares->type) { in acpi_dev_resource_memory()
79 memory24 = &ares->data.memory24; in acpi_dev_resource_memory()
85 memory32 = &ares->data.memory32; in acpi_dev_resource_memory()
91 fixed_memory32 = &ares->data.fixed_memory32; in acpi_dev_resource_memory()
139 bool acpi_dev_resource_io(struct acpi_resource *ares, struct resource *res) in acpi_dev_resource_io() argument
144 switch (ares->type) { in acpi_dev_resource_io()
146 io = &ares->data.io; in acpi_dev_resource_io()
152 fixed_io = &ares->data.fixed_io; in acpi_dev_resource_io()
173 bool acpi_dev_resource_address_space(struct acpi_resource *ares, in acpi_dev_resource_address_space() argument
[all …]
Dacpi_i2c.c20 static int acpi_i2c_add_resource(struct acpi_resource *ares, void *data) in acpi_i2c_add_resource() argument
24 if (ares->type == ACPI_RESOURCE_TYPE_SERIAL_BUS) { in acpi_i2c_add_resource()
27 sb = &ares->data.i2c_serial_bus; in acpi_i2c_add_resource()
36 if (acpi_dev_resource_interrupt(ares, 0, &r)) in acpi_i2c_add_resource()
/drivers/gpio/
Dgpiolib-acpi.c211 static int acpi_find_gpio(struct acpi_resource *ares, void *data) in acpi_find_gpio() argument
215 if (ares->type != ACPI_RESOURCE_TYPE_GPIO) in acpi_find_gpio()
219 const struct acpi_resource_gpio *agpio = &ares->data.gpio; in acpi_find_gpio()
/drivers/spi/
Dspi.c907 static int acpi_spi_add_resource(struct acpi_resource *ares, void *data) in acpi_spi_add_resource() argument
911 if (ares->type == ACPI_RESOURCE_TYPE_SERIAL_BUS) { in acpi_spi_add_resource()
914 sb = &ares->data.spi_serial_bus; in acpi_spi_add_resource()
929 if (acpi_dev_resource_interrupt(ares, 0, &r)) in acpi_spi_add_resource()