Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/dma/
Ddma-axi-dmac.c883 static int axi_dmac_parse_chan_dt(struct device_node *of_chan, in axi_dmac_parse_chan_dt() argument
889 ret = of_property_read_u32(of_chan, "reg", &val); in axi_dmac_parse_chan_dt()
897 ret = of_property_read_u32(of_chan, "adi,source-bus-type", &val); in axi_dmac_parse_chan_dt()
904 ret = of_property_read_u32(of_chan, "adi,destination-bus-type", &val); in axi_dmac_parse_chan_dt()
911 ret = of_property_read_u32(of_chan, "adi,source-bus-width", &val); in axi_dmac_parse_chan_dt()
916 ret = of_property_read_u32(of_chan, "adi,destination-bus-width", &val); in axi_dmac_parse_chan_dt()
928 struct device_node *of_channels, *of_chan; in axi_dmac_parse_dt() local
935 for_each_child_of_node(of_channels, of_chan) { in axi_dmac_parse_dt()
936 ret = axi_dmac_parse_chan_dt(of_chan, &dmac->chan); in axi_dmac_parse_dt()
938 of_node_put(of_chan); in axi_dmac_parse_dt()