Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_base.c185 static void nand_select_chip(struct mtd_info *mtd, int chipnr) in nand_select_chip() argument
189 switch (chipnr) { in nand_select_chip()
913 static int nand_reset_data_interface(struct nand_chip *chip, int chipnr) in nand_reset_data_interface() argument
937 ret = chip->setup_data_interface(mtd, chipnr, conf); in nand_reset_data_interface()
957 static int nand_setup_data_interface(struct nand_chip *chip, int chipnr) in nand_setup_data_interface() argument
981 ret = chip->setup_data_interface(mtd, chipnr, chip->data_interface); in nand_setup_data_interface()
1057 int nand_reset(struct nand_chip *chip, int chipnr) in nand_reset() argument
1062 ret = nand_reset_data_interface(chip, chipnr); in nand_reset()
1070 chip->select_chip(mtd, chipnr); in nand_reset()
1074 chip->select_chip(mtd, chipnr); in nand_reset()
[all …]
H A Dnand_util.c267 int chipnr; in nand_get_lock_status() local
272 chipnr = (int)(offset >> chip->chip_shift); in nand_get_lock_status()
273 chip->select_chip(mtd, chipnr); in nand_get_lock_status()
313 int chipnr; in nand_unlock() local
322 chipnr = (int)(start >> chip->chip_shift); in nand_unlock()
323 chip->select_chip(mtd, chipnr); in nand_unlock()
H A Dtegra_nand.c220 static void nand_select_chip(struct mtd_info *mtd, int chipnr) in nand_select_chip() argument
222 switch (chipnr) { in nand_select_chip()
H A Ddenali.c942 static int denali_setup_data_interface(struct mtd_info *mtd, int chipnr, in denali_setup_data_interface() argument
971 if (chipnr == NAND_DATA_IFACE_CHECK_ONLY) in denali_setup_data_interface()
/openbmc/u-boot/include/linux/mtd/
H A Drawnand.h910 int (*setup_data_interface)(struct mtd_info *mtd, int chipnr,
1282 int nand_reset(struct nand_chip *chip, int chipnr);