Lines Matching refs:of_chan
498 static int axi_dmac_parse_chan_dt(struct device_node *of_chan, in axi_dmac_parse_chan_dt() argument
504 ret = of_property_read_u32(of_chan, "reg", &val); in axi_dmac_parse_chan_dt()
512 ret = of_property_read_u32(of_chan, "adi,source-bus-type", &val); in axi_dmac_parse_chan_dt()
519 ret = of_property_read_u32(of_chan, "adi,destination-bus-type", &val); in axi_dmac_parse_chan_dt()
526 ret = of_property_read_u32(of_chan, "adi,source-bus-width", &val); in axi_dmac_parse_chan_dt()
531 ret = of_property_read_u32(of_chan, "adi,destination-bus-width", &val); in axi_dmac_parse_chan_dt()
536 ret = of_property_read_u32(of_chan, "adi,length-width", &val); in axi_dmac_parse_chan_dt()
556 chan->hw_cyclic = of_property_read_bool(of_chan, "adi,cyclic"); in axi_dmac_parse_chan_dt()
557 chan->hw_2d = of_property_read_bool(of_chan, "adi,2d"); in axi_dmac_parse_chan_dt()
564 struct device_node *of_channels, *of_chan; in axi_dmac_probe() local
593 for_each_child_of_node(of_channels, of_chan) { in axi_dmac_probe()
594 ret = axi_dmac_parse_chan_dt(of_chan, &dmac->chan); in axi_dmac_probe()
596 of_node_put(of_chan); in axi_dmac_probe()