Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mtd/nand/raw/
Dnand_base.c428 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 …]
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.c336 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()
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()
Drenesas-nand-controller.c889 static int rnandc_setup_interface(struct nand_chip *chip, int chipnr, in rnandc_setup_interface() argument
907 if (chipnr < 0) in rnandc_setup_interface()
Dmxc_nand.c1691 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()
Dqcom_nandc.c2545 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()
Dmarvell_nand.c2357 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()
Dcadence-nand-controller.c2304 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/
Dingenic_nand_drv.c348 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/
Dgpmi-nand.c975 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/
Drawnand.h1088 int (*setup_interface)(struct nand_chip *chip, int chipnr,
1515 int nand_reset(struct nand_chip *chip, int chipnr);