Lines Matching refs:chan_num
412 int chan_num = -1; in knav_dma_open_channel() local
420 chan_num = of_channel_match_helper(dev->of_node, name, &instance); in knav_dma_open_channel()
421 if (chan_num < 0) { in knav_dma_open_channel()
429 "unknown", chan_num, instance); in knav_dma_open_channel()
452 if (iter2->channel == chan_num) { in knav_dma_open_channel()
457 if (iter2->flow == chan_num) { in knav_dma_open_channel()
465 chan_num, instance); in knav_dma_open_channel()
472 chan_num); in knav_dma_open_channel()
484 chan_num, instance); in knav_dma_open_channel()
569 unsigned chan_num) in pktdma_init_chan() argument
587 ret = pktdma_init_tx_chan(chan, chan_num); in pktdma_init_chan()
590 ret = pktdma_init_rx_chan(chan, chan_num); in pktdma_init_chan()
592 dev_err(dev, "channel(%d) direction unknown\n", chan_num); in pktdma_init_chan()