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)) {
4102 struct udma_chan_config *ucc;
4114 ucc = &uc->config;
4130 ucc->remote_thread_id = filter_param->remote_thread_id;
4131 ucc->atype = filter_param->atype;
4132 ucc->asel = filter_param->asel;
4133 ucc->tr_trigger_type = filter_param->tr_trigger_type;
4135 if (ucc->tr_trigger_type) {
4136 ucc->dir = DMA_MEM_TO_MEM;
4138 } else if (ucc->remote_thread_id & K3_PSIL_DST_THREAD_ID_OFFSET) {
4139 ucc->dir = DMA_MEM_TO_DEV;
4141 ucc->dir = DMA_DEV_TO_MEM;
4144 ep_config = psil_get_ep_config(ucc->remote_thread_id);
4147 ucc->remote_thread_id);
4148 ucc->dir = DMA_MEM_TO_MEM;
4149 ucc->remote_thread_id = -1;
4150 ucc->atype = 0;
4151 ucc->asel = 0;
4159 ucc->remote_thread_id);
4160 ucc->dir = DMA_MEM_TO_MEM;
4161 ucc->remote_thread_id = -1;
4162 ucc->atype = 0;
4163 ucc->asel = 0;
4167 ucc->pkt_mode = ep_config->pkt_mode;
4168 ucc->channel_tpl = ep_config->channel_tpl;
4169 ucc->notdpkt = ep_config->notdpkt;
4170 ucc->ep_type = ep_config->ep_type;
4174 ucc->mapped_channel_id = ep_config->mapped_channel_id;
4175 ucc->default_flow_id = ep_config->default_flow_id;
4177 ucc->mapped_channel_id = -1;
4178 ucc->default_flow_id = -1;
4181 if (ucc->ep_type != PSIL_EP_NATIVE) {
4185 ucc->enable_acc32 = ep_config->pdma_acc32;
4187 ucc->enable_burst = ep_config->pdma_burst;
4190 ucc->needs_epib = ep_config->needs_epib;
4191 ucc->psd_size = ep_config->psd_size;
4192 ucc->metadata_size =
4193 (ucc->needs_epib ? CPPI5_INFO0_HDESC_EPIB_SIZE : 0) +
4194 ucc->psd_size;
4196 if (ucc->pkt_mode)
4197 ucc->hdesc_size = ALIGN(sizeof(struct cppi5_host_desc_t) +
4198 ucc->metadata_size, ud->desc_align);
4201 ucc->remote_thread_id, dmaengine_get_direction_text(ucc->dir));
4207 ucc->tr_trigger_type);
5210 struct udma_chan_config *ucc = &uc->config;
5214 if (ucc->tr_trigger_type)
5228 ucc->src_thread, ucc->dst_thread);
5232 ucc->src_thread, ucc->dst_thread);
5238 ucc->src_thread, ucc->dst_thread);
5247 if (ucc->ep_type == PSIL_EP_NATIVE) {
5249 if (ucc->metadata_size) {
5250 seq_printf(s, "[%s", ucc->needs_epib ? " EPIB" : "");
5251 if (ucc->psd_size)
5252 seq_printf(s, " PSDsize:%u", ucc->psd_size);
5257 if (ucc->enable_acc32 || ucc->enable_burst)
5259 ucc->enable_acc32 ? " ACC32" : "",
5260 ucc->enable_burst ? " BURST" : "");
5263 seq_printf(s, ", %s)\n", ucc->pkt_mode ? "Packet mode" : "TR mode");