Searched refs:spinand (Results 1 – 2 of 2) sorted by relevance
79 static int gd5fxgm9_get_eccsr(struct spinand_device *spinand, u8 *eccsr) in gd5fxgm9_get_eccsr() argument81 struct gigadevice_priv *priv = spinand->priv; in gd5fxgm9_get_eccsr()88 ret = spi_mem_exec_op(spinand->spimem, &op); in gd5fxgm9_get_eccsr()100 static int gd5fxgm9_ecc_get_status(struct spinand_device *spinand, u8 status) in gd5fxgm9_ecc_get_status() argument102 struct nand_device *nand = spinand_to_nand(spinand); in gd5fxgm9_ecc_get_status()111 ret = gd5fxgm9_get_eccsr(spinand, spinand->scratchbuf); in gd5fxgm9_ecc_get_status()115 eccsr = *spinand->scratchbuf; in gd5fxgm9_ecc_get_status()132 static int gd5fxgm9_set_continuous_read(struct spinand_device *spinand, bool enable) in gd5fxgm9_set_continuous_read() argument134 struct gigadevice_priv *priv = spinand->priv; in gd5fxgm9_set_continuous_read()137 ret = spinand_upd_cfg(spinand, GD_FEATURE_NR, in gd5fxgm9_set_continuous_read()[all …]
1020 struct spinand_device *spinand = nand_to_spinand(nand); in aml_sfc_ecc_prepare_io_req() local1036 memset(spinand->oobbuf, 0xff, nanddev_per_page_oobsize(nand)); in aml_sfc_ecc_prepare_io_req()