Searched refs:eccsr (Results 1 – 9 of 9) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mtd/nand/spi/ |
| H A D | unim.c | 129 u8 eccsr = (status & GENMASK(6, 4)) >> 4; in tx25g01_ecc_get_status() local 131 if (eccsr < 4) in tx25g01_ecc_get_status() 132 return eccsr; in tx25g01_ecc_get_status() 133 else if (eccsr == 4) in tx25g01_ecc_get_status() 154 u8 eccsr = (status & GENMASK(6, 4)) >> 4; in um19axxisw_ecc_ecc_get_status() local 156 if (eccsr <= 1 || eccsr == 3) in um19axxisw_ecc_ecc_get_status() 157 return eccsr; in um19axxisw_ecc_ecc_get_status() 158 else if (eccsr == 5) in um19axxisw_ecc_ecc_get_status()
|
| H A D | fmsh.c | 100 u8 eccsr = (status & GENMASK(6, 4)) >> 4; in fm25s01bi3_ecc_ecc_get_status() local 102 if (eccsr <= 1 || eccsr == 3) in fm25s01bi3_ecc_ecc_get_status() 103 return eccsr; in fm25s01bi3_ecc_ecc_get_status() 104 else if (eccsr == 5) in fm25s01bi3_ecc_ecc_get_status() 154 u8 eccsr = (status & GENMASK(6, 4)) >> 4; in fm25g0xd_ecc_get_status() local 156 if (eccsr <= 3) in fm25g0xd_ecc_get_status() 158 else if (eccsr == 4) in fm25g0xd_ecc_get_status()
|
| H A D | kingston.c | 74 u8 eccsr = (status & GENMASK(6, 4)) >> 4; in spi004_sdeg_ecc_get_status() local 76 if (eccsr == 0) in spi004_sdeg_ecc_get_status() 78 else if (eccsr < 6) in spi004_sdeg_ecc_get_status() 79 return eccsr + 2; in spi004_sdeg_ecc_get_status() 80 else if (eccsr == 6) in spi004_sdeg_ecc_get_status()
|
| H A D | esmt.c | 106 u8 eccsr = (status & GENMASK(6, 4)) >> 4; in f50l2g41ka_ecc_ecc_get_status() local 108 if (eccsr <= 1 || eccsr == 3) in f50l2g41ka_ecc_ecc_get_status() 109 return eccsr; in f50l2g41ka_ecc_ecc_get_status() 110 else if (eccsr == 5) in f50l2g41ka_ecc_ecc_get_status()
|
| H A D | jsc.c | 76 u8 eccsr = (status & GENMASK(6, 4)) >> 4; in js28u1gqscahg_ecc_get_status() local 78 if (eccsr < 4) in js28u1gqscahg_ecc_get_status() 79 return eccsr; in js28u1gqscahg_ecc_get_status() 80 else if (eccsr == 4) in js28u1gqscahg_ecc_get_status()
|
| H A D | micron.c | 139 u8 eccsr = (status & GENMASK(6, 4)) >> 4; in mt29f4g01abafd_ecc_ecc_get_status() local 141 if (eccsr <= 1 || eccsr == 3) in mt29f4g01abafd_ecc_ecc_get_status() 142 return eccsr; in mt29f4g01abafd_ecc_ecc_get_status() 143 else if (eccsr == 5) in mt29f4g01abafd_ecc_ecc_get_status()
|
| H A D | xtx.c | 155 u8 eccsr = (status & GENMASK(5, 2)) >> 2; in xt26g0xa_ecc_get_status() local 157 if (eccsr <= 7) in xt26g0xa_ecc_get_status() 158 return eccsr; in xt26g0xa_ecc_get_status() 159 else if (eccsr == 12) in xt26g0xa_ecc_get_status() 179 u8 eccsr = (status & GENMASK(6, 4)) >> 4; in xt26g02b_ecc_get_status() local 181 if (eccsr <= 4) in xt26g02b_ecc_get_status() 182 return eccsr; in xt26g02b_ecc_get_status() 200 u8 eccsr = (status & GENMASK(7, 4)) >> 4; in xt26g01c_ecc_get_status() local 202 if (eccsr <= 8) in xt26g01c_ecc_get_status() 203 return eccsr; in xt26g01c_ecc_get_status()
|
| H A D | macronix.c | 54 static int mx35lf1ge4ab_get_eccsr(struct spinand_device *spinand, u8 *eccsr) in mx35lf1ge4ab_get_eccsr() argument 59 SPI_MEM_OP_DATA_IN(1, eccsr, 1)); in mx35lf1ge4ab_get_eccsr() 65 *eccsr &= MACRONIX_ECCSR_MASK; in mx35lf1ge4ab_get_eccsr() 73 u8 eccsr; in mx35lf1ge4ab_ecc_get_status() local 88 if (mx35lf1ge4ab_get_eccsr(spinand, &eccsr)) in mx35lf1ge4ab_ecc_get_status() 91 if (WARN_ON(eccsr > nand->eccreq.strength || !eccsr)) in mx35lf1ge4ab_ecc_get_status() 94 return eccsr; in mx35lf1ge4ab_ecc_get_status()
|
| H A D | foresee.c | 97 u8 eccsr = (status & GENMASK(6, 4)) >> 4; in f35sqb00xg_ecc_get_status() local 99 if (eccsr < 6) in f35sqb00xg_ecc_get_status() 101 else if (eccsr == 6) in f35sqb00xg_ecc_get_status()
|