/linux-6.1.9/drivers/mtd/nand/raw/ |
D | nand_base.c | 428 int chipnr, page, status, len, ret; in nand_do_write_oob() local 446 chipnr = (int)(to >> chip->chip_shift); in nand_do_write_oob() 454 ret = nand_reset(chip, chipnr); in nand_do_write_oob() 458 nand_select_target(chip, chipnr); in nand_do_write_oob() 794 static int nand_reset_interface(struct nand_chip *chip, int chipnr) in nand_reset_interface() argument 817 ret = ops->setup_interface(chip, chipnr, in nand_reset_interface() 835 static int nand_setup_interface(struct nand_chip *chip, int chipnr) in nand_setup_interface() argument 863 nand_select_target(chip, chipnr); in nand_setup_interface() 872 ret = ops->setup_interface(chip, chipnr, chip->best_interface_config); in nand_setup_interface() 881 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 | 336 static int stm32_fmc2_nfc_select_chip(struct nand_chip *chip, int chipnr) in stm32_fmc2_nfc_select_chip() argument 343 if (nand->cs_used[chipnr] == nfc->cs_sel) in stm32_fmc2_nfc_select_chip() 346 nfc->cs_sel = nand->cs_used[chipnr]; in stm32_fmc2_nfc_select_chip() 1525 static int stm32_fmc2_nfc_setup_interface(struct nand_chip *chip, int chipnr, in stm32_fmc2_nfc_setup_interface() argument 1534 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 | renesas-nand-controller.c | 889 static int rnandc_setup_interface(struct nand_chip *chip, int chipnr, in rnandc_setup_interface() argument 907 if (chipnr < 0) in rnandc_setup_interface()
|
D | mxc_nand.c | 1691 static int mxcnd_setup_interface(struct nand_chip *chip, int chipnr, in mxcnd_setup_interface() argument 1696 return host->devtype_data->setup_interface(chip, chipnr, conf); in mxcnd_setup_interface()
|
D | qcom_nandc.c | 2545 static void qcom_nandc_select_chip(struct nand_chip *chip, int chipnr) in qcom_nandc_select_chip() argument 2549 if (chipnr <= 0) in qcom_nandc_select_chip()
|
D | marvell_nand.c | 2357 static int marvell_nfc_setup_interface(struct nand_chip *chip, int chipnr, in marvell_nfc_setup_interface() argument 2424 if (chipnr < 0) in marvell_nfc_setup_interface()
|
D | cadence-nand-controller.c | 2304 cadence_nand_setup_interface(struct nand_chip *chip, int chipnr, in cadence_nand_setup_interface() argument
|
/linux-6.1.9/drivers/mtd/nand/raw/ingenic/ |
D | ingenic_nand_drv.c | 348 unsigned int chipnr) in ingenic_nand_init_chip() argument 358 cs = &nfc->cs[chipnr]; in ingenic_nand_init_chip() 368 cs->base = devm_platform_ioremap_resource(pdev, chipnr); in ingenic_nand_init_chip()
|
/linux-6.1.9/drivers/mtd/nand/raw/gpmi-nand/ |
D | gpmi-nand.c | 975 static int gpmi_setup_interface(struct nand_chip *chip, int chipnr, in gpmi_setup_interface() argument 992 if (chipnr < 0) in gpmi_setup_interface() 1984 int column, page, chipnr; in gpmi_block_markbad() local 1986 chipnr = (int)(ofs >> chip->chip_shift); in gpmi_block_markbad() 1987 nand_select_target(chip, chipnr); in gpmi_block_markbad() 2160 int chipnr; in mx23_boot_init() local 2193 chipnr = block >> (chip->chip_shift - chip->phys_erase_shift); in mx23_boot_init() 2198 nand_select_target(chip, chipnr); in mx23_boot_init()
|
/linux-6.1.9/include/linux/mtd/ |
D | rawnand.h | 1088 int (*setup_interface)(struct nand_chip *chip, int chipnr, 1515 int nand_reset(struct nand_chip *chip, int chipnr);
|