/linux/drivers/mfd/ |
H A D | wm831x-core.c | 847 .resources = wm831x_dcdc1_resources, 853 .resources = wm831x_dcdc2_resources, 859 .resources = wm831x_dcdc3_resources, 865 .resources = wm831x_dcdc4_resources, 881 .resources = wm831x_gpio_resources, 890 .resources = wm831x_isink1_resources, 896 .resources = wm831x_isink2_resources, 902 .resources = wm831x_ldo1_resources, 908 .resources = wm831x_ldo2_resources, 914 .resources = wm831x_ldo3_resources, [all …]
|
H A D | timberdale.c | 373 .resources = timberdale_dma_resources, 380 .resources = timberdale_uart_resources, 385 .resources = timberdale_xiic_resources, 392 .resources = timberdale_gpio_resources, 399 .resources = timberdale_video_resources, 406 .resources = timberdale_radio_resources, 413 .resources = timberdale_spi_resources, 420 .resources = timberdale_eth_resources, 430 .resources = timberdale_dma_resources, 437 .resources = timberdale_uart_resources, [all …]
|
H A 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,
|
H A D | max8925-core.c | 30 .resources = &bk_resources[0], 48 .resources = &touch_resources[0], 66 .resources = &power_supply_resources[0], 84 .resources = &rtc_resources[0], 107 .resources = &onkey_resources[0], 209 .resources = sd1_resources, 214 .resources = sd2_resources, 219 .resources = sd3_resources, 224 .resources = ldo1_resources, 229 .resources = ldo2_resources, [all …]
|
H A D | intel_soc_pmic_mrfld.c | 40 .resources = &irq_level2_resources[0], 44 .resources = &irq_level2_resources[1], 48 .resources = &irq_level2_resources[2], 52 .resources = &irq_level2_resources[3], 56 .resources = &irq_level2_resources[4], 60 .resources = &irq_level2_resources[5], 64 .resources = &irq_level2_resources[5], 68 .resources = &irq_level2_resources[6],
|
H A D | mt6397-core.c | 115 .resources = mt6323_rtc_resources, 126 .resources = mt6323_keys_resources, 131 .resources = mt6323_pwrc_resources, 145 .resources = mt6357_rtc_resources, 153 .resources = mt6357_keys_resources, 163 .resources = mt6331_rtc_resources, 174 .resources = mt6331_keys_resources, 189 .resources = mt6358_rtc_resources, 197 .resources = mt6358_keys_resources, 211 .resources = mt6358_rtc_resources, [all …]
|
/linux/Documentation/networking/devlink/ |
H A 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/drivers/acpi/apei/ |
H A 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 …]
|
H A D | apei-internal.h | 102 static inline void apei_resources_init(struct apei_resources *resources) in apei_resources_init() argument 104 INIT_LIST_HEAD(&resources->iomem); in apei_resources_init() 105 INIT_LIST_HEAD(&resources->ioport); in apei_resources_init() 108 void apei_resources_fini(struct apei_resources *resources); 109 int apei_resources_add(struct apei_resources *resources, 114 int apei_resources_request(struct apei_resources *resources, 116 void apei_resources_release(struct apei_resources *resources); 118 struct apei_resources *resources);
|
/linux/arch/x86/pci/ |
H A 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/drivers/accel/qaic/ |
H A D | qaic_control.c | 58 __le32 handle; /* unique id to track the resources consumed */ 297 static void save_dbc_buf(struct qaic_device *qdev, struct ioctl_resources *resources, in save_dbc_buf() argument 300 u32 dbc_id = resources->dbc_id; in save_dbc_buf() 302 if (resources->buf) { in save_dbc_buf() 304 qdev->dbc[dbc_id].req_q_base = resources->buf; in save_dbc_buf() 305 qdev->dbc[dbc_id].rsp_q_base = resources->rsp_q_base; in save_dbc_buf() 306 qdev->dbc[dbc_id].dma_addr = resources->dma_addr; in save_dbc_buf() 307 qdev->dbc[dbc_id].total_size = resources->total_size; in save_dbc_buf() 308 qdev->dbc[dbc_id].nelem = resources->nelem; in save_dbc_buf() 311 resources->buf = NULL; in save_dbc_buf() [all …]
|
/linux/drivers/acpi/ |
H A 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 228 /* The state of the list is 'on' IFF all resources are 'on'. */ in acpi_power_get_list_state() 304 * power resources returned by it. This means that whenever these power 305 * resources are turned _ON the dependent devices get runtime resumed. This 317 struct list_head *resources; in acpi_device_power_add_dependent() local 323 resources = &adev->power.states[ACPI_STATE_D0].resources; in acpi_device_power_add_dependent() 324 list_for_each_entry(entry, resources, node) { in acpi_device_power_add_dependent() 333 list_for_each_entry(entry, resources, node) in acpi_device_power_add_dependent() [all …]
|
H A D | acpi_platform.c | 23 /* Exclude devices that have no _CRS resources provided */ 82 * If the device has parent we need to take its resources into in acpi_platform_fill_resource() 106 * resources and returns a pointer to it. Otherwise, return %NULL. 119 struct resource *resources = NULL; in acpi_create_platform_device() local 145 resources = kcalloc(count, sizeof(*resources), GFP_KERNEL); in acpi_create_platform_device() 146 if (!resources) { in acpi_create_platform_device() 153 &resources[count++]); in acpi_create_platform_device() 167 pdevinfo.res = resources; in acpi_create_platform_device() 187 kfree(resources); in acpi_create_platform_device()
|
/linux/Documentation/admin-guide/cgroup-v1/ |
H A 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/sound/firewire/ |
H A 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/drivers/misc/sgi-gru/ |
H A 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/kernel/cgroup/ |
H A 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/Documentation/PCI/ |
H A 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/Documentation/gpu/ |
H A 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/arch/sparc/kernel/ |
H A D | leon_pci.c | 19 * PCI for us. The Linux generic routines are used to setup resources, 28 LIST_HEAD(resources); in leon_pci_init() 37 pci_add_resource_offset(&resources, &info->io_space, in leon_pci_init() 39 pci_add_resource(&resources, &info->mem_space); in leon_pci_init() 41 pci_add_resource(&resources, &info->busn); in leon_pci_init() 43 list_splice_init(&resources, &bridge->windows); in leon_pci_init() 59 /* Assign devices with resources */ in leon_pci_init()
|
/linux/drivers/soc/tegra/fuse/ |
H A D | tegra-apbmisc.c | 265 struct resource *resources[2] = { NULL }; in tegra_acpi_init_apbmisc() local 280 pr_err("failed to get APBMISC memory resources"); in tegra_acpi_init_apbmisc() 285 * Get required memory resources. in tegra_acpi_init_apbmisc() 287 * resources[0]: apbmisc. in tegra_acpi_init_apbmisc() 288 * resources[1]: straps. in tegra_acpi_init_apbmisc() 291 if (rcount >= ARRAY_SIZE(resources)) in tegra_acpi_init_apbmisc() 294 resources[rcount++] = rentry->res; in tegra_acpi_init_apbmisc() 297 if (!resources[0]) { in tegra_acpi_init_apbmisc() 302 if (!resources[1]) { in tegra_acpi_init_apbmisc() 307 tegra_init_apbmisc_resources(resources[0], resources[1]); in tegra_acpi_init_apbmisc()
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A 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 24 * @hw_sspp: array of sspp hardware resources 86 * Get hw resources of the given type that are assigned to this encoder.
|
/linux/Documentation/admin-guide/ |
H A 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/sound/firewire/dice/ |
H A 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/drivers/pci/ |
H A D | bus.c | 21 void pci_add_resource_offset(struct list_head *resources, struct resource *res, in pci_add_resource_offset() argument 33 resource_list_add_tail(entry, resources); in pci_add_resource_offset() 37 void pci_add_resource(struct list_head *resources, struct resource *res) in pci_add_resource() argument 39 pci_add_resource_offset(resources, res, 0); in pci_add_resource() 43 void pci_free_resource_list(struct list_head *resources) in pci_free_resource_list() argument 45 resource_list_free(resources); in pci_free_resource_list() 62 list_add_tail(&bus_res->list, &bus->resources); in pci_bus_add_resource() 73 list_for_each_entry(bus_res, &bus->resources, list) { in pci_bus_resource_n() 93 list_for_each_entry_safe(bus_res, tmp, &bus->resources, list) { in pci_bus_remove_resource() 110 list_for_each_entry_safe(bus_res, tmp, &bus->resources, list) { in pci_bus_remove_resources() [all …]
|