Searched refs:of_chan (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/dma/ |
H A D | dma-axi-dmac.c | 752 static int axi_dmac_parse_chan_dt(struct device_node *of_chan, in axi_dmac_parse_chan_dt() argument 758 ret = of_property_read_u32(of_chan, "reg", &val); in axi_dmac_parse_chan_dt() 766 ret = of_property_read_u32(of_chan, "adi,source-bus-type", &val); in axi_dmac_parse_chan_dt() 773 ret = of_property_read_u32(of_chan, "adi,destination-bus-type", &val); in axi_dmac_parse_chan_dt() 780 ret = of_property_read_u32(of_chan, "adi,source-bus-width", &val); in axi_dmac_parse_chan_dt() 785 ret = of_property_read_u32(of_chan, "adi,destination-bus-width", &val); in axi_dmac_parse_chan_dt() 797 struct device_node *of_channels, *of_chan; in axi_dmac_parse_dt() local 804 for_each_child_of_node(of_channels, of_chan) { in axi_dmac_parse_dt() 805 ret = axi_dmac_parse_chan_dt(of_chan, &dmac->chan); in axi_dmac_parse_dt() 807 of_node_put(of_chan); in axi_dmac_parse_dt()
|