/linux-6.1.9/drivers/acpi/acpica/ |
D | rsdump.c | 63 void acpi_rs_dump_resource_list(struct acpi_resource *resource_list) in acpi_rs_dump_resource_list() argument 84 type = resource_list->type; in acpi_rs_dump_resource_list() 88 resource_list->type); in acpi_rs_dump_resource_list() 90 } else if (!resource_list->type) { in acpi_rs_dump_resource_list() 97 if (!resource_list->length) { in acpi_rs_dump_resource_list() 106 acpi_rs_dump_descriptor(&resource_list->data, in acpi_rs_dump_resource_list() 108 [resource_list->data. in acpi_rs_dump_resource_list() 111 acpi_rs_dump_descriptor(&resource_list->data, in acpi_rs_dump_resource_list() 118 resource_list = ACPI_NEXT_RESOURCE(resource_list); in acpi_rs_dump_resource_list()
|
D | rscreate.c | 404 acpi_rs_create_aml_resources(struct acpi_buffer *resource_list, in acpi_rs_create_aml_resources() argument 415 resource_list->pointer)); in acpi_rs_create_aml_resources() 420 acpi_rs_get_aml_length(resource_list->pointer, in acpi_rs_create_aml_resources() 421 resource_list->length, &aml_size_needed); in acpi_rs_create_aml_resources() 438 status = acpi_rs_convert_resources_to_aml(resource_list->pointer, in acpi_rs_create_aml_resources()
|
D | acresrc.h | 158 acpi_rs_create_aml_resources(struct acpi_buffer *resource_list, 201 acpi_rs_get_aml_length(struct acpi_resource *resource_list,
|
/linux-6.1.9/drivers/acpi/ |
D | acpi_amba.c | 55 struct list_head resource_list; in amba_handler_attach() local 71 INIT_LIST_HEAD(&resource_list); in amba_handler_attach() 72 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in amba_handler_attach() 76 list_for_each_entry(rentry, &resource_list, node) { in amba_handler_attach() 95 acpi_dev_free_resource_list(&resource_list); in amba_handler_attach()
|
D | acpi_platform.c | 104 struct list_head resource_list; in acpi_create_platform_device() local 115 INIT_LIST_HEAD(&resource_list); in acpi_create_platform_device() 116 count = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_create_platform_device() 122 acpi_dev_free_resource_list(&resource_list); in acpi_create_platform_device() 126 list_for_each_entry(rentry, &resource_list, node) in acpi_create_platform_device() 130 acpi_dev_free_resource_list(&resource_list); in acpi_create_platform_device()
|
D | acpi_watchdog.c | 106 struct list_head resource_list; in acpi_watchdog_init() local 128 INIT_LIST_HEAD(&resource_list); in acpi_watchdog_init() 152 resource_list_for_each_entry(rentry, &resource_list) { in acpi_watchdog_init() 166 resource_list_add_tail(rentry, &resource_list); in acpi_watchdog_init() 176 resource_list_for_each_entry(rentry, &resource_list) in acpi_watchdog_init() 187 resource_list_free(&resource_list); in acpi_watchdog_init()
|
D | acpi_apd.c | 71 struct list_head resource_list; in fch_misc_setup() local 78 INIT_LIST_HEAD(&resource_list); in fch_misc_setup() 79 ret = acpi_dev_get_memory_resources(adev, &resource_list); in fch_misc_setup() 93 list_for_each_entry(rentry, &resource_list, node) { in fch_misc_setup() 101 acpi_dev_free_resource_list(&resource_list); in fch_misc_setup()
|
D | resource.c | 887 struct list_head resource_list; in acpi_dev_consumes_res() local 891 INIT_LIST_HEAD(&resource_list); in acpi_dev_consumes_res() 892 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_dev_consumes_res() 896 list_for_each_entry(rentry, &resource_list, node) { in acpi_dev_consumes_res() 904 acpi_dev_free_resource_list(&resource_list); in acpi_dev_consumes_res()
|
D | acpi_lpss.c | 640 struct list_head resource_list; in acpi_lpss_create_device() local 653 INIT_LIST_HEAD(&resource_list); in acpi_lpss_create_device() 654 ret = acpi_dev_get_memory_resources(adev, &resource_list); in acpi_lpss_create_device() 658 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in acpi_lpss_create_device() 667 acpi_dev_free_resource_list(&resource_list); in acpi_lpss_create_device()
|
/linux-6.1.9/drivers/dma/ |
D | acpi-dma.c | 45 struct list_head resource_list; in acpi_dma_parse_resource_group() local 53 INIT_LIST_HEAD(&resource_list); in acpi_dma_parse_resource_group() 54 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_dma_parse_resource_group() 58 list_for_each_entry(rentry, &resource_list, node) { in acpi_dma_parse_resource_group() 65 acpi_dev_free_resource_list(&resource_list); in acpi_dma_parse_resource_group() 376 struct list_head resource_list; in acpi_dma_request_slave_chan_by_index() local 389 INIT_LIST_HEAD(&resource_list); in acpi_dma_request_slave_chan_by_index() 390 ret = acpi_dev_get_resources(adev, &resource_list, in acpi_dma_request_slave_chan_by_index() 392 acpi_dev_free_resource_list(&resource_list); in acpi_dma_request_slave_chan_by_index()
|
/linux-6.1.9/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_validation.c | 245 list_for_each_entry(entry, &ctx->resource_list, head) { in vmw_validation_find_res_dup() 347 list_add_tail(&node->head, &ctx->resource_list); in vmw_validation_add_resource() 358 list_add_tail(&node->head, &ctx->resource_list); in vmw_validation_add_resource() 443 list_splice_init(&ctx->resource_ctx_list, &ctx->resource_list); in vmw_validation_res_reserve() 445 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_reserve() 496 list_splice_init(&ctx->resource_ctx_list, &ctx->resource_list); in vmw_validation_res_unreserve() 498 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve() 505 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve() 640 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_validate() 689 list_for_each_entry(val, &ctx->resource_list, head) in vmw_validation_drop_ht() [all …]
|
D | vmwgfx_validation.h | 62 struct list_head resource_list; member 94 .resource_list = LIST_HEAD_INIT((_name).resource_list), \
|
D | vmwgfx_cotable.c | 57 struct list_head resource_list; member 261 &vcotbl->resource_list, in vmw_cotable_scrub() 586 INIT_LIST_HEAD(&vcotbl->resource_list); in vmw_cotable_alloc() 648 list_add_tail(head, &vcotbl->resource_list); in vmw_cotable_add_resource()
|
/linux-6.1.9/drivers/i2c/ |
D | i2c-core-acpi.c | 149 struct list_head resource_list; in i2c_acpi_do_lookup() local 165 INIT_LIST_HEAD(&resource_list); in i2c_acpi_do_lookup() 166 ret = acpi_dev_get_resources(adev, &resource_list, in i2c_acpi_do_lookup() 168 acpi_dev_free_resource_list(&resource_list); in i2c_acpi_do_lookup() 205 struct list_head resource_list; in i2c_acpi_get_irq() local 211 INIT_LIST_HEAD(&resource_list); in i2c_acpi_get_irq() 213 ret = acpi_dev_get_resources(adev, &resource_list, in i2c_acpi_get_irq() 218 acpi_dev_free_resource_list(&resource_list); in i2c_acpi_get_irq() 525 LIST_HEAD(resource_list); in i2c_acpi_new_device_by_fwnode() 537 ret = acpi_dev_get_resources(adev, &resource_list, in i2c_acpi_new_device_by_fwnode() [all …]
|
/linux-6.1.9/drivers/bus/ |
D | hisi_lpc.c | 399 LIST_HEAD(resource_list); in hisi_lpc_acpi_set_io_res() 419 count = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in hisi_lpc_acpi_set_io_res() 430 acpi_dev_free_resource_list(&resource_list); in hisi_lpc_acpi_set_io_res() 434 list_for_each_entry(rentry, &resource_list, node) { in hisi_lpc_acpi_set_io_res() 440 acpi_dev_free_resource_list(&resource_list); in hisi_lpc_acpi_set_io_res()
|
/linux-6.1.9/drivers/platform/x86/intel/int3472/ |
D | discrete.c | 300 LIST_HEAD(resource_list); in skl_int3472_parse_crs() 309 ret = acpi_dev_get_resources(int3472->adev, &resource_list, in skl_int3472_parse_crs() 315 acpi_dev_free_resource_list(&resource_list); in skl_int3472_parse_crs()
|
/linux-6.1.9/drivers/usb/typec/mux/ |
D | intel_pmc_mux.c | 598 struct list_head resource_list; in pmc_usb_probe_iom() local 615 INIT_LIST_HEAD(&resource_list); in pmc_usb_probe_iom() 616 ret = acpi_dev_get_memory_resources(adev, &resource_list); in pmc_usb_probe_iom() 620 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in pmc_usb_probe_iom() 624 acpi_dev_free_resource_list(&resource_list); in pmc_usb_probe_iom()
|
/linux-6.1.9/drivers/mfd/ |
D | kempld-core.c | 432 struct list_head resource_list; in kempld_get_acpi_data() local 447 INIT_LIST_HEAD(&resource_list); in kempld_get_acpi_data() 448 ret = acpi_dev_get_resources(acpi_dev, &resource_list, NULL, NULL); in kempld_get_acpi_data() 467 list_for_each_entry(rentry, &resource_list, node) { in kempld_get_acpi_data() 475 acpi_dev_free_resource_list(&resource_list); in kempld_get_acpi_data()
|
/linux-6.1.9/drivers/tty/serdev/ |
D | core.c | 621 struct list_head resource_list; in acpi_serdev_do_lookup() local 628 INIT_LIST_HEAD(&resource_list); in acpi_serdev_do_lookup() 629 ret = acpi_dev_get_resources(adev, &resource_list, in acpi_serdev_do_lookup() 631 acpi_dev_free_resource_list(&resource_list); in acpi_serdev_do_lookup()
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_cppcore.c | 69 struct list_head resource_list; member 176 WARN_ON(!list_empty(&cpp->resource_list)); in nfp_cpp_free() 179 list_for_each_entry_safe(res, rtmp, &cpp->resource_list, list) { in nfp_cpp_free() 333 __resource_add(&cpp->resource_list, &area->resource); in nfp_cpp_area_alloc_with_name() 1197 INIT_LIST_HEAD(&cpp->resource_list); in nfp_cpp_from_operations()
|
/linux-6.1.9/drivers/gpio/ |
D | gpiolib-acpi.c | 1458 struct list_head resource_list; in acpi_gpio_count() local 1464 INIT_LIST_HEAD(&resource_list); in acpi_gpio_count() 1465 acpi_dev_get_resources(adev, &resource_list, in acpi_gpio_count() 1467 acpi_dev_free_resource_list(&resource_list); in acpi_gpio_count()
|
/linux-6.1.9/net/core/ |
D | devlink.c | 48 struct list_head resource_list; member 119 struct list_head resource_list; member 4058 struct list_head *resource_list; in devlink_resource_find() local 4061 resource_list = &resource->resource_list; in devlink_resource_find() 4063 resource_list = &devlink->resource_list; in devlink_resource_find() 4065 list_for_each_entry(resource, resource_list, list) { in devlink_resource_find() 4086 if (list_empty(&resource->resource_list)) in devlink_resource_validate_children() 4089 list_for_each_entry(child_resource, &resource->resource_list, list) in devlink_resource_validate_children() 4206 if (list_empty(&resource->resource_list)) in devlink_resource_put() 4218 list_for_each_entry(child_resource, &resource->resource_list, list) { in devlink_resource_put() [all …]
|
/linux-6.1.9/drivers/gpu/drm/i915/display/ |
D | intel_dsi_vbt.c | 543 LIST_HEAD(resource_list); in i2c_acpi_find_adapter() 545 acpi_dev_get_resources(adev, &resource_list, i2c_adapter_lookup, &lookup); in i2c_acpi_find_adapter() 546 acpi_dev_free_resource_list(&resource_list); in i2c_acpi_find_adapter()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_acl_flex_actions.c | 374 struct list_head resource_list; /* List of resources held by actions member 388 list_add(&resource->list, &block->resource_list); in mlxsw_afa_resource_add() 400 list_for_each_entry_safe(resource, tmp, &block->resource_list, list) { in mlxsw_afa_resources_destroy() 412 INIT_LIST_HEAD(&block->resource_list); in mlxsw_afa_block_create()
|
/linux-6.1.9/drivers/perf/ |
D | xgene_pmu.c | 1457 struct list_head resource_list; in acpi_get_pmu_hw_inf() local 1471 INIT_LIST_HEAD(&resource_list); in acpi_get_pmu_hw_inf() 1472 rc = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_get_pmu_hw_inf() 1478 list_for_each_entry(rentry, &resource_list, node) { in acpi_get_pmu_hw_inf() 1485 acpi_dev_free_resource_list(&resource_list); in acpi_get_pmu_hw_inf()
|