/kernel/linux/linux-5.10/drivers/acpi/ |
D | acpi_amba.c | 53 struct list_head resource_list; in amba_handler_attach() local 69 INIT_LIST_HEAD(&resource_list); in amba_handler_attach() 70 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in amba_handler_attach() 74 list_for_each_entry(rentry, &resource_list, node) { in amba_handler_attach() 93 acpi_dev_free_resource_list(&resource_list); in amba_handler_attach()
|
D | acpi_platform.c | 103 struct list_head resource_list; in acpi_create_platform_device() local 114 INIT_LIST_HEAD(&resource_list); in acpi_create_platform_device() 115 count = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_create_platform_device() 123 acpi_dev_free_resource_list(&resource_list); in acpi_create_platform_device() 127 list_for_each_entry(rentry, &resource_list, node) in acpi_create_platform_device() 131 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() 170 resource_list_add_tail(rentry, &resource_list); in acpi_watchdog_init() 180 resource_list_for_each_entry(rentry, &resource_list) in acpi_watchdog_init() 191 resource_list_free(&resource_list); in acpi_watchdog_init()
|
D | acpi_apd.c | 77 struct list_head resource_list; in fch_misc_setup() local 84 INIT_LIST_HEAD(&resource_list); in fch_misc_setup() 85 ret = acpi_dev_get_resources(adev, &resource_list, misc_check_res, in fch_misc_setup() 93 list_for_each_entry(rentry, &resource_list, node) { in fch_misc_setup() 99 acpi_dev_free_resource_list(&resource_list); in fch_misc_setup()
|
D | resource.c | 723 struct list_head resource_list; in acpi_dev_consumes_res() local 727 INIT_LIST_HEAD(&resource_list); in acpi_dev_consumes_res() 728 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_dev_consumes_res() 732 list_for_each_entry(rentry, &resource_list, node) { in acpi_dev_consumes_res() 740 acpi_dev_free_resource_list(&resource_list); in acpi_dev_consumes_res()
|
D | acpi_lpss.c | 627 struct list_head resource_list; in acpi_lpss_create_device() local 640 INIT_LIST_HEAD(&resource_list); in acpi_lpss_create_device() 641 ret = acpi_dev_get_resources(adev, &resource_list, is_memory, NULL); in acpi_lpss_create_device() 645 list_for_each_entry(rentry, &resource_list, node) in acpi_lpss_create_device() 656 acpi_dev_free_resource_list(&resource_list); in acpi_lpss_create_device()
|
/kernel/linux/linux-5.10/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() 94 if (!resource_list->length) { in acpi_rs_dump_resource_list() 103 acpi_rs_dump_descriptor(&resource_list->data, in acpi_rs_dump_resource_list() 105 [resource_list->data. in acpi_rs_dump_resource_list() 108 acpi_rs_dump_descriptor(&resource_list->data, in acpi_rs_dump_resource_list() 115 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 | 156 acpi_rs_create_aml_resources(struct acpi_buffer *resource_list, 199 acpi_rs_get_aml_length(struct acpi_resource *resource_list,
|
/kernel/linux/linux-5.10/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() 368 struct list_head resource_list; in acpi_dma_request_slave_chan_by_index() local 381 INIT_LIST_HEAD(&resource_list); in acpi_dma_request_slave_chan_by_index() 382 ret = acpi_dev_get_resources(adev, &resource_list, in acpi_dma_request_slave_chan_by_index() 384 acpi_dev_free_resource_list(&resource_list); in acpi_dma_request_slave_chan_by_index()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_validation.c | 237 list_for_each_entry(entry, &ctx->resource_list, head) { in vmw_validation_find_res_dup() 350 list_add_tail(&node->head, &ctx->resource_list); in vmw_validation_add_resource() 361 list_add_tail(&node->head, &ctx->resource_list); in vmw_validation_add_resource() 446 list_splice_init(&ctx->resource_ctx_list, &ctx->resource_list); in vmw_validation_res_reserve() 448 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_reserve() 499 list_splice_init(&ctx->resource_ctx_list, &ctx->resource_list); in vmw_validation_res_unreserve() 501 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve() 508 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve() 643 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_validate() 692 list_for_each_entry(val, &ctx->resource_list, head) in vmw_validation_drop_ht() [all …]
|
D | vmwgfx_validation.h | 77 struct list_head resource_list; member 109 .resource_list = LIST_HEAD_INIT((_name).resource_list), \ 203 INIT_LIST_HEAD(&ctx->resource_list); in vmw_validation_context_init()
|
D | vmwgfx_cotable.c | 57 struct list_head resource_list; member 260 &vcotbl->resource_list, in vmw_cotable_scrub() 598 INIT_LIST_HEAD(&vcotbl->resource_list); in vmw_cotable_alloc() 662 list_add_tail(head, &vcotbl->resource_list); in vmw_cotable_add_resource()
|
/kernel/linux/linux-5.10/drivers/i2c/ |
D | i2c-core-acpi.c | 112 struct list_head resource_list; in i2c_acpi_do_lookup() local 125 INIT_LIST_HEAD(&resource_list); in i2c_acpi_do_lookup() 126 ret = acpi_dev_get_resources(adev, &resource_list, in i2c_acpi_do_lookup() 128 acpi_dev_free_resource_list(&resource_list); in i2c_acpi_do_lookup() 158 struct list_head resource_list; in i2c_acpi_get_irq() local 162 INIT_LIST_HEAD(&resource_list); in i2c_acpi_get_irq() 164 ret = acpi_dev_get_resources(adev, &resource_list, in i2c_acpi_get_irq() 169 acpi_dev_free_resource_list(&resource_list); in i2c_acpi_get_irq() 475 LIST_HEAD(resource_list); in i2c_acpi_new_device() 483 ret = acpi_dev_get_resources(adev, &resource_list, in i2c_acpi_new_device() [all …]
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | intel_cht_int33fe_common.c | 33 LIST_HEAD(resource_list); in cht_int33fe_count_i2c_clients() 37 ret = acpi_dev_get_resources(adev, &resource_list, in cht_int33fe_count_i2c_clients() 39 acpi_dev_free_resource_list(&resource_list); in cht_int33fe_count_i2c_clients()
|
/kernel/linux/linux-5.10/drivers/bus/ |
D | hisi_lpc.c | 400 LIST_HEAD(resource_list); in hisi_lpc_acpi_set_io_res() 426 count = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in hisi_lpc_acpi_set_io_res() 437 acpi_dev_free_resource_list(&resource_list); in hisi_lpc_acpi_set_io_res() 441 list_for_each_entry(rentry, &resource_list, node) { in hisi_lpc_acpi_set_io_res() 447 acpi_dev_free_resource_list(&resource_list); in hisi_lpc_acpi_set_io_res()
|
/kernel/linux/linux-5.10/drivers/usb/typec/mux/ |
D | intel_pmc_mux.c | 577 struct list_head resource_list; in pmc_usb_probe_iom() local 594 INIT_LIST_HEAD(&resource_list); in pmc_usb_probe_iom() 595 ret = acpi_dev_get_resources(adev, &resource_list, is_memory, NULL); in pmc_usb_probe_iom() 599 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in pmc_usb_probe_iom() 603 acpi_dev_free_resource_list(&resource_list); in pmc_usb_probe_iom()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | kempld-core.c | 434 struct list_head resource_list; in kempld_get_acpi_data() local 449 INIT_LIST_HEAD(&resource_list); in kempld_get_acpi_data() 450 ret = acpi_dev_get_resources(acpi_dev, &resource_list, NULL, NULL); in kempld_get_acpi_data() 469 list_for_each_entry(rentry, &resource_list, node) { in kempld_get_acpi_data() 477 acpi_dev_free_resource_list(&resource_list); in kempld_get_acpi_data()
|
/kernel/linux/linux-5.10/drivers/tty/serdev/ |
D | core.c | 601 struct list_head resource_list; in acpi_serdev_do_lookup() local 608 INIT_LIST_HEAD(&resource_list); in acpi_serdev_do_lookup() 609 ret = acpi_dev_get_resources(adev, &resource_list, in acpi_serdev_do_lookup() 611 acpi_dev_free_resource_list(&resource_list); in acpi_serdev_do_lookup()
|
/kernel/linux/linux-5.10/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() 1198 INIT_LIST_HEAD(&cpp->resource_list); in nfp_cpp_from_operations()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_dsi_vbt.c | 441 struct list_head resource_list; in i2c_acpi_find_adapter() local 451 INIT_LIST_HEAD(&resource_list); in i2c_acpi_find_adapter() 452 acpi_dev_get_resources(acpi_dev, &resource_list, in i2c_acpi_find_adapter() 455 acpi_dev_free_resource_list(&resource_list); in i2c_acpi_find_adapter()
|
/kernel/linux/linux-5.10/net/core/ |
D | devlink.c | 2760 struct list_head *resource_list; in devlink_resource_find() local 2763 resource_list = &resource->resource_list; in devlink_resource_find() 2765 resource_list = &devlink->resource_list; in devlink_resource_find() 2767 list_for_each_entry(resource, resource_list, list) { in devlink_resource_find() 2788 if (list_empty(&resource->resource_list)) in devlink_resource_validate_children() 2791 list_for_each_entry(child_resource, &resource->resource_list, list) in devlink_resource_validate_children() 2908 if (list_empty(&resource->resource_list)) in devlink_resource_put() 2920 list_for_each_entry(child_resource, &resource->resource_list, list) { in devlink_resource_put() 2950 resource = list_first_entry(&devlink->resource_list, in devlink_resource_fill() 2974 list_for_each_entry_from(resource, &devlink->resource_list, list) { in devlink_resource_fill() [all …]
|
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpiolib-acpi.c | 1352 struct list_head resource_list; in acpi_gpio_count() local 1358 INIT_LIST_HEAD(&resource_list); in acpi_gpio_count() 1359 acpi_dev_get_resources(adev, &resource_list, in acpi_gpio_count() 1361 acpi_dev_free_resource_list(&resource_list); in acpi_gpio_count()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/perf/ |
D | xgene_pmu.c | 1461 struct list_head resource_list; in acpi_get_pmu_hw_inf() local 1475 INIT_LIST_HEAD(&resource_list); in acpi_get_pmu_hw_inf() 1476 rc = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_get_pmu_hw_inf() 1482 list_for_each_entry(rentry, &resource_list, node) { in acpi_get_pmu_hw_inf() 1489 acpi_dev_free_resource_list(&resource_list); in acpi_get_pmu_hw_inf()
|