Home
last modified time | relevance | path

Searched refs:of_chan (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/drivers/dma/
Ddma-axi-dmac.c748 static int axi_dmac_parse_chan_dt(struct device_node *of_chan, in axi_dmac_parse_chan_dt() argument
754 ret = of_property_read_u32(of_chan, "reg", &val); in axi_dmac_parse_chan_dt()
762 ret = of_property_read_u32(of_chan, "adi,source-bus-type", &val); in axi_dmac_parse_chan_dt()
769 ret = of_property_read_u32(of_chan, "adi,destination-bus-type", &val); in axi_dmac_parse_chan_dt()
776 ret = of_property_read_u32(of_chan, "adi,source-bus-width", &val); in axi_dmac_parse_chan_dt()
781 ret = of_property_read_u32(of_chan, "adi,destination-bus-width", &val); in axi_dmac_parse_chan_dt()
793 struct device_node *of_channels, *of_chan; in axi_dmac_parse_dt() local
800 for_each_child_of_node(of_channels, of_chan) { in axi_dmac_parse_dt()
801 ret = axi_dmac_parse_chan_dt(of_chan, &dmac->chan); in axi_dmac_parse_dt()
803 of_node_put(of_chan); in axi_dmac_parse_dt()