Home
last modified time | relevance | path

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

12345678910>>...44

/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 …]
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 …]
/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 …]
Dsun6i-prcm.c72 .resources = sun6i_a31_ar100_clk_res,
78 .resources = sun6i_a31_apb0_clk_res,
84 .resources = sun6i_a31_apb0_gates_clk_res,
90 .resources = sun6i_a31_ir_clk_res,
96 .resources = sun6i_a31_apb0_rstc_res,
105 .resources = sun6i_a31_apb0_clk_res,
111 .resources = sun6i_a31_apb0_gates_clk_res,
117 .resources = sun6i_a31_apb0_rstc_res,
123 .resources = sun8i_codec_analog_res,
Dmax8925-core.c34 .resources = &bk_resources[0],
52 .resources = &touch_resources[0],
70 .resources = &power_supply_resources[0],
88 .resources = &rtc_resources[0],
111 .resources = &onkey_resources[0],
213 .resources = sd1_resources,
218 .resources = sd2_resources,
223 .resources = sd3_resources,
228 .resources = ldo1_resources,
233 .resources = ldo2_resources,
[all …]
/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()
95 a->resources.pci.bar[bar] = in diva_bri_init_card()
[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 …]
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 …]
/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
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()
/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
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()
/kernel/linux/linux-4.19/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 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()
240 opcr |= cpu_to_be32(c->resources.channel << PCR_CHANNEL_SHIFT); in opcr_set_modify()
282 fw_parent_device(c->resources.unit)->max_speed); in cmp_connection_establish()
[all …]
/kernel/linux/linux-4.19/sound/firewire/motu/
Dmotu-stream.c116 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()
310 struct fw_iso_resources *resources; in init_stream() local
[all …]
/kernel/linux/linux-4.19/drivers/acpi/apei/
Dapei-base.c391 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()
450 struct apei_resources *resources = data; in apei_get_res_callback() local
451 return apei_res_add(&resources->iomem, start, size); in apei_get_res_callback()
454 static int apei_get_nvs_resources(struct apei_resources *resources) in apei_get_nvs_resources() argument
456 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);
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/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()
/kernel/linux/linux-5.10/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()
/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 …]
/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
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()
90 list_splice_init(&resources, &bridge->windows); in pci_host_common_probe()
100 pci_free_resource_list(&resources); in pci_host_common_probe()

12345678910>>...44