nge_chip_state
enum nge_chip_state nge_chip_state; /* definitions above */
if (ngep->nge_chip_state == NGE_CHIP_INITIAL) {
ngep->nge_chip_state = NGE_CHIP_RESET;
ngep->nge_chip_state = NGE_CHIP_RUNNING;
switch (ngep->nge_chip_state) {
if (ngep->nge_chip_state != NGE_CHIP_RUNNING) {
ngep->nge_chip_state = NGE_CHIP_ERROR;
ngep->nge_chip_state = NGE_CHIP_ERROR;
ngep->nge_chip_state = NGE_CHIP_ERROR;
ngep->nge_chip_state = NGE_CHIP_FAULT;
ngep->nge_chip_state = NGE_CHIP_STOPPED;
switch (ngep->nge_chip_state) {
ngep->nge_chip_state = NGE_CHIP_INITIAL;
if (ngep->nge_chip_state != NGE_CHIP_RUNNING) {