/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-imc.c | 86 int nr_chips = 0, i; in imc_get_mem_addr_nest() local 90 nr_chips = of_property_count_u32_elems(node, "chip-id"); in imc_get_mem_addr_nest() 91 if (nr_chips <= 0) in imc_get_mem_addr_nest() 94 base_addr_arr = kcalloc(nr_chips, sizeof(*base_addr_arr), GFP_KERNEL); in imc_get_mem_addr_nest() 98 chipid_arr = kcalloc(nr_chips, sizeof(*chipid_arr), GFP_KERNEL); in imc_get_mem_addr_nest() 104 if (of_property_read_u32_array(node, "chip-id", chipid_arr, nr_chips)) in imc_get_mem_addr_nest() 108 nr_chips)) in imc_get_mem_addr_nest() 111 pmu_ptr->mem_info = kcalloc(nr_chips + 1, sizeof(*pmu_ptr->mem_info), in imc_get_mem_addr_nest() 116 for (i = 0; i < nr_chips; i++) { in imc_get_mem_addr_nest()
|
/openbmc/linux/drivers/mtd/chips/ |
H A D | gen_probe.c | 169 int nr_chips, type; in genprobe_new_chip() local 171 for (nr_chips = max_chips; nr_chips >= min_chips; nr_chips >>= 1) { in genprobe_new_chip() 173 if (!cfi_interleave_supported(nr_chips)) in genprobe_new_chip() 176 cfi->interleave = nr_chips; in genprobe_new_chip() 180 type = map_bankwidth(map) / nr_chips; in genprobe_new_chip()
|
/openbmc/linux/drivers/macintosh/ |
H A 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 …]
|
H A 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 …]
|
/openbmc/linux/arch/arm/mach-s3c/ |
H A D | gpio-samsung.c | 185 int nr_chips) in samsung_gpiolib_set_cfg() argument 187 for (; nr_chips > 0; nr_chips--, chipcfg++) { in samsung_gpiolib_set_cfg() 538 int nr_chips, void __iomem *base, in samsung_gpiolib_add_2bit_chips() argument 543 for (i = 0 ; i < nr_chips; i++, chip++) { in samsung_gpiolib_add_2bit_chips() 575 int nr_chips, void __iomem *base) in samsung_gpiolib_add_4bit_chips() argument 579 for (i = 0 ; i < nr_chips; i++, chip++) { in samsung_gpiolib_add_4bit_chips() 597 int nr_chips) in samsung_gpiolib_add_4bit2_chips() argument 599 for (; nr_chips > 0; nr_chips--, chip++) { in samsung_gpiolib_add_4bit2_chips()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | powernv-cpufreq.c | 143 static int nr_chips; variable 987 for (i = 0; i < nr_chips; i++) { in powernv_cpufreq_occ_msg() 995 for (i = 0; i < nr_chips; i++) in powernv_cpufreq_occ_msg() 1069 chip[nr_chips++] = id; in init_chip_info() 1071 cpumask_set_cpu(cpu, &chip_cpu_mask[nr_chips-1]); in init_chip_info() 1074 chips = kcalloc(nr_chips, sizeof(struct chip), GFP_KERNEL); in init_chip_info() 1080 for (i = 0; i < nr_chips; i++) { in init_chip_info() 1101 for (i = 0; i < nr_chips; i++) in clean_chip_info()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | plat_nand.c | 51 if (pdata->chip.nr_chips < 1) { in plat_nand_probe() 102 err = nand_scan(&data->chip, pdata->chip.nr_chips); in plat_nand_probe()
|
H A D | s3c2410.c | 418 if (nmtd->set != NULL && chip > nmtd->set->nr_chips) { in s3c2410_nand_select_chip() 999 sets->nr_chips = 1; in s3c24xx_nand_probe_dt() 1118 err = nand_scan(&nmtd->chip, sets ? sets->nr_chips : 1); in s3c24xx_nand_probe()
|
/openbmc/linux/include/linux/platform_data/ |
H A D | mtd-nand-s3c2410.h | 35 int nr_chips; member
|
H A D | dsa.h | 63 int nr_chips; member
|
/openbmc/linux/include/linux/mtd/ |
H A D | platnand.h | 29 int nr_chips; member
|
/openbmc/linux/arch/mips/rb532/ |
H A D | devices.c | 259 rb532_nand_data.chip.nr_chips = 1; in rb532_nand_setup()
|
/openbmc/linux/arch/arm/mach-ep93xx/ |
H A D | ts72xx.c | 127 .nr_chips = 1,
|
/openbmc/linux/arch/mips/alchemy/devboards/ |
H A D | db1550.c | 173 .nr_chips = 1,
|
H A D | db1300.c | 194 .nr_chips = 1,
|
H A D | db1200.c | 229 .nr_chips = 1,
|
/openbmc/linux/arch/arm/mach-orion5x/ |
H A D | ts78xx-setup.c | 227 .nr_chips = 1,
|
/openbmc/linux/arch/sh/boards/mach-migor/ |
H A D | setup.c | 190 .nr_chips = 1,
|
/openbmc/u-boot/include/linux/mtd/ |
H A D | rawnand.h | 1124 int nr_chips; member
|