/Linux-v4.19/drivers/mfd/ |
D | wm831x-core.c | 1024 .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 …]
|
D | timberdale.c | 381 .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 …]
|
D | sun6i-prcm.c | 72 .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,
|
D | max8925-core.c | 34 .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 …]
|
D | mfd-core.c | 207 res[r].name = cell->resources[r].name; in mfd_add_device() 208 res[r].flags = cell->resources[r].flags; in mfd_add_device() 211 if ((cell->resources[r].flags & IORESOURCE_MEM) && mem_base) { in mfd_add_device() 214 cell->resources[r].start; in mfd_add_device() 216 cell->resources[r].end; in mfd_add_device() 217 } else if (cell->resources[r].flags & IORESOURCE_IRQ) { in mfd_add_device() 220 WARN_ON(cell->resources[r].start != in mfd_add_device() 221 cell->resources[r].end); in mfd_add_device() 223 domain, cell->resources[r].start); in mfd_add_device() 226 cell->resources[r].start; in mfd_add_device() [all …]
|
D | intel_soc_pmic_crc.c | 87 .resources = pwrsrc_resources, 92 .resources = adc_resources, 97 .resources = thermal_resources, 102 .resources = bcu_resources, 107 .resources = gpio_resources, 121 .resources = gpio_resources,
|
D | vexpress-sysreg.c | 106 .resources = (struct resource []) { 115 .resources = (struct resource []) { 124 .resources = (struct resource []) { 133 .resources = (struct resource []) { 141 .resources = (struct resource []) { 149 .resources = (struct resource []) { 157 .resources = (struct resource []) {
|
/Linux-v4.19/drivers/isdn/hardware/eicon/ |
D | os_bri.c | 52 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 …]
|
D | os_pri.c | 63 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 …]
|
D | os_4bri.c | 105 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 …]
|
/Linux-v4.19/arch/x86/pci/ |
D | bus_numa.c | 31 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-v4.19/sound/firewire/ |
D | cmp.c | 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() 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 …]
|
/Linux-v4.19/sound/firewire/motu/ |
D | motu-stream.c | 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() 310 struct fw_iso_resources *resources; in init_stream() local [all …]
|
/Linux-v4.19/drivers/acpi/apei/ |
D | apei-base.c | 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() 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 …]
|
D | apei-internal.h | 103 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-v4.19/drivers/usb/host/ |
D | sl811_cs.c | 64 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-v4.19/drivers/pci/controller/ |
D | pci-host-common.c | 22 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()
|
/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cmdbuf_res.c | 62 struct drm_open_hash resources; member 88 ret = drm_ht_find_item(&man->resources, key, &hash); in vmw_cmdbuf_res_lookup() 109 WARN_ON(drm_ht_remove_item(&man->resources, &entry->hash)); in vmw_cmdbuf_res_free() 172 ret = drm_ht_insert_item(&entry->man->resources, in vmw_cmdbuf_res_revert() 212 ret = drm_ht_insert_item(&man->resources, &cres->hash); in vmw_cmdbuf_res_add() 251 ret = drm_ht_find_item(&man->resources, user_key | (res_type << 24), in vmw_cmdbuf_res_remove() 264 (void) drm_ht_remove_item(&man->resources, &entry->hash); in vmw_cmdbuf_res_remove() 299 ret = drm_ht_create(&man->resources, VMW_CMDBUF_RES_MAN_HT_ORDER); in vmw_cmdbuf_res_man_create() 324 drm_ht_remove(&man->resources); in vmw_cmdbuf_res_man_destroy()
|
/Linux-v4.19/drivers/i2c/ |
D | i2c-boardinfo.c | 94 if (info->resources) { in i2c_register_board_info() 95 devinfo->board_info.resources = in i2c_register_board_info() 96 kmemdup(info->resources, in i2c_register_board_info() 98 sizeof(*info->resources), in i2c_register_board_info() 100 if (!devinfo->board_info.resources) { in i2c_register_board_info()
|
/Linux-v4.19/drivers/acpi/ |
D | acpi_platform.c | 70 struct resource *resources = NULL; in acpi_create_platform_device() local 85 resources = kcalloc(count, sizeof(struct resource), in acpi_create_platform_device() 87 if (!resources) { in acpi_create_platform_device() 95 &resources[count++]); in acpi_create_platform_device() 110 pdevinfo.res = resources; in acpi_create_platform_device() 130 kfree(resources); in acpi_create_platform_device()
|
D | acpi_watchdog.c | 101 struct resource *resources; in acpi_watchdog_init() local 168 resources = kcalloc(nresources, sizeof(*resources), GFP_KERNEL); in acpi_watchdog_init() 169 if (!resources) in acpi_watchdog_init() 174 resources[i++] = *rentry->res; in acpi_watchdog_init() 177 resources, nresources); in acpi_watchdog_init() 181 kfree(resources); in acpi_watchdog_init()
|
/Linux-v4.19/Documentation/cgroup-v1/ |
D | rdma.txt | 18 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 …]
|
/Linux-v4.19/sound/firewire/dice/ |
D | dice-stream.c | 184 struct fw_iso_resources *resources; in keep_resources() local 191 resources = &dice->tx_resources[index]; in keep_resources() 194 resources = &dice->rx_resources[index]; in keep_resources() 228 return fw_iso_resources_allocate(resources, in keep_resources() 240 struct fw_iso_resources *resources; in start_streams() local 246 resources = dice->tx_resources; in start_streams() 249 resources = dice->rx_resources; in start_streams() 290 reg[0] = cpu_to_be32(resources[i].channel); in start_streams() 312 err = amdtp_stream_start(&streams[i], resources[i].channel, in start_streams() 466 struct fw_iso_resources *resources; in init_stream() local [all …]
|
/Linux-v4.19/arch/sparc/kernel/ |
D | leon_pci.c | 27 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-v4.19/arch/arm/mach-s3c64xx/ |
D | dev-uart.c | 51 .resources = s3c64xx_uart0_resource, 55 .resources = s3c64xx_uart1_resource, 59 .resources = s3c6xx_uart2_resource, 63 .resources = s3c64xx_uart3_resource,
|