Lines Matching defs:priv

228 static inline int get_tx_head_mb(struct ti_hecc_priv *priv)  in get_tx_head_mb()
233 static inline int get_tx_tail_mb(struct ti_hecc_priv *priv) in get_tx_tail_mb()
238 static inline int get_tx_head_prio(struct ti_hecc_priv *priv) in get_tx_head_prio()
243 static inline void hecc_write_lam(struct ti_hecc_priv *priv, u32 mbxno, u32 val) in hecc_write_lam()
248 static inline void hecc_write_mbx(struct ti_hecc_priv *priv, u32 mbxno, in hecc_write_mbx()
255 static inline u32 hecc_read_mbx(struct ti_hecc_priv *priv, u32 mbxno, u32 reg) in hecc_read_mbx()
261 static inline void hecc_write(struct ti_hecc_priv *priv, u32 reg, u32 val) in hecc_write()
266 static inline u32 hecc_read(struct ti_hecc_priv *priv, int reg) in hecc_read()
271 static inline void hecc_set_bit(struct ti_hecc_priv *priv, int reg, in hecc_set_bit()
277 static inline void hecc_clear_bit(struct ti_hecc_priv *priv, int reg, in hecc_clear_bit()
283 static inline u32 hecc_get_bit(struct ti_hecc_priv *priv, int reg, u32 bit_mask) in hecc_get_bit()
288 static int ti_hecc_set_btc(struct ti_hecc_priv *priv) in ti_hecc_set_btc()
314 static void ti_hecc_transceiver_switch(const struct ti_hecc_priv *priv, in ti_hecc_transceiver_switch()
324 struct ti_hecc_priv *priv = netdev_priv(ndev); in ti_hecc_reset() local
386 struct ti_hecc_priv *priv = netdev_priv(ndev); in ti_hecc_start() local
426 struct ti_hecc_priv *priv = netdev_priv(ndev); in ti_hecc_stop() local
455 struct ti_hecc_priv *priv = netdev_priv(ndev); in ti_hecc_get_berr_counter() local
487 struct ti_hecc_priv *priv = netdev_priv(ndev); in ti_hecc_xmit() local
544 static int ti_hecc_rx_pkt(struct ti_hecc_priv *priv, int mbxno) in ti_hecc_rx_pkt()
616 struct ti_hecc_priv *priv = netdev_priv(ndev); in ti_hecc_rx_poll() local
663 struct ti_hecc_priv *priv = netdev_priv(ndev); in ti_hecc_error() local
760 struct ti_hecc_priv *priv = netdev_priv(ndev); in ti_hecc_interrupt() local
825 struct ti_hecc_priv *priv = netdev_priv(ndev); in ti_hecc_open() local
857 struct ti_hecc_priv *priv = netdev_priv(ndev); in ti_hecc_close() local
881 struct ti_hecc_priv *priv; in ti_hecc_probe() local
984 struct ti_hecc_priv *priv = netdev_priv(ndev); in ti_hecc_remove() local
1002 struct ti_hecc_priv *priv = netdev_priv(dev); in ti_hecc_suspend() local
1020 struct ti_hecc_priv *priv = netdev_priv(dev); in ti_hecc_resume() local