Searched refs:ctrl_num (Results 1 – 8 of 8) sorted by relevance
| /NextBSD/sys/dev/nand/ |
| HD | nandsim.c | 186 nandsim_destroy_ctrl(int ctrl_num) in nandsim_destroy_ctrl() argument 189 nand_debug(NDBG_SIM,"destroy controller num:%d", ctrl_num); in nandsim_destroy_ctrl() 191 if (ctrl_num >= MAX_SIM_DEV) { in nandsim_destroy_ctrl() 195 if (!ctrls[ctrl_num].created) { in nandsim_destroy_ctrl() 199 if (ctrls[ctrl_num].running) { in nandsim_destroy_ctrl() 203 memset(&ctrls[ctrl_num], 0, sizeof(ctrls[ctrl_num])); in nandsim_destroy_ctrl() 237 chip->ctrl_num); in nandsim_create_chip() 239 if (chip->ctrl_num >= MAX_SIM_DEV || in nandsim_create_chip() 244 if (ctrls[chip->ctrl_num].chips[chip->num]) { in nandsim_create_chip() 255 ctrls[chip->ctrl_num].chips[chip->num] = sim_chip; in nandsim_create_chip() [all …]
|
| HD | nandsim.h | 51 uint8_t ctrl_num; member 78 uint8_t ctrl_num; member 108 uint8_t ctrl_num; member 122 uint8_t ctrl_num; member 137 uint8_t ctrl_num; member 149 uint8_t ctrl_num; member 159 uint8_t ctrl_num; member 166 uint8_t ctrl_num; member
|
| HD | nandsim_chip.h | 117 uint8_t ctrl_num; member
|
| HD | nandsim_log.c | 110 chip->chip_num, chip->ctrl_num); in nandsim_log()
|
| HD | nandsim_chip.c | 101 chip->ctrl_num = sim_chip->ctrl_num; in nandsim_chip_init() 186 sprintf(swapfile, "chip%d%d.swp", chip->ctrl_num, chip->chip_num); in nandsim_chip_init()
|
| /NextBSD/usr.sbin/nandsim/ |
| HD | nandsim_cfgparse.c | 96 {"chip_ctrl", 1, VALUE_UINT | SIZE_8, (void *)&chip_conf.ctrl_num, 437 chipsptr[i].num, chipsptr[i].ctrl_num, in create_chips() 552 chips[i].ctrl_num); in parse_config() 555 chips[i].num, chips[i].ctrl_num); in parse_config() 558 chips[i].num, chips[i].ctrl_num); in parse_config() 775 if (chips[chipcnt].ctrl_num >= MAX_SIM_DEV) { in validate_chips() 777 chips[chipcnt].ctrl_num); in validate_chips() 795 chips[chipcnt].ctrl_num); in validate_chips() 801 if (ctrls[i].num == chips[chipcnt].ctrl_num) in validate_chips() 807 chips[chipcnt].ctrl_num); in validate_chips() [all …]
|
| HD | nandsim.c | 320 chipconf.ctrl_num = idx; in cmdstatus() 501 mods.ctrl_num = ctl; in cmdmod() 545 sim_err.ctrl_num = ctl; in cmderror() 593 bs.ctrl_num = ctl; in cmdbb() 608 bs.ctrl_num = ctl; in cmdbb() 682 ctrlchip.ctrl_num = ctl; in cmdfreeze() 751 log.ctrl_num = idx; in cmdlog() 834 dump.ctrl_num = ctl; in cmddump() 861 bs.ctrl_num = ctl; in cmddump() 1014 dump.ctrl_num = ctl; in cmdrestore() [all …]
|
| HD | sample.conf | 58 ctrl_num=0
|