Lines Matching refs:nregs
27 int nregs; member
52 int nregs; member
114 (retry_mode * hynix->read_retry->nregs); in hynix_nand_setup_read_retry()
130 for (i = 0; i < hynix->read_retry->nregs; i++) { in hynix_nand_setup_read_retry()
204 for (i = 0; i < info->nregs; i++) { in hynix_read_rr_otp()
258 static int hynix_mlc_1xnm_rr_value(const u8 *buf, int nmodes, int nregs, in hynix_mlc_1xnm_rr_value() argument
262 int val_offs = (mode * nregs) + reg; in hynix_mlc_1xnm_rr_value()
263 int set_size = nmodes * nregs; in hynix_mlc_1xnm_rr_value()
292 u8 nregs, nmodes; in hynix_mlc_1xnm_rr_init() local
310 &nregs); in hynix_mlc_1xnm_rr_init()
314 rr = kzalloc(sizeof(*rr) + (nregs * nmodes), GFP_KERNEL); in hynix_mlc_1xnm_rr_init()
321 for (j = 0; j < nregs; j++) { in hynix_mlc_1xnm_rr_init()
322 u8 *val = rr->values + (i * nregs); in hynix_mlc_1xnm_rr_init()
324 ret = hynix_mlc_1xnm_rr_value(buf, nmodes, nregs, i, j, in hynix_mlc_1xnm_rr_init()
329 ret = hynix_mlc_1xnm_rr_value(buf, nmodes, nregs, i, j, in hynix_mlc_1xnm_rr_init()
336 rr->nregs = nregs; in hynix_mlc_1xnm_rr_init()
356 .nregs = ARRAY_SIZE(hynix_mlc_1xnm_rr_otp_regs),
363 .nregs = ARRAY_SIZE(hynix_mlc_1xnm_rr_otp_regs),