Lines Matching refs:of
99 static void sp_populate_of(struct sja1000_priv *priv, struct device_node *of) in sp_populate_of() argument
104 err = of_property_read_u32(of, "reg-io-width", &prop); in sp_populate_of()
123 err = of_property_read_u32(of, "nxp,external-clock-frequency", &prop); in sp_populate_of()
129 err = of_property_read_u32(of, "nxp,tx-output-mode", &prop); in sp_populate_of()
135 err = of_property_read_u32(of, "nxp,tx-output-config", &prop); in sp_populate_of()
141 err = of_property_read_u32(of, "nxp,clock-out-frequency", &prop); in sp_populate_of()
153 if (!of_property_read_bool(of, "nxp,no-comparator-bypass")) in sp_populate_of()
165 struct device_node *of = pdev->dev.of_node; in sp_probe() local
168 if (!pdata && !of) { in sp_probe()
186 if (of) in sp_probe()
187 irq = irq_of_parse_and_map(of, 0); in sp_probe()
211 if (of) in sp_probe()
212 sp_populate_of(priv, of); in sp_probe()
249 MODULE_DEVICE_TABLE(of, sp_of_table);