/Linux-v6.1/drivers/mfd/ |
D | wm831x-core.c | 848 .resources = wm831x_dcdc1_resources, 854 .resources = wm831x_dcdc2_resources, 860 .resources = wm831x_dcdc3_resources, 866 .resources = wm831x_dcdc4_resources, 882 .resources = wm831x_gpio_resources, 891 .resources = wm831x_isink1_resources, 897 .resources = wm831x_isink2_resources, 903 .resources = wm831x_ldo1_resources, 909 .resources = wm831x_ldo2_resources, 915 .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 | 51 .resources = sun6i_a31_ar100_clk_res, 57 .resources = sun6i_a31_apb0_clk_res, 63 .resources = sun6i_a31_apb0_gates_clk_res, 69 .resources = sun6i_a31_ir_clk_res, 75 .resources = sun6i_a31_apb0_rstc_res, 84 .resources = sun6i_a31_apb0_clk_res, 90 .resources = sun6i_a31_apb0_gates_clk_res, 96 .resources = sun6i_a31_apb0_rstc_res, 102 .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],
|
D | mt6397-core.c | 114 .resources = mt6323_rtc_resources, 125 .resources = mt6323_keys_resources, 130 .resources = mt6323_pwrc_resources, 141 .resources = mt6357_rtc_resources, 146 .resources = mt6357_keys_resources, 156 .resources = mt6331_rtc_resources, 167 .resources = mt6331_keys_resources, 179 .resources = mt6358_rtc_resources, 187 .resources = mt6358_keys_resources, 197 .resources = mt6358_rtc_resources, [all …]
|
/Linux-v6.1/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 26 Generic Resources 29 Generic resources are used to describe resources that can be shared by multiple 32 .. list-table:: List of Generic Resources 43 The resources exposed by the driver can be observed, for example: 50 resources: [all …]
|
/Linux-v6.1/drivers/acpi/apei/ |
D | apei-base.c | 286 /* Collect all resources requested, to avoid conflict */ 380 void apei_resources_fini(struct apei_resources *resources) in apei_resources_fini() argument 382 apei_res_clean(&resources->iomem); in apei_resources_fini() 383 apei_res_clean(&resources->ioport); in apei_resources_fini() 409 int apei_resources_add(struct apei_resources *resources, in apei_resources_add() argument 414 return apei_res_add(&resources->iomem, start, size); in apei_resources_add() 416 return apei_res_add(&resources->ioport, start, size); in apei_resources_add() 422 * entry), so common resources are subtracted from the trigger table 423 * resources before the second requesting. 439 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-v6.1/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-v6.1/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-v6.1/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 227 /* The state of the list is 'on' IFF all resources are 'on'. */ in acpi_power_get_list_state() 303 * power resources returned by it. This means that whenever these power 304 * resources are turned _ON the dependent devices get runtime resumed. This 316 struct list_head *resources; in acpi_device_power_add_dependent() local 322 resources = &adev->power.states[ACPI_STATE_D0].resources; in acpi_device_power_add_dependent() 323 list_for_each_entry(entry, resources, node) { in acpi_device_power_add_dependent() 332 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. 105 struct resource *resources = NULL; in acpi_create_platform_device() local 120 resources = kcalloc(count, sizeof(*resources), GFP_KERNEL); in acpi_create_platform_device() 121 if (!resources) { in acpi_create_platform_device() 128 &resources[count++]); in acpi_create_platform_device() 142 pdevinfo.res = resources; in acpi_create_platform_device() 162 kfree(resources); in acpi_create_platform_device()
|
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cmdbuf_res.c | 39 * of committed resources. 54 * @resources: Hash table containing staged and committed command buffer 55 * resources 56 * @list: List of committed command buffer resources. 59 * @resources and @list are protected by the cmdbuf mutex for now. 62 struct vmwgfx_open_hash resources; member 88 ret = vmwgfx_ht_find_item(&man->resources, key, &hash); in vmw_cmdbuf_res_lookup() 108 WARN_ON(vmwgfx_ht_remove_item(&man->resources, &entry->hash)); in vmw_cmdbuf_res_free() 170 ret = vmwgfx_ht_insert_item(&entry->man->resources, &entry->hash); in vmw_cmdbuf_res_revert() 209 ret = vmwgfx_ht_insert_item(&man->resources, &cres->hash); in vmw_cmdbuf_res_add() [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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 * @hw_intf: array of intf hardware resources 22 * @hw_wb: array of wb hardware resources 23 * @dspp_blks: array of dspp hardware resources 85 * Get hw resources of the given type that are assigned to this encoder.
|
/Linux-v6.1/sound/firewire/dice/ |
D | dice-stream.c | 156 struct fw_iso_resources *resources, unsigned int rate, in keep_resources() argument 192 return fw_iso_resources_allocate(resources, in keep_resources() 212 struct fw_iso_resources *resources; in keep_dual_resources() local 219 resources = &dice->tx_resources[i]; in keep_dual_resources() 227 resources = &dice->rx_resources[i]; in keep_dual_resources() 247 err = keep_resources(dice, stream, resources, rate, pcm_chs, in keep_dual_resources() 335 struct fw_iso_resources *resources; in start_streams() local 340 resources = dice->tx_resources + i; in start_streams() 343 resources = dice->rx_resources + i; in start_streams() 346 reg = cpu_to_be32(resources->channel); in start_streams() [all …]
|
/Linux-v6.1/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-v6.1/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() 197 KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources)); in kunit_resource_test_destroy_resource() 211 KUNIT_EXPECT_FALSE(test, list_empty(&ctx->test.resources)); in kunit_resource_test_remove_resource() 217 KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources)); in kunit_resource_test_remove_resource() 223 KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources)); in kunit_resource_test_remove_resource() 238 struct kunit_resource *resources[5]; in kunit_resource_test_cleanup_resources() local 240 for (i = 0; i < ARRAY_SIZE(resources); i++) { in kunit_resource_test_cleanup_resources() [all …]
|