/Linux-v5.4/arch/powerpc/platforms/powernv/ |
D | opal-imc.c | 101 int nr_chips = 0, i; in imc_get_mem_addr_nest() local 105 nr_chips = of_property_count_u32_elems(node, "chip-id"); in imc_get_mem_addr_nest() 106 if (nr_chips <= 0) in imc_get_mem_addr_nest() 109 base_addr_arr = kcalloc(nr_chips, sizeof(*base_addr_arr), GFP_KERNEL); in imc_get_mem_addr_nest() 113 chipid_arr = kcalloc(nr_chips, sizeof(*chipid_arr), GFP_KERNEL); in imc_get_mem_addr_nest() 119 if (of_property_read_u32_array(node, "chip-id", chipid_arr, nr_chips)) in imc_get_mem_addr_nest() 123 nr_chips)) in imc_get_mem_addr_nest() 126 pmu_ptr->mem_info = kcalloc(nr_chips + 1, sizeof(*pmu_ptr->mem_info), in imc_get_mem_addr_nest() 131 for (i = 0; i < nr_chips; i++) { in imc_get_mem_addr_nest()
|
/Linux-v5.4/drivers/mtd/chips/ |
D | gen_probe.c | 170 int nr_chips, type; in genprobe_new_chip() local 172 for (nr_chips = max_chips; nr_chips >= min_chips; nr_chips >>= 1) { in genprobe_new_chip() 174 if (!cfi_interleave_supported(nr_chips)) in genprobe_new_chip() 177 cfi->interleave = nr_chips; in genprobe_new_chip() 181 type = map_bankwidth(map) / nr_chips; in genprobe_new_chip()
|
/Linux-v5.4/drivers/macintosh/ |
D | windfarm_rm31.c | 78 static int nr_chips; variable 109 for (i = 0; i < nr_chips; i++) { in cpu_max_all_fans() 252 for (cpu = 0; cpu < nr_chips; ++cpu) { in cpu_fans_tick() 518 for (i = 0; i < nr_chips; ++i) { in rm31_tick() 596 if (nr_chips > 1) in rm31_new_control() 635 if (nr_chips > 1) in rm31_new_sensor() 696 nr_chips = 0; in wf_rm31_init() 698 ++nr_chips; in wf_rm31_init() 699 if (nr_chips > NR_CHIPS) in wf_rm31_init() 700 nr_chips = NR_CHIPS; in wf_rm31_init() [all …]
|
D | windfarm_pm72.c | 84 static int nr_chips; variable 115 for (i = 0; i < nr_chips; i++) { in cpu_max_all_fans() 258 for (cpu = 0; cpu < nr_chips; ++cpu) { in cpu_fans_tick_split() 367 for (cpu = 0; cpu < nr_chips; cpu++) { in cpu_fans_tick_combined() 615 for (i = 0; i < nr_chips; ++i) { in pm72_tick() 701 if (nr_chips > 1) in pm72_new_control() 742 if (nr_chips > 1) in pm72_new_sensor() 804 nr_chips = 0; in wf_pm72_init() 806 ++nr_chips; in wf_pm72_init() 807 if (nr_chips > NR_CHIPS) in wf_pm72_init() [all …]
|
/Linux-v5.4/arch/arm/plat-samsung/ |
D | gpio-samsung.c | 356 int nr_chips) in samsung_gpiolib_set_cfg() argument 358 for (; nr_chips > 0; nr_chips--, chipcfg++) { in samsung_gpiolib_set_cfg() 759 int nr_chips, void __iomem *base) in s3c24xx_gpiolib_add_chips() argument 764 for (i = 0 ; i < nr_chips; i++, chip++) { in s3c24xx_gpiolib_add_chips() 786 int nr_chips, void __iomem *base, in samsung_gpiolib_add_2bit_chips() argument 791 for (i = 0 ; i < nr_chips; i++, chip++) { in samsung_gpiolib_add_2bit_chips() 823 int nr_chips, void __iomem *base) in samsung_gpiolib_add_4bit_chips() argument 827 for (i = 0 ; i < nr_chips; i++, chip++) { in samsung_gpiolib_add_4bit_chips() 845 int nr_chips) in samsung_gpiolib_add_4bit2_chips() argument 847 for (; nr_chips > 0; nr_chips--, chip++) { in samsung_gpiolib_add_4bit2_chips()
|
/Linux-v5.4/arch/arm/mach-s3c24xx/ |
D | mach-bast.c | 240 .nr_chips = 1, 248 .nr_chips = 1, 255 .nr_chips = 1, 263 .nr_chips = 1,
|
D | mach-anubis.c | 175 .nr_chips = 1, 182 .nr_chips = 1, 189 .nr_chips = 1,
|
D | mach-osiris.c | 189 .nr_chips = 1, 197 .nr_chips = 1, 204 .nr_chips = 1,
|
D | mach-vstms.c | 99 .nr_chips = 1,
|
D | mach-rx3715.c | 149 .nr_chips = 1,
|
D | common-smdk.c | 153 .nr_chips = 1,
|
D | mach-at2440evb.c | 100 .nr_chips = 1,
|
D | mach-qt2410.c | 268 .nr_chips = 1,
|
/Linux-v5.4/drivers/mtd/nand/raw/ |
D | plat_nand.c | 38 if (pdata->chip.nr_chips < 1) { in plat_nand_probe() 82 err = nand_scan(&data->chip, pdata->chip.nr_chips); in plat_nand_probe()
|
/Linux-v5.4/include/linux/platform_data/ |
D | mtd-nand-s3c2410.h | 35 int nr_chips; member
|
D | dsa.h | 63 int nr_chips; member
|
/Linux-v5.4/drivers/cpufreq/ |
D | powernv-cpufreq.c | 141 static int nr_chips; variable 971 for (i = 0; i < nr_chips; i++) { in powernv_cpufreq_occ_msg() 979 for (i = 0; i < nr_chips; i++) in powernv_cpufreq_occ_msg() 1053 chip[nr_chips++] = id; in init_chip_info() 1057 chips = kcalloc(nr_chips, sizeof(struct chip), GFP_KERNEL); in init_chip_info() 1061 for (i = 0; i < nr_chips; i++) { in init_chip_info()
|
/Linux-v5.4/include/linux/mtd/ |
D | platnand.h | 29 int nr_chips; member
|
/Linux-v5.4/arch/arm/mach-ep93xx/ |
D | snappercl15.c | 90 .nr_chips = 1,
|
/Linux-v5.4/arch/mips/netlogic/xlr/ |
D | platform-flash.c | 107 .nr_chips = 1,
|
/Linux-v5.4/arch/mips/pnx833x/common/ |
D | platform.c | 182 .nr_chips = 1,
|
/Linux-v5.4/arch/arm/mach-imx/ |
D | mach-qong.c | 153 .nr_chips = 1,
|
/Linux-v5.4/arch/arm/mach-s3c64xx/ |
D | mach-hmt.c | 191 .nr_chips = 1,
|
/Linux-v5.4/arch/arm/mach-omap1/ |
D | board-perseus2.c | 150 .nr_chips = 1,
|
/Linux-v5.4/arch/arm/mach-ixp4xx/ |
D | ixdp425-setup.c | 103 .nr_chips = 1,
|