Lines Matching refs:sja1000_priv
34 void (*init)(struct sja1000_priv *priv, struct device_node *of);
41 static u8 sp_read_reg8(const struct sja1000_priv *priv, int reg) in sp_read_reg8()
46 static void sp_write_reg8(const struct sja1000_priv *priv, int reg, u8 val) in sp_write_reg8()
51 static u8 sp_read_reg16(const struct sja1000_priv *priv, int reg) in sp_read_reg16()
56 static void sp_write_reg16(const struct sja1000_priv *priv, int reg, u8 val) in sp_write_reg16()
61 static u8 sp_read_reg32(const struct sja1000_priv *priv, int reg) in sp_read_reg32()
66 static void sp_write_reg32(const struct sja1000_priv *priv, int reg, u8 val) in sp_write_reg32()
71 static u8 sp_technologic_read_reg16(const struct sja1000_priv *priv, int reg) in sp_technologic_read_reg16()
85 static void sp_technologic_write_reg16(const struct sja1000_priv *priv, in sp_technologic_write_reg16()
97 static void sp_technologic_init(struct sja1000_priv *priv, struct device_node *of) in sp_technologic_init()
106 static void sp_rzn1_init(struct sja1000_priv *priv, struct device_node *of) in sp_rzn1_init()
111 static void sp_populate(struct sja1000_priv *priv, in sp_populate()
137 static void sp_populate_of(struct sja1000_priv *priv, struct device_node *of) in sp_populate_of()
219 struct sja1000_priv *priv; in sp_probe()