Searched refs:step_size (Results 1 – 6 of 6) sorted by relevance
| /openbmc/u-boot/drivers/spi/ |
| H A D | bcm63xx_hsspi.c | 219 size_t step_size = HSSPI_FIFO_SIZE; in bcm63xx_hsspi_xfer() local 237 step_size -= HSSPI_FIFO_OP_SIZE; in bcm63xx_hsspi_xfer() 254 size_t curr_step = min(step_size, data_bytes); in bcm63xx_hsspi_xfer()
|
| /openbmc/u-boot/include/linux/mtd/ |
| H A D | nand.h | 120 unsigned int step_size; member 123 #define NAND_ECCREQ(str, stp) { .strength = (str), .step_size = (stp) }
|
| H A D | rawnand.h | 522 int (*calc_ecc_bytes)(int step_size, int strength);
|
| /openbmc/u-boot/drivers/mtd/nand/raw/ |
| H A D | nand_base.c | 4109 int req_corr, step_size, strength, nsteps, ecc_bytes, ecc_bytes_total; in nand_match_ecc_req() local 4126 step_size = stepinfo->stepsize; in nand_match_ecc_req() 4136 if (step_size < req_step && strength < req_strength) in nand_match_ecc_req() 4139 if (mtd->writesize % step_size) in nand_match_ecc_req() 4142 nsteps = mtd->writesize / step_size; in nand_match_ecc_req() 4144 ecc_bytes = caps->calc_ecc_bytes(step_size, strength); in nand_match_ecc_req() 4159 best_step = step_size; in nand_match_ecc_req() 4191 int step_size, strength, nsteps, ecc_bytes, corr; in nand_maximize_ecc() local 4202 step_size = stepinfo->stepsize; in nand_maximize_ecc() 4205 if (chip->ecc.size && step_size != chip->ecc.size) in nand_maximize_ecc() [all …]
|
| H A D | denali.h | 323 int denali_calc_ecc_bytes(int step_size, int strength);
|
| H A D | denali.c | 1112 int denali_calc_ecc_bytes(int step_size, int strength) in denali_calc_ecc_bytes() argument 1115 return DIV_ROUND_UP(strength * fls(step_size * 8), 16) * 2; in denali_calc_ecc_bytes()
|