Home
last modified time | relevance | path

Searched defs:sja1000_priv (Results 1 – 1 of 1) sorted by relevance

/drivers/net/can/sja1000/
Dsja1000.h154 struct sja1000_priv { struct
159 u8 (*read_reg) (const struct sja1000_priv *priv, int reg); argument
160 void (*write_reg) (const struct sja1000_priv *priv, int reg, u8 val); argument
161 void (*pre_irq) (const struct sja1000_priv *priv); argument
162 void (*post_irq) (const struct sja1000_priv *priv); argument
164 void *priv; /* for board-specific data */
165 struct net_device *dev;
167 void __iomem *reg_base; /* ioremap'ed address to registers */
168 unsigned long irq_flags; /* for request_irq() */
169 spinlock_t cmdreg_lock; /* lock for concurrent cmd register writes */
[all …]