Searched defs:sja1000_priv (Results 1 – 1 of 1) sorted by relevance
155 struct sja1000_priv { struct160 u8 (*read_reg) (const struct sja1000_priv *priv, int reg); argument161 void (*write_reg) (const struct sja1000_priv *priv, int reg, u8 val); argument162 void (*pre_irq) (const struct sja1000_priv *priv); argument163 void (*post_irq) (const struct sja1000_priv *priv); argument165 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 */[all …]