Lines Matching refs:of_chan
543 static int axi_dmac_parse_chan_dt(struct device_node *of_chan, in axi_dmac_parse_chan_dt() argument
549 ret = of_property_read_u32(of_chan, "reg", &val); in axi_dmac_parse_chan_dt()
557 ret = of_property_read_u32(of_chan, "adi,source-bus-type", &val); in axi_dmac_parse_chan_dt()
564 ret = of_property_read_u32(of_chan, "adi,destination-bus-type", &val); in axi_dmac_parse_chan_dt()
571 ret = of_property_read_u32(of_chan, "adi,source-bus-width", &val); in axi_dmac_parse_chan_dt()
576 ret = of_property_read_u32(of_chan, "adi,destination-bus-width", &val); in axi_dmac_parse_chan_dt()
581 ret = of_property_read_u32(of_chan, "adi,length-width", &val); in axi_dmac_parse_chan_dt()
601 chan->hw_cyclic = of_property_read_bool(of_chan, "adi,cyclic"); in axi_dmac_parse_chan_dt()
602 chan->hw_2d = of_property_read_bool(of_chan, "adi,2d"); in axi_dmac_parse_chan_dt()
609 struct device_node *of_channels, *of_chan; in axi_dmac_probe() local
640 for_each_child_of_node(of_channels, of_chan) { in axi_dmac_probe()
641 ret = axi_dmac_parse_chan_dt(of_chan, &dmac->chan); in axi_dmac_probe()
643 of_node_put(of_chan); in axi_dmac_probe()