Lines Matching defs:chip
195 #define nandc_reg_phys(chip, offset) ((chip)->base_phys + (offset)) argument
198 #define reg_buf_dma_addr(chip, vaddr) \ argument
434 struct nand_chip chip; member
561 static inline struct qcom_nand_host *to_qcom_nand_host(struct nand_chip *chip) in to_qcom_nand_host()
567 get_qcom_nand_controller(struct nand_chip *chip) in get_qcom_nand_controller()
663 struct nand_chip *chip = &host->chip; in set_address() local
682 struct nand_chip *chip = &host->chip; in update_rw_regs() local
1158 struct nand_chip *chip = &host->chip; in nandc_param() local
1216 struct nand_chip *chip = &host->chip; in erase_block() local
1245 struct nand_chip *chip = &host->chip; in read_id() local
1269 struct nand_chip *chip = &host->chip; in reset() local
1367 struct nand_chip *chip = &host->chip; in pre_command() local
1389 struct nand_chip *chip = &host->chip; in parse_erase_write_errors() local
1413 struct nand_chip *chip = &host->chip; in post_command() local
1437 static void qcom_nandc_command(struct nand_chip *chip, unsigned int command, in qcom_nandc_command()
1568 struct nand_chip *chip = &host->chip; in check_flash_errors() local
1586 qcom_nandc_read_cw_raw(struct mtd_info *mtd, struct nand_chip *chip, in qcom_nandc_read_cw_raw()
1672 struct nand_chip *chip = &host->chip; in check_for_erased_page() local
1730 struct nand_chip *chip = &host->chip; in parse_read_errors() local
1834 struct nand_chip *chip = &host->chip; in read_page_ecc() local
1914 struct nand_chip *chip = &host->chip; in copy_last_cw() local
1944 static int qcom_nandc_read_page(struct nand_chip *chip, uint8_t *buf, in qcom_nandc_read_page()
1961 static int qcom_nandc_read_page_raw(struct nand_chip *chip, uint8_t *buf, in qcom_nandc_read_page_raw()
1984 static int qcom_nandc_read_oob(struct nand_chip *chip, int page) in qcom_nandc_read_oob()
2001 static int qcom_nandc_write_page(struct nand_chip *chip, const uint8_t *buf, in qcom_nandc_write_page()
2071 static int qcom_nandc_write_page_raw(struct nand_chip *chip, in qcom_nandc_write_page_raw()
2150 static int qcom_nandc_write_oob(struct nand_chip *chip, int page) in qcom_nandc_write_oob()
2192 static int qcom_nandc_block_bad(struct nand_chip *chip, loff_t ofs) in qcom_nandc_block_bad()
2230 static int qcom_nandc_block_markbad(struct nand_chip *chip, loff_t ofs) in qcom_nandc_block_markbad()
2277 static uint8_t qcom_nandc_read_byte(struct nand_chip *chip) in qcom_nandc_read_byte()
2298 static void qcom_nandc_read_buf(struct nand_chip *chip, uint8_t *buf, int len) in qcom_nandc_read_buf()
2307 static void qcom_nandc_write_buf(struct nand_chip *chip, const uint8_t *buf, in qcom_nandc_write_buf()
2319 static void qcom_nandc_select_chip(struct nand_chip *chip, int chipnr) in qcom_nandc_select_chip()
2417 struct nand_chip *chip = mtd_to_nand(mtd); in qcom_nand_ooblayout_ecc() local
2439 struct nand_chip *chip = mtd_to_nand(mtd); in qcom_nand_ooblayout_free() local
2465 static int qcom_nand_attach_chip(struct nand_chip *chip) in qcom_nand_attach_chip()
2805 struct nand_chip *chip = &host->chip; in qcom_nand_host_init_and_register() local
3009 struct nand_chip *chip; in qcom_nandc_remove() local