Home
last modified time | relevance | path

Searched refs:acpi_resource (Results 1 – 25 of 43) sorted by relevance

12

/drivers/pnp/pnpacpi/
Drsparser.c164 static acpi_status pnpacpi_allocated_resource(struct acpi_resource *res, in pnpacpi_allocated_resource()
405 struct acpi_resource *r) in pnpacpi_parse_address_option()
432 struct acpi_resource *r) in pnpacpi_parse_ext_address_option()
454 static __init acpi_status pnpacpi_option_resource(struct acpi_resource *res, in pnpacpi_option_resource()
573 static int pnpacpi_supported_resource(struct acpi_resource *res) in pnpacpi_supported_resource()
596 static acpi_status pnpacpi_count_resources(struct acpi_resource *res, in pnpacpi_count_resources()
606 static acpi_status pnpacpi_type_resources(struct acpi_resource *res, void *data) in pnpacpi_type_resources()
608 struct acpi_resource **resource = data; in pnpacpi_type_resources()
612 (*resource)->length = sizeof(struct acpi_resource); in pnpacpi_type_resources()
627 struct acpi_resource *resource; in pnpacpi_build_resource_template()
[all …]
/drivers/acpi/acpica/
Dacresrc.h85 #define ACPI_RS_OFFSET(f) (u8) ACPI_OFFSET (struct acpi_resource,f)
201 acpi_rs_get_aml_length(struct acpi_resource *resource_list,
214 acpi_rs_convert_resources_to_aml(struct acpi_resource *resource,
222 struct acpi_resource *resource);
225 acpi_rs_get_address_common(struct acpi_resource *resource,
232 acpi_rs_convert_aml_to_resource(struct acpi_resource *resource,
237 acpi_rs_convert_resource_to_aml(struct acpi_resource *resource,
276 void acpi_rs_dump_resource_list(struct acpi_resource *resource);
Drsxface.c35 acpi_rs_match_vendor_resource(struct acpi_resource *resource, void *context);
332 acpi_resource_to_address64(struct acpi_resource *resource, in ACPI_EXPORT_SYMBOL()
442 acpi_rs_match_vendor_resource(struct acpi_resource *resource, void *context) in ACPI_EXPORT_SYMBOL()
511 struct acpi_resource *resource; in acpi_walk_resource_buffer()
512 struct acpi_resource *resource_end; in acpi_walk_resource_buffer()
524 resource = ACPI_CAST_PTR(struct acpi_resource, buffer->pointer); in acpi_walk_resource_buffer()
526 ACPI_ADD_PTR(struct acpi_resource, buffer->pointer, buffer->length); in acpi_walk_resource_buffer()
Drslist.c34 struct acpi_resource **resource_ptr = in acpi_rs_convert_aml_to_resources()
35 ACPI_CAST_INDIRECT_PTR(struct acpi_resource, context); in acpi_rs_convert_aml_to_resources()
36 struct acpi_resource *resource; in acpi_rs_convert_aml_to_resources()
134 acpi_rs_convert_resources_to_aml(struct acpi_resource *resource, in acpi_rs_convert_resources_to_aml()
Ddbcmds.c30 acpi_db_resource_callback(struct acpi_resource *resource, void *context);
533 acpi_rs_dump_resource_list(ACPI_CAST_PTR(struct acpi_resource, in acpi_db_display_template()
733 acpi_db_resource_callback(struct acpi_resource *resource, void *context) in acpi_db_resource_callback()
870 acpi_rs_dump_resource_list(ACPI_CAST_PTR(struct acpi_resource, in acpi_db_device_resources()
924 (struct acpi_resource, in acpi_db_device_resources()
956 (struct acpi_resource, in acpi_db_device_resources()
Drscalc.c154 acpi_rs_get_aml_length(struct acpi_resource *resource, in acpi_rs_get_aml_length()
158 struct acpi_resource *resource_end; in acpi_rs_get_aml_length()
166 ACPI_ADD_PTR(struct acpi_resource, resource, resource_list_size); in acpi_rs_get_aml_length()
425 ACPI_ADD_PTR(struct acpi_resource, resource, in acpi_rs_get_aml_length()
Drsaddr.c272 acpi_rs_get_address_common(struct acpi_resource *resource, in acpi_rs_get_address_common()
328 struct acpi_resource *resource) in acpi_rs_set_address_common()
Drsmisc.c35 acpi_rs_convert_aml_to_resource(struct acpi_resource *resource, in acpi_rs_convert_aml_to_resource()
446 acpi_rs_convert_resource_to_aml(struct acpi_resource *resource, in acpi_rs_convert_resource_to_aml()
Drsdump.c63 void acpi_rs_dump_resource_list(struct acpi_resource *resource_list) in acpi_rs_dump_resource_list()
Drscreate.c32 struct acpi_resource **resource_ptr) in acpi_buffer_to_resource()
/drivers/acpi/
Dresource.c106 bool acpi_dev_resource_memory(struct acpi_resource *ares, struct resource *res) in acpi_dev_resource_memory()
179 bool acpi_dev_resource_io(struct acpi_resource *ares, struct resource *res) in acpi_dev_resource_io()
289 bool acpi_dev_resource_address_space(struct acpi_resource *ares, in acpi_dev_resource_address_space()
318 bool acpi_dev_resource_ext_address_space(struct acpi_resource *ares, in acpi_dev_resource_ext_address_space()
738 bool acpi_dev_resource_interrupt(struct acpi_resource *ares, int index, in acpi_dev_resource_interrupt()
795 int (*preproc)(struct acpi_resource *, void *);
818 static acpi_status acpi_dev_process_resource(struct acpi_resource *ares, in acpi_dev_process_resource()
859 int (*preproc)(struct acpi_resource *, void *), in __acpi_dev_get_resources() argument
911 int (*preproc)(struct acpi_resource *, void *), in acpi_dev_get_resources() argument
919 static int is_memory(struct acpi_resource *ares, void *not_used) in is_memory()
[all …]
Dpci_link.c84 static acpi_status acpi_pci_link_check_possible(struct acpi_resource *resource, in acpi_pci_link_check_possible()
173 static acpi_status acpi_pci_link_check_current(struct acpi_resource *resource, in acpi_pci_link_check_current()
280 struct acpi_resource res; in acpi_pci_link_set()
281 struct acpi_resource end; in acpi_pci_link_set()
301 resource->res.length = sizeof(struct acpi_resource); in acpi_pci_link_set()
316 resource->res.length = sizeof(struct acpi_resource); in acpi_pci_link_set()
340 resource->end.length = sizeof(struct acpi_resource); in acpi_pci_link_set()
Dacpi_platform.c90 static unsigned int acpi_platform_resource_count(struct acpi_resource *ares, void *data) in acpi_platform_resource_count()
Devged.c68 static acpi_status acpi_ged_request_interrupt(struct acpi_resource *ares, in acpi_ged_request_interrupt()
Dirq.c197 static acpi_status acpi_irq_parse_one_cb(struct acpi_resource *ares, in acpi_irq_parse_one_cb()
Dioapic.c41 static acpi_status setup_res(struct acpi_resource *acpi_res, void *data) in setup_res()
Dacpi_memhotplug.c61 acpi_memory_get_resource(struct acpi_resource *resource, void *context) in acpi_memory_get_resource()
/drivers/i2c/
Di2c-core-acpi.c55 bool i2c_acpi_get_i2c_resource(struct acpi_resource *ares, in i2c_acpi_get_i2c_resource()
72 static int i2c_acpi_resource_count(struct acpi_resource *ares, void *data) in i2c_acpi_resource_count()
104 static int i2c_acpi_fill_info(struct acpi_resource *ares, void *data) in i2c_acpi_fill_info()
176 static int i2c_acpi_add_irq_resource(struct acpi_resource *ares, void *data) in i2c_acpi_add_irq_resource()
653 struct acpi_resource *ares; in i2c_acpi_space_handler()
/drivers/irqchip/
Dqcom-irq-combiner.c141 static acpi_status count_registers_cb(struct acpi_resource *ares, void *context) in count_registers_cb()
172 static acpi_status get_registers_cb(struct acpi_resource *ares, void *context) in get_registers_cb()
/drivers/gpio/
Dgpiolib-acpi.c229 bool acpi_gpio_get_irq_resource(struct acpi_resource *ares, in acpi_gpio_get_irq_resource()
252 bool acpi_gpio_get_io_resource(struct acpi_resource *ares, in acpi_gpio_get_io_resource()
423 static acpi_status acpi_gpiochip_alloc_event(struct acpi_resource *ares, in acpi_gpiochip_alloc_event()
771 static int acpi_populate_gpio_lookup(struct acpi_resource *ares, void *data) in acpi_populate_gpio_lookup()
1147 struct acpi_resource *ares; in acpi_gpio_adr_space_handler()
1435 static int acpi_find_gpio_count(struct acpi_resource *ares, void *data) in acpi_find_gpio_count()
/drivers/platform/x86/
Dsony-laptop.c4322 sony_pic_read_possible_resource(struct acpi_resource *resource, void *context) in sony_pic_read_possible_resource()
4482 struct acpi_resource res1; in sony_pic_enable()
4483 struct acpi_resource res2; in sony_pic_enable()
4484 struct acpi_resource res3; in sony_pic_enable()
4485 struct acpi_resource res4; in sony_pic_enable()
4505 resource->res1.length = sizeof(struct acpi_resource); in sony_pic_enable()
4510 resource->res2.length = sizeof(struct acpi_resource); in sony_pic_enable()
4516 resource->res3.length = sizeof(struct acpi_resource); in sony_pic_enable()
4523 resource->res4.length = sizeof(struct acpi_resource); in sony_pic_enable()
4529 resource->res1.length = sizeof(struct acpi_resource); in sony_pic_enable()
[all …]
/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_acpi.c84 static int acpi_i2c_check_resource(struct acpi_resource *ares, void *data) in acpi_i2c_check_resource()
/drivers/tty/serdev/
Dcore.c586 bool serdev_acpi_get_uart_resource(struct acpi_resource *ares, in serdev_acpi_get_uart_resource()
603 static int acpi_serdev_parse_resource(struct acpi_resource *ares, void *data) in acpi_serdev_parse_resource()
/drivers/watchdog/
Dni903x_wdt.c131 static acpi_status ni903x_resources(struct acpi_resource *res, void *data) in ni903x_resources()
/drivers/platform/x86/intel/int3472/
Ddiscrete.c152 static int skl_int3472_handle_gpio_resources(struct acpi_resource *ares, in skl_int3472_handle_gpio_resources()

12