Lines Matching refs:at91_priv
125 struct at91_priv { struct
172 static inline int __maybe_unused at91_is_sam##_model(const struct at91_priv *priv) \
180 static inline unsigned int get_mb_rx_first(const struct at91_priv *priv) in get_mb_rx_first()
185 static inline unsigned int get_mb_rx_last(const struct at91_priv *priv) in get_mb_rx_last()
190 static inline unsigned int get_mb_rx_split(const struct at91_priv *priv) in get_mb_rx_split()
195 static inline unsigned int get_mb_rx_num(const struct at91_priv *priv) in get_mb_rx_num()
200 static inline unsigned int get_mb_rx_low_last(const struct at91_priv *priv) in get_mb_rx_low_last()
205 static inline unsigned int get_mb_rx_low_mask(const struct at91_priv *priv) in get_mb_rx_low_mask()
211 static inline unsigned int get_mb_tx_shift(const struct at91_priv *priv) in get_mb_tx_shift()
216 static inline unsigned int get_mb_tx_num(const struct at91_priv *priv) in get_mb_tx_num()
221 static inline unsigned int get_mb_tx_first(const struct at91_priv *priv) in get_mb_tx_first()
226 static inline unsigned int get_mb_tx_last(const struct at91_priv *priv) in get_mb_tx_last()
231 static inline unsigned int get_next_prio_shift(const struct at91_priv *priv) in get_next_prio_shift()
236 static inline unsigned int get_next_prio_mask(const struct at91_priv *priv) in get_next_prio_mask()
241 static inline unsigned int get_next_mb_mask(const struct at91_priv *priv) in get_next_mb_mask()
246 static inline unsigned int get_next_mask(const struct at91_priv *priv) in get_next_mask()
251 static inline unsigned int get_irq_mb_rx(const struct at91_priv *priv) in get_irq_mb_rx()
257 static inline unsigned int get_irq_mb_tx(const struct at91_priv *priv) in get_irq_mb_tx()
263 static inline unsigned int get_tx_next_mb(const struct at91_priv *priv) in get_tx_next_mb()
268 static inline unsigned int get_tx_next_prio(const struct at91_priv *priv) in get_tx_next_prio()
273 static inline unsigned int get_tx_echo_mb(const struct at91_priv *priv) in get_tx_echo_mb()
278 static inline u32 at91_read(const struct at91_priv *priv, enum at91_reg reg) in at91_read()
283 static inline void at91_write(const struct at91_priv *priv, enum at91_reg reg, in at91_write()
289 static inline void set_mb_mode_prio(const struct at91_priv *priv, in set_mb_mode_prio()
296 static inline void set_mb_mode(const struct at91_priv *priv, unsigned int mb, in set_mb_mode()
316 struct at91_priv *priv = netdev_priv(dev); in at91_setup_mailboxes()
354 const struct at91_priv *priv = netdev_priv(dev); in at91_set_bittiming()
373 const struct at91_priv *priv = netdev_priv(dev); in at91_get_berr_counter()
384 struct at91_priv *priv = netdev_priv(dev); in at91_chip_start()
414 struct at91_priv *priv = netdev_priv(dev); in at91_chip_stop()
450 struct at91_priv *priv = netdev_priv(dev); in at91_start_xmit()
510 static inline void at91_activate_rx_low(const struct at91_priv *priv) in at91_activate_rx_low()
524 static inline void at91_activate_rx_mb(const struct at91_priv *priv, in at91_activate_rx_mb()
568 const struct at91_priv *priv = netdev_priv(dev); in at91_read_mb()
674 struct at91_priv *priv = netdev_priv(dev); in at91_poll_rx()
718 struct at91_priv *priv = netdev_priv(dev); in at91_poll_err_frame()
785 const struct at91_priv *priv = netdev_priv(dev); in at91_poll()
825 struct at91_priv *priv = netdev_priv(dev); in at91_irq_tx()
870 struct at91_priv *priv = netdev_priv(dev); in at91_irq_err_state()
996 struct at91_priv *priv = netdev_priv(dev); in at91_irq_err()
1045 struct at91_priv *priv = netdev_priv(dev); in at91_irq()
1082 struct at91_priv *priv = netdev_priv(dev); in at91_open()
1120 struct at91_priv *priv = netdev_priv(dev); in at91_close()
1163 struct at91_priv *priv = netdev_priv(to_net_dev(dev)); in mb0_id_show()
1176 struct at91_priv *priv = netdev_priv(ndev); in mb0_id_store()
1253 struct at91_priv *priv; in at91_can_probe()
1293 dev = alloc_candev(sizeof(struct at91_priv), in at91_can_probe()
1352 struct at91_priv *priv = netdev_priv(dev); in at91_can_remove()