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

/freebsd-10.1-release/usr.sbin/nandsim/
H A Dsample.conf71 # ecc_layout=[byte1, byte2-byte3, ..byten]
72 ecc_layout=[0-53]
H A Dnandsim_cfgparse.c84 {"ecc_layout", 1, VALUE_UINTARRAY | SIZE_16,
85 (void *)&ctrl_conf.ecc_layout, MAX_ECC_BYTES},
351 * we're filling buffer with 0xff. If ecc_layout is
354 memset((void *)&ctrl_conf.ecc_layout, 0xff,
355 sizeof(ctrl_conf.ecc_layout));
372 ctrlsptr[i].filename, ctrlsptr[i].ecc_layout[0],
373 ctrlsptr[i].ecc_layout[1]);
815 max = ctrls[id].ecc_layout[0];
817 ctrls[id].ecc_layout[i] != 0xffff) {
819 if (ctrls[id].ecc_layout[
[all...]
H A Dnandsim.c1245 if (ctrl->ecc_layout[i] == 0xffff)
1249 ctrl->ecc_layout[i]);
/freebsd-10.1-release/sys/dev/nand/
H A Dnandsim.c176 memcpy(sim_ctrl->ecc_layout, ctrl->ecc_layout,
177 MAX_ECC_BYTES * sizeof(ctrl->ecc_layout[0]));
221 memcpy(ctrl->ecc_layout, ctrls[ctrl->num].ecc_layout,
222 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 132 milliseconds