Lines Matching refs:hal_cfg
173 (EDMA_ChannelRegRead((data)->hal_cfg, (chan)->id, EDMA_TCD_CH_CSR) &\
225 edma_config_t *hal_cfg; member
433 EDMA_ChannelRegRead(data->hal_cfg, chan_id, EDMA_TCD_CH_CSR)); in edma_dump_channel_registers()
435 EDMA_ChannelRegRead(data->hal_cfg, chan_id, EDMA_TCD_CH_ES)); in edma_dump_channel_registers()
437 EDMA_ChannelRegRead(data->hal_cfg, chan_id, EDMA_TCD_CH_INT)); in edma_dump_channel_registers()
439 EDMA_ChannelRegRead(data->hal_cfg, chan_id, EDMA_TCD_CH_SBR)); in edma_dump_channel_registers()
441 EDMA_ChannelRegRead(data->hal_cfg, chan_id, EDMA_TCD_CH_PRI)); in edma_dump_channel_registers()
443 if (EDMA_HAS_MUX(data->hal_cfg)) { in edma_dump_channel_registers()
444 if (data->hal_cfg->flags & EDMA_HAS_MP_MUX_FLAG) { in edma_dump_channel_registers()
450 LOG_DBG("CH_MUX: 0x%x", EDMA_ChannelRegRead(data->hal_cfg, chan_id, mux_reg)); in edma_dump_channel_registers()
454 EDMA_ChannelRegRead(data->hal_cfg, chan_id, EDMA_TCD_SADDR)); in edma_dump_channel_registers()
456 EDMA_ChannelRegRead(data->hal_cfg, chan_id, EDMA_TCD_SOFF)); in edma_dump_channel_registers()
458 EDMA_ChannelRegRead(data->hal_cfg, chan_id, EDMA_TCD_ATTR)); in edma_dump_channel_registers()
460 EDMA_ChannelRegRead(data->hal_cfg, chan_id, EDMA_TCD_NBYTES)); in edma_dump_channel_registers()
462 EDMA_ChannelRegRead(data->hal_cfg, chan_id, EDMA_TCD_SLAST_SDA)); in edma_dump_channel_registers()
464 EDMA_ChannelRegRead(data->hal_cfg, chan_id, EDMA_TCD_DADDR)); in edma_dump_channel_registers()
466 EDMA_ChannelRegRead(data->hal_cfg, chan_id, EDMA_TCD_DOFF)); in edma_dump_channel_registers()
468 EDMA_ChannelRegRead(data->hal_cfg, chan_id, EDMA_TCD_CITER)); in edma_dump_channel_registers()
470 EDMA_ChannelRegRead(data->hal_cfg, chan_id, EDMA_TCD_DLAST_SGA)); in edma_dump_channel_registers()
472 EDMA_ChannelRegRead(data->hal_cfg, chan_id, EDMA_TCD_CSR)); in edma_dump_channel_registers()
474 EDMA_ChannelRegRead(data->hal_cfg, chan_id, EDMA_TCD_BITER)); in edma_dump_channel_registers()
522 EDMA_ChannelRegWrite(data->hal_cfg, chan_id, EDMA_TCD_SLAST_SDA, slast); in set_slast_dlast()
523 EDMA_ChannelRegWrite(data->hal_cfg, chan_id, EDMA_TCD_DLAST_SGA, dlast); in set_slast_dlast()
525 if (data->hal_cfg->flags & EDMA_HAS_64BIT_TCD_FLAG) { in set_slast_dlast()
526 EDMA_ChannelRegWrite(data->hal_cfg, chan_id, EDMA_TCD_SLAST_SDA_HIGH, in set_slast_dlast()
528 EDMA_ChannelRegWrite(data->hal_cfg, chan_id, EDMA_TCD_DLAST_SGA_HIGH, in set_slast_dlast()