D | sja1000_platform.c | 46 int (*init)(struct sja1000_priv *priv, struct device_node *of); 109 static int sp_technologic_init(struct sja1000_priv *priv, struct device_node *of) in sp_technologic_init() argument 146 static void sp_populate_of(struct sja1000_priv *priv, struct device_node *of) in sp_populate_of() argument 151 err = of_property_read_u32(of, "reg-io-width", &prop); in sp_populate_of() 170 err = of_property_read_u32(of, "nxp,external-clock-frequency", &prop); in sp_populate_of() 176 err = of_property_read_u32(of, "nxp,tx-output-mode", &prop); in sp_populate_of() 182 err = of_property_read_u32(of, "nxp,tx-output-config", &prop); in sp_populate_of() 188 err = of_property_read_u32(of, "nxp,clock-out-frequency", &prop); in sp_populate_of() 200 if (!of_property_read_bool(of, "nxp,no-comparator-bypass")) in sp_populate_of() 214 MODULE_DEVICE_TABLE(of, sp_of_table); [all …]
|