Home
last modified time | relevance | path

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

12345678910>>...165

/kernel/linux/linux-4.19/drivers/isdn/hardware/eicon/
Dos_bri.c52 a->resources.pci.mem_type_id[MEM_TYPE_RAM] = 0; in diva_bri_set_addresses()
53 a->resources.pci.mem_type_id[MEM_TYPE_CFG] = 1; in diva_bri_set_addresses()
54 a->resources.pci.mem_type_id[MEM_TYPE_ADDRESS] = 2; in diva_bri_set_addresses()
55 a->resources.pci.mem_type_id[MEM_TYPE_RESET] = 1; in diva_bri_set_addresses()
56 a->resources.pci.mem_type_id[MEM_TYPE_PORT] = 2; in diva_bri_set_addresses()
57 a->resources.pci.mem_type_id[MEM_TYPE_CTLREG] = 2; in diva_bri_set_addresses()
59 a->xdi_adapter.ram = a->resources.pci.addr[0]; in diva_bri_set_addresses()
60 a->xdi_adapter.cfg = a->resources.pci.addr[1]; in diva_bri_set_addresses()
61 a->xdi_adapter.Address = a->resources.pci.addr[2]; in diva_bri_set_addresses()
92 Get resources in diva_bri_init_card()
[all …]
Dos_4bri.c105 dword offset = a->resources.pci.qoffset; in diva_4bri_set_addresses()
108 a->resources.pci.mem_type_id[MEM_TYPE_RAM] = 2; in diva_4bri_set_addresses()
109 a->resources.pci.mem_type_id[MEM_TYPE_ADDRESS] = 2; in diva_4bri_set_addresses()
110 a->resources.pci.mem_type_id[MEM_TYPE_CONTROL] = 2; in diva_4bri_set_addresses()
111 a->resources.pci.mem_type_id[MEM_TYPE_RESET] = 0; in diva_4bri_set_addresses()
112 a->resources.pci.mem_type_id[MEM_TYPE_CTLREG] = 3; in diva_4bri_set_addresses()
113 a->resources.pci.mem_type_id[MEM_TYPE_PROM] = 0; in diva_4bri_set_addresses()
118 a->xdi_adapter.Address = a->resources.pci.addr[2]; /* BAR2 SDRAM */ in diva_4bri_set_addresses()
121 a->xdi_adapter.Control = a->resources.pci.addr[2]; /* BAR2 SDRAM */ in diva_4bri_set_addresses()
123 a->xdi_adapter.ram = a->resources.pci.addr[2]; /* BAR2 SDRAM */ in diva_4bri_set_addresses()
[all …]
Dos_pri.c63 a->resources.pci.mem_type_id[MEM_TYPE_ADDRESS] = 0; in diva_pri_set_addresses()
64 a->resources.pci.mem_type_id[MEM_TYPE_CONTROL] = 2; in diva_pri_set_addresses()
65 a->resources.pci.mem_type_id[MEM_TYPE_CONFIG] = 4; in diva_pri_set_addresses()
66 a->resources.pci.mem_type_id[MEM_TYPE_RAM] = 0; in diva_pri_set_addresses()
67 a->resources.pci.mem_type_id[MEM_TYPE_RESET] = 2; in diva_pri_set_addresses()
68 a->resources.pci.mem_type_id[MEM_TYPE_CFG] = 4; in diva_pri_set_addresses()
69 a->resources.pci.mem_type_id[MEM_TYPE_PROM] = 3; in diva_pri_set_addresses()
71 a->xdi_adapter.Address = a->resources.pci.addr[0]; in diva_pri_set_addresses()
72 a->xdi_adapter.Control = a->resources.pci.addr[2]; in diva_pri_set_addresses()
73 a->xdi_adapter.Config = a->resources.pci.addr[4]; in diva_pri_set_addresses()
[all …]
/kernel/linux/linux-4.19/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.c381 .resources = timberdale_dma_resources,
388 .resources = timberdale_uart_resources,
393 .resources = timberdale_xiic_resources,
400 .resources = timberdale_gpio_resources,
407 .resources = timberdale_video_resources,
414 .resources = timberdale_radio_resources,
421 .resources = timberdale_spi_resources,
428 .resources = timberdale_eth_resources,
438 .resources = timberdale_dma_resources,
445 .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-4.19/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-4.19/drivers/acpi/apei/
Dapei-base.c297 /* Collect all resources requested, to avoid conflict */
391 void apei_resources_fini(struct apei_resources *resources) in apei_resources_fini() argument
393 apei_res_clean(&resources->iomem); in apei_resources_fini()
394 apei_res_clean(&resources->ioport); in apei_resources_fini()
420 int apei_resources_add(struct apei_resources *resources, in apei_resources_add() argument
425 return apei_res_add(&resources->iomem, start, size); in apei_resources_add()
427 return apei_res_add(&resources->ioport, start, size); in apei_resources_add()
433 * entry), so common resources are subtracted from the trigger table
434 * resources before the second requesting.
450 struct apei_resources *resources = data; in apei_get_res_callback() local
[all …]
/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-4.19/Documentation/cgroup-v1/
Drdma.txt18 RDMA controller allows user to limit RDMA/IB specific resources that a given
21 RDMA controller defines two resources which can be limited for processes of a
28 specific resources such as AH, CQ, QP, MR etc. Due to which other applications
30 rdma resources. This can leads to service unavailability.
34 resources can be accounted.
39 RDMA cgroup allows limit configuration of resources. Rdma cgroup maintains
41 Each such resource pool is limited up to 64 resources in given resource pool
50 Since RDMA resources can be allocated from any process and can be freed by any
51 of the child processes which shares the address space, rdma resources are
55 rdma resources. Linking resources around css also ensures that cgroups can be
[all …]
/kernel/linux/linux-4.19/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 ipcr |= cpu_to_be32(c->resources.channel << PCR_CHANNEL_SHIFT); in ipcr_set_modify()
210 if (c->resources.bandwidth_overhead < (id << 5)) in get_overhead_id()
[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-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-4.19/sound/firewire/motu/
Dmotu-stream.c57 /* Get isochronous resources on the bus. */ in start_both_streams()
116 struct fw_iso_resources *resources; in start_isoc_ctx() local
120 resources = &motu->rx_resources; in start_isoc_ctx()
122 resources = &motu->tx_resources; in start_isoc_ctx()
124 err = amdtp_stream_start(stream, resources->channel, in start_isoc_ctx()
131 fw_iso_resources_free(resources); in start_isoc_ctx()
140 struct fw_iso_resources *resources; in stop_isoc_ctx() local
143 resources = &motu->rx_resources; in stop_isoc_ctx()
145 resources = &motu->tx_resources; in stop_isoc_ctx()
148 fw_iso_resources_free(resources); in stop_isoc_ctx()
[all …]
/kernel/linux/linux-4.19/drivers/pci/controller/
Dpci-host-common.c22 struct list_head *resources, struct pci_ecam_ops *ops) in gen_pci_init() argument
29 /* Parse our PCI ranges and request their resources */ in gen_pci_init()
30 err = pci_parse_request_of_pci_ranges(dev, resources, &bus_range); in gen_pci_init()
54 pci_free_resource_list(resources); in gen_pci_init()
66 struct list_head resources; in pci_host_common_probe() local
82 cfg = gen_pci_init(dev, &resources, ops); in pci_host_common_probe()
86 /* Do not reassign resources if probe only */ in pci_host_common_probe()
90 list_splice_init(&resources, &bridge->windows); in pci_host_common_probe()
100 pci_free_resource_list(&resources); in pci_host_common_probe()
/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-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-4.19/kernel/cgroup/
Drdma.c5 * additional RDMA resources after a certain limit is reached.
37 * Need to add entries to it when more resources are
53 * resources. There are multiple instances of this object per cgroup,
59 struct rdmacg_resource resources[RDMACG_RESOURCE_MAX]; member
89 if (rpool->resources[index].max != S32_MAX) in set_resource_limit()
92 if (rpool->resources[index].max == S32_MAX) in set_resource_limit()
95 rpool->resources[index].max = new_max; in set_resource_limit()
161 * charging operation when there are no resources attached to
183 rpool->resources[index].usage--; in uncharge_cg_locked()
189 WARN_ON_ONCE(rpool->resources[index].usage < 0); in uncharge_cg_locked()
[all …]
/kernel/linux/linux-4.19/drivers/misc/sgi-gru/
Dgrukservices.h32 * The receiver does not use any GRU resources.
164 * Reserve GRU resources to be used asynchronously.
167 * blade_id - blade on which resources should be reserved
174 * (0 = no resources)
180 * Release async resources previously reserved.
183 * han - handle to identify resources
191 * han - handle to identify resources
196 * Lock previous reserved async GRU resources
199 * han - handle to identify resources
207 * Unlock previous reserved async GRU resources
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_power_handle.h136 * @pdev: platform device to search the power resources
137 * @pdata: power handle to store the power resources
144 * @pdev: platform device for power resources
145 * @pdata: power handle containing the resources
154 * @pdata: power handle containing the resources
164 * @pdata: power handle containing the resources
173 * dpu_power_resource_enable() - enable/disable the power resources
174 * @pdata: power handle containing the resources
185 * @phandle: power handle containing the resources
199 * @phandle: power handle containing the resources
[all …]
/kernel/linux/linux-4.19/Documentation/PCI/
Dacpi-info.txt26 resources conflict with them.
75 programming model for them other than "don't use these resources for
107 ACPI Namespace that report the hardware resources the device could
108 occupy [_PRS], an object that reports the resources that are currently
109 used by the device [_CRS], and objects for configuring those resources
114 OSPM uses device configuration objects to configure hardware resources
117 relationship between shared resources, and methods for configuring
118 hardware resources.
123 Play system determines what resources the device should consume and
124 sets those resources by calling the device’s _SRS control method.
[all …]

12345678910>>...165