Searched refs:mbxno (Results 1 – 1 of 1) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/net/can/ |
| H A D | ti_hecc.c | 217 static inline void hecc_write_lam(struct ti_hecc_priv *priv, u32 mbxno, u32 val) in hecc_write_lam() argument 219 __raw_writel(val, priv->hecc_ram + mbxno * 4); in hecc_write_lam() 222 static inline u32 hecc_read_stamp(struct ti_hecc_priv *priv, u32 mbxno) in hecc_read_stamp() argument 224 return __raw_readl(priv->hecc_ram + HECC_CANMOTS + mbxno * 4); in hecc_read_stamp() 227 static inline void hecc_write_mbx(struct ti_hecc_priv *priv, u32 mbxno, in hecc_write_mbx() argument 230 __raw_writel(val, priv->mbx + mbxno * 0x10 + reg); in hecc_write_mbx() 233 static inline u32 hecc_read_mbx(struct ti_hecc_priv *priv, u32 mbxno, u32 reg) in hecc_read_mbx() argument 235 return __raw_readl(priv->mbx + mbxno * 0x10 + reg); in hecc_read_mbx() 365 u32 cnt, mbxno, mbx_mask; in ti_hecc_start() local 378 mbxno = HECC_MAX_MAILBOXES - 1 - cnt; in ti_hecc_start() [all …]
|