/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 | 208 res[r].name = cell->resources[r].name; in mfd_add_device() 209 res[r].flags = cell->resources[r].flags; in mfd_add_device() 212 if ((cell->resources[r].flags & IORESOURCE_MEM) && mem_base) { in mfd_add_device() 215 cell->resources[r].start; in mfd_add_device() 217 cell->resources[r].end; in mfd_add_device() 218 } else if (cell->resources[r].flags & IORESOURCE_IRQ) { in mfd_add_device() 221 WARN_ON(cell->resources[r].start != in mfd_add_device() 222 cell->resources[r].end); in mfd_add_device() 224 domain, cell->resources[r].start); in mfd_add_device() 227 cell->resources[r].start; in mfd_add_device() [all …]
|
D | 88pm860x-core.c | 176 .resources = bk0_resources, 181 .resources = bk1_resources, 186 .resources = bk2_resources, 195 .resources = led0_resources, 200 .resources = led1_resources, 205 .resources = led2_resources, 210 .resources = led3_resources, 215 .resources = led4_resources, 220 .resources = led5_resources, 229 .resources = buck1_resources, [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 []) {
|
D | intel_msic.c | 129 .resources = msic_touch_resources, 134 .resources = msic_adc_resources, 139 .resources = msic_battery_resources, 144 .resources = msic_gpio_resources, 149 .resources = msic_audio_resources, 154 .resources = msic_hdmi_resources, 159 .resources = msic_thermal_resources, 164 .resources = msic_power_btn_resources, 169 .resources = msic_ocd_resources,
|
D | cs5535-mfd.c | 81 .resources = &cs5535_mfd_resources[SMB_BAR], 87 .resources = &cs5535_mfd_resources[GPIO_BAR], 93 .resources = &cs5535_mfd_resources[MFGPT_BAR], 99 .resources = &cs5535_mfd_resources[PMS_BAR], 108 .resources = &cs5535_mfd_resources[ACPI_BAR],
|
/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 …]
|
/drivers/pci/host/ |
D | pci-host-common.c | 28 struct list_head *resources, struct resource **bus_range) in gen_pci_parse_request_of_pci_ranges() argument 35 err = of_pci_get_host_bridge_resources(np, 0, 0xff, resources, &iobase); in gen_pci_parse_request_of_pci_ranges() 39 err = devm_request_pci_bus_resources(dev, resources); in gen_pci_parse_request_of_pci_ranges() 43 resource_list_for_each_entry_safe(win, tmp, resources) { in gen_pci_parse_request_of_pci_ranges() 77 struct list_head *resources, struct pci_ecam_ops *ops) in gen_pci_init() argument 85 err = gen_pci_parse_request_of_pci_ranges(dev, resources, &bus_range); in gen_pci_init() 109 pci_free_resource_list(resources); in gen_pci_init() 122 struct list_head resources; in pci_host_common_probe() local 138 INIT_LIST_HEAD(&resources); in pci_host_common_probe() 139 cfg = gen_pci_init(dev, &resources, ops); in pci_host_common_probe() [all …]
|
/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);
|
/drivers/usb/host/ |
D | sl811_cs.c | 63 static struct resource resources[] = { variable 85 .resource = resources, 86 .num_resources = ARRAY_SIZE(resources), 97 resources[0].start = irq; in sl811_hc_init() 99 resources[1].start = base_addr; in sl811_hc_init() 100 resources[1].end = base_addr; in sl811_hc_init() 102 resources[2].start = base_addr + 1; in sl811_hc_init() 103 resources[2].end = base_addr + 1; in sl811_hc_init()
|
/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() 253 ret = drm_ht_find_item(&man->resources, user_key | (res_type << 24), in vmw_cmdbuf_res_remove() 266 (void) drm_ht_remove_item(&man->resources, &entry->hash); in vmw_cmdbuf_res_remove() 301 ret = drm_ht_create(&man->resources, VMW_CMDBUF_RES_MAN_HT_ORDER); in vmw_cmdbuf_res_man_create() 326 drm_ht_remove(&man->resources); in vmw_cmdbuf_res_man_destroy()
|
/drivers/acpi/ |
D | acpi_watchdog.c | 111 struct resource *resources; in acpi_watchdog_init() local 177 resources = kcalloc(nresources, sizeof(*resources), GFP_KERNEL); in acpi_watchdog_init() 178 if (!resources) in acpi_watchdog_init() 183 resources[i++] = *rentry->res; in acpi_watchdog_init() 186 resources, nresources); in acpi_watchdog_init() 190 kfree(resources); in acpi_watchdog_init()
|
D | acpi_platform.c | 71 struct resource *resources = NULL; in acpi_create_platform_device() local 86 resources = kzalloc(count * sizeof(struct resource), in acpi_create_platform_device() 88 if (!resources) { in acpi_create_platform_device() 96 &resources[count++]); in acpi_create_platform_device() 111 pdevinfo.res = resources; in acpi_create_platform_device() 131 kfree(resources); in acpi_create_platform_device()
|
D | power.c | 402 struct list_head *resources, in acpi_power_hide_list() argument 407 if (list_empty(resources)) in acpi_power_hide_list() 410 list_for_each_entry_reverse(entry, resources, node) { in acpi_power_hide_list() 421 struct list_head *resources, in acpi_power_expose_list() argument 427 if (list_empty(resources)) in acpi_power_expose_list() 434 list_for_each_entry(entry, resources, node) { in acpi_power_expose_list() 442 acpi_power_hide_list(adev, resources, attr_group); in acpi_power_expose_list() 449 struct list_head *resources, in acpi_power_expose_hide() argument 454 acpi_power_expose_list(adev, resources, attr_group); in acpi_power_expose_hide() 456 acpi_power_hide_list(adev, resources, attr_group); in acpi_power_expose_hide() [all …]
|
/drivers/pci/ |
D | bus.c | 20 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() 88 list_for_each_entry_safe(bus_res, tmp, &bus->resources, list) { in pci_bus_remove_resources() 95 struct list_head *resources) in devm_request_pci_bus_resources() argument [all …]
|
/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()
|
/drivers/mtd/nand/gpmi-nand/ |
D | gpmi-lib.c | 134 clk = this->resources.clock[i]; in __gpmi_enable_clk() 150 clk_disable_unprepare(this->resources.clock[i - 1]); in __gpmi_enable_clk() 159 struct resources *r = &this->resources; in gpmi_init() 208 struct resources *r = &this->resources; in gpmi_dump_info() 253 struct resources *r = &this->resources; in bch_set_geometry() 332 struct resources *r = &this->resources; in gpmi_nfc_compute_hardware_timing() 862 struct resources *r = &this->resources; in gpmi_compute_edo_timing() 921 struct resources *r = &this->resources; in enable_edo_mode() 994 struct resources *r = &this->resources; in gpmi_begin() 1083 struct resources *r = &this->resources; in gpmi_clear_bch() [all …]
|
/drivers/pci/hotplug/ |
D | cpqphp_ctrl.c | 43 u8 behind_bridge, struct resource_lists *resources); 45 u8 behind_bridge, struct resource_lists *resources); 2269 u8 behind_bridge, struct resource_lists *resources) in configure_new_device() argument 2296 rc = configure_new_function(ctrl, new_slot, behind_bridge, resources); in configure_new_device() 2306 cpqhp_return_board_resources(new_slot, resources); in configure_new_device() 2366 struct resource_lists *resources) in configure_new_function() argument 2412 bus_node = get_max_resource(&(resources->bus_head), 1); in configure_new_function() 2448 io_node = get_max_resource(&(resources->io_head), 0x1000); in configure_new_function() 2451 mem_node = get_max_resource(&(resources->mem_head), 0x100000); in configure_new_function() 2454 p_mem_node = get_max_resource(&(resources->p_mem_head), 0x100000); in configure_new_function() [all …]
|