DMA_WRITE_IN_PROGRESS_BN
clear_bit(DMA_WRITE_IN_PROGRESS_BN, &nec_priv->state);
set_bit(DMA_WRITE_IN_PROGRESS_BN, &nec_priv->state);
if (test_bit(DMA_WRITE_IN_PROGRESS_BN, &nec_priv->state))
clear_bit(DMA_WRITE_IN_PROGRESS_BN, &nec_priv->state);
set_bit(DMA_WRITE_IN_PROGRESS_BN, &nec_priv->state);
if (test_bit(DMA_WRITE_IN_PROGRESS_BN, &nec_priv->state))
set_bit(DMA_WRITE_IN_PROGRESS_BN, &priv->state);
test_bit(DMA_WRITE_IN_PROGRESS_BN, &priv->state) == 0 ||
if (test_bit(DMA_WRITE_IN_PROGRESS_BN, &priv->state) == 0)
if (test_bit(DMA_WRITE_IN_PROGRESS_BN, &priv->state)) { // write data, isa dma mode
clear_bit(DMA_WRITE_IN_PROGRESS_BN, &priv->state);