Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/can/sja1000/
Dsja1000.h153 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 */
[all …]