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