Lines Matching defs:chan_np
820 struct device_node *chan_np;
827 for_each_available_child_of_node(np, chan_np) {
828 ret = of_property_read_u32(chan_np, "reg", &chan_id);
830 dev_err(qmc->dev, "%pOF: failed to read reg\n", chan_np);
831 of_node_put(chan_np);
835 dev_err(qmc->dev, "%pOF: Invalid chan_id\n", chan_np);
836 of_node_put(chan_np);
842 of_node_put(chan_np);
850 ret = of_property_read_u64(chan_np, "fsl,tx-ts-mask", &ts_mask);
853 chan_np);
854 of_node_put(chan_np);
859 ret = of_property_read_u64(chan_np, "fsl,rx-ts-mask", &ts_mask);
862 chan_np);
863 of_node_put(chan_np);
869 ret = of_property_read_string(chan_np, "fsl,operational-mode", &mode);
872 chan_np);
873 of_node_put(chan_np);
882 chan_np, mode);
883 of_node_put(chan_np);
887 chan->is_reverse_data = of_property_read_bool(chan_np,