Lines Matching defs:sja1000_priv
155 struct sja1000_priv { struct
160 u8 (*read_reg) (const struct sja1000_priv *priv, int reg); argument
161 void (*write_reg) (const struct sja1000_priv *priv, int reg, u8 val); argument
162 void (*pre_irq) (const struct sja1000_priv *priv); argument
163 void (*post_irq) (const struct sja1000_priv *priv); argument
165 void *priv; /* for board-specific data */
166 struct net_device *dev;
168 void __iomem *reg_base; /* ioremap'ed address to registers */
169 unsigned long irq_flags; /* for request_irq() */
170 spinlock_t cmdreg_lock; /* lock for concurrent cmd register writes */
172 u16 flags; /* custom mode flags */
173 u8 ocr; /* output control register */
174 u8 cdr; /* clock divider register */