Lines Matching refs:ch
94 struct edma_channel *ch;
106 ch = &edma_map[i];
107 if (ch->enabled == 1) {
108 if (ch->ih != NULL) {
109 ch->ih(ch->ih_user, i);
137 struct edma_channel *ch;
139 ch = &edma_map[chnum];
140 ch->enabled = 0;
142 dmamux_configure(ch->mux_num, ch->mux_src, ch->mux_chn, 0);
150 struct edma_channel *ch;
166 ch = NULL;
168 ch = &edma_map[i];
169 if (ch->enabled == 0) {
172 ch = NULL;
175 if (ch == NULL) {
182 ch->enabled = 1;
183 ch->mux_num = mux_num;
184 ch->mux_src = mux_src;
185 ch->mux_chn = (chnum - channel_first); /* 0 to 15 */
187 dmamux_configure(ch->mux_num, ch->mux_src, ch->mux_chn, 1);
207 struct edma_channel *ch;
213 ch = &edma_map[chnum];
214 ch->ih = tcd->ih;
215 ch->ih_user = tcd->ih_user;