Lines Matching refs:chan_np
1265 struct device_node *chan_np; in qmc_of_parse_chans() local
1272 for_each_available_child_of_node(np, chan_np) { in qmc_of_parse_chans()
1273 ret = of_property_read_u32(chan_np, "reg", &chan_id); in qmc_of_parse_chans()
1275 dev_err(qmc->dev, "%pOF: failed to read reg\n", chan_np); in qmc_of_parse_chans()
1276 of_node_put(chan_np); in qmc_of_parse_chans()
1280 dev_err(qmc->dev, "%pOF: Invalid chan_id\n", chan_np); in qmc_of_parse_chans()
1281 of_node_put(chan_np); in qmc_of_parse_chans()
1287 of_node_put(chan_np); in qmc_of_parse_chans()
1296 ret = of_property_read_u64(chan_np, "fsl,tx-ts-mask", &ts_mask); in qmc_of_parse_chans()
1299 chan_np); in qmc_of_parse_chans()
1300 of_node_put(chan_np); in qmc_of_parse_chans()
1306 ret = of_property_read_u64(chan_np, "fsl,rx-ts-mask", &ts_mask); in qmc_of_parse_chans()
1309 chan_np); in qmc_of_parse_chans()
1310 of_node_put(chan_np); in qmc_of_parse_chans()
1317 ret = of_property_read_string(chan_np, "fsl,operational-mode", &mode); in qmc_of_parse_chans()
1320 chan_np); in qmc_of_parse_chans()
1321 of_node_put(chan_np); in qmc_of_parse_chans()
1330 chan_np, mode); in qmc_of_parse_chans()
1331 of_node_put(chan_np); in qmc_of_parse_chans()
1335 chan->is_reverse_data = of_property_read_bool(chan_np, in qmc_of_parse_chans()