/linux-4.4.14/drivers/mfd/ |
D | wm831x-core.c | 1022 .resources = wm831x_dcdc1_resources, 1028 .resources = wm831x_dcdc2_resources, 1034 .resources = wm831x_dcdc3_resources, 1040 .resources = wm831x_dcdc4_resources, 1056 .resources = wm831x_gpio_resources, 1065 .resources = wm831x_isink1_resources, 1071 .resources = wm831x_isink2_resources, 1077 .resources = wm831x_ldo1_resources, 1083 .resources = wm831x_ldo2_resources, 1089 .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 | 65 .resources = sun6i_a31_ar100_clk_res, 71 .resources = sun6i_a31_apb0_clk_res, 77 .resources = sun6i_a31_apb0_gates_clk_res, 83 .resources = sun6i_a31_ir_clk_res, 89 .resources = sun6i_a31_apb0_rstc_res, 98 .resources = sun6i_a31_apb0_clk_res, 104 .resources = sun6i_a31_apb0_gates_clk_res, 110 .resources = sun6i_a31_apb0_rstc_res,
|
D | mfd-core.c | 200 res[r].name = cell->resources[r].name; in mfd_add_device() 201 res[r].flags = cell->resources[r].flags; in mfd_add_device() 204 if ((cell->resources[r].flags & IORESOURCE_MEM) && mem_base) { in mfd_add_device() 207 cell->resources[r].start; in mfd_add_device() 209 cell->resources[r].end; in mfd_add_device() 210 } else if (cell->resources[r].flags & IORESOURCE_IRQ) { in mfd_add_device() 213 WARN_ON(cell->resources[r].start != in mfd_add_device() 214 cell->resources[r].end); in mfd_add_device() 216 domain, cell->resources[r].start); in mfd_add_device() 219 cell->resources[r].start; in mfd_add_device() [all …]
|
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 | 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 | 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,
|
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 | ab8500-core.c | 1023 .resources = ab8500_charger_resources, 1031 .resources = ab8500_btemp_resources, 1039 .resources = ab8500_fg_resources, 1047 .resources = ab8500_chargalg_resources, 1059 .resources = ab8500_debug_resources, 1082 .resources = ab8500_gpadc_resources, 1088 .resources = ab8500_rtc_resources, 1094 .resources = ab8500_av_acc_detect_resources, 1101 .resources = ab8500_poweronkey_db_resources, 1130 .resources = ab8500_temp_resources, [all …]
|
D | cs5535-mfd.c | 80 .resources = &cs5535_mfd_resources[SMB_BAR], 86 .resources = &cs5535_mfd_resources[GPIO_BAR], 92 .resources = &cs5535_mfd_resources[MFGPT_BAR], 98 .resources = &cs5535_mfd_resources[PMS_BAR], 107 .resources = &cs5535_mfd_resources[ACPI_BAR],
|
D | da9063-core.c | 83 .resources = da9063_regulators_resources, 95 .resources = da9063_hwmon_resources, 100 .resources = da9063_onkey_resources, 106 .resources = da9063_rtc_resources,
|
D | da9055-core.c | 336 .resources = &da9055_ld05_6_resource, 342 .resources = &da9055_ld05_6_resource, 349 .resources = &da9055_onkey_resource, 355 .resources = da9055_rtc_resource, 361 .resources = &da9055_hwmon_resource,
|
D | axp20x.c | 459 .resources = axp20x_pek_resources, 466 .resources = axp20x_usb_power_supply_resources, 474 .resources = axp22x_pek_resources, 484 .resources = axp152_pek_resources, 572 .resources = axp288_adc_resources, 577 .resources = axp288_extcon_resources, 582 .resources = axp288_charger_resources, 587 .resources = axp288_fuel_gauge_resources, 592 .resources = axp288_power_button_resources,
|
D | intel_quark_i2c_gpio.c | 109 .resources = intel_quark_gpio_res, 117 .resources = intel_quark_i2c_res, 173 struct resource *res = (struct resource *)cell->resources; in intel_quark_i2c_setup() 209 struct resource *res = (struct resource *)cell->resources; in intel_quark_gpio_setup()
|
D | da9062-core.c | 134 .resources = da9062_core_resources, 139 .resources = da9062_regulators_resources, 144 .resources = da9062_wdt_resources, 150 .resources = da9062_thermal_resources, 156 .resources = da9062_rtc_resources, 162 .resources = da9062_onkey_resources,
|
D | rdc321x-southbridge.c | 61 .resources = rdc321x_wdt_resource, 67 .resources = rdc321x_gpio_resources,
|
D | intel_soc_pmic_bxtwc.c | 165 .resources = adc_resources, 170 .resources = thermal_resources, 175 .resources = charger_resources, 180 .resources = bcu_resources, 185 .resources = gpio_resources,
|
D | janz-cmodio.c | 57 struct resource resources[3 * CMODIO_MAX_MODULES]; member 76 res = &priv->resources[devno * 3]; in cmodio_setup_subdevice() 80 cell->resources = res; in cmodio_setup_subdevice()
|
D | omap-usb-host.c | 229 struct resource resources[2]; in omap_usbhs_alloc_children() local 238 resources[0] = *res; in omap_usbhs_alloc_children() 246 resources[1] = *res; in omap_usbhs_alloc_children() 248 ehci = omap_usbhs_alloc_child(OMAP_EHCI_DEVICE, resources, 2, pdata, in omap_usbhs_alloc_children() 263 resources[0] = *res; in omap_usbhs_alloc_children() 271 resources[1] = *res; in omap_usbhs_alloc_children() 273 ohci = omap_usbhs_alloc_child(OMAP_OHCI_DEVICE, resources, 2, pdata, in omap_usbhs_alloc_children()
|
D | intel-lpss.c | 108 .resources = intel_lpss_idma64_resources, 114 .resources = intel_lpss_dev_resources, 120 .resources = intel_lpss_dev_resources, 126 .resources = intel_lpss_dev_resources,
|
D | da9150-core.c | 382 .resources = da9150_gpadc_resources, 388 .resources = da9150_charger_resources, 394 .resources = da9150_fg_resources,
|
D | vx855.c | 67 .resources = vx855_gpio_resources,
|
D | retu-mfd.c | 63 .resources = retu_pwrbutton_res, 99 .resources = tahvo_usb_res,
|
D | jz4740-adc.c | 189 .resources = jz4740_hwmon_resources, 198 .resources = jz4740_battery_resources,
|
D | as3722.c | 67 .resources = as3722_rtc_resource, 72 .resources = as3722_adc_resource,
|
D | tc3589x.c | 164 .resources = &gpio_resources[0], 173 .resources = &keypad_resources[0],
|
D | tc6393xb.c | 401 .resources = tc6393xb_nand_resources, 410 .resources = tc6393xb_mmc_resources, 415 .resources = tc6393xb_ohci_resources, 424 .resources = tc6393xb_fb_resources,
|
D | 88pm800.c | 137 .resources = &rtc_resources[0], 155 .resources = &onkey_resources[0],
|
D | t7l66xb.c | 176 .resources = t7l66xb_mmc_resources, 181 .resources = t7l66xb_nand_resources,
|
D | lpc_sch.c | 141 cell->resources = res; in lpc_sch_populate_cell()
|
/linux-4.4.14/drivers/isdn/hardware/eicon/ |
D | os_bri.c | 51 a->resources.pci.mem_type_id[MEM_TYPE_RAM] = 0; in diva_bri_set_addresses() 52 a->resources.pci.mem_type_id[MEM_TYPE_CFG] = 1; in diva_bri_set_addresses() 53 a->resources.pci.mem_type_id[MEM_TYPE_ADDRESS] = 2; in diva_bri_set_addresses() 54 a->resources.pci.mem_type_id[MEM_TYPE_RESET] = 1; in diva_bri_set_addresses() 55 a->resources.pci.mem_type_id[MEM_TYPE_PORT] = 2; in diva_bri_set_addresses() 56 a->resources.pci.mem_type_id[MEM_TYPE_CTLREG] = 2; in diva_bri_set_addresses() 58 a->xdi_adapter.ram = a->resources.pci.addr[0]; in diva_bri_set_addresses() 59 a->xdi_adapter.cfg = a->resources.pci.addr[1]; in diva_bri_set_addresses() 60 a->xdi_adapter.Address = a->resources.pci.addr[2]; in diva_bri_set_addresses() 94 a->resources.pci.bar[bar] = in diva_bri_init_card() [all …]
|
D | os_pri.c | 62 a->resources.pci.mem_type_id[MEM_TYPE_ADDRESS] = 0; in diva_pri_set_addresses() 63 a->resources.pci.mem_type_id[MEM_TYPE_CONTROL] = 2; in diva_pri_set_addresses() 64 a->resources.pci.mem_type_id[MEM_TYPE_CONFIG] = 4; in diva_pri_set_addresses() 65 a->resources.pci.mem_type_id[MEM_TYPE_RAM] = 0; in diva_pri_set_addresses() 66 a->resources.pci.mem_type_id[MEM_TYPE_RESET] = 2; in diva_pri_set_addresses() 67 a->resources.pci.mem_type_id[MEM_TYPE_CFG] = 4; in diva_pri_set_addresses() 68 a->resources.pci.mem_type_id[MEM_TYPE_PROM] = 3; in diva_pri_set_addresses() 70 a->xdi_adapter.Address = a->resources.pci.addr[0]; in diva_pri_set_addresses() 71 a->xdi_adapter.Control = a->resources.pci.addr[2]; in diva_pri_set_addresses() 72 a->xdi_adapter.Config = a->resources.pci.addr[4]; in diva_pri_set_addresses() [all …]
|
D | os_4bri.c | 104 dword offset = a->resources.pci.qoffset; in diva_4bri_set_addresses() 107 a->resources.pci.mem_type_id[MEM_TYPE_RAM] = 2; in diva_4bri_set_addresses() 108 a->resources.pci.mem_type_id[MEM_TYPE_ADDRESS] = 2; in diva_4bri_set_addresses() 109 a->resources.pci.mem_type_id[MEM_TYPE_CONTROL] = 2; in diva_4bri_set_addresses() 110 a->resources.pci.mem_type_id[MEM_TYPE_RESET] = 0; in diva_4bri_set_addresses() 111 a->resources.pci.mem_type_id[MEM_TYPE_CTLREG] = 3; in diva_4bri_set_addresses() 112 a->resources.pci.mem_type_id[MEM_TYPE_PROM] = 0; in diva_4bri_set_addresses() 117 a->xdi_adapter.Address = a->resources.pci.addr[2]; /* BAR2 SDRAM */ in diva_4bri_set_addresses() 120 a->xdi_adapter.Control = a->resources.pci.addr[2]; /* BAR2 SDRAM */ in diva_4bri_set_addresses() 122 a->xdi_adapter.ram = a->resources.pci.addr[2]; /* BAR2 SDRAM */ in diva_4bri_set_addresses() [all …]
|
D | divasproc.c | 296 seq_printf(m, "PCI-bus : %d\n", a->resources.pci.bus); in info_proc_show() 297 seq_printf(m, "PCI-func : %d\n", a->resources.pci.func); in info_proc_show() 299 if (a->resources.pci.bar[i]) { in info_proc_show() 302 i, a->resources.pci.bar[i], in info_proc_show() 303 (unsigned long) a->resources. in info_proc_show() 305 if (a->resources.pci.length[i]) { in info_proc_show() 308 a->resources.pci. in info_proc_show()
|
D | xdi_adapter.h | 55 divas_card_resources_t resources; member
|
D | diva.c | 342 a->resources.pci.bus = diva_os_get_pci_bus(pci_dev_handle); in divas_create_pci_card() 343 a->resources.pci.func = diva_os_get_pci_func(pci_dev_handle); in divas_create_pci_card() 344 a->resources.pci.hdev = pci_dev_handle; in divas_create_pci_card()
|
/linux-4.4.14/sound/firewire/dice/ |
D | dice-stream.c | 45 struct fw_iso_resources *resources) in release_resources() argument 51 if (resources == &dice->tx_resources) in release_resources() 58 fw_iso_resources_free(resources); in release_resources() 62 struct fw_iso_resources *resources, in keep_resources() argument 68 err = fw_iso_resources_allocate(resources, max_payload_bytes, in keep_resources() 74 channel = cpu_to_be32(resources->channel); in keep_resources() 75 if (resources == &dice->tx_resources) in keep_resources() 82 release_resources(dice, resources); in keep_resources() 101 struct fw_iso_resources *resources; in start_stream() local 110 resources = &dice->tx_resources; in start_stream() [all …]
|
/linux-4.4.14/arch/x86/pci/ |
D | bus_numa.c | 30 void x86_pci_root_bus_resources(int bus, struct list_head *resources) in x86_pci_root_bus_resources() argument 44 resource_list_for_each_entry(window, resources) in x86_pci_root_bus_resources() 51 pci_add_resource(resources, &info->busn); in x86_pci_root_bus_resources() 53 list_for_each_entry(root_res, &info->resources, list) in x86_pci_root_bus_resources() 54 pci_add_resource(resources, &root_res->res); in x86_pci_root_bus_resources() 65 pci_add_resource(resources, &ioport_resource); in x86_pci_root_bus_resources() 66 pci_add_resource(resources, &iomem_resource); in x86_pci_root_bus_resources() 81 INIT_LIST_HEAD(&info->resources); in alloc_pci_root_info() 110 list_for_each_entry(root_res, &info->resources, list) { in update_res() 144 list_add_tail(&root_res->list, &info->resources); in update_res()
|
D | acpi.c | 294 resource_list_for_each_entry_safe(entry, tmp, &ci->resources) in pci_acpi_root_prepare_resources() 300 resource_list_for_each_entry_safe(entry, tmp, &ci->resources) { in pci_acpi_root_prepare_resources() 305 x86_pci_root_bus_resources(busnum, &ci->resources); in pci_acpi_root_prepare_resources()
|
D | common.c | 479 LIST_HEAD(resources); in pcibios_scan_root() 487 x86_pci_root_bus_resources(busnum, &resources); in pcibios_scan_root() 489 bus = pci_scan_root_bus(NULL, busnum, &pci_root_ops, sd, &resources); in pcibios_scan_root() 491 pci_free_resource_list(&resources); in pcibios_scan_root()
|
D | bus_numa.h | 15 struct list_head resources; member
|
D | broadcom_bus.c | 85 list_for_each_entry(root_res, &info->resources, list) in cnb20le_res()
|
/linux-4.4.14/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 …]
|
D | isight.c | 57 struct fw_iso_resources resources; member 218 ch = fw_iso_resources_allocate(&isight->resources, in isight_connect() 230 isight->resources.generation); in isight_connect() 232 fw_iso_resources_free(&isight->resources); in isight_connect() 241 fw_iso_resources_free(&isight->resources); in isight_connect() 323 fw_iso_resources_free(&isight->resources); in isight_stop_streaming() 369 isight->resources.channel, in isight_start_streaming() 400 fw_iso_resources_free(&isight->resources); in isight_start_streaming() 603 fw_iso_resources_destroy(&isight->resources); in isight_card_free() 644 fw_iso_resources_init(&isight->resources, unit); in isight_probe() [all …]
|
D | cmp.h | 30 struct fw_iso_resources resources; member
|
D | Makefile | 1 snd-firewire-lib-objs := lib.o iso-resources.o packets-buffer.o \
|
/linux-4.4.14/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 | 102 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-4.4.14/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()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | leon_pci.c | 26 LIST_HEAD(resources); in leon_pci_init() 29 pci_add_resource_offset(&resources, &info->io_space, in leon_pci_init() 31 pci_add_resource(&resources, &info->mem_space); in leon_pci_init() 33 pci_add_resource(&resources, &info->busn); in leon_pci_init() 36 &resources); in leon_pci_init() 38 pci_free_resource_list(&resources); in leon_pci_init()
|
D | pci.c | 650 LIST_HEAD(resources); in pci_scan_one_pbm() 656 pci_add_resource_offset(&resources, &pbm->io_space, in pci_scan_one_pbm() 658 pci_add_resource_offset(&resources, &pbm->mem_space, in pci_scan_one_pbm() 661 pci_add_resource_offset(&resources, &pbm->mem64_space, in pci_scan_one_pbm() 666 pci_add_resource(&resources, &pbm->busn); in pci_scan_one_pbm() 668 pbm, &resources); in pci_scan_one_pbm() 672 pci_free_resource_list(&resources); in pci_scan_one_pbm()
|
/linux-4.4.14/drivers/acpi/ |
D | acpi_platform.c | 50 struct resource *resources = NULL; in acpi_create_platform_device() local 65 resources = kmalloc(count * sizeof(struct resource), in acpi_create_platform_device() 67 if (!resources) { in acpi_create_platform_device() 74 resources[count++] = *rentry->res; in acpi_create_platform_device() 103 pdevinfo.res = resources; in acpi_create_platform_device() 120 kfree(resources); in acpi_create_platform_device()
|
D | power.c | 379 struct list_head *resources, in acpi_power_hide_list() argument 384 if (list_empty(resources)) in acpi_power_hide_list() 387 list_for_each_entry_reverse(entry, resources, node) { in acpi_power_hide_list() 398 struct list_head *resources, in acpi_power_expose_list() argument 404 if (list_empty(resources)) in acpi_power_expose_list() 411 list_for_each_entry(entry, resources, node) { in acpi_power_expose_list() 419 acpi_power_hide_list(adev, resources, attr_group); in acpi_power_expose_list() 426 struct list_head *resources, in acpi_power_expose_hide() argument 431 acpi_power_expose_list(adev, resources, attr_group); in acpi_power_expose_hide() 433 acpi_power_hide_list(adev, resources, attr_group); in acpi_power_expose_hide() [all …]
|
D | pci_root.c | 661 struct list_head *resources, in acpi_pci_root_validate_resources() argument 671 list_splice_init(resources, &list); in acpi_pci_root_validate_resources() 694 resource_list_for_each_entry(entry2, resources) { in acpi_pci_root_validate_resources() 719 resource_list_add_tail(entry, resources); in acpi_pci_root_validate_resources() 726 struct list_head *list = &info->resources; in acpi_pci_probe_root_resources() 762 resource_list_for_each_entry_safe(entry, tmp, &info->resources) { in pci_acpi_root_add_resources() 796 resource_list_for_each_entry_safe(entry, tmp, &info->resources) { in __acpi_pci_root_release_info() 834 INIT_LIST_HEAD(&info->resources); in acpi_pci_root_create() 848 pci_add_resource(&info->resources, &root->secondary); in acpi_pci_root_create() 850 sysdata, &info->resources); in acpi_pci_root_create()
|
D | scan.c | 451 acpi_power_resources_list_free(&device->wakeup.resources); in acpi_free_power_resources_lists() 458 acpi_power_resources_list_free(&ps->resources); in acpi_free_power_resources_lists() 757 INIT_LIST_HEAD(&wakeup->resources); in acpi_bus_extract_wakeup_device_power_package() 799 err = acpi_extract_power_resources(package, 2, &wakeup->resources); in acpi_bus_extract_wakeup_device_power_package() 803 if (!list_empty(&wakeup->resources)) { in acpi_bus_extract_wakeup_device_power_package() 806 err = acpi_power_wakeup_list_init(&wakeup->resources, in acpi_bus_extract_wakeup_device_power_package() 811 acpi_power_resources_list_free(&wakeup->resources); in acpi_bus_extract_wakeup_device_power_package() 901 INIT_LIST_HEAD(&ps->resources); in acpi_bus_init_power_state() 912 &ps->resources); in acpi_bus_init_power_state() 925 if (!list_empty(&ps->resources) || ps->flags.explicit_set) in acpi_bus_init_power_state() [all …]
|
/linux-4.4.14/arch/arm/mach-s3c64xx/ |
D | dev-uart.c | 56 .resources = s3c64xx_uart0_resource, 60 .resources = s3c64xx_uart1_resource, 64 .resources = s3c6xx_uart2_resource, 68 .resources = s3c64xx_uart3_resource,
|
/linux-4.4.14/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()
|
/linux-4.4.14/arch/sh/drivers/pci/ |
D | pci.c | 39 LIST_HEAD(resources); in pcibios_scanbus() 46 res = hose->resources + i; in pcibios_scanbus() 52 pci_add_resource_offset(&resources, res, offset); in pcibios_scanbus() 56 &resources); in pcibios_scanbus() 63 pci_free_resource_list(&resources); in pcibios_scanbus() 92 struct resource *res = hose->resources + i; in register_pci_controller() 133 release_resource(&hose->resources[i]); in register_pci_controller() 179 if (start < PCIBIOS_MIN_IO + hose->resources[0].start) in pcibios_align_resource() 180 start = PCIBIOS_MIN_IO + hose->resources[0].start; in pcibios_align_resource()
|
D | fixups-se7751.c | 101 BUG_ON(chan->resources[1].start != SH7751_PCI_MEMORY_BASE); in pci_fixup_pcic() 103 PCIC_WRITE(SH7751_PCIMBR, chan->resources[1].start); in pci_fixup_pcic() 106 PCIC_WRITE(SH7751_PCIIOBR, (chan->resources[0].start & SH7751_PCIIOBR_MASK)); in pci_fixup_pcic()
|
D | pci-sh7751.c | 64 .resources = sh7751_pci_resources, 132 word = chan->resources[1].start & SH4_PCIMBR_MASK; in sh7751_pci_init() 138 word = chan->resources[0].start & SH4_PCIIOBR_MASK; in sh7751_pci_init()
|
D | fixups-dreamcast.c | 44 dev->resource[1].start = p->resources[0].start + 0x100; in gapspci_fixup_resources()
|
D | pci-dreamcast.c | 44 .resources = gapspci_resources,
|
D | pcie-sh7786.c | 118 .resources = sh7786_pci##idx##_resources, \ 432 struct resource *res = chan->resources + i; in pcie_init() 570 port->hose->io_map_base = port->hose->resources[0].start; in sh7786_pcie_init()
|
D | pci-sh7780.c | 60 .resources = sh7785_pci_resources, 350 struct resource *res = chan->resources + i; in sh7780_pci_init()
|
D | pci-sh5.c | 95 .resources = sh5_pci_resources,
|
/linux-4.4.14/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()
|
D | probe.c | 501 INIT_LIST_HEAD(&b->resources); in pci_alloc_bus() 2089 struct pci_ops *ops, void *sysdata, struct list_head *resources) in pci_create_root_bus() argument 2159 resource_list_for_each_entry_safe(window, n, resources) { in pci_create_root_bus() 2260 struct list_head *resources, struct msi_controller *msi) in pci_scan_root_bus_msi() argument 2267 resource_list_for_each_entry(window, resources) in pci_scan_root_bus_msi() 2273 b = pci_create_root_bus(parent, bus, ops, sysdata, resources); in pci_scan_root_bus_msi() 2295 struct pci_ops *ops, void *sysdata, struct list_head *resources) in pci_scan_root_bus() argument 2297 return pci_scan_root_bus_msi(parent, bus, ops, sysdata, resources, in pci_scan_root_bus() 2305 LIST_HEAD(resources); in pci_scan_bus() 2308 pci_add_resource(&resources, &ioport_resource); in pci_scan_bus() [all …]
|
D | xen-pcifront.c | 449 LIST_HEAD(resources); in pcifront_scan_root() 479 pci_add_resource(&resources, &ioport_resource); in pcifront_scan_root() 480 pci_add_resource(&resources, &iomem_resource); in pcifront_scan_root() 481 pci_add_resource(&resources, &busn_res); in pcifront_scan_root() 487 &pcifront_bus_ops, sd, &resources); in pcifront_scan_root() 493 pci_free_resource_list(&resources); in pcifront_scan_root()
|
D | Kconfig | 47 automatically re-allocate PCI resources if SR-IOV BARs have not 90 physical resources.
|
/linux-4.4.14/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() 206 struct resources *r = &this->resources; in gpmi_dump_info() 251 struct resources *r = &this->resources; in bch_set_geometry() 331 struct resources *r = &this->resources; in gpmi_nfc_compute_hardware_timing() 861 struct resources *r = &this->resources; in gpmi_compute_edo_timing() 920 struct resources *r = &this->resources; in enable_edo_mode() 993 struct resources *r = &this->resources; in gpmi_begin() 1082 struct resources *r = &this->resources; in gpmi_clear_bch() [all …]
|
D | gpmi-nand.h | 26 struct resources { struct 147 struct resources resources; member
|
/linux-4.4.14/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 …]
|
D | cpqphp_pci.c | 1422 int cpqhp_return_board_resources(struct pci_func *func, struct resource_lists *resources) in cpqhp_return_board_resources() argument 1436 return_resource(&(resources->io_head), node); in cpqhp_return_board_resources() 1444 return_resource(&(resources->mem_head), node); in cpqhp_return_board_resources() 1452 return_resource(&(resources->p_mem_head), node); in cpqhp_return_board_resources() 1460 return_resource(&(resources->bus_head), node); in cpqhp_return_board_resources() 1464 rc |= cpqhp_resource_sort_and_combine(&(resources->mem_head)); in cpqhp_return_board_resources() 1465 rc |= cpqhp_resource_sort_and_combine(&(resources->p_mem_head)); in cpqhp_return_board_resources() 1466 rc |= cpqhp_resource_sort_and_combine(&(resources->io_head)); in cpqhp_return_board_resources() 1467 rc |= cpqhp_resource_sort_and_combine(&(resources->bus_head)); in cpqhp_return_board_resources() 1478 void cpqhp_destroy_resource_list (struct resource_lists *resources) in cpqhp_destroy_resource_list() argument [all …]
|
/linux-4.4.14/arch/xtensa/kernel/ |
D | pci.c | 137 struct list_head *resources) in pci_controller_apertures() argument 155 pci_add_resource_offset(resources, res, io_offset); in pci_controller_apertures() 168 pci_add_resource(resources, res); in pci_controller_apertures() 175 struct list_head resources; in pcibios_init() local 184 INIT_LIST_HEAD(&resources); in pcibios_init() 185 pci_controller_apertures(pci_ctrl, &resources); in pcibios_init() 187 pci_ctrl->ops, pci_ctrl, &resources); in pcibios_init()
|
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
D | usnic_vnic.c | 145 if (spec->resources[i].type == trgt_type) { in usnic_vnic_res_spec_update() 146 spec->resources[i].cnt = cnt; in usnic_vnic_res_spec_update() 163 if (res_spec->resources[i].type != in usnic_vnic_res_spec_satisfied() 164 min_spec->resources[i].type) in usnic_vnic_res_spec_satisfied() 167 if (min_spec->resources[i].cnt > in usnic_vnic_res_spec_satisfied() 168 res_spec->resources[i].cnt) in usnic_vnic_res_spec_satisfied() 188 res_type = res_spec->resources[i].type; in usnic_vnic_spec_dump() 189 res_cnt = res_spec->resources[i].cnt; in usnic_vnic_spec_dump() 207 res_type = res_spec->resources[i].type; in usnic_vnic_check_room() 208 res_cnt = res_spec->resources[i].cnt; in usnic_vnic_check_room()
|
D | usnic_ib_qp_grp.h | 90 .resources = { 95 .resources = { 103 .resources = {
|
D | usnic_ib_qp_grp.c | 547 res_spec->resources[res_lst_sz].type != USNIC_VNIC_RES_TYPE_EOL; in alloc_res_chunk_list() 557 for (i = 0; res_spec->resources[i].type != USNIC_VNIC_RES_TYPE_EOL; in alloc_res_chunk_list() 559 res_type = res_spec->resources[i].type; in alloc_res_chunk_list() 560 res_cnt = res_spec->resources[i].cnt; in alloc_res_chunk_list()
|
D | usnic_vnic.h | 82 struct usnic_vnic_res_desc resources[USNIC_VNIC_RES_TYPE_MAX]; member
|
/linux-4.4.14/drivers/pci/host/ |
D | pci-host-generic.c | 53 struct list_head resources; member 107 pci_free_resource_list(&pci->resources); in gen_pci_release_of_pci_ranges() 118 err = of_pci_get_host_bridge_resources(np, 0, 0xff, &pci->resources, in gen_pci_parse_request_of_pci_ranges() 123 resource_list_for_each_entry(win, &pci->resources) { in gen_pci_parse_request_of_pci_ranges() 236 INIT_LIST_HEAD(&pci->resources); in gen_pci_probe() 256 &pci->cfg.ops->ops, pci, &pci->resources); in gen_pci_probe()
|
D | pcie-xilinx.c | 119 struct list_head resources; member 631 list_splice_init(&port->resources, &sys->resources); in xilinx_pcie_setup() 653 &sys->resources, in xilinx_pcie_scan_bus() 657 &xilinx_pcie_ops, sys, &sys->resources); in xilinx_pcie_scan_bus() 719 pci_add_resource_offset(&port->resources, mem, offset); in xilinx_pcie_parse_and_add_res() 739 pci_add_resource(&port->resources, &port->bus_range); in xilinx_pcie_parse_and_add_res() 745 resource_list_for_each_entry(win, &port->resources) in xilinx_pcie_parse_and_add_res() 747 pci_free_resource_list(&port->resources); in xilinx_pcie_parse_and_add_res() 834 INIT_LIST_HEAD(&port->resources); in xilinx_pcie_probe()
|
D | pcie-altera.c | 74 struct list_head resources; member 419 pci_free_resource_list(&pcie->resources); in altera_pcie_release_of_pci_ranges() 429 err = of_pci_get_host_bridge_resources(np, 0, 0xff, &pcie->resources, in altera_pcie_parse_request_of_pci_ranges() 434 resource_list_for_each_entry(win, &pcie->resources) { in altera_pcie_parse_request_of_pci_ranges() 528 INIT_LIST_HEAD(&pcie->resources); in altera_pcie_probe() 548 pcie, &pcie->resources); in altera_pcie_probe()
|
D | pcie-iproc.c | 293 struct list_head *resources) in iproc_pcie_map_ranges() argument 298 resource_list_for_each_entry(window, resources) { in iproc_pcie_map_ranges()
|
D | pci-rcar-gen2.c | 273 pci_add_resource(&sys->resources, &priv->io_res); in rcar_pci_setup() 274 pci_add_resource(&sys->resources, &priv->mem_res); in rcar_pci_setup()
|
/linux-4.4.14/arch/ia64/kernel/ |
D | err_inject.c | 54 static u64 resources[NR_CPUS]; variable 104 &resources[cpu]); in show() 111 &resources[cpu]); in show() 121 printk(KERN_DEBUG "resources=%lx\n", resources[cpu]); in show() 200 show(resources) 209 define_one_ro(resources);
|
/linux-4.4.14/Documentation/ |
D | pnp.txt | 10 Plug and Play provides a means of detecting and setting resources for legacy or 26 resources - displays currently allocated resources and allows resource changes 30 #echo "auto" > resources 36 #echo "manual <depnum> <mode>" > resources 44 #echo "disable" > resources 57 # cat resources 76 # echo "auto" > resources 79 # cat resources 143 - the ability to set resources is optional but preferred. 199 the resources, such as the parport_pc driver.
|
D | vgaarbiter.txt | 18 control bus resources. Therefore an arbitration scheme outside of the X server 19 is needed to control the sharing of these resources. This document introduces 123 These functions below acquire VGA resources for the given card and mark those 124 resources as locked. If the resources requested are "normal" (and not legacy) 125 resources, the arbiter will first check whether the card is doing legacy 129 forwarding on P2P bridges if necessary, so that the requested resources can 130 be used. Then, the card is marked as locking these resources and the IO and/or 133 if some conflicting card is already locking one of the required resources (or 135 VGA memory and IO afaik). If the card already owns the resources, the function 145 resources, both will succeed (lock). If devices are in different buses and [all …]
|
D | unshare.txt | 29 special resources and mechanisms to maintain these "threads". The Linux 32 resources and thus they can achieve legacy "threads" behavior without 36 outside the confinement of all-or-nothing shared resources of legacy 38 call, applications can selectively choose which resources to share 42 allows threads to selectively 'unshare' any resources that were being 47 shared resources without creating a new process. unshare is a natural 55 resources is not possible. Since namespaces are shared by default 79 client requests by creating processes that share resources such as 114 incremental unsharing of those resources on an as needed basis.
|
D | clk.txt | 256 Drivers don't need to manually protect resources shared between the operations 257 of one group, regardless of whether those resources are shared by multiple 258 clocks or not. However, access to resources that are shared between operations 271 clock framework needs to access resources used by the clock operations. This
|
/linux-4.4.14/drivers/virtio/ |
D | virtio_mmio.c | 619 struct resource resources[2] = {}; in vm_cmdline_set() local 642 resources[0].flags = IORESOURCE_MEM; in vm_cmdline_set() 643 resources[0].start = base; in vm_cmdline_set() 644 resources[0].end = base + size - 1; in vm_cmdline_set() 646 resources[1].flags = IORESOURCE_IRQ; in vm_cmdline_set() 647 resources[1].start = resources[1].end = irq; in vm_cmdline_set() 660 (unsigned long long)resources[0].start, in vm_cmdline_set() 661 (unsigned long long)resources[0].end, in vm_cmdline_set() 662 (int)resources[1].start); in vm_cmdline_set() 666 resources, ARRAY_SIZE(resources), NULL, 0); in vm_cmdline_set()
|
/linux-4.4.14/arch/mips/pci/ |
D | pci.c | 83 LIST_HEAD(resources); in pcibios_scanbus() 92 pci_add_resource_offset(&resources, in pcibios_scanbus() 94 pci_add_resource_offset(&resources, in pcibios_scanbus() 96 pci_add_resource_offset(&resources, in pcibios_scanbus() 99 &resources); in pcibios_scanbus() 106 pci_free_resource_list(&resources); in pcibios_scanbus()
|
/linux-4.4.14/drivers/of/ |
D | of_pci.c | 168 struct list_head *resources, resource_size_t *io_base) in of_pci_get_host_bridge_resources() argument 198 pci_add_resource(resources, bus_range); in of_pci_get_host_bridge_resources() 250 pci_add_resource_offset(resources, res, res->start - range.pci_addr); in of_pci_get_host_bridge_resources() 258 resource_list_for_each_entry(window, resources) in of_pci_get_host_bridge_resources() 260 pci_free_resource_list(resources); in of_pci_get_host_bridge_resources()
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-devices-power_state | 14 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
|
D | sysfs-devices-real_power_state | 7 power management methods and use ACPI power resources for power 13 resources. Its possible values, "D0", "D1", "D2", "D3hot", and 20 resources used by the device node are only ON because of some
|
D | sysfs-devices-power_resources_D0 | 7 use ACPI power resources for power management. 10 representing ACPI power resources that need to be turned on for
|
D | sysfs-devices-power_resources_wakeup | 7 require ACPI power resources for wakeup signaling. 10 representing ACPI power resources that need to be turned on for
|
D | sysfs-devices-power_resources_D1 | 7 use ACPI power resources for power management and support ACPI 11 representing ACPI power resources that need to be turned on for
|
D | sysfs-devices-power_resources_D2 | 7 use ACPI power resources for power management and support ACPI 11 representing ACPI power resources that need to be turned on for
|
D | sysfs-devices-power_resources_D3hot | 7 use ACPI power resources for power management and support ACPI 11 representing ACPI power resources that need to be turned on for
|
D | sysfs-firmware-memmap | 6 kernel reads. The resources from that memory map are registered 8 /proc/iomem (together with other resources).
|
D | sysfs-devices-resource_in_use | 6 for device objects representing ACPI power resources.
|
/linux-4.4.14/drivers/media/common/saa7146/ |
D | saa7146_fops.c | 14 if (fh->resources & bit) { in saa7146_res_get() 16 bit, vv->resources); in saa7146_res_get() 22 if (vv->resources & bit) { in saa7146_res_get() 24 vv->resources, bit); in saa7146_res_get() 29 fh->resources |= bit; in saa7146_res_get() 30 vv->resources |= bit; in saa7146_res_get() 31 DEB_D("res: get 0x%02x, cur:0x%02x\n", bit, vv->resources); in saa7146_res_get() 40 BUG_ON((fh->resources & bits) != bits); in saa7146_res_free() 42 fh->resources &= ~bits; in saa7146_res_free() 43 vv->resources &= ~bits; in saa7146_res_free() [all …]
|
/linux-4.4.14/arch/arm/mach-sa1100/ |
D | pci-nanoengine.c | 159 pci_add_resource_offset(&sys->resources, &pci_io_ports, sys->io_offset); in pci_nanoengine_setup_resources() 160 pci_add_resource_offset(&sys->resources, in pci_nanoengine_setup_resources() 162 pci_add_resource_offset(&sys->resources, in pci_nanoengine_setup_resources()
|
/linux-4.4.14/arch/arm/plat-orion/ |
D | common.c | 54 struct resource *resources, in fill_resources() argument 59 device->resource = resources; in fill_resources() 61 resources[0].flags = IORESOURCE_MEM; in fill_resources() 62 resources[0].start = mapbase; in fill_resources() 63 resources[0].end = mapbase + size; in fill_resources() 67 resources[1].flags = IORESOURCE_IRQ; in fill_resources() 68 resources[1].start = irq; in fill_resources() 69 resources[1].end = irq; in fill_resources() 85 struct resource *resources, in uart_complete() argument 97 fill_resources(orion_uart, resources, mapbase, 0xff, irq); in uart_complete()
|
/linux-4.4.14/Documentation/filesystems/ |
D | sysfs-pci.txt | 1 Accessing PCI device resources through sysfs 4 sysfs, usually mounted at /sys, provides access to PCI resources on platforms 64 don't support mmapping of certain resources, so be sure to check the return 66 resources, which also provide read/write access. 89 Accessing legacy resources through sysfs 92 Legacy I/O port and ISA memory resources are also provided in sysfs if the 118 Legacy resources are protected by the HAVE_PCI_LEGACY define. Platforms
|
D | dlmfs.txt | 97 not automatically create inodes for existing lock resources. 117 access to the resources via dlmfs on your local node only.
|
/linux-4.4.14/Documentation/blockdev/drbd/ |
D | data-structure-v9.txt | 7 A node has a number of DRBD resources. Each such resource has a number of 26 In this table, horizontally, devices can be accessed from resources by their 32 All resources are in the drbd_resources double-linked list. In addition, all
|
/linux-4.4.14/Documentation/acpi/ |
D | gpio-properties.txt | 41 ref - The device that has _CRS containing GpioIo()/GpioInt() resources, 58 with GpioIo()/GpioInt() resources and device drivers still need to work with 64 listed by the GpioIo()/GpioInt() resources returned by _CRS. In other words, 65 the driver is supposed to know what to use the GpioIo()/GpioInt() resources for 68 mapping between those names and the ACPI GPIO resources corresponding to them.
|
D | enumeration.txt | 3 ACPI 5 introduced a set of new resources (UartTSerialBus, I2cSerialBus, 22 resources) this implementation follows the Device Tree way as much as 66 provide generic access to their resources. For example, a driver that would 255 ACPI 5 introduced two new resources to describe GPIO connections: GpioIo 256 and GpioInt. These resources can be used to pass GPIO numbers used by 360 /* set the resources relative to the parent */
|
/linux-4.4.14/arch/alpha/kernel/ |
D | pci.c | 314 struct list_head resources; in common_init_pci() local 333 INIT_LIST_HEAD(&resources); in common_init_pci() 334 pci_add_resource_offset(&resources, hose->io_space, in common_init_pci() 336 pci_add_resource_offset(&resources, hose->mem_space, in common_init_pci() 340 hose, &resources); in common_init_pci()
|
/linux-4.4.14/drivers/pnp/pnpbios/ |
D | Kconfig | 11 mainboard resources (e.g. parallel port resources). 16 If you would like the kernel to detect and allocate resources to
|
/linux-4.4.14/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_acpi.c | 118 LIST_HEAD(resources); in inv_mpu_process_acpi_config() 130 ret = acpi_dev_get_resources(adev, &resources, in inv_mpu_process_acpi_config() 135 acpi_dev_free_resource_list(&resources); in inv_mpu_process_acpi_config()
|
/linux-4.4.14/sound/aoa/soundbus/i2sbus/ |
D | core.c | 254 if (i2sbus_get_and_fixup_rsrc(np,i,layout,&dev->resources[i])) in i2sbus_add_dev() 261 request_mem_region(dev->resources[i].start, in i2sbus_add_dev() 262 resource_size(&dev->resources[i]), in i2sbus_add_dev() 270 r = &dev->resources[aoa_resource_i2smmio]; in i2sbus_add_dev() 276 r = &dev->resources[aoa_resource_txdbdma]; in i2sbus_add_dev() 282 r = &dev->resources[aoa_resource_rxdbdma]; in i2sbus_add_dev()
|
D | i2sbus.h | 65 struct resource resources[3]; member
|
/linux-4.4.14/arch/ia64/sn/kernel/ |
D | io_init.c | 240 LIST_HEAD(resources); in sn_pci_controller_fixup() 264 pci_add_resource_offset(&resources, &res[0], in sn_pci_controller_fixup() 266 pci_add_resource_offset(&resources, &res[1], in sn_pci_controller_fixup() 270 &resources); in sn_pci_controller_fixup()
|
/linux-4.4.14/arch/arm/kernel/ |
D | bios32.c | 418 if (list_empty(&sys->resources)) { in pcibios_init_resources() 419 pci_add_resource_offset(&sys->resources, in pcibios_init_resources() 423 resource_list_for_each_entry(window, &sys->resources) in pcibios_init_resources() 438 pci_add_resource_offset(&sys->resources, &sys->io_res, in pcibios_init_resources() 459 INIT_LIST_HEAD(&sys->resources); in pcibios_init_hw() 480 &sys->resources, hw->msi_ctrl); in pcibios_init_hw()
|
/linux-4.4.14/arch/frv/mb93090-mb00/ |
D | pci-vdk.c | 321 LIST_HEAD(resources); in pcibios_init() 385 pci_add_resource(&resources, &pci_ioport_resource); in pcibios_init() 386 pci_add_resource(&resources, &pci_iomem_resource); in pcibios_init() 387 bus = pci_scan_root_bus(NULL, 0, pci_root_ops, NULL, &resources); in pcibios_init()
|
/linux-4.4.14/Documentation/devicetree/bindings/soc/ |
D | qcom,smd-rpm.txt | 5 for state of the system resources, such as clocks, regulators and bus 21 The RPM exposes resources to its subnodes. The below bindings specify the set 22 of valid subnodes that can operate on these resources.
|
/linux-4.4.14/drivers/platform/goldfish/ |
D | pdev_bus.c | 44 struct resource resources[0]; member 87 if (pos->resources[0].start == base) { in goldfish_pdev_remove() 94 if (pos->resources[0].start == base) { in goldfish_pdev_remove()
|
/linux-4.4.14/arch/x86/platform/intel-mid/ |
D | intel-mid.c | 172 x86_init.resources.probe_roms = x86_init_noop; in x86_intel_mid_early_setup() 173 x86_init.resources.reserve_resources = x86_init_noop; in x86_intel_mid_early_setup()
|
/linux-4.4.14/arch/tile/kernel/ |
D | pci.c | 298 LIST_HEAD(resources); in pcibios_init() 307 pci_add_resource(&resources, &ioport_resource); in pcibios_init() 308 pci_add_resource(&resources, &iomem_resource); in pcibios_init() 310 controller, &resources); in pcibios_init()
|
/linux-4.4.14/Documentation/arm/Samsung-S3C24XX/ |
D | EB2410ITX.txt | 29 - Resources Page http://www.simtec.co.uk/products/EB2410ITX/resources.html 33 - Bootloader info http://www.simtec.co.uk/products/SWABLE/resources.html
|
/linux-4.4.14/Documentation/devicetree/bindings/misc/ |
D | fsl,qoriq-mc.txt | 6 block is enabled, pools of hardware resources are available, such as 7 queues, buffer pools, I/O interfaces. These resources are building
|
/linux-4.4.14/drivers/parisc/ |
D | dino.c | 891 LIST_HEAD(resources); in dino_probe() 969 pci_add_resource_offset(&resources, &dino_dev->hba.io_space, in dino_probe() 972 pci_add_resource_offset(&resources, &dino_dev->hba.lmmio_space, in dino_probe() 975 pci_add_resource_offset(&resources, &dino_dev->hba.elmmio_space, in dino_probe() 978 pci_add_resource(&resources, &dino_dev->hba.gmmio_space); in dino_probe() 983 pci_add_resource(&resources, &dino_dev->hba.bus_num); in dino_probe() 989 dino_current_bus, &dino_cfg_ops, NULL, &resources); in dino_probe() 993 pci_free_resource_list(&resources); in dino_probe()
|
D | lba_pci.c | 1418 LIST_HEAD(resources); in lba_driver_probe() 1551 pci_add_resource_offset(&resources, &lba_dev->hba.io_space, in lba_driver_probe() 1554 pci_add_resource_offset(&resources, &lba_dev->hba.elmmio_space, in lba_driver_probe() 1557 pci_add_resource_offset(&resources, &lba_dev->hba.lmmio_space, in lba_driver_probe() 1565 pci_add_resource(&resources, &lba_dev->hba.bus_num); in lba_driver_probe() 1570 cfg_ops, NULL, &resources); in lba_driver_probe() 1572 pci_free_resource_list(&resources); in lba_driver_probe()
|
/linux-4.4.14/Documentation/infiniband/ |
D | user_verbs.txt | 32 Since creation and destruction of all IB resources is done by 34 of which resources are attached to a given userspace context. The 41 prevent one process from touching another process's resources.
|
/linux-4.4.14/arch/arm/mach-s3c24xx/ |
D | common.c | 290 .resources = s3c2410_uart0_resource, 294 .resources = s3c2410_uart1_resource, 298 .resources = s3c2410_uart2_resource, 302 .resources = s3c2410_uart3_resource,
|
/linux-4.4.14/arch/x86/kernel/ |
D | head32.c | 26 x86_init.resources.reserve_resources = i386_reserve_resources; in i386_default_early_setup()
|
D | x86_init.c | 38 .resources = {
|
/linux-4.4.14/drivers/pnp/ |
D | support.c | 82 if (list_empty(&dev->resources)) in dbg_pnp_show_resources() 86 list_for_each_entry(pnp_res, &dev->resources, list) in dbg_pnp_show_resources()
|
D | core.c | 125 list_for_each_entry_safe(pnp_res, tmp, &dev->resources, list) { in pnp_free_resources() 150 INIT_LIST_HEAD(&dev->resources); in pnp_alloc_dev()
|
D | quirks.c | 317 list_for_each_entry(pnp_res, &dev->resources, list) { in quirk_amd_mmconfig_area() 398 list_for_each_entry(pnp_res, &dev->resources, list) { in quirk_intel_mch()
|
D | resource.c | 487 list_for_each_entry(pnp_res, &dev->resources, list) { in pnp_get_resource() 504 list_add_tail(&pnp_res->list, &dev->resources); in pnp_new_resource() 692 list_for_each_entry(pnp_res, &dev->resources, list) { in pnp_range_reserved()
|
D | interface.c | 268 list_for_each_entry(pnp_res, &dev->resources, list) { in resources_show() 437 static DEVICE_ATTR_RW(resources);
|
/linux-4.4.14/arch/mn10300/unit-asb2305/ |
D | pci.c | 344 LIST_HEAD(resources); in pcibios_init() 373 pci_add_resource_offset(&resources, &pci_ioport_resource, io_offset); in pcibios_init() 374 pci_add_resource_offset(&resources, &pci_iomem_resource, mem_offset); in pcibios_init() 375 bus = pci_scan_root_bus(NULL, 0, &pci_direct_ampci, NULL, &resources); in pcibios_init()
|
/linux-4.4.14/arch/arm/mach-orion5x/ |
D | pci.c | 185 pci_add_resource_offset(&sys->resources, res, sys->mem_offset); in pcie_setup() 503 pci_add_resource_offset(&sys->resources, res, sys->mem_offset); in pci_setup() 562 &sys->resources); in orion5x_pci_sys_scan_bus() 566 &sys->resources); in orion5x_pci_sys_scan_bus()
|
/linux-4.4.14/drivers/usb/musb/ |
D | musb_dsps.c | 688 struct resource resources[2]; in dsps_create_musb_pdev() local 696 memset(resources, 0, sizeof(resources)); in dsps_create_musb_pdev() 702 resources[0] = *res; in dsps_create_musb_pdev() 709 resources[1] = *res; in dsps_create_musb_pdev() 724 ret = platform_device_add_resources(musb, resources, in dsps_create_musb_pdev() 725 ARRAY_SIZE(resources)); in dsps_create_musb_pdev()
|
/linux-4.4.14/Documentation/devicetree/bindings/sound/ |
D | mrvl,pxa2xx-pcm.txt | 4 It does not have any resources assigned.
|
/linux-4.4.14/Documentation/driver-model/ |
D | devres.txt | 39 So, many low level drivers end up leaking resources on driver detach 41 would leak resources or even cause oops when failure occurs. iomap 55 Managed interface is created for resources commonly used by device 99 detached. If most resources are acquired using managed interface, a 142 resources on failure. For example,
|
D | platform.txt | 22 list of resources such as addresses and IRQs. 53 can use device resources, including clocks, and device platform_data. 102 In many cases, the memory and IRQ resources associated with the platform 142 you will then initialize with resources and platform_device_register().
|
D | driver.txt | 151 as pci_dev.resource[] or platform_device.resources, which is used in 165 released all resources it allocated. 175 not. It should free any resources allocated specifically for the
|
/linux-4.4.14/net/atm/ |
D | Makefile | 5 atm-y := addr.o pvc.o signaling.o svc.o ioctl.o common.o atm_misc.o raw.o resources.o atm_sysfs.o
|
/linux-4.4.14/include/media/ |
D | saa7146_vv.h | 98 unsigned int resources; /* resource management for device open */ member 144 unsigned int resources; /* resource management for device */ member
|
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/ |
D | cpm.txt | 49 - A child address of zero must be translatable, even if no reg resources 54 purposes. The data node may have an arbitrary number of reg resources,
|
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/cpm/ |
D | brg.txt | 9 - reg : There may be an arbitrary number of reg resources; BRG
|
/linux-4.4.14/Documentation/console/ |
D | console.txt | 118 2. All resources allocated during con->con_init() must be released in 121 3. All resources allocated in con->con_startup() must be released when the 124 driver to check when it's legal to release these resources. Calling 126 false(), then it's safe to release the resources. This balance has to be
|
/linux-4.4.14/Documentation/devicetree/bindings/serial/ |
D | st-asc.txt | 6 resources with names. look in
|
/linux-4.4.14/arch/arm/mach-dove/ |
D | pcie.c | 78 pci_add_resource_offset(&sys->resources, &pp->res, sys->mem_offset); in dove_pcie_setup() 164 &sys->resources); in dove_pcie_scan_bus()
|
/linux-4.4.14/Documentation/leds/ |
D | leds-lp5521.txt | 78 /* setup HW resources */ 83 /* Release HW resources */
|
D | leds-lp5562.txt | 98 /* setup HW resources */ 103 /* Release HW resources */
|
D | leds-lp5523.txt | 110 /* Setup HW resources */ 115 /* Release HW resources */
|
/linux-4.4.14/arch/arm/mach-ks8695/ |
D | pci.c | 101 pci_add_resource_offset(&sys->resources, &pci_io, sys->io_offset); in ks8695_pci_setup() 102 pci_add_resource_offset(&sys->resources, &pci_mem, sys->mem_offset); in ks8695_pci_setup()
|
/linux-4.4.14/arch/s390/pci/ |
D | pci.c | 590 struct list_head *resources) in zpci_setup_bus_resources() argument 624 pci_add_resource(resources, res); in zpci_setup_bus_resources() 770 LIST_HEAD(resources); in zpci_scan_bus() 773 ret = zpci_setup_bus_resources(zdev, &resources); in zpci_scan_bus() 778 zdev, &resources); in zpci_scan_bus() 789 pci_free_resource_list(&resources); in zpci_scan_bus()
|
/linux-4.4.14/Documentation/sound/oss/ |
D | Opti | 19 that Linux and the other OS use the same resources. 21 Also, it is recommended that resources specified in /etc/modprobe.d/*.conf 22 and resources specified in /etc/isapnp.conf agree. 64 The driver has one limitation with respect to I/O port resources: 121 This sets resources and options for the mad16 and opl3 drivers.
|
D | ALS | 23 configure all resources required by the card when the "sb" module is 33 of the card's resources should be passed to the kernel modules ("sb", "opl3"
|
/linux-4.4.14/include/linux/mfd/ |
D | core.h | 61 const struct resource *resources; member
|
/linux-4.4.14/Documentation/pcmcia/ |
D | driver-changes.txt | 11 CONF_AUTO_SET_IO : set ioport resources (->resource[0,1]) 136 Although the PCMCIA subsystem will allocate resources for cards, 137 it no longer marks these resources busy. This means that driver 138 authors are now responsible for claiming your resources as per
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | pci-common.c | 1478 struct list_head *resources) in pcibios_setup_phb_resources() argument 1496 pci_add_resource_offset(resources, res, offset); in pcibios_setup_phb_resources() 1515 pci_add_resource_offset(resources, res, offset); in pcibios_setup_phb_resources() 1602 LIST_HEAD(resources); in pcibios_scan_phb() 1613 pcibios_setup_phb_resources(hose, &resources); in pcibios_scan_phb() 1618 pci_add_resource(&resources, &hose->busn); in pcibios_scan_phb() 1622 hose->ops, hose, &resources); in pcibios_scan_phb() 1626 pci_free_resource_list(&resources); in pcibios_scan_phb()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | topology.h | 136 void x86_pci_root_bus_resources(int bus, struct list_head *resources);
|
D | x86_init.h | 123 struct x86_init_resources resources; member
|
/linux-4.4.14/arch/arm/mach-footbridge/ |
D | dc21285.c | 278 pci_add_resource_offset(&sys->resources, &res[0], sys->mem_offset); in dc21285_setup() 279 pci_add_resource_offset(&sys->resources, &res[1], sys->mem_offset); in dc21285_setup()
|
/linux-4.4.14/arch/arm/mach-versatile/ |
D | pci.c | 221 pci_add_resource_offset(&sys->resources, &non_mem, sys->mem_offset); in pci_versatile_setup_resources() 222 pci_add_resource_offset(&sys->resources, &pre_mem, sys->mem_offset); in pci_versatile_setup_resources()
|
/linux-4.4.14/drivers/dio/ |
D | dio.c | 38 .resources = { 195 request_resource(&iomem_resource, &dio_bus.resources[i]); in dio_init()
|
/linux-4.4.14/Documentation/networking/ |
D | dm9000.txt | 23 The minimum set of resources attached to the platform device are as follows: 29 These resources should be specified in that order, as the ordering of the 66 platform data supplied. The next example uses the same resources, but adds
|
/linux-4.4.14/include/linux/ |
D | of_pci.h | 61 struct list_head *resources, resource_size_t *io_base);
|
D | pci-acpi.h | 62 struct list_head resources; member
|
D | pci.h | 466 struct list_head resources; /* address space routed to this bus */ member 802 struct list_head *resources); 808 struct list_head *resources, 812 struct list_head *resources); 1131 void pci_add_resource(struct list_head *resources, struct resource *res); 1132 void pci_add_resource_offset(struct list_head *resources, struct resource *res, 1134 void pci_free_resource_list(struct list_head *resources);
|
/linux-4.4.14/arch/arm/include/asm/mach/ |
D | pci.h | 48 struct list_head resources; /* root bus resources (apertures) */ member
|
/linux-4.4.14/arch/arm/mach-cns3xxx/ |
D | pcie.c | 119 pci_add_resource_offset(&sys->resources, res_io, sys->io_offset); in cns3xxx_pci_setup() 120 pci_add_resource_offset(&sys->resources, res_mem, sys->mem_offset); in cns3xxx_pci_setup()
|
/linux-4.4.14/arch/microblaze/pci/ |
D | pci-common.c | 1275 struct list_head *resources) in pcibios_setup_phb_resources() argument 1298 pci_add_resource_offset(resources, res, in pcibios_setup_phb_resources() 1322 pci_add_resource_offset(resources, res, hose->pci_mem_offset); in pcibios_setup_phb_resources() 1345 LIST_HEAD(resources); in pcibios_scan_phb() 1351 pcibios_setup_phb_resources(hose, &resources); in pcibios_scan_phb() 1354 hose->ops, hose, &resources); in pcibios_scan_phb() 1358 pci_free_resource_list(&resources); in pcibios_scan_phb()
|
/linux-4.4.14/sound/pci/au88x0/ |
D | au88x0_core.c | 2016 resinuse |= vortex->dma_adb[i].resources[restype]; in vortex_adb_checkinout() 2025 vortex->dma_adb[i].resources[restype] |= (1 << i); in vortex_adb_checkinout() 2126 vortex->dma_adb[dma].resources, en, in vortex_adb_allocroute() 2151 stream->resources, en, in vortex_adb_allocroute() 2153 memset(stream->resources, 0, in vortex_adb_allocroute() 2160 stream->resources, in vortex_adb_allocroute() 2163 memset(stream->resources, in vortex_adb_allocroute() 2175 stream->resources, en, in vortex_adb_allocroute() 2177 memset(stream->resources, 0, in vortex_adb_allocroute() 2289 stream->resources, en, in vortex_adb_allocroute() [all …]
|
/linux-4.4.14/drivers/char/xillybus/ |
D | Kconfig | 29 Set to M if you want Xillybus to find its resources from the
|
/linux-4.4.14/Documentation/devicetree/bindings/net/ |
D | davinci-mdio.txt | 14 resources from TI, omap hwmod data base during device registration.
|
/linux-4.4.14/arch/arm/plat-samsung/include/plat/ |
D | devs.h | 22 struct resource *resources; member
|
/linux-4.4.14/drivers/nvdimm/ |
D | Kconfig | 7 ACPI-6-NFIT defined resources. On platforms that define an 8 NFIT, or otherwise can discover NVDIMM resources, a libnvdimm
|
/linux-4.4.14/arch/arm/mach-mv78xx0/ |
D | pcie.c | 120 pci_add_resource_offset(&sys->resources, &pp->res, sys->mem_offset); in mv78xx0_pcie_setup() 206 &sys->resources); in mv78xx0_pcie_scan_bus()
|
/linux-4.4.14/arch/arm/common/ |
D | it8152.c | 308 pci_add_resource_offset(&sys->resources, &it8152_io, sys->io_offset); in it8152_pci_setup() 309 pci_add_resource_offset(&sys->resources, &it8152_mem, sys->mem_offset); in it8152_pci_setup()
|
/linux-4.4.14/Documentation/devicetree/ |
D | overlay-notes.txt | 27 /* shared resources */ 65 /* shared resources */
|
/linux-4.4.14/arch/sh/include/asm/ |
D | pci.h | 22 struct resource *resources; member
|
/linux-4.4.14/drivers/staging/iio/Documentation/ |
D | trigger.txt | 15 ownership of core allocated resources.
|
/linux-4.4.14/arch/x86/platform/ce4100/ |
D | ce4100.c | 151 x86_init.resources.probe_roms = x86_init_noop; in x86_ce4100_early_setup()
|
/linux-4.4.14/arch/arm/mach-ixp4xx/ |
D | common-pci.c | 448 pci_add_resource_offset(&sys->resources, &res[0], sys->io_offset); in ixp4xx_setup() 449 pci_add_resource_offset(&sys->resources, &res[1], sys->mem_offset); in ixp4xx_setup()
|
/linux-4.4.14/Documentation/devicetree/bindings/mfd/ |
D | qcom-rpm.txt | 5 for state of the system resources, such as clocks, regulators and bus 48 The RPM exposes resources to its subnodes. The below bindings specify the set 49 of valid subnodes that can operate on these resources.
|
D | twl4030-power.txt | 4 to control the power resources, including power scripts. For now, the
|
/linux-4.4.14/arch/arm/plat-samsung/ |
D | init.c | 129 platdev->resource = resp->resources; in s3c24xx_init_uartdevs()
|
/linux-4.4.14/drivers/media/pci/bt8xx/ |
D | bttvp.h | 222 int resources; member 425 int resources; member
|
/linux-4.4.14/Documentation/vm/ |
D | numa | 44 Linux divides the system's hardware resources into multiple software 81 such as DMA or DMA32, represent relatively scarce resources. Linux chooses 97 "local" to the underlying physical resources and off the system interconnect-- 131 a subsystem allocates per CPU memory resources, for example.
|
/linux-4.4.14/Documentation/serial/ |
D | driver | 180 Grab any interrupt resources and initialise any low level driver 191 effect, and free any interrupt resources. It should not disable 262 This function should not be used to grab any resources. 280 Release any memory and IO region resources currently in use by 287 Request any memory and IO region resources required by the port. 288 If any fail, no resources should be registered when this function
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | pal.h | 1249 u64 err_data_buffer, u64 *capabilities, u64 *resources) in ia64_pal_mc_error_inject_phys() argument 1256 if (resources) in ia64_pal_mc_error_inject_phys() 1257 *resources= iprv.v1; in ia64_pal_mc_error_inject_phys() 1263 u64 err_data_buffer, u64 *capabilities, u64 *resources) in ia64_pal_mc_error_inject_virt() argument 1270 if (resources) in ia64_pal_mc_error_inject_virt() 1271 *resources= iprv.v1; in ia64_pal_mc_error_inject_virt()
|
/linux-4.4.14/Documentation/devicetree/bindings/spi/ |
D | omap-spi.txt | 24 [hwmod populated DMA resources]
|
/linux-4.4.14/Documentation/devicetree/bindings/timer/ |
D | renesas,mtu2.txt | 6 Channels share hardware resources but their counter and compare match value
|
D | renesas,tmu.txt | 6 Channels share hardware resources but their counter and compare match value
|
/linux-4.4.14/Documentation/devicetree/bindings/net/can/ |
D | c_can.txt | 22 resources from TI, omap hwmod data base during device registration.
|
/linux-4.4.14/drivers/staging/fsl-mc/ |
D | README.txt | 30 DPAA2 hardware resources. The MC provides an object-based abstraction for 33 The MC uses DPAA2 hardware resources such as queues, buffer pools, and 143 hardware resources, flexibility, and performance advantages. 171 supports and a summary of key resources of the object (mmio regions
|
/linux-4.4.14/drivers/bluetooth/ |
D | hci_bcm.c | 685 LIST_HEAD(resources); in bcm_acpi_probe() 734 &resources, bcm_resource, dev); in bcm_acpi_probe() 737 acpi_dev_free_resource_list(&resources); in bcm_acpi_probe()
|
/linux-4.4.14/Documentation/arm64/ |
D | arm-acpi.txt | 260 -- http://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf 300 Programmable power control resources include such resources as voltage/current 306 The kernel assumes that power control of these resources is represented with 308 correctly enabling and disabling resources as they are needed. In order to 319 -- be declared separately as power resources with their own _ON and _OFF 321 via _PRx which specifies which power resources a device needs to be on 337 -- Firmware will leave the resources in a reasonable state before handing 343 abstracting the use of these resources allows the hardware to change over time
|
/linux-4.4.14/drivers/media/usb/tm6000/ |
D | tm6000-video.c | 825 if (dev->resources == fh && dev->is_res_read) in is_res_read() 834 if (dev->resources == fh) in is_res_streaming() 844 if (dev->resources == fh && dev->is_res_read == is_res_read) in res_get() 848 if (dev->resources) in res_get() 852 dev->resources = fh; in res_get() 861 if (dev->resources != fh) in res_free() 864 dev->resources = NULL; in res_free()
|
/linux-4.4.14/drivers/char/mwave/ |
D | README | 37 Example to enable the 3780i DSP using ttyS1 resources:
|
/linux-4.4.14/Documentation/gpio/ |
D | consumer.txt | 336 free_irq(). They will often be stored into IRQ resources for platform devices, 345 On ACPI systems, GPIOs are described by GpioIo()/GpioInt() resources listed by 346 the _CRS configuration objects of devices. Those resources do not provide 352 GPIOs described by the GpioIo()/GpioInt() resources in _CRS. If that is the 354 _DSD is not present, the mappings between GpioIo()/GpioInt() resources and GPIO
|
/linux-4.4.14/arch/arm/mach-iop13xx/ |
D | pci.c | 540 sys, &sys->resources); in iop13xx_scan_bus() 545 sys, &sys->resources); in iop13xx_scan_bus() 1075 pci_add_resource_offset(&sys->resources, res, sys->mem_offset); in iop13xx_pci_setup()
|