Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/acpi/arm64/
A Dapmt.c30 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()
40 res[num_res].flags = IORESOURCE_MEM; in apmt_init_resources()
42 num_res++; in apmt_init_resources()
53 return num_res; in apmt_init_resources()
56 res[num_res].start = irq; in apmt_init_resources()
57 res[num_res].end = irq; in apmt_init_resources()
58 res[num_res].flags = IORESOURCE_IRQ; in apmt_init_resources()
60 num_res++; in apmt_init_resources()
[all …]
A Diort.c1457 int num_res = 1; in arm_smmu_v3_count_resources() local
1463 num_res++; in arm_smmu_v3_count_resources()
1466 num_res++; in arm_smmu_v3_count_resources()
1469 num_res++; in arm_smmu_v3_count_resources()
1472 num_res++; in arm_smmu_v3_count_resources()
1474 return num_res; in arm_smmu_v3_count_resources()
1511 int num_res = 0; in arm_smmu_v3_init_resources() local
1521 num_res++; in arm_smmu_v3_init_resources()
1628 num_res++; in arm_smmu_init_resources()
1636 &res[num_res++]); in arm_smmu_init_resources()
[all …]
/linux-6.3-rc2/tools/perf/ui/browsers/
A 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()
/linux-6.3-rc2/arch/arm/mach-omap2/
A 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()
/linux-6.3-rc2/sound/soc/amd/acp/
A Dacp-pci.c54 unsigned int flag, addr, num_res, i; in acp_pci_probe() local
79 num_res = ARRAY_SIZE(acp_res); in acp_pci_probe()
110 res = devm_kcalloc(&pci->dev, num_res, sizeof(struct resource), GFP_KERNEL); in acp_pci_probe()
116 for (i = 0; i < num_res; i++, res_acp++) { in acp_pci_probe()
132 pdevinfo.num_res = num_res; in acp_pci_probe()
/linux-6.3-rc2/arch/powerpc/sysdev/
A 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()
/linux-6.3-rc2/drivers/bus/
A 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()
/linux-6.3-rc2/arch/powerpc/platforms/pseries/
A Dsetup.c668 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.3-rc2/sound/soc/amd/raven/
A Dpci-acp3x.c212 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.3-rc2/sound/soc/amd/vangogh/
A Dpci-acp5x.c203 pdevinfo[0].num_res = 4; in snd_acp5x_probe()
211 pdevinfo[1].num_res = 1; in snd_acp5x_probe()
217 pdevinfo[2].num_res = 1; in snd_acp5x_probe()
/linux-6.3-rc2/sound/soc/amd/ps/
A Dpci-ps.c175 unsigned int num_res, in acp63_fill_platform_dev_info() argument
182 pdevinfo->num_res = num_res; in acp63_fill_platform_dev_info()
/linux-6.3-rc2/include/linux/
A Dplatform_device.h100 unsigned int num_res; member
135 .num_res = num, in platform_device_register_resndata()
/linux-6.3-rc2/drivers/net/ethernet/cadence/
A Dmacb_pci.c83 plat_info.num_res = ARRAY_SIZE(res); in macb_probe()
/linux-6.3-rc2/arch/arm/mach-sa1100/
A Dneponset.c238 .num_res = ARRAY_SIZE(sa1111_resources), in neponset_probe()
258 .num_res = ARRAY_SIZE(smc91x_resources), in neponset_probe()
/linux-6.3-rc2/drivers/acpi/
A Dacpi_platform.c143 pdevinfo.num_res = count; in acpi_create_platform_device()
/linux-6.3-rc2/sound/soc/sof/amd/
A Dpci-rmb.c143 pdevinfo.num_res = ARRAY_SIZE(rembrandt_res); in acp_pci_rmb_probe()
A Dpci-rn.c143 pdevinfo.num_res = ARRAY_SIZE(renoir_res); in acp_pci_rn_probe()
/linux-6.3-rc2/drivers/usb/cdns3/
A Dcdns3-pci-wrap.c156 plat_info.num_res = ARRAY_SIZE(wrap->dev_res); in cdns3_pci_probe()
/linux-6.3-rc2/tools/perf/util/
A Dhist.h486 int res_sample_browse(struct res_sample *res_samples, int num_res,
528 int num_res __maybe_unused, in res_sample_browse()
A Dsort.h149 int num_res; member
/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dintel_lpe_audio.c116 pinfo.num_res = 2; in lpe_audio_platdev_create()
/linux-6.3-rc2/drivers/iio/adc/
A 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()
/linux-6.3-rc2/arch/arm/mach-omap1/
A Ddma.c261 .num_res = 1,
/linux-6.3-rc2/sound/soc/amd/yc/
A Dpci-acp6x.c225 pdevinfo[0].num_res = 1; in snd_acp6x_probe()
/linux-6.3-rc2/sound/soc/amd/renoir/
A Drn-pci-acp3x.c313 pdevinfo[0].num_res = 2; in snd_rn_acp_probe()

Completed in 41 milliseconds

12