Home
last modified time | relevance | path

Searched refs:nclusters (Results 1 – 5 of 5) sorted by relevance

/linux/sound/soc/apple/
H A Dmca.c163 int nclusters; member
164 struct mca_cluster clusters[] __counted_by(nclusters);
186 int cluster_no = dai->id % mca->nclusters; in mca_dai_to_cluster()
311 for (i = 0; i < mca->nclusters; i++) { in mca_fe_clocks_in_use()
990 for (i = 0; i < mca->nclusters; i++) { in apple_mca_release()
1016 int nclusters; in apple_mca_probe() local
1025 nclusters = (resource_size(res) - CLUSTER_STRIDE) / CLUSTER_STRIDE + 1; in apple_mca_probe()
1027 mca = devm_kzalloc(&pdev->dev, struct_size(mca, clusters, nclusters), in apple_mca_probe()
1032 mca->nclusters = nclusters; in apple_mca_probe()
1047 &pdev->dev, sizeof(*dai_drivers) * 2 * nclusters, GFP_KERNEL); in apple_mca_probe()
[all …]
/linux/drivers/clk/mvebu/
H A Dap-cpu-clk.c231 int ret, nclusters = 0, cluster_index = 0; in ap_cpu_clock_probe() local
253 nclusters = 1; in ap_cpu_clock_probe()
265 nclusters = 2; in ap_cpu_clock_probe()
274 ap_cpu_clk = devm_kcalloc(dev, nclusters, sizeof(*ap_cpu_clk), in ap_cpu_clock_probe()
280 nclusters), in ap_cpu_clock_probe()
/linux/fs/ext4/
H A Dballoc.c621 s64 nclusters, unsigned int flags) in ext4_has_free_clusters() argument
638 if (free_clusters - (nclusters + rsv + dirty_clusters) < in ext4_has_free_clusters()
646 if (free_clusters >= (rsv + nclusters + dirty_clusters)) in ext4_has_free_clusters()
655 if (free_clusters >= (nclusters + dirty_clusters + in ext4_has_free_clusters()
661 if (free_clusters >= (nclusters + dirty_clusters)) in ext4_has_free_clusters()
669 s64 nclusters, unsigned int flags) in ext4_claim_free_clusters() argument
671 if (ext4_has_free_clusters(sbi, nclusters, flags)) { in ext4_claim_free_clusters()
672 percpu_counter_add(&sbi->s_dirtyclusters_counter, nclusters); in ext4_claim_free_clusters()
H A Dext4.h2727 s64 nclusters, unsigned int flags);
/linux/arch/mips/kernel/
H A Dsmp-cps.c143 unsigned int nclusters, ncores, nvpes, core_vpes; in cps_smp_setup() local
148 nclusters = mips_cps_numclusters(); in cps_smp_setup()
150 for (cl = 0; cl < nclusters; cl++) { in cps_smp_setup()