/Linux-v6.6/net/devlink/ |
D | resource.c | 33 struct list_head resource_list; member 42 struct list_head *resource_list; in devlink_resource_find() local 45 resource_list = &resource->resource_list; in devlink_resource_find() 47 resource_list = &devlink->resource_list; in devlink_resource_find() 49 list_for_each_entry(resource, resource_list, list) { in devlink_resource_find() 70 if (list_empty(&resource->resource_list)) in devlink_resource_validate_children() 73 list_for_each_entry(child_resource, &resource->resource_list, list) in devlink_resource_validate_children() 190 if (list_empty(&resource->resource_list)) in devlink_resource_put() 202 list_for_each_entry(child_resource, &resource->resource_list, list) { in devlink_resource_put() 232 resource = list_first_entry(&devlink->resource_list, in devlink_resource_fill() [all …]
|
D | core.c | 223 INIT_LIST_HEAD(&devlink->resource_list); in devlink_alloc_ns() 257 WARN_ON(!list_empty(&devlink->resource_list)); in devlink_free()
|
/Linux-v6.6/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-v6.6/drivers/acpi/arm64/ |
D | amba.c | 54 struct list_head resource_list; in amba_handler_attach() local 70 INIT_LIST_HEAD(&resource_list); in amba_handler_attach() 71 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in amba_handler_attach() 75 list_for_each_entry(rentry, &resource_list, node) { in amba_handler_attach() 94 acpi_dev_free_resource_list(&resource_list); in amba_handler_attach()
|
/Linux-v6.6/drivers/acpi/ |
D | acpi_platform.c | 118 struct list_head resource_list; in acpi_create_platform_device() local 140 INIT_LIST_HEAD(&resource_list); in acpi_create_platform_device() 141 count = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_create_platform_device() 147 acpi_dev_free_resource_list(&resource_list); in acpi_create_platform_device() 151 list_for_each_entry(rentry, &resource_list, node) in acpi_create_platform_device() 155 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() 95 list_for_each_entry(rentry, &resource_list, node) { in fch_misc_setup() 103 acpi_dev_free_resource_list(&resource_list); in fch_misc_setup()
|
D | resource.c | 960 struct list_head resource_list; in acpi_dev_consumes_res() local 964 INIT_LIST_HEAD(&resource_list); in acpi_dev_consumes_res() 965 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_dev_consumes_res() 969 list_for_each_entry(rentry, &resource_list, node) { in acpi_dev_consumes_res() 977 acpi_dev_free_resource_list(&resource_list); in acpi_dev_consumes_res()
|
D | acpi_lpss.c | 655 struct list_head resource_list; in acpi_lpss_create_device() local 668 INIT_LIST_HEAD(&resource_list); in acpi_lpss_create_device() 669 ret = acpi_dev_get_memory_resources(adev, &resource_list); in acpi_lpss_create_device() 673 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in acpi_lpss_create_device() 682 acpi_dev_free_resource_list(&resource_list); in acpi_lpss_create_device()
|
/Linux-v6.6/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-v6.6/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_validation.c | 244 list_for_each_entry(entry, &ctx->resource_list, head) { in vmw_validation_find_res_dup() 334 list_add_tail(&node->head, &ctx->resource_list); in vmw_validation_add_resource() 345 list_add_tail(&node->head, &ctx->resource_list); in vmw_validation_add_resource() 430 list_splice_init(&ctx->resource_ctx_list, &ctx->resource_list); in vmw_validation_res_reserve() 432 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_reserve() 484 list_splice_init(&ctx->resource_ctx_list, &ctx->resource_list); in vmw_validation_res_unreserve() 486 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve() 493 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve() 604 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_validate() 653 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 | 59 struct list_head resource_list; member 276 &vcotbl->resource_list, in vmw_cotable_scrub() 618 INIT_LIST_HEAD(&vcotbl->resource_list); in vmw_cotable_alloc() 680 list_add_tail(head, &vcotbl->resource_list); in vmw_cotable_add_resource()
|
/Linux-v6.6/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() 514 LIST_HEAD(resource_list); in i2c_acpi_new_device_by_fwnode() 526 ret = acpi_dev_get_resources(adev, &resource_list, in i2c_acpi_new_device_by_fwnode() [all …]
|
/Linux-v6.6/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-v6.6/drivers/platform/x86/intel/int3472/ |
D | discrete.c | 245 LIST_HEAD(resource_list); in skl_int3472_parse_crs() 250 ret = acpi_dev_get_resources(int3472->adev, &resource_list, in skl_int3472_parse_crs() 256 acpi_dev_free_resource_list(&resource_list); in skl_int3472_parse_crs()
|
/Linux-v6.6/drivers/mfd/ |
D | kempld-core.c | 431 struct list_head resource_list; in kempld_get_acpi_data() local 446 INIT_LIST_HEAD(&resource_list); in kempld_get_acpi_data() 447 ret = acpi_dev_get_resources(acpi_dev, &resource_list, NULL, NULL); in kempld_get_acpi_data() 466 list_for_each_entry(rentry, &resource_list, node) { in kempld_get_acpi_data() 474 acpi_dev_free_resource_list(&resource_list); in kempld_get_acpi_data()
|
/Linux-v6.6/drivers/usb/typec/mux/ |
D | intel_pmc_mux.c | 638 struct list_head resource_list; in pmc_usb_probe_iom() local 655 INIT_LIST_HEAD(&resource_list); in pmc_usb_probe_iom() 656 ret = acpi_dev_get_memory_resources(adev, &resource_list); in pmc_usb_probe_iom() 662 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in pmc_usb_probe_iom() 666 acpi_dev_free_resource_list(&resource_list); in pmc_usb_probe_iom()
|
/Linux-v6.6/drivers/tty/serdev/ |
D | core.c | 632 struct list_head resource_list; in acpi_serdev_do_lookup() local 639 INIT_LIST_HEAD(&resource_list); in acpi_serdev_do_lookup() 640 ret = acpi_dev_get_resources(adev, &resource_list, in acpi_serdev_do_lookup() 642 acpi_dev_free_resource_list(&resource_list); in acpi_serdev_do_lookup()
|
/Linux-v6.6/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-v6.6/drivers/staging/media/atomisp/pci/ |
D | atomisp_csi2_bridge.c | 405 LIST_HEAD(resource_list); in atomisp_csi2_add_gpio_mappings() 482 ret = acpi_dev_get_resources(adev, &resource_list, in atomisp_csi2_add_gpio_mappings() 487 acpi_dev_free_resource_list(&resource_list); in atomisp_csi2_add_gpio_mappings()
|
/Linux-v6.6/drivers/gpio/ |
D | gpiolib-acpi.c | 1476 struct list_head resource_list; in acpi_gpio_count() local 1482 INIT_LIST_HEAD(&resource_list); in acpi_gpio_count() 1483 acpi_dev_get_resources(adev, &resource_list, in acpi_gpio_count() 1485 acpi_dev_free_resource_list(&resource_list); in acpi_gpio_count()
|
/Linux-v6.6/drivers/gpu/drm/i915/display/ |
D | intel_dsi_vbt.c | 544 LIST_HEAD(resource_list); in i2c_acpi_find_adapter() 546 acpi_dev_get_resources(adev, &resource_list, i2c_adapter_lookup, &lookup); in i2c_acpi_find_adapter() 547 acpi_dev_free_resource_list(&resource_list); in i2c_acpi_find_adapter()
|