Home
last modified time | relevance | path

Searched full:resources (Results 1 – 25 of 5001) sorted by relevance

12345678910>>...201

/kernel/linux/linux-6.6/drivers/mfd/
Dwm831x-core.c847 .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 …]
Dtimberdale.c368 .resources = timberdale_dma_resources,
375 .resources = timberdale_uart_resources,
380 .resources = timberdale_xiic_resources,
387 .resources = timberdale_gpio_resources,
394 .resources = timberdale_video_resources,
401 .resources = timberdale_radio_resources,
408 .resources = timberdale_spi_resources,
415 .resources = timberdale_eth_resources,
425 .resources = timberdale_dma_resources,
432 .resources = timberdale_uart_resources,
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dwm831x-core.c1024 .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 …]
Dtimberdale.c369 .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 …]
/kernel/linux/linux-6.6/Documentation/networking/devlink/
Ddevlink-resource.rst7 ``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 …]
/kernel/linux/linux-6.6/arch/x86/pci/
Dbus_numa.c31 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 …]
/kernel/linux/linux-5.10/arch/x86/pci/
Dbus_numa.c31 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 …]
/kernel/linux/linux-6.6/drivers/acpi/apei/
Dapei-base.c286 /* 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 …]
Dapei-internal.h102 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);
/kernel/linux/linux-5.10/drivers/acpi/apei/
Dapei-base.c289 /* 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 …]
/kernel/linux/linux-6.6/drivers/accel/qaic/
Dqaic_control.c58 __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 …]
/kernel/linux/linux-6.6/Documentation/admin-guide/cgroup-v1/
Drdma.rst19 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 …]
/kernel/linux/linux-5.10/Documentation/admin-guide/cgroup-v1/
Drdma.rst19 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 …]
/kernel/linux/linux-6.6/drivers/acpi/
Dpower.c3 * 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 …]
/kernel/linux/linux-6.6/sound/firewire/
Dcmp.c14 #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 …]
/kernel/linux/linux-5.10/sound/firewire/
Dcmp.c14 #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 …]
/kernel/linux/linux-5.10/drivers/acpi/
Dpower.c3 * 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 …]
/kernel/linux/linux-5.10/Documentation/networking/devlink/
Ddevlink-resource.rst7 ``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:
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/
Dgrukservices.h19 * 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 …]
/kernel/linux/linux-6.6/drivers/misc/sgi-gru/
Dgrukservices.h19 * 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 …]
/kernel/linux/linux-5.10/kernel/cgroup/
Drdma.c6 * 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 …]
/kernel/linux/linux-6.6/kernel/cgroup/
Drdma.c6 * 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 …]
/kernel/linux/linux-5.10/Documentation/PCI/
Dacpi-info.rst30 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 …]
/kernel/linux/linux-6.6/Documentation/PCI/
Dacpi-info.rst30 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 …]
/kernel/linux/linux-5.10/drivers/staging/kpc2000/kpc2000/
Dcell_probe.c100 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 …]

12345678910>>...201