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

/freebsd-11-stable/usr.sbin/nandsim/
H A Dsample.conf71 # ecc_layout=[byte1, byte2-byte3, ..byten]
72 ecc_layout=[0-53]
H A Dnandsim_cfgparse.c86 {"ecc_layout", 1, VALUE_UINTARRAY | SIZE_16,
87 (void *)&ctrl_conf.ecc_layout, MAX_ECC_BYTES},
353 * we're filling buffer with 0xff. If ecc_layout is
356 memset((void *)&ctrl_conf.ecc_layout, 0xff,
357 sizeof(ctrl_conf.ecc_layout));
374 ctrlsptr[i].filename, ctrlsptr[i].ecc_layout[0],
375 ctrlsptr[i].ecc_layout[1]);
817 max = ctrls[id].ecc_layout[0];
819 ctrls[id].ecc_layout[i] != 0xffff) {
821 if (ctrls[id].ecc_layout[
[all...]
H A Dnandsim.c1247 if (ctrl->ecc_layout[i] == 0xffff)
1251 ctrl->ecc_layout[i]);
/freebsd-11-stable/sys/dev/nand/
H A Dnandsim.c177 memcpy(sim_ctrl->ecc_layout, ctrl->ecc_layout,
178 MAX_ECC_BYTES * sizeof(ctrl->ecc_layout[0]));
222 memcpy(ctrl->ecc_layout, ctrls[ctrl->num].ecc_layout,
223 MAX_ECC_BYTES * sizeof(ctrl->ecc_layout[0]));
H A Dnandsim_chip.h129 uint16_t ecc_layout[MAX_ECC_BYTES]; member in struct:sim_ctrl_conf
H A Dnandsim.h71 uint16_t ecc_layout[MAX_ECC_BYTES]; member in struct:sim_ctrl
H A Dnandsim_ctrl.c132 if (params->ecc_layout[0] != 0xffff)
133 eccpos = params->ecc_layout;

Completed in 122 milliseconds