Lines Matching full:ucc

865 	struct udma_chan_config *ucc = &uc->config;  in udma_start_desc()  local
867 if (uc->ud->match_data->type == DMA_TYPE_UDMA && ucc->pkt_mode && in udma_start_desc()
868 (uc->cyclic || ucc->dir == DMA_DEV_TO_MEM)) { in udma_start_desc()
4134 struct udma_chan_config *ucc; in udma_dma_filter_fn() local
4146 ucc = &uc->config; in udma_dma_filter_fn()
4162 ucc->remote_thread_id = filter_param->remote_thread_id; in udma_dma_filter_fn()
4163 ucc->atype = filter_param->atype; in udma_dma_filter_fn()
4164 ucc->asel = filter_param->asel; in udma_dma_filter_fn()
4165 ucc->tr_trigger_type = filter_param->tr_trigger_type; in udma_dma_filter_fn()
4167 if (ucc->tr_trigger_type) { in udma_dma_filter_fn()
4168 ucc->dir = DMA_MEM_TO_MEM; in udma_dma_filter_fn()
4170 } else if (ucc->remote_thread_id & K3_PSIL_DST_THREAD_ID_OFFSET) { in udma_dma_filter_fn()
4171 ucc->dir = DMA_MEM_TO_DEV; in udma_dma_filter_fn()
4173 ucc->dir = DMA_DEV_TO_MEM; in udma_dma_filter_fn()
4176 ep_config = psil_get_ep_config(ucc->remote_thread_id); in udma_dma_filter_fn()
4179 ucc->remote_thread_id); in udma_dma_filter_fn()
4180 ucc->dir = DMA_MEM_TO_MEM; in udma_dma_filter_fn()
4181 ucc->remote_thread_id = -1; in udma_dma_filter_fn()
4182 ucc->atype = 0; in udma_dma_filter_fn()
4183 ucc->asel = 0; in udma_dma_filter_fn()
4191 ucc->remote_thread_id); in udma_dma_filter_fn()
4192 ucc->dir = DMA_MEM_TO_MEM; in udma_dma_filter_fn()
4193 ucc->remote_thread_id = -1; in udma_dma_filter_fn()
4194 ucc->atype = 0; in udma_dma_filter_fn()
4195 ucc->asel = 0; in udma_dma_filter_fn()
4199 ucc->pkt_mode = ep_config->pkt_mode; in udma_dma_filter_fn()
4200 ucc->channel_tpl = ep_config->channel_tpl; in udma_dma_filter_fn()
4201 ucc->notdpkt = ep_config->notdpkt; in udma_dma_filter_fn()
4202 ucc->ep_type = ep_config->ep_type; in udma_dma_filter_fn()
4206 ucc->mapped_channel_id = ep_config->mapped_channel_id; in udma_dma_filter_fn()
4207 ucc->default_flow_id = ep_config->default_flow_id; in udma_dma_filter_fn()
4209 ucc->mapped_channel_id = -1; in udma_dma_filter_fn()
4210 ucc->default_flow_id = -1; in udma_dma_filter_fn()
4213 if (ucc->ep_type != PSIL_EP_NATIVE) { in udma_dma_filter_fn()
4217 ucc->enable_acc32 = ep_config->pdma_acc32; in udma_dma_filter_fn()
4219 ucc->enable_burst = ep_config->pdma_burst; in udma_dma_filter_fn()
4222 ucc->needs_epib = ep_config->needs_epib; in udma_dma_filter_fn()
4223 ucc->psd_size = ep_config->psd_size; in udma_dma_filter_fn()
4224 ucc->metadata_size = in udma_dma_filter_fn()
4225 (ucc->needs_epib ? CPPI5_INFO0_HDESC_EPIB_SIZE : 0) + in udma_dma_filter_fn()
4226 ucc->psd_size; in udma_dma_filter_fn()
4228 if (ucc->pkt_mode) in udma_dma_filter_fn()
4229 ucc->hdesc_size = ALIGN(sizeof(struct cppi5_host_desc_t) + in udma_dma_filter_fn()
4230 ucc->metadata_size, ud->desc_align); in udma_dma_filter_fn()
4233 ucc->remote_thread_id, dmaengine_get_direction_text(ucc->dir)); in udma_dma_filter_fn()
4239 ucc->tr_trigger_type); in udma_dma_filter_fn()
5247 struct udma_chan_config *ucc = &uc->config; in udma_dbg_summary_show_chan() local
5251 if (ucc->tr_trigger_type) in udma_dbg_summary_show_chan()
5265 ucc->src_thread, ucc->dst_thread); in udma_dbg_summary_show_chan()
5269 ucc->src_thread, ucc->dst_thread); in udma_dbg_summary_show_chan()
5275 ucc->src_thread, ucc->dst_thread); in udma_dbg_summary_show_chan()
5284 if (ucc->ep_type == PSIL_EP_NATIVE) { in udma_dbg_summary_show_chan()
5286 if (ucc->metadata_size) { in udma_dbg_summary_show_chan()
5287 seq_printf(s, "[%s", ucc->needs_epib ? " EPIB" : ""); in udma_dbg_summary_show_chan()
5288 if (ucc->psd_size) in udma_dbg_summary_show_chan()
5289 seq_printf(s, " PSDsize:%u", ucc->psd_size); in udma_dbg_summary_show_chan()
5294 if (ucc->enable_acc32 || ucc->enable_burst) in udma_dbg_summary_show_chan()
5296 ucc->enable_acc32 ? " ACC32" : "", in udma_dbg_summary_show_chan()
5297 ucc->enable_burst ? " BURST" : ""); in udma_dbg_summary_show_chan()
5300 seq_printf(s, ", %s)\n", ucc->pkt_mode ? "Packet mode" : "TR mode"); in udma_dbg_summary_show_chan()