Lines Matching refs:status

49 	uint32_t status;  in nios2_msgdma_callback()  local
51 status = IORD_ALTERA_MSGDMA_CSR_STATUS(dev_data->msgdma_dev->csr_base); in nios2_msgdma_callback()
53 if (status & ALTERA_MSGDMA_CSR_STOPPED_ON_ERROR_MASK) { in nios2_msgdma_callback()
55 } else if (status & ALTERA_MSGDMA_CSR_BUSY_MASK) { in nios2_msgdma_callback()
61 LOG_DBG("msgdma csr status Reg: 0x%x", status); in nios2_msgdma_callback()
71 int status; in nios2_msgdma_config() local
112 status = alt_msgdma_construct_standard_mm_to_mm_descriptor( in nios2_msgdma_config()
119 status = alt_msgdma_construct_standard_mm_to_st_descriptor( in nios2_msgdma_config()
125 status = alt_msgdma_construct_standard_st_to_mm_descriptor( in nios2_msgdma_config()
132 status = -EINVAL; in nios2_msgdma_config()
148 return status; in nios2_msgdma_config()
155 int status; in nios2_msgdma_transfer_start() local
164 status = alt_msgdma_standard_descriptor_async_transfer(cfg->msgdma_dev, in nios2_msgdma_transfer_start()
168 if (status < 0) { in nios2_msgdma_transfer_start()
169 LOG_ERR("DMA transfer error (%d)", status); in nios2_msgdma_transfer_start()
172 return status; in nios2_msgdma_transfer_start()
180 uint32_t status; in nios2_msgdma_transfer_stop() local
187 status = IORD_ALTERA_MSGDMA_CSR_STATUS(cfg->msgdma_dev->csr_base); in nios2_msgdma_transfer_stop()
190 if (status & ALTERA_MSGDMA_CSR_STOP_STATE_MASK) { in nios2_msgdma_transfer_stop()
195 LOG_DBG("msgdma csr status Reg: 0x%x", status); in nios2_msgdma_transfer_stop()
197 return status; in nios2_msgdma_transfer_stop()