Lines Matching refs:ucc

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