Lines Matching refs:dma_data
332 struct dma_mcux_lpc_dma_data *dma_data; in dma_mcux_lpc_configure() local
348 dma_data = dev->data; in dma_mcux_lpc_configure()
377 if (dma_data->num_channels_used > dev_config->num_of_channels) { in dma_mcux_lpc_configure()
468 if (dma_data->channel_index[channel] == -1) { in dma_mcux_lpc_configure()
469 dma_data->channel_index[channel] = dma_data->num_channels_used; in dma_mcux_lpc_configure()
470 dma_data->num_channels_used++; in dma_mcux_lpc_configure()
472 virtual_channel = dma_data->channel_index[channel]; in dma_mcux_lpc_configure()
481 virtual_channel = dma_data->channel_index[channel]; 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()
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()
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()