Home
last modified time | relevance | path

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

/u-boot/drivers/mtd/nand/raw/
A Dnand_util.c270 int chipnr; in nand_get_lock_status() local
275 chipnr = (int)(offset >> chip->chip_shift); in nand_get_lock_status()
276 chip->select_chip(mtd, chipnr); in nand_get_lock_status()
316 int chipnr; in nand_unlock() local
325 chipnr = (int)(start >> chip->chip_shift); in nand_unlock()
326 chip->select_chip(mtd, chipnr); in nand_unlock()
A Dnand_base.c194 switch (chipnr) { in nand_select_chip()
1616 chip->select_chip(mtd, chipnr); in nand_reset()
1622 chip->select_chip(mtd, chipnr); in nand_reset()
2326 chip->select_chip(mtd, chipnr); in nand_do_read_ops()
2470 chipnr++; in nand_do_read_ops()
2655 int page, realpage, chipnr; in nand_do_read_oob() local
2724 chipnr++; in nand_do_read_oob()
3299 chipnr++; in nand_do_write_ops()
3360 int chipnr, page, status, len; in nand_do_write_oob() local
3399 nand_reset(chip, chipnr); in nand_do_write_oob()
[all …]
A Dstm32_fmc2_nand.c234 static void stm32_fmc2_nfc_select_chip(struct mtd_info *mtd, int chipnr) in stm32_fmc2_nfc_select_chip() argument
240 if (chipnr < 0 || chipnr >= nand->ncs) in stm32_fmc2_nfc_select_chip()
243 if (nand->cs_used[chipnr] == nfc->cs_sel) in stm32_fmc2_nfc_select_chip()
246 nfc->cs_sel = nand->cs_used[chipnr]; in stm32_fmc2_nfc_select_chip()
725 static int stm32_fmc2_nfc_setup_interface(struct mtd_info *mtd, int chipnr, in stm32_fmc2_nfc_setup_interface() argument
735 if (chipnr == NAND_DATA_IFACE_CHECK_ONLY) in stm32_fmc2_nfc_setup_interface()
A Dtegra_nand.c225 static void nand_select_chip(struct mtd_info *mtd, int chipnr) in nand_select_chip() argument
227 switch (chipnr) { in nand_select_chip()
A Dcortina_nand.c163 static void nand_select_chip(struct mtd_info *mtd, int chipnr) in nand_select_chip() argument
165 switch (chipnr) { in nand_select_chip()
171 WARN_ON(chipnr); in nand_select_chip()
A Ddenali.c923 static int denali_setup_data_interface(struct mtd_info *mtd, int chipnr, in denali_setup_data_interface() argument
952 if (chipnr == NAND_DATA_IFACE_CHECK_ONLY) in denali_setup_data_interface()
A Docteontx_nand.c1372 static int octeontx_nand_setup_dat_intf(struct mtd_info *mtd, int chipnr, in octeontx_nand_setup_dat_intf() argument
/u-boot/include/linux/mtd/
A Drawnand.h919 int (*setup_data_interface)(struct mtd_info *mtd, int chipnr,
1302 int nand_reset(struct nand_chip *chip, int chipnr);

Completed in 145 milliseconds