/Linux-v5.10/drivers/mfd/ |
D | wm831x-core.c | 1024 .resources = wm831x_dcdc1_resources, 1030 .resources = wm831x_dcdc2_resources, 1036 .resources = wm831x_dcdc3_resources, 1042 .resources = wm831x_dcdc4_resources, 1058 .resources = wm831x_gpio_resources, 1067 .resources = wm831x_isink1_resources, 1073 .resources = wm831x_isink2_resources, 1079 .resources = wm831x_ldo1_resources, 1085 .resources = wm831x_ldo2_resources, 1091 .resources = wm831x_ldo3_resources, [all …]
|
D | timberdale.c | 369 .resources = timberdale_dma_resources, 376 .resources = timberdale_uart_resources, 381 .resources = timberdale_xiic_resources, 388 .resources = timberdale_gpio_resources, 395 .resources = timberdale_video_resources, 402 .resources = timberdale_radio_resources, 409 .resources = timberdale_spi_resources, 416 .resources = timberdale_eth_resources, 426 .resources = timberdale_dma_resources, 433 .resources = timberdale_uart_resources, [all …]
|
D | sun6i-prcm.c | 71 .resources = sun6i_a31_ar100_clk_res, 77 .resources = sun6i_a31_apb0_clk_res, 83 .resources = sun6i_a31_apb0_gates_clk_res, 89 .resources = sun6i_a31_ir_clk_res, 95 .resources = sun6i_a31_apb0_rstc_res, 104 .resources = sun6i_a31_apb0_clk_res, 110 .resources = sun6i_a31_apb0_gates_clk_res, 116 .resources = sun6i_a31_apb0_rstc_res, 122 .resources = sun8i_codec_analog_res,
|
D | max8925-core.c | 31 .resources = &bk_resources[0], 49 .resources = &touch_resources[0], 67 .resources = &power_supply_resources[0], 85 .resources = &rtc_resources[0], 108 .resources = &onkey_resources[0], 210 .resources = sd1_resources, 215 .resources = sd2_resources, 220 .resources = sd3_resources, 225 .resources = ldo1_resources, 230 .resources = ldo2_resources, [all …]
|
D | intel_soc_pmic_mrfld.c | 41 .resources = &irq_level2_resources[0], 45 .resources = &irq_level2_resources[1], 49 .resources = &irq_level2_resources[2], 53 .resources = &irq_level2_resources[3], 57 .resources = &irq_level2_resources[4], 61 .resources = &irq_level2_resources[5], 65 .resources = &irq_level2_resources[5], 69 .resources = &irq_level2_resources[6],
|
/Linux-v5.10/arch/x86/pci/ |
D | bus_numa.c | 31 void x86_pci_root_bus_resources(int bus, struct list_head *resources) in x86_pci_root_bus_resources() argument 41 printk(KERN_DEBUG "PCI: root bus %02x: hardware-probed resources\n", in x86_pci_root_bus_resources() 45 resource_list_for_each_entry(window, resources) in x86_pci_root_bus_resources() 52 pci_add_resource(resources, &info->busn); in x86_pci_root_bus_resources() 54 list_for_each_entry(root_res, &info->resources, list) in x86_pci_root_bus_resources() 55 pci_add_resource(resources, &root_res->res); in x86_pci_root_bus_resources() 65 printk(KERN_DEBUG "PCI: root bus %02x: using default resources\n", bus); in x86_pci_root_bus_resources() 66 pci_add_resource(resources, &ioport_resource); in x86_pci_root_bus_resources() 67 pci_add_resource(resources, &iomem_resource); in x86_pci_root_bus_resources() 82 INIT_LIST_HEAD(&info->resources); in alloc_pci_root_info() [all …]
|
/Linux-v5.10/drivers/acpi/apei/ |
D | apei-base.c | 289 /* Collect all resources requested, to avoid conflict */ 383 void apei_resources_fini(struct apei_resources *resources) in apei_resources_fini() argument 385 apei_res_clean(&resources->iomem); in apei_resources_fini() 386 apei_res_clean(&resources->ioport); in apei_resources_fini() 412 int apei_resources_add(struct apei_resources *resources, in apei_resources_add() argument 417 return apei_res_add(&resources->iomem, start, size); in apei_resources_add() 419 return apei_res_add(&resources->ioport, start, size); in apei_resources_add() 425 * entry), so common resources are subtracted from the trigger table 426 * resources before the second requesting. 442 struct apei_resources *resources = data; in apei_get_res_callback() local [all …]
|
D | apei-internal.h | 103 static inline void apei_resources_init(struct apei_resources *resources) in apei_resources_init() argument 105 INIT_LIST_HEAD(&resources->iomem); in apei_resources_init() 106 INIT_LIST_HEAD(&resources->ioport); in apei_resources_init() 109 void apei_resources_fini(struct apei_resources *resources); 110 int apei_resources_add(struct apei_resources *resources, 115 int apei_resources_request(struct apei_resources *resources, 117 void apei_resources_release(struct apei_resources *resources); 119 struct apei_resources *resources);
|
/Linux-v5.10/Documentation/admin-guide/cgroup-v1/ |
D | rdma.rst | 19 RDMA controller allows user to limit RDMA/IB specific resources that a given 22 RDMA controller defines two resources which can be limited for processes of a 29 specific resources such as AH, CQ, QP, MR etc. Due to which other applications 31 rdma resources. This can lead to service unavailability. 35 resources can be accounted. 40 RDMA cgroup allows limit configuration of resources. Rdma cgroup maintains 42 Each such resource pool is limited up to 64 resources in given resource pool 51 Since RDMA resources can be allocated from any process and can be freed by any 52 of the child processes which shares the address space, rdma resources are 56 rdma resources. Linking resources around css also ensures that cgroups can be [all …]
|
/Linux-v5.10/sound/firewire/ |
D | cmp.c | 14 #include "iso-resources.h" 51 dev_err(&c->resources.unit->device, "%cPCR%u: %pV", in cmp_error() 87 c->resources.unit, TCODE_LOCK_COMPARE_SWAP, in pcr_modify() 89 FW_FIXED_GENERATION | c->resources.generation); in pcr_modify() 139 err = fw_iso_resources_init(&c->resources, unit); in cmp_connection_init() 166 c->resources.unit, TCODE_READ_QUADLET_REQUEST, in cmp_connection_check_used() 177 * cmp_connection_destroy - free connection manager resources 184 fw_iso_resources_destroy(&c->resources); in cmp_connection_destroy() 195 if (WARN_ON(c->resources.allocated)) { in cmp_connection_reserve() 201 fw_parent_device(c->resources.unit)->max_speed); in cmp_connection_reserve() [all …]
|
/Linux-v5.10/drivers/acpi/ |
D | power.c | 3 * drivers/acpi/power.c - ACPI Power Resources management. 15 * The code below deals with ACPI Power Resources control. 20 * A device may rely on multiple power resources, and a power resource 215 /* The state of the list is 'on' IFF all resources are 'on'. */ in acpi_power_get_list_state() 293 * power resources returned by it. This means that whenever these power 294 * resources are turned _ON the dependent devices get runtime resumed. This 306 struct list_head *resources; in acpi_device_power_add_dependent() local 312 resources = &adev->power.states[ACPI_STATE_D0].resources; in acpi_device_power_add_dependent() 313 list_for_each_entry(entry, resources, node) { in acpi_device_power_add_dependent() 322 list_for_each_entry(entry, resources, node) in acpi_device_power_add_dependent() [all …]
|
D | acpi_platform.c | 78 * If the device has parent we need to take its resources into in acpi_platform_fill_resource() 93 * resources and returns a pointer to it. Otherwise, return %NULL. 104 struct resource *resources = NULL; in acpi_create_platform_device() local 119 resources = kcalloc(count, sizeof(struct resource), in acpi_create_platform_device() 121 if (!resources) { in acpi_create_platform_device() 122 dev_err(&adev->dev, "No memory for resources\n"); in acpi_create_platform_device() 129 &resources[count++]); in acpi_create_platform_device() 144 pdevinfo.res = resources; in acpi_create_platform_device() 164 kfree(resources); in acpi_create_platform_device()
|
/Linux-v5.10/Documentation/networking/devlink/ |
D | devlink-resource.rst | 7 ``devlink`` provides the ability for drivers to register resources, which 10 in use. Additionally, these resources can optionally have configurable size. 11 This could enable the administrator to limit the number of resources that 15 ``/IPv4/fib-rules`` as resources to limit the number of IPv4 FIB entries and 22 current size and related sub resources. To access a sub resource, you 29 The resources exposed by the driver can be observed, for example: 36 resources: 56 resources:
|
/Linux-v5.10/drivers/misc/sgi-gru/ |
D | grukservices.h | 19 * The receiver does not use any GRU resources. 151 * Reserve GRU resources to be used asynchronously. 154 * blade_id - blade on which resources should be reserved 161 * (0 = no resources) 167 * Release async resources previously reserved. 170 * han - handle to identify resources 178 * han - handle to identify resources 183 * Lock previous reserved async GRU resources 186 * han - handle to identify resources 194 * Unlock previous reserved async GRU resources [all …]
|
/Linux-v5.10/kernel/cgroup/ |
D | rdma.c | 6 * additional RDMA resources after a certain limit is reached. 34 * Need to add entries to it when more resources are 50 * resources. There are multiple instances of this object per cgroup, 56 struct rdmacg_resource resources[RDMACG_RESOURCE_MAX]; member 86 if (rpool->resources[index].max != S32_MAX) in set_resource_limit() 89 if (rpool->resources[index].max == S32_MAX) in set_resource_limit() 92 rpool->resources[index].max = new_max; in set_resource_limit() 158 * charging operation when there are no resources attached to 180 rpool->resources[index].usage--; in uncharge_cg_locked() 186 WARN_ON_ONCE(rpool->resources[index].usage < 0); in uncharge_cg_locked() [all …]
|
/Linux-v5.10/Documentation/PCI/ |
D | acpi-info.rst | 30 resources conflict with them. 79 programming model for them other than "don't use these resources for 111 ACPI Namespace that report the hardware resources the device could 112 occupy [_PRS], an object that reports the resources that are currently 113 used by the device [_CRS], and objects for configuring those resources 118 OSPM uses device configuration objects to configure hardware resources 121 relationship between shared resources, and methods for configuring 122 hardware resources. 127 Play system determines what resources the device should consume and 128 sets those resources by calling the device’s _SRS control method. [all …]
|
/Linux-v5.10/drivers/staging/kpc2000/kpc2000/ |
D | cell_probe.c | 100 struct resource resources[2]; in probe_core_basic() local 116 memset(&resources, 0, sizeof(resources)); in probe_core_basic() 118 resources[0].start = cte.offset; in probe_core_basic() 119 resources[0].end = cte.offset + (cte.length - 1); in probe_core_basic() 120 resources[0].flags = IORESOURCE_MEM; in probe_core_basic() 122 resources[1].start = pcard->pdev->irq; in probe_core_basic() 123 resources[1].end = pcard->pdev->irq; in probe_core_basic() 124 resources[1].flags = IORESOURCE_IRQ; in probe_core_basic() 126 cell.resources = resources; in probe_core_basic() 347 struct resource resources[2]; in create_dma_engine_core() local [all …]
|
/Linux-v5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cmdbuf_res.c | 39 * of commited resources. 54 * @resources: Hash table containing staged and commited command buffer 55 * resources 56 * @list: List of commited command buffer resources. 59 * @resources and @list are protected by the cmdbuf mutex for now. 62 struct drm_open_hash resources; member 88 ret = drm_ht_find_item(&man->resources, key, &hash); in vmw_cmdbuf_res_lookup() 108 WARN_ON(drm_ht_remove_item(&man->resources, &entry->hash)); in vmw_cmdbuf_res_free() 171 ret = drm_ht_insert_item(&entry->man->resources, in vmw_cmdbuf_res_revert() 211 ret = drm_ht_insert_item(&man->resources, &cres->hash); in vmw_cmdbuf_res_add() [all …]
|
/Linux-v5.10/Documentation/gpu/ |
D | vgaarbiter.rst | 18 control bus resources. Therefore an arbitration scheme outside of the X server 19 is needed to control the sharing of these resources. This document introduces 126 These functions below acquire VGA resources for the given card and mark those 127 resources as locked. If the resources requested are "normal" (and not legacy) 128 resources, the arbiter will first check whether the card is doing legacy 132 forwarding on P2P bridges if necessary, so that the requested resources can 133 be used. Then, the card is marked as locking these resources and the IO and/or 136 if some conflicting card is already locking one of the required resources (or 138 VGA memory and IO afaik). If the card already owns the resources, the function 147 resources, both will succeed (lock). If devices are in different buses and [all …]
|
/Linux-v5.10/arch/sparc/kernel/ |
D | leon_pci.c | 18 * PCI for us. The Linux generic routines are used to setup resources, 27 LIST_HEAD(resources); in leon_pci_init() 36 pci_add_resource_offset(&resources, &info->io_space, in leon_pci_init() 38 pci_add_resource(&resources, &info->mem_space); in leon_pci_init() 40 pci_add_resource(&resources, &info->busn); in leon_pci_init() 42 list_splice_init(&resources, &bridge->windows); in leon_pci_init() 58 /* Assign devices with resources */ in leon_pci_init()
|
/Linux-v5.10/Documentation/admin-guide/ |
D | pnp.rst | 12 Plug and Play provides a means of detecting and setting resources for legacy or 28 - resources - displays currently allocated resources and allows resource changes 35 # echo "auto" > resources 44 # echo "manual <depnum> <mode>" > resources 56 # echo "disable" > resources 72 # cat resources 93 # echo "auto" > resources 97 # cat resources 171 - the ability to set resources is optional but preferred. 235 the resources, such as the parport_pc driver.
|
/Linux-v5.10/drivers/pci/ |
D | bus.c | 19 void pci_add_resource_offset(struct list_head *resources, struct resource *res, in pci_add_resource_offset() argument 31 resource_list_add_tail(entry, resources); in pci_add_resource_offset() 35 void pci_add_resource(struct list_head *resources, struct resource *res) in pci_add_resource() argument 37 pci_add_resource_offset(resources, res, 0); in pci_add_resource() 41 void pci_free_resource_list(struct list_head *resources) in pci_free_resource_list() argument 43 resource_list_free(resources); in pci_free_resource_list() 60 list_add_tail(&bus_res->list, &bus->resources); in pci_bus_add_resource() 71 list_for_each_entry(bus_res, &bus->resources, list) { in pci_bus_resource_n() 87 list_for_each_entry_safe(bus_res, tmp, &bus->resources, list) { in pci_bus_remove_resources() 94 struct list_head *resources) in devm_request_pci_bus_resources() argument [all …]
|
/Linux-v5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_rm.h | 18 * @pingpong_blks: array of pingpong hardware resources 19 * @mixer_blks: array of layer mixer hardware resources 20 * @ctl_blks: array of ctl hardware resources 21 * @intf_blks: array of intf hardware resources 22 * @dspp_blks: array of dspp hardware resources 85 * Get hw resources of the given type that are assigned to this encoder.
|
/Linux-v5.10/sound/firewire/dice/ |
D | dice-stream.c | 169 struct fw_iso_resources *resources, unsigned int rate, in keep_resources() argument 205 return fw_iso_resources_allocate(resources, in keep_resources() 225 struct fw_iso_resources *resources; in keep_dual_resources() local 232 resources = &dice->tx_resources[i]; in keep_dual_resources() 240 resources = &dice->rx_resources[i]; in keep_dual_resources() 260 err = keep_resources(dice, stream, resources, rate, pcm_chs, in keep_dual_resources() 348 struct fw_iso_resources *resources; in start_streams() local 353 resources = dice->tx_resources + i; in start_streams() 356 resources = dice->rx_resources + i; in start_streams() 359 reg = cpu_to_be32(resources->channel); in start_streams() [all …]
|
/Linux-v5.10/lib/kunit/ |
D | kunit-test.c | 107 * Context for testing test managed resources 108 * is_resource_initialized is used to test arbitrary resources 139 KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources)); in kunit_resource_test_init_resources() 158 KUNIT_EXPECT_TRUE(test, list_is_last(&res->node, &ctx->test.resources)); in kunit_resource_test_alloc_resource() 190 KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources)); in kunit_resource_test_destroy_resource() 197 struct kunit_resource *resources[5]; in kunit_resource_test_cleanup_resources() local 199 for (i = 0; i < ARRAY_SIZE(resources); i++) { in kunit_resource_test_cleanup_resources() 200 resources[i] = kunit_alloc_and_get_resource(&ctx->test, in kunit_resource_test_cleanup_resources() 205 kunit_put_resource(resources[i]); in kunit_resource_test_cleanup_resources() 210 KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources)); in kunit_resource_test_cleanup_resources() [all …]
|