| /linux-6.15/drivers/acpi/arm64/ |
| H A D | apmt.c | 30 int num_res = 0; in apmt_init_resources() local 34 res[num_res].flags = IORESOURCE_MEM; in apmt_init_resources() 36 num_res++; 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() 58 res[num_res].start = irq; in apmt_init_resources() 59 res[num_res].end = irq; in apmt_init_resources() 60 res[num_res].flags = IORESOURCE_IRQ; in apmt_init_resources() 62 num_res++; in apmt_init_resources() [all …]
|
| H A D | iort.c | 1459 int num_res = 1; in arm_smmu_v3_count_resources() local 1465 num_res++; in arm_smmu_v3_count_resources() 1468 num_res++; in arm_smmu_v3_count_resources() 1471 num_res++; in arm_smmu_v3_count_resources() 1474 num_res++; in arm_smmu_v3_count_resources() 1476 return num_res; in arm_smmu_v3_count_resources() 1513 int num_res = 0; in arm_smmu_v3_init_resources() local 1523 num_res++; in arm_smmu_v3_init_resources() 1630 num_res++; in arm_smmu_init_resources() 1638 &res[num_res++]); in arm_smmu_init_resources() [all …]
|
| /linux-6.15/tools/perf/ui/browsers/ |
| H A 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()
|
| /linux-6.15/arch/arm/mach-omap2/ |
| H A 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()
|
| /linux-6.15/arch/powerpc/sysdev/ |
| H A 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()
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | isp_v4_1_0.c | 45 int idx, int_idx, num_res, r; in isp_v4_1_0_hw_init() local 61 num_res = MAX_ISP410_MEM_RES + MAX_ISP410_INT_SRC; in isp_v4_1_0_hw_init() 62 isp->isp_res = kcalloc(num_res, sizeof(struct resource), in isp_v4_1_0_hw_init() 94 for (idx = MAX_ISP410_MEM_RES, int_idx = 0; idx < num_res; idx++, int_idx++) { in isp_v4_1_0_hw_init() 104 isp->isp_cell[0].num_resources = num_res; in isp_v4_1_0_hw_init()
|
| H A D | isp_v4_1_1.c | 45 int idx, int_idx, num_res, r; in isp_v4_1_1_hw_init() local 61 num_res = MAX_ISP411_MEM_RES + MAX_ISP411_INT_SRC; in isp_v4_1_1_hw_init() 63 isp->isp_res = kcalloc(num_res, sizeof(struct resource), in isp_v4_1_1_hw_init() 95 for (idx = MAX_ISP411_MEM_RES, int_idx = 0; idx < num_res; idx++, int_idx++) { in isp_v4_1_1_hw_init() 105 isp->isp_cell[0].num_resources = num_res; in isp_v4_1_1_hw_init()
|
| H A D | amdgpu_xcp.h | 77 u8 num_res; member
|
| H A D | amdgpu_xcp.c | 681 for (i = 0; i < xcp_cfg->num_res; i++) { in amdgpu_xcp_cfg_sysfs_init() 716 for (i = 0; i < xcp_cfg->num_res; i++) { in amdgpu_xcp_cfg_sysfs_fini()
|
| /linux-6.15/drivers/bus/ |
| H A 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()
|
| /linux-6.15/arch/powerpc/platforms/pseries/ |
| H A D | setup.c | 668 int i, num_res, ret = 0; in pseries_get_iov_fw_value() local 679 num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); in pseries_get_iov_fw_value() 680 if (resno >= num_res) in pseries_get_iov_fw_value() 703 int i, r, num_res; in of_pci_set_vf_bar_size() local 705 num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); in of_pci_set_vf_bar_size() 706 num_res = min_t(int, num_res, PCI_SRIOV_NUM_BARS); in of_pci_set_vf_bar_size() 707 for (i = START_OF_ENTRIES, r = 0; r < num_res && r < PCI_SRIOV_NUM_BARS; in of_pci_set_vf_bar_size() 725 int i, r, num_res; in of_pci_parse_iov_addrs() local 732 num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); in of_pci_parse_iov_addrs() 733 for (i = START_OF_ENTRIES, r = 0; r < num_res && r < PCI_SRIOV_NUM_BARS; in of_pci_parse_iov_addrs()
|
| /linux-6.15/sound/soc/amd/raven/ |
| H A D | pci-acp3x.c | 212 pdevinfo[0].num_res = 4; in snd_acp3x_probe() 220 pdevinfo[1].num_res = 1; in snd_acp3x_probe() 226 pdevinfo[2].num_res = 1; in snd_acp3x_probe() 232 pdevinfo[3].num_res = 1; in snd_acp3x_probe()
|
| /linux-6.15/sound/soc/amd/acp/ |
| H A D | acp-pci.c | 43 unsigned int num_res, in acp_fill_platform_dev_info() argument 50 pdevinfo->num_res = num_res; in acp_fill_platform_dev_info()
|
| /linux-6.15/sound/soc/amd/vangogh/ |
| H A D | pci-acp5x.c | 213 pdevinfo[0].num_res = 4; in snd_acp5x_probe() 221 pdevinfo[1].num_res = 1; in snd_acp5x_probe() 227 pdevinfo[2].num_res = 1; in snd_acp5x_probe()
|
| /linux-6.15/include/linux/ |
| H A D | platform_device.h | 128 unsigned int num_res; member 163 .num_res = num, in platform_device_register_resndata()
|
| /linux-6.15/drivers/net/ethernet/cadence/ |
| H A D | macb_pci.c | 82 plat_info.num_res = ARRAY_SIZE(res); in macb_probe()
|
| /linux-6.15/arch/arm/mach-sa1100/ |
| H A D | neponset.c | 238 .num_res = ARRAY_SIZE(sa1111_resources), in neponset_probe() 258 .num_res = ARRAY_SIZE(smc91x_resources), in neponset_probe()
|
| /linux-6.15/drivers/acpi/ |
| H A D | acpi_platform.c | 168 pdevinfo.num_res = count; in acpi_create_platform_device()
|
| /linux-6.15/tools/perf/util/ |
| H A D | hist.h | 289 int num_res; member 704 int res_sample_browse(struct res_sample *res_samples, int num_res, 742 int num_res __maybe_unused, in res_sample_browse()
|
| /linux-6.15/sound/soc/amd/ps/ |
| H A D | pci-ps.c | 451 unsigned int num_res, in acp63_fill_platform_dev_info() argument 458 pdevinfo->num_res = num_res; in acp63_fill_platform_dev_info()
|
| /linux-6.15/drivers/usb/cdns3/ |
| H A D | cdns3-pci-wrap.c | 158 plat_info.num_res = ARRAY_SIZE(wrap->dev_res); in cdns3_pci_probe()
|
| /linux-6.15/drivers/soundwire/ |
| H A D | amd_init.c | 128 pdevinfo[index].num_res = 1; in sdw_amd_probe_controller()
|
| /linux-6.15/drivers/gpu/drm/i915/display/ |
| H A D | intel_lpe_audio.c | 117 pinfo.num_res = 2; in lpe_audio_platdev_create()
|
| /linux-6.15/drivers/iio/adc/ |
| H A 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), 1909 for (i = 0; i < adc->cfg->adc_info->num_res; i++) in stm32_adc_fw_get_resolution() 1912 if (i >= adc->cfg->adc_info->num_res) { in stm32_adc_fw_get_resolution()
|
| /linux-6.15/arch/arm/mach-omap1/ |
| H A D | dma.c | 261 .num_res = 1,
|