/kernel/linux/linux-5.10/tools/perf/ui/browsers/ |
D | res_sample.c | 31 int res_sample_browse(struct res_sample *res_samples, int num_res, in res_sample_browse() argument 44 names = calloc(num_res, sizeof(char *)); in res_sample_browse() 47 for (i = 0; i < num_res; i++) { in res_sample_browse() 59 choice = ui__popup_menu(num_res, names, NULL); in res_sample_browse() 60 for (i = 0; i < num_res; i++) in res_sample_browse() 64 if (choice < 0 || choice >= num_res) in res_sample_browse()
|
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
D | fb.c | 59 unsigned int num_res; in omap_init_vrfb() local 63 num_res = ARRAY_SIZE(omap2_vrfb_resources); in omap_init_vrfb() 66 num_res = ARRAY_SIZE(omap3_vrfb_resources); in omap_init_vrfb() 72 res, num_res, NULL, 0); in omap_init_vrfb()
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
D | rtc_cmos_setup.c | 25 unsigned int num_res = 1; in add_rtc() local 59 num_res++; in add_rtc() 63 &res[0], num_res); in add_rtc()
|
/kernel/linux/linux-5.10/drivers/acpi/arm64/ |
D | iort.c | 1221 int num_res = 1; in arm_smmu_v3_count_resources() local 1227 num_res++; in arm_smmu_v3_count_resources() 1230 num_res++; in arm_smmu_v3_count_resources() 1233 num_res++; in arm_smmu_v3_count_resources() 1236 num_res++; in arm_smmu_v3_count_resources() 1238 return num_res; in arm_smmu_v3_count_resources() 1275 int num_res = 0; in arm_smmu_v3_init_resources() local 1280 res[num_res].start = smmu->base_address; in arm_smmu_v3_init_resources() 1281 res[num_res].end = smmu->base_address + in arm_smmu_v3_init_resources() 1283 res[num_res].flags = IORESOURCE_MEM; in arm_smmu_v3_init_resources() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | setup.c | 621 int i, num_res, ret = 0; in pseries_get_iov_fw_value() local 632 num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); in pseries_get_iov_fw_value() 633 if (resno >= num_res) in pseries_get_iov_fw_value() 656 int i, r, num_res; in of_pci_set_vf_bar_size() local 658 num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); in of_pci_set_vf_bar_size() 659 num_res = min_t(int, num_res, PCI_SRIOV_NUM_BARS); in of_pci_set_vf_bar_size() 660 for (i = START_OF_ENTRIES, r = 0; r < num_res && r < PCI_SRIOV_NUM_BARS; in of_pci_set_vf_bar_size() 678 int i, r, num_res; in of_pci_parse_iov_addrs() local 685 num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); in of_pci_parse_iov_addrs() 686 for (i = START_OF_ENTRIES, r = 0; r < num_res && r < PCI_SRIOV_NUM_BARS; in of_pci_parse_iov_addrs()
|
/kernel/linux/linux-5.10/sound/soc/amd/raven/ |
D | pci-acp3x.c | 219 pdevinfo[0].num_res = 4; in snd_acp3x_probe() 227 pdevinfo[1].num_res = 1; in snd_acp3x_probe() 233 pdevinfo[2].num_res = 1; in snd_acp3x_probe() 239 pdevinfo[3].num_res = 1; in snd_acp3x_probe()
|
/kernel/linux/linux-5.10/drivers/bus/ |
D | hisi_lpc.c | 395 const struct resource **res, int *num_res) in hisi_lpc_acpi_set_io_res() argument 463 *num_res = count; in hisi_lpc_acpi_set_io_res() 515 int num_res; in hisi_lpc_acpi_probe() local 518 &num_res); in hisi_lpc_acpi_probe() 572 ret = platform_device_add_resources(pdev, res, num_res); in hisi_lpc_acpi_probe()
|
/kernel/linux/linux-5.10/include/linux/ |
D | platform_device.h | 90 unsigned int num_res; member 125 .num_res = num, in platform_device_register_resndata()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cadence/ |
D | macb_pci.c | 83 plat_info.num_res = ARRAY_SIZE(res); in macb_probe()
|
/kernel/linux/linux-5.10/arch/arm/mach-sa1100/ |
D | neponset.c | 238 .num_res = ARRAY_SIZE(sa1111_resources), in neponset_probe() 258 .num_res = ARRAY_SIZE(smc91x_resources), in neponset_probe()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | acpi_platform.c | 145 pdevinfo.num_res = count; in acpi_create_platform_device()
|
/kernel/linux/linux-5.10/drivers/usb/cdns3/ |
D | cdns3-pci-wrap.c | 156 plat_info.num_res = ARRAY_SIZE(wrap->dev_res); in cdns3_pci_probe()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | sort.h | 146 int num_res; member
|
D | hist.h | 476 int res_sample_browse(struct res_sample *res_samples, int num_res, 518 int num_res __maybe_unused, in res_sample_browse()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_lpe_audio.c | 113 pinfo.num_res = 2; in lpe_audio_platdev_create()
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | stm32-adc.c | 236 const unsigned int num_res; member 248 .num_res = ARRAY_SIZE(stm32f4_adc_resolutions), 260 .num_res = ARRAY_SIZE(stm32h7_adc_resolutions), 1670 for (i = 0; i < adc->cfg->adc_info->num_res; i++) in stm32_adc_of_get_resolution() 1673 if (i >= adc->cfg->adc_info->num_res) { in stm32_adc_of_get_resolution()
|
/kernel/linux/linux-5.10/arch/arm/mach-omap1/ |
D | dma.c | 261 .num_res = 1,
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | rockchip-iommu.c | 1130 int num_res = pdev->num_resources; in rk_iommu_probe() local 1141 iommu->bases = devm_kcalloc(dev, num_res, sizeof(*iommu->bases), in rk_iommu_probe() 1146 for (i = 0; i < num_res; i++) { in rk_iommu_probe()
|
/kernel/linux/linux-5.10/sound/soc/amd/renoir/ |
D | rn-pci-acp3x.c | 301 pdevinfo[0].num_res = 2; in snd_rn_acp_probe()
|
/kernel/linux/linux-5.10/arch/arm/mach-davinci/ |
D | devices-da8xx.c | 211 .num_res = ARRAY_SIZE(da8xx_edma0_resources), 221 .num_res = ARRAY_SIZE(da850_edma1_resources),
|
D | dm646x.c | 295 .num_res = ARRAY_SIZE(edma_resources),
|
D | dm644x.c | 282 .num_res = ARRAY_SIZE(edma_resources),
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/ |
D | adreno_device.c | 449 .num_res = 0, in adreno_device_register_headless()
|
/kernel/linux/linux-5.10/drivers/dma/qcom/ |
D | hidma_mgmt.c | 381 pdevinfo.num_res = 3; in hidma_mgmt_of_populate_channels()
|
/kernel/linux/linux-5.10/drivers/usb/musb/ |
D | davinci.c | 564 pinfo.num_res = ARRAY_SIZE(musb_resources); in davinci_probe()
|