Searched refs:ecc_layout (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12.1/usr.sbin/nandsim/ |
| H A D | nandsim_cfgparse.c | 87 (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 D | sample.conf | 72 ecc_layout=[0-53]
|
| H A D | nandsim.c | 1247 if (ctrl->ecc_layout[i] == 0xffff) in printctrl() 1251 ctrl->ecc_layout[i]); in printctrl()
|
| /freebsd-12.1/sys/dev/nand/ |
| H A D | nandsim.c | 179 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 D | nandsim_chip.h | 131 uint16_t ecc_layout[MAX_ECC_BYTES]; member
|
| H A D | nandsim_ctrl.c | 134 if (params->ecc_layout[0] != 0xffff) in nandsim_attach() 135 eccpos = params->ecc_layout; in nandsim_attach()
|
| H A D | nandsim.h | 73 uint16_t ecc_layout[MAX_ECC_BYTES]; member
|