/drivers/mtd/nand/raw/ |
D | nand_base.c | 389 int chipnr, page, status, len, ret; in nand_do_write_oob() local 403 chipnr = (int)(to >> chip->chip_shift); in nand_do_write_oob() 411 ret = nand_reset(chip, chipnr); in nand_do_write_oob() 415 nand_select_target(chip, chipnr); in nand_do_write_oob() 751 static int nand_reset_interface(struct nand_chip *chip, int chipnr) in nand_reset_interface() argument 774 ret = ops->setup_interface(chip, chipnr, in nand_reset_interface() 792 static int nand_setup_interface(struct nand_chip *chip, int chipnr) in nand_setup_interface() argument 815 nand_select_target(chip, chipnr); in nand_setup_interface() 824 ret = ops->setup_interface(chip, chipnr, chip->best_interface_config); in nand_setup_interface() 833 nand_select_target(chip, chipnr); in nand_setup_interface() [all …]
|
D | nand_legacy.c | 52 static void nand_select_chip(struct nand_chip *chip, int chipnr) in nand_select_chip() argument 54 switch (chipnr) { in nand_select_chip()
|
D | mxic_nand.c | 454 static int mxic_nfc_setup_interface(struct nand_chip *chip, int chipnr, in mxic_nfc_setup_interface() argument 466 if (chipnr == NAND_DATA_IFACE_CHECK_ONLY) in mxic_nfc_setup_interface()
|
D | cafe_nand.c | 317 static void cafe_select_chip(struct nand_chip *chip, int chipnr) in cafe_select_chip() argument 321 cafe_dev_dbg(&cafe->pdev->dev, "select_chip %d\n", chipnr); in cafe_select_chip() 325 if (chipnr) in cafe_select_chip()
|
D | stm32_fmc2_nand.c | 334 static int stm32_fmc2_nfc_select_chip(struct nand_chip *chip, int chipnr) in stm32_fmc2_nfc_select_chip() argument 341 if (nand->cs_used[chipnr] == nfc->cs_sel) in stm32_fmc2_nfc_select_chip() 344 nfc->cs_sel = nand->cs_used[chipnr]; in stm32_fmc2_nfc_select_chip() 1519 static int stm32_fmc2_nfc_setup_interface(struct nand_chip *chip, int chipnr, in stm32_fmc2_nfc_setup_interface() argument 1531 if (chipnr == NAND_DATA_IFACE_CHECK_ONLY) in stm32_fmc2_nfc_setup_interface()
|
D | denali.c | 764 static int denali_setup_interface(struct nand_chip *chip, int chipnr, in denali_setup_interface() argument 795 if (chipnr == NAND_DATA_IFACE_CHECK_ONLY) in denali_setup_interface() 798 sel = &to_denali_chip(chip)->sels[chipnr]; in denali_setup_interface()
|
D | sh_flctl.c | 917 static void flctl_select_chip(struct nand_chip *chip, int chipnr) in flctl_select_chip() argument 922 switch (chipnr) { in flctl_select_chip()
|
D | mxc_nand.c | 1747 static int mxcnd_setup_interface(struct nand_chip *chip, int chipnr, in mxcnd_setup_interface() argument 1752 return host->devtype_data->setup_interface(chip, chipnr, conf); in mxcnd_setup_interface()
|
D | qcom_nandc.c | 2319 static void qcom_nandc_select_chip(struct nand_chip *chip, int chipnr) in qcom_nandc_select_chip() argument 2323 if (chipnr <= 0) in qcom_nandc_select_chip()
|
D | marvell_nand.c | 2372 static int marvell_nfc_setup_interface(struct nand_chip *chip, int chipnr, in marvell_nfc_setup_interface() argument 2439 if (chipnr < 0) in marvell_nfc_setup_interface()
|
D | cadence-nand-controller.c | 2307 cadence_nand_setup_interface(struct nand_chip *chip, int chipnr, in cadence_nand_setup_interface() argument
|
/drivers/mtd/nand/raw/ingenic/ |
D | ingenic_nand_drv.c | 344 unsigned int chipnr) in ingenic_nand_init_chip() argument 354 cs = &nfc->cs[chipnr]; in ingenic_nand_init_chip() 364 cs->base = devm_platform_ioremap_resource(pdev, chipnr); in ingenic_nand_init_chip()
|
/drivers/mtd/nand/raw/gpmi-nand/ |
D | gpmi-nand.c | 767 static int gpmi_setup_interface(struct nand_chip *chip, int chipnr, in gpmi_setup_interface() argument 783 if (chipnr < 0) in gpmi_setup_interface() 1760 int column, page, chipnr; in gpmi_block_markbad() local 1762 chipnr = (int)(ofs >> chip->chip_shift); in gpmi_block_markbad() 1763 nand_select_target(chip, chipnr); in gpmi_block_markbad() 1936 int chipnr; in mx23_boot_init() local 1969 chipnr = block >> (chip->chip_shift - chip->phys_erase_shift); in mx23_boot_init() 1974 nand_select_target(chip, chipnr); in mx23_boot_init()
|