Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/dma/
H A 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()
[all...]
/kernel/linux/linux-6.6/drivers/dma/
H A Ddma-axi-dmac.c752 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()
[all...]

Completed in 3 milliseconds