Lines Matching refs:chip

334 int nand_erase_blocks(struct nand_chip *chip, off_t offset, size_t len);
335 int nand_prog_pages(struct nand_chip *chip, uint32_t offset, uint8_t *buf,
337 int nand_read_pages(struct nand_chip *chip, uint32_t offset, void *buf,
339 int nand_read_pages_raw(struct nand_chip *chip, uint32_t offset, void *buf,
341 int nand_prog_pages_raw(struct nand_chip *chip, uint32_t offset, void *buf,
343 int nand_read_oob(struct nand_chip *chip, uint32_t page, void *buf,
345 int nand_prog_oob(struct nand_chip *chip, uint32_t page, void *buf,
384 void nand_onfi_set_params(struct nand_chip *chip, struct onfi_chip_params *params);
385 void nand_set_params(struct nand_chip *chip, struct nand_params *params);
386 int nand_init_stat(struct nand_chip *chip);
387 void nand_destroy_stat(struct nand_chip *chip);
390 int nand_init_bbt(struct nand_chip *chip);
391 void nand_destroy_bbt(struct nand_chip *chip);
392 int nand_update_bbt(struct nand_chip *chip);
393 int nand_mark_bad_block(struct nand_chip* chip, uint32_t block_num);
394 int nand_check_bad_block(struct nand_chip* chip, uint32_t block_num);
397 int nand_make_dev(struct nand_chip* chip);
398 void nand_destroy_dev(struct nand_chip *chip);
400 int create_geom_disk(struct nand_chip* chip);
401 int create_geom_raw_disk(struct nand_chip *chip);
402 void destroy_geom_disk(struct nand_chip *chip);
403 void destroy_geom_raw_disk(struct nand_chip *chip);
410 int nand_check_page_boundary(struct nand_chip *chip, uint32_t page);
411 void nand_get_chip_param(struct nand_chip *chip, struct chip_param_io *param);