Home
last modified time | relevance | path

Searched refs:resources (Results 1 – 25 of 551) sorted by relevance

12345678910>>...23

/Linux-v5.4/drivers/mfd/
Dwm831x-core.c1020 .resources = wm831x_dcdc1_resources,
1026 .resources = wm831x_dcdc2_resources,
1032 .resources = wm831x_dcdc3_resources,
1038 .resources = wm831x_dcdc4_resources,
1054 .resources = wm831x_gpio_resources,
1063 .resources = wm831x_isink1_resources,
1069 .resources = wm831x_isink2_resources,
1075 .resources = wm831x_ldo1_resources,
1081 .resources = wm831x_ldo2_resources,
1087 .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 …]
Dsun6i-prcm.c71 .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,
Dintel_soc_pmic_mrfld.c41 .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],
Dmax8925-core.c31 .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 …]
Dmfd-core.c204 res[r].name = cell->resources[r].name; in mfd_add_device()
205 res[r].flags = cell->resources[r].flags; in mfd_add_device()
208 if ((cell->resources[r].flags & IORESOURCE_MEM) && mem_base) { in mfd_add_device()
211 cell->resources[r].start; in mfd_add_device()
213 cell->resources[r].end; in mfd_add_device()
214 } else if (cell->resources[r].flags & IORESOURCE_IRQ) { in mfd_add_device()
217 WARN_ON(cell->resources[r].start != in mfd_add_device()
218 cell->resources[r].end); in mfd_add_device()
220 domain, cell->resources[r].start); in mfd_add_device()
223 cell->resources[r].start; in mfd_add_device()
[all …]
Dintel_soc_pmic_crc.c55 .resources = pwrsrc_resources,
60 .resources = adc_resources,
65 .resources = thermal_resources,
70 .resources = bcu_resources,
75 .resources = gpio_resources,
89 .resources = gpio_resources,
Dvexpress-sysreg.c99 .resources = (struct resource []) {
108 .resources = (struct resource []) {
117 .resources = (struct resource []) {
126 .resources = (struct resource []) {
134 .resources = (struct resource []) {
142 .resources = (struct resource []) {
150 .resources = (struct resource []) {
/Linux-v5.4/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
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()
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()
111 list_for_each_entry(root_res, &info->resources, list) { in update_res()
145 list_add_tail(&root_res->list, &info->resources); in update_res()
/Linux-v5.4/drivers/acpi/apei/
Dapei-base.c383 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()
442 struct apei_resources *resources = data; in apei_get_res_callback() local
443 return apei_res_add(&resources->iomem, start, size); in apei_get_res_callback()
446 static int apei_get_nvs_resources(struct apei_resources *resources) in apei_get_nvs_resources() argument
448 return acpi_nvs_for_each_region(apei_get_res_callback, resources); in apei_get_nvs_resources()
[all …]
Dapei-internal.h103 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.4/sound/firewire/
Dcmp.c51 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()
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()
203 err = fw_iso_resources_allocate(&c->resources, max_payload_bytes, in cmp_connection_reserve()
215 fw_iso_resources_free(&c->resources); in cmp_connection_release()
[all …]
/Linux-v5.4/drivers/pci/controller/
Dpci-host-common.c22 struct list_head *resources, struct pci_ecam_ops *ops) in gen_pci_init() argument
30 err = pci_parse_request_of_pci_ranges(dev, resources, &bus_range); in gen_pci_init()
53 pci_free_resource_list(resources); in gen_pci_init()
63 struct list_head resources; in pci_host_common_probe() local
73 cfg = gen_pci_init(dev, &resources, ops); in pci_host_common_probe()
81 list_splice_init(&resources, &bridge->windows); in pci_host_common_probe()
91 pci_free_resource_list(&resources); in pci_host_common_probe()
/Linux-v5.4/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 …]
/Linux-v5.4/drivers/usb/host/
Dsl811_cs.c64 static struct resource resources[] = { variable
86 .resource = resources,
87 .num_resources = ARRAY_SIZE(resources),
98 resources[0].start = irq; in sl811_hc_init()
100 resources[1].start = base_addr; in sl811_hc_init()
101 resources[1].end = base_addr; in sl811_hc_init()
103 resources[2].start = base_addr + 1; in sl811_hc_init()
104 resources[2].end = base_addr + 1; in sl811_hc_init()
/Linux-v5.4/drivers/acpi/
Dpower.c308 struct list_head *resources; in acpi_device_power_add_dependent() local
314 resources = &adev->power.states[ACPI_STATE_D0].resources; in acpi_device_power_add_dependent()
315 list_for_each_entry(entry, resources, node) { in acpi_device_power_add_dependent()
324 list_for_each_entry(entry, resources, node) in acpi_device_power_add_dependent()
343 struct list_head *resources; in acpi_device_power_remove_dependent() local
348 resources = &adev->power.states[ACPI_STATE_D0].resources; in acpi_device_power_remove_dependent()
349 list_for_each_entry_reverse(entry, resources, node) in acpi_device_power_remove_dependent()
523 struct list_head *resources, in acpi_power_hide_list() argument
528 if (list_empty(resources)) in acpi_power_hide_list()
531 list_for_each_entry_reverse(entry, resources, node) { in acpi_power_hide_list()
[all …]
Dacpi_platform.c68 struct resource *resources = NULL; in acpi_create_platform_device() local
83 resources = kcalloc(count, sizeof(struct resource), in acpi_create_platform_device()
85 if (!resources) { in acpi_create_platform_device()
93 &resources[count++]); in acpi_create_platform_device()
108 pdevinfo.res = resources; in acpi_create_platform_device()
128 kfree(resources); in acpi_create_platform_device()
Dacpi_watchdog.c98 struct resource *resources; in acpi_watchdog_init() local
165 resources = kcalloc(nresources, sizeof(*resources), GFP_KERNEL); in acpi_watchdog_init()
166 if (!resources) in acpi_watchdog_init()
171 resources[i++] = *rentry->res; in acpi_watchdog_init()
174 resources, nresources); in acpi_watchdog_init()
178 kfree(resources); in acpi_watchdog_init()
/Linux-v5.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf_res.c62 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()
250 ret = drm_ht_find_item(&man->resources, user_key | (res_type << 24), in vmw_cmdbuf_res_remove()
263 (void) drm_ht_remove_item(&man->resources, &entry->hash); in vmw_cmdbuf_res_remove()
298 ret = drm_ht_create(&man->resources, VMW_CMDBUF_RES_MAN_HT_ORDER); in vmw_cmdbuf_res_man_create()
323 drm_ht_remove(&man->resources); in vmw_cmdbuf_res_man_destroy()
/Linux-v5.4/sound/firewire/dice/
Ddice-stream.c169 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
233 resources = &dice->tx_resources[i]; in keep_dual_resources()
242 resources = &dice->rx_resources[i]; in keep_dual_resources()
263 err = keep_resources(dice, stream, resources, rate, pcm_chs, in keep_dual_resources()
344 struct fw_iso_resources *resources; in start_streams() local
349 resources = dice->tx_resources + i; in start_streams()
352 resources = dice->rx_resources + i; in start_streams()
355 reg = cpu_to_be32(resources->channel); in start_streams()
[all …]
/Linux-v5.4/drivers/i2c/
Di2c-boardinfo.c85 if (info->resources) { in i2c_register_board_info()
86 devinfo->board_info.resources = in i2c_register_board_info()
87 kmemdup(info->resources, in i2c_register_board_info()
89 sizeof(*info->resources), in i2c_register_board_info()
91 if (!devinfo->board_info.resources) { in i2c_register_board_info()
/Linux-v5.4/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 …]
/Linux-v5.4/arch/sparc/kernel/
Dleon_pci.c27 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()
/Linux-v5.4/arch/arm/mach-s3c64xx/
Ddev-uart.c51 .resources = s3c64xx_uart0_resource,
55 .resources = s3c64xx_uart1_resource,
59 .resources = s3c6xx_uart2_resource,
63 .resources = s3c64xx_uart3_resource,
/Linux-v5.4/drivers/pci/
Dbus.c19 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 …]

12345678910>>...23