Home
last modified time | relevance | path

Searched refs:num_res (Results 1 – 17 of 17) sorted by relevance

/drivers/acpi/arm64/
Dapmt.c30 int num_res = 0; in apmt_init_resources() local
32 res[num_res].start = node->base_address0; in apmt_init_resources()
33 res[num_res].end = node->base_address0 + SZ_4K - 1; in apmt_init_resources()
34 res[num_res].flags = IORESOURCE_MEM; in apmt_init_resources()
36 num_res++; in apmt_init_resources()
39 res[num_res].start = node->base_address1; in apmt_init_resources()
40 res[num_res].end = node->base_address1 + SZ_4K - 1; in apmt_init_resources()
41 res[num_res].flags = IORESOURCE_MEM; in apmt_init_resources()
43 num_res++; in apmt_init_resources()
55 return num_res; in apmt_init_resources()
[all …]
Diort.c1455 int num_res = 1; in arm_smmu_v3_count_resources() local
1461 num_res++; in arm_smmu_v3_count_resources()
1464 num_res++; in arm_smmu_v3_count_resources()
1467 num_res++; in arm_smmu_v3_count_resources()
1470 num_res++; in arm_smmu_v3_count_resources()
1472 return num_res; in arm_smmu_v3_count_resources()
1509 int num_res = 0; in arm_smmu_v3_init_resources() local
1514 res[num_res].start = smmu->base_address; in arm_smmu_v3_init_resources()
1515 res[num_res].end = smmu->base_address + in arm_smmu_v3_init_resources()
1517 res[num_res].flags = IORESOURCE_MEM; in arm_smmu_v3_init_resources()
[all …]
/drivers/bus/
Dhisi_lpc.c395 const struct resource **res, int *num_res) in hisi_lpc_acpi_set_io_res() argument
456 *num_res = count; in hisi_lpc_acpi_set_io_res()
493 int num_res; in hisi_lpc_acpi_add_child() local
496 ret = hisi_lpc_acpi_set_io_res(child, hostdev, &res, &num_res); in hisi_lpc_acpi_add_child()
513 .num_res = num_res, in hisi_lpc_acpi_add_child()
527 .num_res = num_res, in hisi_lpc_acpi_add_child()
/drivers/net/ethernet/cadence/
Dmacb_pci.c83 plat_info.num_res = ARRAY_SIZE(res); in macb_probe()
/drivers/acpi/
Dacpi_platform.c168 pdevinfo.num_res = count; in acpi_create_platform_device()
/drivers/usb/cdns3/
Dcdns3-pci-wrap.c161 plat_info.num_res = ARRAY_SIZE(wrap->dev_res); in cdns3_pci_probe()
/drivers/iio/adc/
Dstm32-adc.c301 const unsigned int num_res; member
313 .num_res = ARRAY_SIZE(stm32f4_adc_resolutions),
325 .num_res = ARRAY_SIZE(stm32h7_adc_resolutions),
332 .num_res = ARRAY_SIZE(stm32f4_adc_resolutions),
1910 for (i = 0; i < adc->cfg->adc_info->num_res; i++) in stm32_adc_fw_get_resolution()
1913 if (i >= adc->cfg->adc_info->num_res) { in stm32_adc_fw_get_resolution()
/drivers/gpu/drm/i915/display/
Dintel_lpe_audio.c116 pinfo.num_res = 2; in lpe_audio_platdev_create()
/drivers/iommu/
Drockchip-iommu.c1213 int num_res = pdev->num_resources; in rk_iommu_probe() local
1235 iommu->bases = devm_kcalloc(dev, num_res, sizeof(*iommu->bases), in rk_iommu_probe()
1240 for (i = 0; i < num_res; i++) { in rk_iommu_probe()
/drivers/dma/qcom/
Dhidma_mgmt.c382 pdevinfo.num_res = 3; in hidma_mgmt_of_populate_channels()
/drivers/usb/musb/
Dda8xx.c563 pinfo.num_res = pdev->num_resources; in da8xx_probe()
Dmediatek.c487 pinfo.num_res = pdev->num_resources; in mtk_musb_probe()
Dsunxi.c789 pinfo.num_res = pdev->num_resources; in sunxi_musb_probe()
Dtusb6010.c1269 pinfo.num_res = ARRAY_SIZE(musb_resources); in tusb_probe()
/drivers/gpu/drm/msm/adreno/
Dadreno_device.c731 .num_res = 0, in adreno_device_register_headless()
/drivers/net/ethernet/wangxun/txgbe/
Dtxgbe_phy.c621 info.num_res = 1; in txgbe_i2c_register()
/drivers/base/
Dplatform.c828 pdevinfo->res, pdevinfo->num_res); in platform_device_register_full()