| /linux/include/linux/mtd/ |
| H A D | nand.h | 19 * @bits_per_cell: number of bits per NAND cell 27 * @ntargets: total number of targets exposed by the NAND device 67 * struct nand_pos - NAND position object 68 * @target: the NAND target/die 96 * struct nand_page_io_req - NAND I/O request object 107 * NAND device will automatically prepare the next one 109 * This object is used to pass per-page I/O requests to NAND sub-layers. This 111 * specific NAND layers can focus on translating these information into 138 * enum nand_ecc_engine_type - NAND ECC engine type 154 * enum nand_ecc_placement - NAND ECC bytes placement [all …]
|
| H A D | nand-ecc-sw-bch.h | 5 * This file is the header for the NAND BCH ECC implementation. 11 #include <linux/mtd/nand.h> 37 int nand_ecc_sw_bch_calculate(struct nand_device *nand, 39 int nand_ecc_sw_bch_correct(struct nand_device *nand, unsigned char *buf, 41 int nand_ecc_sw_bch_init_ctx(struct nand_device *nand); 42 void nand_ecc_sw_bch_cleanup_ctx(struct nand_device *nand); 47 static inline int nand_ecc_sw_bch_calculate(struct nand_device *nand, in nand_ecc_sw_bch_calculate() argument 54 static inline int nand_ecc_sw_bch_correct(struct nand_device *nand, in nand_ecc_sw_bch_correct() argument 62 static inline int nand_ecc_sw_bch_init_ctx(struct nand_device *nand) in nand_ecc_sw_bch_init_ctx() argument 67 static inline void nand_ecc_sw_bch_cleanup_ctx(struct nand_device *nand) {} in nand_ecc_sw_bch_cleanup_ctx() argument
|
| H A D | rawnand.h | 8 * Contains standard defines and IDs for NAND flash devices 17 #include <linux/mtd/nand.h> 29 /* The maximum number of NAND chips in an array */ 50 * Standard NAND flash commands 97 * Enable generic NAND 'page erased' check. This check is only done when 133 /* Device is one of 'new' xD cards that expose fake nand command set */ 136 /* Device behaves just like nand, but is readonly */ 160 * Autodetect nand buswidth with readid/onfi. 184 * Whether the NAND chip is a boot medium. Drivers might use this information 225 * struct nand_parameters - NAND generi [all...] |
| /linux/drivers/mtd/nand/raw/ |
| H A D | Kconfig | 3 tristate "Raw/Parallel NAND Device Support" 8 NAND flash devices. For further information see 9 <http://www.linux-mtd.infradead.org/doc/nand.html>. 13 comment "Raw/parallel NAND flash controllers" 19 tristate "Denali NAND controller on Intel Moorestown" 23 Enable the driver for NAND flash on Intel Moorestown, using the 24 Denali NAND controller core. 27 tristate "Denali NAND controller as a DT device" 31 Enable the driver for NAND flash on platforms using a Denali NAND 35 tristate "Amstrad E3 NAND controller" [all …]
|
| H A D | nuvoton-ma35d1-nand-controller.c | 148 struct ma35_nand_info *nand = nand_get_controller_data(chip); in ma35_clear_spare() local 152 writel(0xff, nand->regs + MA35_NFI_REG_NANDRA0); in ma35_clear_spare() 155 static inline void read_remaining_bytes(struct ma35_nand_info *nand, u32 *buf, in read_remaining_bytes() argument 158 u32 value = readl(nand->regs + MA35_NFI_REG_NANDRA0 + offset); in read_remaining_bytes() 170 struct ma35_nand_info *nand = nand_get_controller_data(chip); in ma35_read_spare() local 176 read_remaining_bytes(nand, buf, off, 4 - len, 1); in ma35_read_spare() 182 *buf++ = readl(nand->regs + MA35_NFI_REG_NANDRA0 + off + (i * 4)); in ma35_read_spare() 184 read_remaining_bytes(nand, buf, off + (size & ~3), size % 4, 0); in ma35_read_spare() 189 struct ma35_nand_info *nand = nand_get_controller_data(chip); in ma35_write_spare() local 195 writel(*buf++, nand in ma35_write_spare() 217 struct ma35_nand_info *nand = nand_get_controller_data(chip); ma35_nand_target_enable() local 234 ma35_nand_hwecc_init(struct nand_chip * chip,struct ma35_nand_info * nand) ma35_nand_hwecc_init() argument 286 struct ma35_nand_info *nand = nand_get_controller_data(chip); ma35_nfi_correct() local 389 struct ma35_nand_info *nand = nand_get_controller_data(chip); ma35_nfi_ecc_check() local 421 ma35_nand_dmac_init(struct ma35_nand_info * nand) ma35_nand_dmac_init() argument 434 struct ma35_nand_info *nand = nand_get_controller_data(chip); ma35_nand_do_write() local 478 struct ma35_nand_info *nand = nand_get_controller_data(chip); ma35_nand_do_read() local 530 struct ma35_nand_info *nand = nand_get_controller_data(chip); ma35_nand_format_subpage() local 554 struct ma35_nand_info *nand = nand_get_controller_data(chip); ma35_nand_write_subpage_hwecc() local 596 struct ma35_nand_info *nand = nand_get_controller_data(chip); ma35_nand_write_page_hwecc() local 627 struct ma35_nand_info *nand = nand_get_controller_data(chip); ma35_nand_read_subpage_hwecc() local 659 struct ma35_nand_info *nand = nand_get_controller_data(chip); ma35_nand_read_page_hwecc() local 690 struct ma35_nand_info *nand = nand_get_controller_data(chip); ma35_nand_read_oob_hwecc() local 707 ma35_hw_init(struct ma35_nand_info * nand) ma35_hw_init() argument 722 struct ma35_nand_info *nand = (struct ma35_nand_info *)id; ma35_nand_irq() local 737 struct ma35_nand_info *nand = nand_get_controller_data(chip); ma35_nand_attach_chip() local 789 struct ma35_nand_info *nand = nand_get_controller_data(chip); ma35_nfc_exec_instr() local 852 ma35_nand_chip_init(struct device * dev,struct ma35_nand_info * nand,struct device_node * np) ma35_nand_chip_init() argument 921 ma35_chips_cleanup(struct ma35_nand_info * nand) ma35_chips_cleanup() argument 936 ma35_nand_chips_init(struct device * dev,struct ma35_nand_info * nand) ma35_nand_chips_init() argument 953 struct ma35_nand_info *nand; ma35_nand_probe() local 1005 struct ma35_nand_info *nand = platform_get_drvdata(pdev); ma35_nand_remove() local [all...] |
| H A D | meson_nand.c | 3 * Amlogic Meson Nand Flash Controller Driver 101 /* nand flash controller delay 3 ns */ 124 struct nand_chip nand; member 258 static struct meson_nfc_nand_chip *to_meson_nand(struct nand_chip *nand) in to_meson_nand() argument 260 return container_of(nand, struct meson_nfc_nand_chip, nand); in to_meson_nand() 263 static void meson_nfc_select_chip(struct nand_chip *nand, int chip) in meson_nfc_select_chip() argument 265 struct meson_nfc_nand_chip *meson_chip = to_meson_nand(nand); in meson_nfc_select_chip() 266 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_select_chip() 306 static int meson_nfc_is_boot_page(struct nand_chip *nand, in argument 315 meson_nfc_cmd_access(struct nand_chip * nand,int raw,bool dir,int page) meson_nfc_cmd_access() argument 393 meson_nfc_oob_ptr(struct nand_chip * nand,int i) meson_nfc_oob_ptr() argument 403 meson_nfc_data_ptr(struct nand_chip * nand,int i) meson_nfc_data_ptr() argument 414 meson_nfc_get_data_oob(struct nand_chip * nand,u8 * buf,u8 * oobbuf) meson_nfc_get_data_oob() argument 433 meson_nfc_set_data_oob(struct nand_chip * nand,const u8 * buf,u8 * oobbuf) meson_nfc_set_data_oob() argument 452 meson_nfc_wait_no_rb_pin(struct nand_chip * nand,int timeout_ms,bool need_cmd_read0) meson_nfc_wait_no_rb_pin() argument 511 meson_nfc_queue_rb(struct nand_chip * nand,int timeout_ms,bool need_cmd_read0) meson_nfc_queue_rb() argument 534 meson_nfc_set_user_byte(struct nand_chip * nand,u8 * oob_buf) meson_nfc_set_user_byte() argument 547 meson_nfc_get_user_byte(struct nand_chip * nand,u8 * oob_buf) meson_nfc_get_user_byte() argument 560 meson_nfc_ecc_correct(struct nand_chip * nand,u32 * bitflips,u64 * correct_bitmap) meson_nfc_ecc_correct() argument 589 meson_nfc_dma_buffer_setup(struct nand_chip * nand,void * databuf,int datalen,void * infobuf,int infolen,enum dma_data_direction dir) meson_nfc_dma_buffer_setup() argument 629 meson_nfc_dma_buffer_release(struct nand_chip * nand,int datalen,int infolen,enum dma_data_direction dir) meson_nfc_dma_buffer_release() argument 642 meson_nfc_read_buf(struct nand_chip * nand,u8 * buf,int len) meson_nfc_read_buf() argument 671 meson_nfc_write_buf(struct nand_chip * nand,u8 * buf,int len) meson_nfc_write_buf() argument 692 meson_nfc_rw_cmd_prepare_and_execute(struct nand_chip * nand,int page,bool in) meson_nfc_rw_cmd_prepare_and_execute() argument 745 meson_nfc_write_page_sub(struct nand_chip * nand,int page,int raw) meson_nfc_write_page_sub() argument 783 meson_nfc_write_page_raw(struct nand_chip * nand,const u8 * buf,int oob_required,int page) meson_nfc_write_page_raw() argument 793 meson_nfc_write_page_hwecc(struct nand_chip * nand,const u8 * buf,int oob_required,int page) meson_nfc_write_page_hwecc() argument 808 meson_nfc_check_ecc_pages_valid(struct meson_nfc * nfc,struct nand_chip * nand,int raw) meson_nfc_check_ecc_pages_valid() argument 827 meson_nfc_read_page_sub(struct nand_chip * nand,int page,int raw) meson_nfc_read_page_sub() argument 861 meson_nfc_read_page_raw(struct nand_chip * nand,u8 * buf,int oob_required,int page) meson_nfc_read_page_raw() argument 876 meson_nfc_read_page_hwecc(struct nand_chip * nand,u8 * buf,int oob_required,int page) meson_nfc_read_page_hwecc() argument 930 meson_nfc_read_oob_raw(struct nand_chip * nand,int page) meson_nfc_read_oob_raw() argument 935 meson_nfc_read_oob(struct nand_chip * nand,int page) meson_nfc_read_oob() argument 1027 meson_nfc_exec_op(struct nand_chip * nand,const struct nand_operation * op,bool check_only) meson_nfc_exec_op() argument 1099 struct nand_chip *nand = mtd_to_nand(mtd); meson_ooblayout_ecc() local 1113 struct nand_chip *nand = mtd_to_nand(mtd); meson_ooblayout_free() local 1214 meson_nfc_free_buffer(struct nand_chip * nand) meson_nfc_free_buffer() argument 1222 meson_chip_buffer_init(struct nand_chip * nand) meson_chip_buffer_init() argument 1247 meson_nfc_setup_interface(struct nand_chip * nand,int csline,const struct nand_interface_config * conf) meson_nfc_setup_interface() argument 1289 meson_nand_bch_mode(struct nand_chip * nand) meson_nand_bch_mode() argument 1308 meson_nand_detach_chip(struct nand_chip * nand) meson_nand_detach_chip() argument 1313 meson_nand_attach_chip(struct nand_chip * nand) meson_nand_attach_chip() argument 1389 struct nand_chip *nand; meson_nfc_nand_chip_init() local [all...] |
| H A D | mtk_nand.c | 3 * MTK NAND Flash controller driver. 19 #include <linux/mtd/nand-ecc-mtk.h> 21 /* NAND controller register definition */ 89 #define MTK_NAME "mtk-nand" 126 struct nand_chip nand; member 178 static inline struct mtk_nfc_nand_chip *to_mtk_nand(struct nand_chip *nand) in to_mtk_nand() argument 180 return container_of(nand, struct mtk_nfc_nand_chip, nand); in to_mtk_nand() 499 static void mtk_nfc_select_target(struct nand_chip *nand, unsigned int cs) in mtk_nfc_select_target() argument 501 struct mtk_nfc *nfc = nand_get_controller_data(nand); in mtk_nfc_select_target() 661 struct mtk_nfc_nand_chip *nand = to_mtk_nand(chip); mtk_nfc_bad_mark_swap() local 1164 struct nand_chip *nand = mtd_to_nand(mtd); mtk_nfc_set_fdm() local 1183 struct nand_chip *nand = mtd_to_nand(mtd); mtk_nfc_set_bad_mark_ctl() local 1196 struct nand_chip *nand = mtd_to_nand(mtd); mtk_nfc_set_spare_per_sector() local 1228 struct nand_chip *nand = mtd_to_nand(mtd); mtk_nfc_ecc_init() local 1343 struct nand_chip *nand; mtk_nfc_nand_chip_init() local 1609 struct nand_chip *nand; mtk_nfc_resume() local [all...] |
| /linux/drivers/mtd/nand/ |
| H A D | ecc.c | 10 * This file describes the abstraction of any NAND ECC engine. It has been 15 * - external: The ECC engine is outside the NAND pipeline, typically this 17 * outside the NAND controller pipeline. 18 * - pipelined: The ECC engine is inside the NAND pipeline, ie. on the 19 * controller's side. This is the case of most of the raw NAND 23 * - ondie: The ECC engine is inside the NAND pipeline, on the chip's side. 24 * Some NAND chips can correct themselves the data. 44 * - read: Load data from the NAND chip 45 * - write: Store data in the NAND chip 97 #include <linux/mtd/nand.h> [all …]
|
| H A D | ecc-sw-bch.c | 14 #include <linux/mtd/nand.h> 15 #include <linux/mtd/nand-ecc-sw-bch.h> 19 * @nand: NAND device 23 int nand_ecc_sw_bch_calculate(struct nand_device *nand, in nand_ecc_sw_bch_calculate() argument 26 struct nand_ecc_sw_bch_conf *engine_conf = nand->ecc.ctx.priv; in nand_ecc_sw_bch_calculate() 30 bch_encode(engine_conf->bch, buf, nand->ecc.ctx.conf.step_size, code); in nand_ecc_sw_bch_calculate() 42 * @nand: NAND device 49 int nand_ecc_sw_bch_correct(struct nand_device *nand, unsigne argument 82 nand_ecc_sw_bch_cleanup(struct nand_device * nand) nand_ecc_sw_bch_cleanup() argument 108 nand_ecc_sw_bch_init(struct nand_device * nand) nand_ecc_sw_bch_init() argument 170 nand_ecc_sw_bch_init_ctx(struct nand_device * nand) nand_ecc_sw_bch_init_ctx() argument 277 nand_ecc_sw_bch_cleanup_ctx(struct nand_device * nand) nand_ecc_sw_bch_cleanup_ctx() argument 291 nand_ecc_sw_bch_prepare_io_req(struct nand_device * nand,struct nand_page_io_req * req) nand_ecc_sw_bch_prepare_io_req() argument 328 nand_ecc_sw_bch_finish_io_req(struct nand_device * nand,struct nand_page_io_req * req) nand_ecc_sw_bch_finish_io_req() argument [all...] |
| H A D | bbt.c | 10 #define pr_fmt(fmt) "nand-bbt: " fmt 12 #include <linux/mtd/nand.h> 17 * @nand: NAND device 23 int nanddev_bbt_init(struct nand_device *nand) in nanddev_bbt_init() argument 26 unsigned int nblocks = nanddev_neraseblocks(nand); in nanddev_bbt_init() 28 nand->bbt.cache = bitmap_zalloc(nblocks * bits_per_block, GFP_KERNEL); in nanddev_bbt_init() 29 if (!nand->bbt.cache) in nanddev_bbt_init() 38 * @nand: NAND device 42 void nanddev_bbt_cleanup(struct nand_device *nand) in nanddev_bbt_cleanup() argument 44 bitmap_free(nand->bbt.cache); in nanddev_bbt_cleanup() [all …]
|
| /linux/Documentation/devicetree/bindings/mtd/ |
| H A D | denali,nand.yaml | 4 $id: http://devicetree.org/schemas/mtd/denali,nand.yaml# 7 title: Denali NAND controller 15 - altr,socfpga-denali-nand 16 - socionext,uniphier-denali-nand-v5a 17 - socionext,uniphier-denali-nand-v5b 38 nand: controller core clock 42 - const: nand 53 nand: controller core reset 57 - const: nand 59 - const: nand [all …]
|
| H A D | atmel-nand.txt | 1 Atmel NAND flash controller bindings 3 The NAND flash controller node should be defined under the EBI bus (see 5 One or several NAND devices can be defined under this NAND controller. 6 The NAND controller might be connected to an ECC engine. 8 * NAND controller bindings: 12 "atmel,at91rm9200-nand-controller" 13 "atmel,at91sam9260-nand-controller" 14 "atmel,at91sam9261-nand-controller" 15 "atmel,at91sam9g45-nand-controller" 16 "atmel,sama5d3-nand-controller" [all …]
|
| H A D | hisi504-nand.txt | 1 Hisilicon Hip04 Soc NAND controller DT binding 7 NAND controller's registers. The second contains base 8 physical address and size of NAND controller's buffer. 10 - nand-bus-width: See nand-controller.yaml. 11 - nand-ecc-mode: Support none and hw ecc mode. 17 - nand-ecc-strength: Number of bits to correct per ECC step. 18 - nand-ecc-step-size: Number of data bytes covered by a single ECC step. 22 - nand-ecc-strength = <16>, nand-ecc-step-size = <1024> 29 nand: nand@4020000 { 33 nand-bus-width = <8>; [all …]
|
| H A D | fsmc-nand.txt | 2 NAND Interface 5 - compatible : "st,spear600-fsmc-nand", "stericsson,fsmc-nand" 12 - nand-skip-bbtscan: Indicates the BBT scanning should be skipped 13 - timings: array of 6 bytes for NAND timings. The meanings of these bytes 27 NAND flash in response to SMWAITn. Zero means 1 cycle, 32 - bank: default NAND bank to use (0-3 are valid, 0 is the default). 33 - nand-ecc-mode : see nand-controller.yaml 34 - nand-ecc-strength : see nand-controller.yaml 35 - nand-ecc-step-size : see nand-controller.yaml 43 compatible = "st,spear600-fsmc-nand"; [all …]
|
| H A D | mediatek,mtk-nfc.yaml | 7 title: MediaTek(MTK) SoCs raw NAND FLASH controller (NFC) 42 "^nand@[a-f0-9]$": 43 $ref: raw-nand-chip.yaml# 48 nand-ecc-mode: 52 - $ref: nand-controller.yaml# 61 "^nand@[a-f0-9]$": 63 nand-ecc-step-size: 65 nand-ecc-strength: 76 "^nand@[a-f0-9]$": 78 nand-ecc-step-size: [all …]
|
| H A D | ingenic,nand.yaml | 4 $id: http://devicetree.org/schemas/mtd/ingenic,nand.yaml# 7 title: Ingenic SoCs NAND controller 13 - $ref: nand-controller.yaml# 19 - ingenic,jz4740-nand 20 - ingenic,jz4725b-nand 21 - ingenic,jz4780-nand 25 - description: Bank number, offset and size of first attached NAND chip 26 - description: Bank number, offset and size of second attached NAND chip 27 - description: Bank number, offset and size of third attached NAND chip 28 - description: Bank number, offset and size of fourth attached NAND chip [all …]
|
| H A D | ti,gpmc-nand.yaml | 4 $id: http://devicetree.org/schemas/mtd/ti,gpmc-nand.yaml# 7 title: Texas Instruments GPMC NAND Flash controller. 14 GPMC NAND controller/Flash is represented as a child of the 21 - ti,am64-nand 22 - ti,omap2-nand 36 ti,nand-ecc-opt: 41 ti,nand-xfer-type: 52 nand-bus-width: 54 Bus width to the NAND chip 61 GPIO connection to R/B signal from NAND chip [all …]
|
| H A D | rockchip,nand-controller.yaml | 4 $id: http://devicetree.org/schemas/mtd/rockchip,nand-controller.yaml# 7 title: Rockchip SoCs NAND FLASH Controller (NFC) 10 - $ref: nand-controller.yaml# 58 "^nand@[0-7]$": 60 $ref: raw-nand-chip.yaml 66 nand-ecc-mode: 69 nand-ecc-step-size: 72 nand-ecc-strength: 88 nand-bus-width: 98 Only used in combination with 'nand-is-boot-medium'. [all …]
|
| H A D | technologic,nand.yaml | 4 $id: http://devicetree.org/schemas/mtd/technologic,nand.yaml# 7 title: Technologic Systems NAND controller 13 - $ref: nand-controller.yaml 18 - const: technologic,ts7200-nand 21 - technologic,ts7300-nand 22 - technologic,ts7260-nand 23 - technologic,ts7250-nand 24 - const: technologic,ts7200-nand 37 nand-controller@60000000 { 38 compatible = "technologic,ts7200-nand"; [all …]
|
| H A D | gpio-control-nand.txt | 1 GPIO assisted NAND flash 3 The GPIO assisted NAND flash uses a memory mapped interface to 4 read/write the NAND commands and data and GPIO pins for the control 8 - compatible : "gpio-control-nand" 10 resource describes the data bus connected to the NAND flash and all accesses 14 - gpios : Specifies the GPIO pins to control the NAND device. The order of 22 - gpio-control-nand,io-sync-reg : A 64-bit physical address for a read 24 the GPIO's and the NAND flash data bus. If present, then after changing 33 gpio-nand@1,0 { 34 compatible = "gpio-control-nand";
|
| H A D | mxicy,nand-ecc-engine.yaml | 4 $id: http://devicetree.org/schemas/mtd/mxicy,nand-ecc-engine.yaml# 7 title: Macronix NAND ECC engine 14 const: mxicy,nand-ecc-engine-rev3 44 compatible = "spi-nand"; 46 nand-ecc-engine = <&ecc_engine0>; 51 compatible = "mxicy,nand-ecc-engine-rev3"; 65 nand-ecc-engine = <&ecc_engine1>; 68 compatible = "spi-nand"; 70 nand-ecc-engine = <&spi_controller1>; 75 compatible = "mxicy,nand-ecc-engine-rev3";
|
| /linux/drivers/mtd/nand/spi/ |
| H A D | core.c | 10 #define pr_fmt(fmt) "spi-nand: " fmt 154 struct nand_device *nand = spinand_to_nand(spinand); in spinand_get_cfg() local 157 spinand->cur_target >= nand->memorg.ntargets)) in spinand_get_cfg() 166 struct nand_device *nand = spinand_to_nand(spinand); in spinand_set_cfg() local 170 spinand->cur_target >= nand->memorg.ntargets)) in spinand_set_cfg() 210 * spinand_select_target() - Select a specific NAND target/die 220 struct nand_device *nand = spinand_to_nand(spinand); in spinand_select_target() local 223 if (WARN_ON(target >= nand->memorg.ntargets)) in spinand_select_target() 229 if (nand->memorg.ntargets == 1) { in spinand_select_target() 244 struct nand_device *nand in spinand_read_cfg() local 268 struct nand_device *nand = spinand_to_nand(spinand); spinand_init_cfg_cache() local 284 struct nand_device *nand = spinand_to_nand(spinand); spinand_init_quad_enable() local 321 struct nand_device *nand = spinand_to_nand(spinand); spinand_check_ecc_status() local 372 spinand_ondie_ecc_init_ctx(struct nand_device * nand) spinand_ondie_ecc_init_ctx() argument 396 spinand_ondie_ecc_cleanup_ctx(struct nand_device * nand) spinand_ondie_ecc_cleanup_ctx() argument 401 spinand_ondie_ecc_prepare_io_req(struct nand_device * nand,struct nand_page_io_req * req) spinand_ondie_ecc_prepare_io_req() argument 416 spinand_ondie_ecc_finish_io_req(struct nand_device * nand,struct nand_page_io_req * req) spinand_ondie_ecc_finish_io_req() argument 464 spinand_ondie_ecc_save_status(struct nand_device * nand,u8 status) spinand_ondie_ecc_save_status() argument 483 struct nand_device *nand = spinand_to_nand(spinand); spinand_load_page_op() local 496 struct nand_device *nand = spinand_to_nand(spinand); spinand_read_from_cache_op() local 586 struct nand_device *nand = spinand_to_nand(spinand); spinand_write_to_cache_op() local 650 struct nand_device *nand = spinand_to_nand(spinand); spinand_program_op() local 660 struct nand_device *nand = spinand_to_nand(spinand); spinand_erase_op() local 758 struct nand_device *nand = spinand_to_nand(spinand); spinand_read_page() local 797 struct nand_device *nand = spinand_to_nand(spinand); spinand_write_page() local 835 struct nand_device *nand = mtd_to_nanddev(mtd); spinand_mtd_regular_page_read() local 906 struct nand_device *nand = mtd_to_nanddev(mtd); spinand_mtd_continuous_page_read() local 982 struct nand_device *nand = spinand_to_nand(spinand); spinand_cont_read_init() local 1006 struct nand_device *nand = mtd_to_nanddev(mtd); spinand_use_cont_read() local 1065 struct nand_device *nand = mtd_to_nanddev(mtd); spinand_mtd_write() local 1096 spinand_isbad(struct nand_device * nand,const struct nand_pos * pos) spinand_isbad() argument 1126 struct nand_device *nand = mtd_to_nanddev(mtd); spinand_mtd_block_isbad() local 1139 spinand_markbad(struct nand_device * nand,const struct nand_pos * pos) spinand_markbad() argument 1168 struct nand_device *nand = mtd_to_nanddev(mtd); spinand_mtd_block_markbad() local 1181 spinand_erase(struct nand_device * nand,const struct nand_pos * pos) spinand_erase() argument 1226 struct nand_device *nand = mtd_to_nanddev(mtd); spinand_mtd_block_isreserved() local 1242 struct nand_device *nand = spinand_to_nand(spinand); spinand_create_rdesc() local 1275 struct nand_device *nand = spinand_to_nand(spinand); spinand_create_dirmap() local 1328 struct nand_device *nand = spinand_to_nand(spinand); spinand_create_dirmaps() local 1565 struct nand_device *nand = spinand_to_nand(spinand); spinand_select_op_variant() local 1629 struct nand_device *nand = spinand_to_nand(spinand); spinand_match_and_init() local 1751 struct nand_device *nand = spinand_to_nand(spinand); spinand_detect() local 1834 struct nand_device *nand = spinand_to_nand(spinand); spinand_init_flash() local 1922 struct nand_device *nand = mtd_to_nanddev(mtd); spinand_init() local 2044 struct nand_device *nand = spinand_to_nand(spinand); spinand_cleanup() local [all...] |
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | marvell,kirkwood-pinctrl.txt | 24 mpp0 0 gpio, nand(io2), spi(cs) 25 mpp1 1 gpo, nand(io3), spi(mosi) 26 mpp2 2 gpo, nand(io4), spi(sck) 27 mpp3 3 gpo, nand(io5), spi(miso) 28 mpp4 4 gpio, nand(io6), uart0(rxd), ptp(clk) 29 mpp5 5 gpo, nand(io7), uart0(txd), ptp(trig) 45 mpp18 18 gpo, nand(io0) 46 mpp19 19 gpo, nand(io1) 62 mpp0 0 gpio, nand(io2), spi(cs) 63 mpp1 1 gpo, nand(io3), spi(mosi) [all …]
|
| H A D | lantiq,pinctrl-xway.txt | 56 ebu wait, nand ale, nand cs1, nand cle, spi_di, spi_do, spi_clk, spi_cs1, 67 ebu cs1, ebu wait, nand ale, nand cs1, nand cle, nand rdy, nand rd, 79 ebu cs1, ebu wait, nand ale, nand cs1, nand cle, nand rdy, nand rd, 93 exin0, exin1, exin2, exin4, nand ale, nand cs0, nand cs1, nand cle, 94 nand rdy, nand rd, nand_d0, nand_d1, nand_d2, nand_d3, nand_d4, nand_d5, 95 nand_d6, nand_d7, nand_d1, nand wr, nand wp, nand se, spi_di, spi_do,
|
| /linux/drivers/mtd/nand/raw/brcmnand/ |
| H A D | Kconfig | 2 tristate "Broadcom STB NAND controller" 6 Enables the Broadcom NAND controller driver. The controller was 13 tristate "Broadcom BCM63xx NAND controller glue" 16 Enables the BRCMNAND glue driver to register the NAND controller 20 tristate "Broadcom BCMA NAND controller" 29 tristate "Broadcom BCMBCA NAND controller glue" 32 Enables the BRCMNAND glue driver to register the NAND controller 36 tristate "Broadcom STB Nand controller glue" 39 Enables the BRCMNAND glue driver to register the NAND controller 43 tristate "Broadcom iProc NAND controller glue" [all …]
|