Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/perf/ui/browsers/
Dres_sample.c31 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/
Dfb.c59 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/
Drtc_cmos_setup.c25 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/
Diort.c1221 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/
Dsetup.c621 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/
Dpci-acp3x.c219 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/
Dhisi_lpc.c395 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/
Dplatform_device.h90 unsigned int num_res; member
125 .num_res = num, in platform_device_register_resndata()
/kernel/linux/linux-5.10/drivers/net/ethernet/cadence/
Dmacb_pci.c83 plat_info.num_res = ARRAY_SIZE(res); in macb_probe()
/kernel/linux/linux-5.10/arch/arm/mach-sa1100/
Dneponset.c238 .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/
Dacpi_platform.c145 pdevinfo.num_res = count; in acpi_create_platform_device()
/kernel/linux/linux-5.10/drivers/usb/cdns3/
Dcdns3-pci-wrap.c156 plat_info.num_res = ARRAY_SIZE(wrap->dev_res); in cdns3_pci_probe()
/kernel/linux/linux-5.10/tools/perf/util/
Dsort.h146 int num_res; member
Dhist.h476 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/
Dintel_lpe_audio.c113 pinfo.num_res = 2; in lpe_audio_platdev_create()
/kernel/linux/linux-5.10/drivers/iio/adc/
Dstm32-adc.c236 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/
Ddma.c261 .num_res = 1,
/kernel/linux/linux-5.10/drivers/iommu/
Drockchip-iommu.c1130 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/
Drn-pci-acp3x.c301 pdevinfo[0].num_res = 2; in snd_rn_acp_probe()
/kernel/linux/linux-5.10/arch/arm/mach-davinci/
Ddevices-da8xx.c211 .num_res = ARRAY_SIZE(da8xx_edma0_resources),
221 .num_res = ARRAY_SIZE(da850_edma1_resources),
Ddm646x.c295 .num_res = ARRAY_SIZE(edma_resources),
Ddm644x.c282 .num_res = ARRAY_SIZE(edma_resources),
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/
Dadreno_device.c449 .num_res = 0, in adreno_device_register_headless()
/kernel/linux/linux-5.10/drivers/dma/qcom/
Dhidma_mgmt.c381 pdevinfo.num_res = 3; in hidma_mgmt_of_populate_channels()
/kernel/linux/linux-5.10/drivers/usb/musb/
Ddavinci.c564 pinfo.num_res = ARRAY_SIZE(musb_resources); in davinci_probe()

12