Home
last modified time | relevance | path

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

/drivers/mtd/nand/raw/
Dnand_base.c389 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 …]
Dnand_legacy.c52 static void nand_select_chip(struct nand_chip *chip, int chipnr) in nand_select_chip() argument
54 switch (chipnr) { in nand_select_chip()
Dmxic_nand.c454 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()
Dcafe_nand.c317 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()
Dstm32_fmc2_nand.c334 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()
Ddenali.c764 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()
Dsh_flctl.c917 static void flctl_select_chip(struct nand_chip *chip, int chipnr) in flctl_select_chip() argument
922 switch (chipnr) { in flctl_select_chip()
Dmxc_nand.c1747 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()
Dqcom_nandc.c2319 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()
Dmarvell_nand.c2372 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()
Dcadence-nand-controller.c2307 cadence_nand_setup_interface(struct nand_chip *chip, int chipnr, in cadence_nand_setup_interface() argument
/drivers/mtd/nand/raw/ingenic/
Dingenic_nand_drv.c344 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/
Dgpmi-nand.c767 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()