Home
last modified time | relevance | path

Searched refs:step_size (Results 1 – 8 of 8) sorted by relevance

/rk3399_rockchip-uboot/drivers/spi/
H A Dbcm63xx_hsspi.c222 size_t step_size = HSSPI_FIFO_SIZE; in bcm63xx_hsspi_xfer() local
240 step_size -= HSSPI_FIFO_OP_SIZE; in bcm63xx_hsspi_xfer()
257 size_t curr_step = min(step_size, data_bytes); in bcm63xx_hsspi_xfer()
/rk3399_rockchip-uboot/include/linux/mtd/
H A Dnand.h120 unsigned int step_size; member
123 #define NAND_ECCREQ(str, stp) { .strength = (str), .step_size = (stp) }
H A Drawnand.h516 int (*calc_ecc_bytes)(int step_size, int strength);
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/
H A Dnand_base.c4802 int req_corr, step_size, strength, nsteps, ecc_bytes, ecc_bytes_total; in nand_match_ecc_req() local
4819 step_size = stepinfo->stepsize; in nand_match_ecc_req()
4829 if (step_size < req_step && strength < req_strength) in nand_match_ecc_req()
4832 if (mtd->writesize % step_size) in nand_match_ecc_req()
4835 nsteps = mtd->writesize / step_size; in nand_match_ecc_req()
4837 ecc_bytes = caps->calc_ecc_bytes(step_size, strength); in nand_match_ecc_req()
4852 best_step = step_size; in nand_match_ecc_req()
4884 int step_size, strength, nsteps, ecc_bytes, corr; in nand_maximize_ecc() local
4895 step_size = stepinfo->stepsize; in nand_maximize_ecc()
4898 if (chip->ecc.size && step_size != chip->ecc.size) in nand_maximize_ecc()
[all …]
H A Ddenali.h326 int denali_calc_ecc_bytes(int step_size, int strength);
H A Ddenali.c1113 int denali_calc_ecc_bytes(int step_size, int strength) in denali_calc_ecc_bytes() argument
1116 return DIV_ROUND_UP(strength * fls(step_size * 8), 16) * 2; in denali_calc_ecc_bytes()
H A Dstm32_fmc2_nand.c835 static int stm32_fmc2_calc_ecc_bytes(int step_size, int strength) in stm32_fmc2_calc_ecc_bytes() argument
/rk3399_rockchip-uboot/drivers/mtd/nand/spi/
H A Dcore.c1266 mtd->ecc_step_size = nand->eccreq.step_size; in spinand_init()