Searched refs:step_size (Results 1 - 10 of 10) sorted by relevance

/u-boot/drivers/phy/
H A Dphy-zynqmp.c185 * @step_size: step size of each step
191 u32 step_size; member in struct:xpsgtr_ssc
297 u32 step_size; local
300 step_size = ssc->step_size;
314 STEP_SIZE_0_MASK, step_size & STEP_SIZE_0_MASK);
317 step_size >>= STEP_SIZE_SHIFT;
319 STEP_SIZE_1_MASK, step_size & STEP_SIZE_1_MASK);
322 step_size >>= STEP_SIZE_SHIFT;
324 STEP_SIZE_2_MASK, step_size
[all...]
/u-boot/drivers/spi/
H A Dbcmbca_hsspi.c219 size_t step_size = HSSPI_FIFO_SIZE; local
238 step_size -= HSSPI_FIFO_OP_SIZE;
258 size_t curr_step = min(step_size, data_bytes);
H A Dbcm63xx_hsspi.c260 size_t step_size = HSSPI_FIFO_SIZE; local
278 step_size -= HSSPI_FIFO_OP_SIZE;
298 size_t curr_step = min(step_size, (size_t)data_bytes);
/u-boot/include/linux/mtd/
H A Dnand.h119 * @step_size: ECC step/block size
123 unsigned int step_size; member in struct:nand_ecc_req
126 #define NAND_ECCREQ(str, stp) { .strength = (str), .step_size = (stp) }
H A Drawnand.h529 int (*calc_ecc_bytes)(int step_size, int strength);
/u-boot/drivers/mtd/nand/raw/
H A Ddenali.h323 int denali_calc_ecc_bytes(int step_size, int strength);
H A Dnand_base.c4704 int req_corr, step_size, strength, nsteps, ecc_bytes, ecc_bytes_total; local
4721 step_size = stepinfo->stepsize;
4731 if (step_size < req_step && strength < req_strength)
4734 if (mtd->writesize % step_size)
4737 nsteps = mtd->writesize / step_size;
4739 ecc_bytes = caps->calc_ecc_bytes(step_size, strength);
4754 best_step = step_size;
4786 int step_size, strength, nsteps, ecc_bytes, corr; local
4797 step_size = stepinfo->stepsize;
4800 if (chip->ecc.size && step_size !
[all...]
H A Dmeson_nand.c192 static int meson_nand_calc_ecc_bytes(int step_size, int strength) argument
196 if (step_size == 512 && strength == 8)
199 ecc_bytes = DIV_ROUND_UP(strength * fls(step_size * 8), 8);
H A Ddenali.c1101 int denali_calc_ecc_bytes(int step_size, int strength) argument
1104 return DIV_ROUND_UP(strength * fls(step_size * 8), 16) * 2;
H A Dstm32_fmc2_nand.c784 static int stm32_fmc2_nfc_calc_ecc_bytes(int step_size, int strength) argument

Completed in 91 milliseconds