Home
last modified time | relevance | path

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

12

/linux-5.19.10/drivers/pnp/pnpacpi/
Drsparser.c164 static acpi_status pnpacpi_allocated_resource(struct acpi_resource *res, in pnpacpi_allocated_resource()
404 struct acpi_resource *r) in pnpacpi_parse_address_option()
431 struct acpi_resource *r) in pnpacpi_parse_ext_address_option()
453 static __init acpi_status pnpacpi_option_resource(struct acpi_resource *res, in pnpacpi_option_resource()
572 static int pnpacpi_supported_resource(struct acpi_resource *res) in pnpacpi_supported_resource()
595 static acpi_status pnpacpi_count_resources(struct acpi_resource *res, in pnpacpi_count_resources()
605 static acpi_status pnpacpi_type_resources(struct acpi_resource *res, void *data) in pnpacpi_type_resources()
607 struct acpi_resource **resource = data; in pnpacpi_type_resources()
611 (*resource)->length = sizeof(struct acpi_resource); in pnpacpi_type_resources()
626 struct acpi_resource *resource; in pnpacpi_build_resource_template()
[all …]
/linux-5.19.10/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);
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()
128 acpi_rs_convert_resources_to_aml(struct acpi_resource *resource, in acpi_rs_convert_resources_to_aml()
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()
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()
415 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()
323 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()
444 acpi_rs_convert_resource_to_aml(struct acpi_resource *resource, in acpi_rs_convert_resource_to_aml()
/linux-5.19.10/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()
507 bool acpi_dev_resource_interrupt(struct acpi_resource *ares, int index, in acpi_dev_resource_interrupt()
562 int (*preproc)(struct acpi_resource *, void *);
585 static acpi_status acpi_dev_process_resource(struct acpi_resource *ares, in acpi_dev_process_resource()
626 int (*preproc)(struct acpi_resource *, void *), in __acpi_dev_get_resources() argument
678 int (*preproc)(struct acpi_resource *, void *), in acpi_dev_get_resources() argument
686 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()
Devged.c68 static acpi_status acpi_ged_request_interrupt(struct acpi_resource *ares, in acpi_ged_request_interrupt()
Dacpi_apd.c63 static int misc_check_res(struct acpi_resource *ares, void *data) in misc_check_res()
Dirq.c182 static acpi_status acpi_irq_parse_one_cb(struct acpi_resource *ares, in acpi_irq_parse_one_cb()
Dioapic.c40 static acpi_status setup_res(struct acpi_resource *acpi_res, void *data) in setup_res()
/linux-5.19.10/include/linux/
Dacpi.h490 bool acpi_dev_resource_memory(struct acpi_resource *ares, struct resource *res);
491 bool acpi_dev_resource_io(struct acpi_resource *ares, struct resource *res);
492 bool acpi_dev_resource_address_space(struct acpi_resource *ares,
494 bool acpi_dev_resource_ext_address_space(struct acpi_resource *ares,
498 bool acpi_dev_resource_interrupt(struct acpi_resource *ares, int index,
503 int (*preproc)(struct acpi_resource *, void *),
507 int acpi_dev_filter_resource_type(struct acpi_resource *ares,
510 static inline int acpi_dev_filter_resource_type_cb(struct acpi_resource *ares, in acpi_dev_filter_resource_type_cb()
1193 bool acpi_gpio_get_irq_resource(struct acpi_resource *ares,
1195 bool acpi_gpio_get_io_resource(struct acpi_resource *ares,
[all …]
Dserdev.h330 struct acpi_resource;
334 bool serdev_acpi_get_uart_resource(struct acpi_resource *ares,
337 static inline bool serdev_acpi_get_uart_resource(struct acpi_resource *ares, in serdev_acpi_get_uart_resource()
Di2c.h1016 struct acpi_resource;
1020 bool i2c_acpi_get_i2c_resource(struct acpi_resource *ares,
1030 static inline bool i2c_acpi_get_i2c_resource(struct acpi_resource *ares, in i2c_acpi_get_i2c_resource()
/linux-5.19.10/arch/ia64/kernel/
Dacpi-ext.c33 struct acpi_resource *resource; in hp_ccsr_locate()
60 static acpi_status find_csr_space(struct acpi_resource *resource, void *data) in find_csr_space()
/linux-5.19.10/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()
171 static int i2c_acpi_add_resource(struct acpi_resource *ares, void *data) in i2c_acpi_add_resource()
633 struct acpi_resource *ares; in i2c_acpi_space_handler()
/linux-5.19.10/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()
/linux-5.19.10/drivers/gpio/
Dgpiolib-acpi.c179 bool acpi_gpio_get_irq_resource(struct acpi_resource *ares, in acpi_gpio_get_irq_resource()
202 bool acpi_gpio_get_io_resource(struct acpi_resource *ares, in acpi_gpio_get_io_resource()
372 static acpi_status acpi_gpiochip_alloc_event(struct acpi_resource *ares, in acpi_gpiochip_alloc_event()
709 static int acpi_populate_gpio_lookup(struct acpi_resource *ares, void *data) in acpi_populate_gpio_lookup()
1077 struct acpi_resource *ares; in acpi_gpio_adr_space_handler()
1375 static int acpi_find_gpio_count(struct acpi_resource *ares, void *data) in acpi_find_gpio_count()
/linux-5.19.10/include/acpi/
Dacpixf.h778 acpi_status (*acpi_walk_resource_callback) (struct acpi_resource * resource,
819 acpi_resource_to_address64(struct acpi_resource
827 struct acpi_resource
Dacrestyp.h658 struct acpi_resource { struct
675 ACPI_ADD_PTR (struct acpi_resource, (res), (res)->length) argument
/linux-5.19.10/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()
/linux-5.19.10/drivers/platform/x86/
Dsony-laptop.c4319 sony_pic_read_possible_resource(struct acpi_resource *resource, void *context) in sony_pic_read_possible_resource()
4484 struct acpi_resource res1; in sony_pic_enable()
4485 struct acpi_resource res2; in sony_pic_enable()
4486 struct acpi_resource res3; in sony_pic_enable()
4487 struct acpi_resource res4; in sony_pic_enable()
4507 resource->res1.length = sizeof(struct acpi_resource); in sony_pic_enable()
4512 resource->res2.length = sizeof(struct acpi_resource); in sony_pic_enable()
4518 resource->res3.length = sizeof(struct acpi_resource); in sony_pic_enable()
4525 resource->res4.length = sizeof(struct acpi_resource); in sony_pic_enable()
4531 resource->res1.length = sizeof(struct acpi_resource); in sony_pic_enable()
[all …]

12