Home
last modified time | relevance | path

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

12345678910>>...25

/linux-6.6.21/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 …]
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,
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],
Dmt6397-core.c115 .resources = mt6323_rtc_resources,
126 .resources = mt6323_keys_resources,
131 .resources = mt6323_pwrc_resources,
142 .resources = mt6357_rtc_resources,
147 .resources = mt6357_keys_resources,
157 .resources = mt6331_rtc_resources,
168 .resources = mt6331_keys_resources,
180 .resources = mt6358_rtc_resources,
188 .resources = mt6358_keys_resources,
198 .resources = mt6358_rtc_resources,
[all …]
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 …]
Dmfd-core.c232 res[r].name = cell->resources[r].name; in mfd_add_device()
233 res[r].flags = cell->resources[r].flags; in mfd_add_device()
236 if ((cell->resources[r].flags & IORESOURCE_MEM) && mem_base) { in mfd_add_device()
239 cell->resources[r].start; in mfd_add_device()
241 cell->resources[r].end; in mfd_add_device()
242 } else if (cell->resources[r].flags & IORESOURCE_IRQ) { in mfd_add_device()
245 WARN_ON(cell->resources[r].start != in mfd_add_device()
246 cell->resources[r].end); in mfd_add_device()
248 domain, cell->resources[r].start); in mfd_add_device()
251 cell->resources[r].start; in mfd_add_device()
[all …]
Dcs5535-mfd.c36 .resources = &cs5535_mfd_resources[SMB_BAR],
41 .resources = &cs5535_mfd_resources[GPIO_BAR],
46 .resources = &cs5535_mfd_resources[MFGPT_BAR],
51 .resources = &cs5535_mfd_resources[PMS_BAR],
59 .resources = &cs5535_mfd_resources[ACPI_BAR],
64 .resources = &cs5535_mfd_resources[ACPI_BAR],
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 …]
/linux-6.6.21/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-6.6.21/drivers/accel/qaic/
Dqaic_control.c297 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()
315 static void free_dbc_buf(struct qaic_device *qdev, struct ioctl_resources *resources) in free_dbc_buf() argument
[all …]
/linux-6.6.21/drivers/acpi/apei/
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 …]
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-6.6.21/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-6.6.21/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-6.6.21/drivers/acpi/
Dpower.c317 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()
352 struct list_head *resources; in acpi_device_power_remove_dependent() local
357 resources = &adev->power.states[ACPI_STATE_D0].resources; in acpi_device_power_remove_dependent()
358 list_for_each_entry_reverse(entry, resources, node) in acpi_device_power_remove_dependent()
537 struct list_head *resources, in acpi_power_hide_list() argument
542 if (list_empty(resources)) in acpi_power_hide_list()
545 list_for_each_entry_reverse(entry, resources, node) { in acpi_power_hide_list()
[all …]
Dacpi_platform.c119 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()
Dacpi_watchdog.c109 struct resource *resources; in acpi_watchdog_init() local
171 resources = kcalloc(nresources, sizeof(*resources), GFP_KERNEL); in acpi_watchdog_init()
172 if (!resources) in acpi_watchdog_init()
177 resources[i++] = *rentry->res; in acpi_watchdog_init()
180 resources, nresources); in acpi_watchdog_init()
184 kfree(resources); in acpi_watchdog_init()
/linux-6.6.21/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 Generic resources are used to describe resources that can be shared by multiple
43 The resources exposed by the driver can be observed, for example:
50 resources:
70 resources:
/linux-6.6.21/drivers/i2c/
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-6.6.21/sound/firewire/dice/
Ddice-stream.c156 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-6.6.21/drivers/pci/
Dbus.c20 void pci_add_resource_offset(struct list_head *resources, struct resource *res, in pci_add_resource_offset() argument
32 resource_list_add_tail(entry, resources); in pci_add_resource_offset()
36 void pci_add_resource(struct list_head *resources, struct resource *res) in pci_add_resource() argument
38 pci_add_resource_offset(resources, res, 0); in pci_add_resource()
42 void pci_free_resource_list(struct list_head *resources) in pci_free_resource_list() argument
44 resource_list_free(resources); in pci_free_resource_list()
61 list_add_tail(&bus_res->list, &bus->resources); in pci_bus_add_resource()
72 list_for_each_entry(bus_res, &bus->resources, list) { in pci_bus_resource_n()
92 list_for_each_entry_safe(bus_res, tmp, &bus->resources, list) { in pci_bus_remove_resource()
109 list_for_each_entry_safe(bus_res, tmp, &bus->resources, list) { in pci_bus_remove_resources()
[all …]
/linux-6.6.21/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-6.6.21/arch/sparc/kernel/
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-6.6.21/arch/arm/mach-s3c/
Ddev-uart-s3c64xx.c50 .resources = s3c64xx_uart0_resource,
54 .resources = s3c64xx_uart1_resource,
58 .resources = s3c6xx_uart2_resource,
62 .resources = s3c64xx_uart3_resource,

12345678910>>...25