Lines Matching refs:otrig_index
335 uint8_t otrig_index; in dma_mcux_lpc_configure() local
518 for (otrig_index = 0; otrig_index < dev_config->num_of_otrigs; in dma_mcux_lpc_configure()
519 ++otrig_index) { in dma_mcux_lpc_configure()
520 if (dma_data->otrig_array[otrig_index].linked_channel == EMPTY_OTRIG || in dma_mcux_lpc_configure()
521 dma_data->otrig_array[otrig_index].source_channel == channel) { in dma_mcux_lpc_configure()
522 if (dma_data->otrig_array[otrig_index].source_channel == channel) { in dma_mcux_lpc_configure()
524 dma_data->otrig_array[otrig_index].linked_channel; in dma_mcux_lpc_configure()
551 INPUTMUX_AttachSignal(INPUTMUX, otrig_index, in dma_mcux_lpc_configure()
554 dev_config->itrig_base_address + otrig_index); in dma_mcux_lpc_configure()
557 dma_data->otrig_array[otrig_index].source_channel = channel; in dma_mcux_lpc_configure()
558 dma_data->otrig_array[otrig_index].linked_channel = config->linked_channel; in dma_mcux_lpc_configure()
561 for (otrig_index = 0; otrig_index < dev_config->num_of_otrigs; otrig_index++) { in dma_mcux_lpc_configure()
562 if (dma_data->otrig_array[otrig_index].linked_channel != EMPTY_OTRIG && in dma_mcux_lpc_configure()
563 (channel == dma_data->otrig_array[otrig_index].source_channel)) { in dma_mcux_lpc_configure()
565 dma_data->otrig_array[otrig_index].linked_channel; in dma_mcux_lpc_configure()
569 dma_data->otrig_array[otrig_index].linked_channel = EMPTY_OTRIG; in dma_mcux_lpc_configure()
570 dma_data->otrig_array[otrig_index].source_channel = EMPTY_OTRIG; in dma_mcux_lpc_configure()