Home
last modified time | relevance | path

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

12345678910>>...13

/linux/drivers/mfd/
H A 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 …]
H A Dsun6i-prcm.c51 .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 Dintel_soc_pmic_mrfld.c40 .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 Dmax8925-core.c30 .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 Docelot-core.c167 .resources = vsc7512_pinctrl_resources,
172 .resources = vsc7512_sgpio_resources,
179 .resources = vsc7512_miim0_resources,
186 .resources = vsc7512_miim1_resources,
191 .resources = vsc7512_serdes_resources,
196 .resources = vsc7512_switch_resources,
215 ocelot_core_try_add_regmap(dev, &cell->resources[i]); in ocelot_core_try_add_regmaps()
H A D88pm860x-core.c173 .resources = bk0_resources,
178 .resources = bk1_resources,
183 .resources = bk2_resources,
192 .resources = led0_resources,
197 .resources = led1_resources,
202 .resources = led2_resources,
207 .resources = led3_resources,
212 .resources = led4_resources,
217 .resources = led5_resources,
226 .resources = buck1_resources,
[all …]
H A Dda9063-core.c78 .resources = da9063_regulators_resources,
90 .resources = da9063_hwmon_resources,
95 .resources = da9063_onkey_resources,
108 .resources = da9063_rtc_resources,
/linux/arch/x86/pci/
H A 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/drivers/acpi/apei/
H A Dapei-base.c380 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()
439 struct apei_resources *resources = data; in apei_get_res_callback() local
440 return apei_res_add(&resources->iomem, start, size); in apei_get_res_callback()
443 static int apei_get_nvs_resources(struct apei_resources *resources) in apei_get_nvs_resources() argument
445 return acpi_nvs_for_each_region(apei_get_res_callback, resources); in apei_get_nvs_resources()
[all …]
H A 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);
/linux/drivers/usb/host/
H A 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/arch/sparc/kernel/
H A Dleon_pci.c28 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()
/linux/drivers/i2c/
H A Di2c-boardinfo.c74 if (info->resources) { in i2c_register_board_info()
75 devinfo->board_info.resources = in i2c_register_board_info()
76 kmemdup(info->resources, in i2c_register_board_info()
78 sizeof(*info->resources), in i2c_register_board_info()
80 if (!devinfo->board_info.resources) { in i2c_register_board_info()
/linux/drivers/acpi/
H A Dacpi_watchdog.c109 struct resource *resources; in acpi_watchdog_init() local
169 resources = kzalloc_objs(*resources, nresources); in acpi_watchdog_init()
170 if (!resources) in acpi_watchdog_init()
175 resources[i++] = *rentry->res; in acpi_watchdog_init()
178 resources, nresources); in acpi_watchdog_init()
182 kfree(resources); in acpi_watchdog_init()
H A Dacpi_platform.c117 struct resource *resources = NULL; in acpi_create_platform_device() local
148 resources = kzalloc_objs(*resources, count); in acpi_create_platform_device()
149 if (!resources) { in acpi_create_platform_device()
156 &resources[count++]); in acpi_create_platform_device()
171 pdevinfo.res = resources; in acpi_create_platform_device()
191 kfree(resources); in acpi_create_platform_device()
/linux/arch/arm/mach-s3c/
H A Ddev-uart-s3c64xx.c50 .resources = s3c64xx_uart0_resource,
54 .resources = s3c64xx_uart1_resource,
58 .resources = s3c6xx_uart2_resource,
62 .resources = s3c64xx_uart3_resource,
/linux/Documentation/admin-guide/cgroup-v1/
H A 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/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cmdbuf_res.c64 DECLARE_HASHTABLE(resources, VMW_CMDBUF_RES_MAN_HT_ORDER);
89 hash_for_each_possible_rcu(man->resources, hash, head, key) { in vmw_cmdbuf_res_lookup()
170 hash_add_rcu(entry->man->resources, &entry->hash.head, in vmw_cmdbuf_res_revert()
208 hash_add_rcu(man->resources, &cres->hash.head, cres->hash.key); in vmw_cmdbuf_res_add()
244 hash_for_each_possible_rcu(man->resources, hash, head, key) { in vmw_cmdbuf_res_remove()
293 hash_init(man->resources); in vmw_cmdbuf_res_man_create()
/linux/drivers/pci/hotplug/
H A Dcpqphp_ctrl.c29 u8 behind_bridge, struct resource_lists *resources);
31 u8 behind_bridge, struct resource_lists *resources);
2211 u8 behind_bridge, struct resource_lists *resources) in configure_new_device() argument
2238 rc = configure_new_function(ctrl, new_slot, behind_bridge, resources); in configure_new_device()
2248 cpqhp_return_board_resources(new_slot, resources); in configure_new_device()
2308 struct resource_lists *resources) in configure_new_function() argument
2354 bus_node = get_max_resource(&(resources->bus_head), 1); in configure_new_function()
2390 io_node = get_max_resource(&(resources->io_head), 0x1000); in configure_new_function()
2393 mem_node = get_max_resource(&(resources->mem_head), 0x100000); in configure_new_function()
2396 p_mem_node = get_max_resource(&(resources->p_mem_head), 0x100000); in configure_new_function()
[all …]
/linux/drivers/xen/
H A Darm-device.c14 static int xen_unmap_device_mmio(const struct resource *resources, in xen_unmap_device_mmio() argument
23 r = &resources[i]; in xen_unmap_device_mmio()
41 static int xen_map_device_mmio(const struct resource *resources, in xen_map_device_mmio() argument
57 r = &resources[i]; in xen_map_device_mmio()
100 xen_unmap_device_mmio(resources, i); in xen_map_device_mmio()
/linux/lib/kunit/
H A Dkunit-test.c191 KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources)); in kunit_resource_test_init_resources()
210 KUNIT_EXPECT_TRUE(test, list_is_last(&res->node, &ctx->test.resources)); in kunit_resource_test_alloc_resource()
249 KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources)); in kunit_resource_test_destroy_resource()
263 KUNIT_EXPECT_FALSE(test, list_empty(&ctx->test.resources)); in kunit_resource_test_remove_resource()
269 KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources)); in kunit_resource_test_remove_resource()
275 KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources)); in kunit_resource_test_remove_resource()
290 struct kunit_resource *resources[5]; in kunit_resource_test_cleanup_resources() local
292 for (i = 0; i < ARRAY_SIZE(resources); i++) { in kunit_resource_test_cleanup_resources()
293 resources[i] = kunit_alloc_and_get_resource(&ctx->test, in kunit_resource_test_cleanup_resources()
298 kunit_put_resource(resources[i]); in kunit_resource_test_cleanup_resources()
[all …]
/linux/arch/arm/plat-orion/
H A Dcommon.c53 struct resource *resources, in fill_resources() argument
57 device->resource = resources; in fill_resources()
59 resources[0].flags = IORESOURCE_MEM; in fill_resources()
60 resources[0].start = mapbase; in fill_resources()
61 resources[0].end = mapbase + size; in fill_resources()
65 struct resource *resources, in fill_resources_irq() argument
70 fill_resources(device, resources, mapbase, size); in fill_resources_irq()
73 resources[1].flags = IORESOURCE_IRQ; in fill_resources_irq()
74 resources[1].start = irq; in fill_resources_irq()
75 resources[1].end = irq; in fill_resources_irq()
[all …]
/linux/drivers/infiniband/hw/usnic/
H A Dusnic_vnic.c144 if (spec->resources[i].type == trgt_type) { in usnic_vnic_res_spec_update()
145 spec->resources[i].cnt = cnt; in usnic_vnic_res_spec_update()
162 if (res_spec->resources[i].type != in usnic_vnic_res_spec_satisfied()
163 min_spec->resources[i].type) in usnic_vnic_res_spec_satisfied()
166 if (min_spec->resources[i].cnt > in usnic_vnic_res_spec_satisfied()
167 res_spec->resources[i].cnt) in usnic_vnic_res_spec_satisfied()
187 res_type = res_spec->resources[i].type; in usnic_vnic_spec_dump()
188 res_cnt = res_spec->resources[i].cnt; in usnic_vnic_spec_dump()
206 res_type = res_spec->resources[i].type; in usnic_vnic_check_room()
207 res_cnt = res_spec->resources[i].cnt; in usnic_vnic_check_room()
/linux/arch/sh/drivers/pci/
H A Dfixups-se7751.c102 BUG_ON(chan->resources[1].start != SH7751_PCI_MEMORY_BASE); in pci_fixup_pcic()
104 PCIC_WRITE(SH7751_PCIMBR, chan->resources[1].start); in pci_fixup_pcic()
107 PCIC_WRITE(SH7751_PCIIOBR, (chan->resources[0].start & SH7751_PCIIOBR_MASK)); in pci_fixup_pcic()
/linux/Documentation/ABI/testing/
H A Dsysfs-devices-power_state14 If the device node uses shared ACPI power resources, this state
15 determines a list of power resources required not to be turned
16 off. However, some power resources needed by the device node in

12345678910>>...13