Home
last modified time | relevance | path

Searched refs:ecc_layout (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/usr.sbin/nandsim/
H A Dnandsim_cfgparse.c87 (void *)&ctrl_conf.ecc_layout, MAX_ECC_BYTES},
356 memset((void *)&ctrl_conf.ecc_layout, 0xff, in create_ctrls()
357 sizeof(ctrl_conf.ecc_layout)); in create_ctrls()
374 ctrlsptr[i].filename, ctrlsptr[i].ecc_layout[0], in create_ctrls()
375 ctrlsptr[i].ecc_layout[1]); in create_ctrls()
817 max = ctrls[id].ecc_layout[0]; in validate_chips()
819 ctrls[id].ecc_layout[i] != 0xffff) { in validate_chips()
821 if (ctrls[id].ecc_layout[i] > max) in validate_chips()
822 max = ctrls[id].ecc_layout[i]; in validate_chips()
H A Dsample.conf72 ecc_layout=[0-53]
H A Dnandsim.c1247 if (ctrl->ecc_layout[i] == 0xffff) in printctrl()
1251 ctrl->ecc_layout[i]); in printctrl()
/freebsd-12.1/sys/dev/nand/
H A Dnandsim.c179 memcpy(sim_ctrl->ecc_layout, ctrl->ecc_layout, in nandsim_create_ctrl()
180 MAX_ECC_BYTES * sizeof(ctrl->ecc_layout[0])); in nandsim_create_ctrl()
224 memcpy(ctrl->ecc_layout, ctrls[ctrl->num].ecc_layout, in nandsim_ctrl_status()
225 MAX_ECC_BYTES * sizeof(ctrl->ecc_layout[0])); in nandsim_ctrl_status()
H A Dnandsim_chip.h131 uint16_t ecc_layout[MAX_ECC_BYTES]; member
H A Dnandsim_ctrl.c134 if (params->ecc_layout[0] != 0xffff) in nandsim_attach()
135 eccpos = params->ecc_layout; in nandsim_attach()
H A Dnandsim.h73 uint16_t ecc_layout[MAX_ECC_BYTES]; member