Lines Matching refs:chip

62  * Octeon's NAND controller assumes a single NAND chip is connected to a boot
63 * bus chip select. Throughout this API, NAND chips are referred to by the chip
64 * select they are connected to (0-7). Chip select 0 will only be a NAND chip
192 uint64_t chip : 3;
495 * Each bit in this parameter represents a chip select that might
496 * contain NAND flash. Any chip select present in this bitmask may
498 * let the API probe all 8 chip selects.
508 * for NAND chips that do not identify themselves in a way that allows autoconfiguration. (ONFI chip with
539 * Returns a bitmask representing the chip selects that are
542 * found. Each bit in the response coresponds to a chip select.
545 * each chip select (1<<chip).
551 * Override the timing parameters for a NAND chip
553 * @param chip Chip select to override
563 extern cvmx_nand_status_t cvmx_nand_set_timing(int chip, int tim_mult, int tim_par[7], int clen[4], int alen[4], int rdn[4], int wrn[2]);
581 * @param chip Chip select for NAND flash
591 extern int cvmx_nand_page_read(int chip, uint64_t nand_address, uint64_t buffer_address, int buffer_length);
597 * @param chip Chip select for NAND flash
605 extern cvmx_nand_status_t cvmx_nand_page_write(int chip, uint64_t nand_address, uint64_t buffer_address);
610 * @param chip Chip select for NAND flash
616 extern cvmx_nand_status_t cvmx_nand_block_erase(int chip, uint64_t nand_address);
621 * @param chip Chip select for NAND flash
631 extern int cvmx_nand_read_id(int chip, uint64_t nand_address, uint64_t buffer_address, int buffer_length);
636 * @param chip Chip select for NAND flash
644 extern int cvmx_nand_read_param_page(int chip, uint64_t buffer_address, int buffer_length);
649 * @param chip Chip select for NAND flash
653 extern int cvmx_nand_get_status(int chip);
657 * will return zero for chip selects not connected to NAND.
659 * @param chip Chip select for NAND flash
663 extern int cvmx_nand_get_page_size(int chip);
668 * @param chip Chip select for NAND flash
672 extern int cvmx_nand_get_oob_size(int chip);
677 * @param chip Chip select for NAND flash
681 extern int cvmx_nand_get_pages_per_block(int chip);
686 * @param chip Chip select for NAND flash
690 extern int cvmx_nand_get_blocks(int chip);
695 * @param chip Chip select for NAND flash
699 extern cvmx_nand_status_t cvmx_nand_reset(int chip);