Lines Matching refs:nregs
27 int nregs; member
53 int nregs; member
115 (retry_mode * hynix->read_retry->nregs); in hynix_nand_setup_read_retry()
131 for (i = 0; i < hynix->read_retry->nregs; i++) { in hynix_nand_setup_read_retry()
205 for (i = 0; i < info->nregs; i++) { in hynix_read_rr_otp()
259 static int hynix_mlc_1xnm_rr_value(const u8 *buf, int nmodes, int nregs, in hynix_mlc_1xnm_rr_value() argument
263 int val_offs = (mode * nregs) + reg; in hynix_mlc_1xnm_rr_value()
264 int set_size = nmodes * nregs; in hynix_mlc_1xnm_rr_value()
293 u8 nregs, nmodes; in hynix_mlc_1xnm_rr_init() local
311 &nregs); in hynix_mlc_1xnm_rr_init()
315 rr = kzalloc(sizeof(*rr) + (nregs * nmodes), GFP_KERNEL); in hynix_mlc_1xnm_rr_init()
322 for (j = 0; j < nregs; j++) { in hynix_mlc_1xnm_rr_init()
323 u8 *val = rr->values + (i * nregs); in hynix_mlc_1xnm_rr_init()
325 ret = hynix_mlc_1xnm_rr_value(buf, nmodes, nregs, i, j, in hynix_mlc_1xnm_rr_init()
330 ret = hynix_mlc_1xnm_rr_value(buf, nmodes, nregs, i, j, in hynix_mlc_1xnm_rr_init()
337 rr->nregs = nregs; in hynix_mlc_1xnm_rr_init()
357 .nregs = ARRAY_SIZE(hynix_mlc_1xnm_rr_otp_regs),
364 .nregs = ARRAY_SIZE(hynix_mlc_1xnm_rr_otp_regs),