Searched refs:num_res (Results 1 – 17 of 17) sorted by relevance
/drivers/acpi/arm64/ |
D | apmt.c | 30 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 …]
|
D | iort.c | 1455 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/ |
D | hisi_lpc.c | 395 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/ |
D | macb_pci.c | 83 plat_info.num_res = ARRAY_SIZE(res); in macb_probe()
|
/drivers/acpi/ |
D | acpi_platform.c | 168 pdevinfo.num_res = count; in acpi_create_platform_device()
|
/drivers/usb/cdns3/ |
D | cdns3-pci-wrap.c | 161 plat_info.num_res = ARRAY_SIZE(wrap->dev_res); in cdns3_pci_probe()
|
/drivers/iio/adc/ |
D | stm32-adc.c | 301 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/ |
D | intel_lpe_audio.c | 116 pinfo.num_res = 2; in lpe_audio_platdev_create()
|
/drivers/iommu/ |
D | rockchip-iommu.c | 1213 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/ |
D | hidma_mgmt.c | 382 pdevinfo.num_res = 3; in hidma_mgmt_of_populate_channels()
|
/drivers/usb/musb/ |
D | da8xx.c | 563 pinfo.num_res = pdev->num_resources; in da8xx_probe()
|
D | mediatek.c | 487 pinfo.num_res = pdev->num_resources; in mtk_musb_probe()
|
D | sunxi.c | 789 pinfo.num_res = pdev->num_resources; in sunxi_musb_probe()
|
D | tusb6010.c | 1269 pinfo.num_res = ARRAY_SIZE(musb_resources); in tusb_probe()
|
/drivers/gpu/drm/msm/adreno/ |
D | adreno_device.c | 731 .num_res = 0, in adreno_device_register_headless()
|
/drivers/net/ethernet/wangxun/txgbe/ |
D | txgbe_phy.c | 621 info.num_res = 1; in txgbe_i2c_register()
|
/drivers/base/ |
D | platform.c | 828 pdevinfo->res, pdevinfo->num_res); in platform_device_register_full()
|