Searched refs:mbxno (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/net/can/ |
D | ti_hecc.c | 207 static inline void hecc_write_lam(struct ti_hecc_priv *priv, u32 mbxno, u32 val) in hecc_write_lam() argument 209 __raw_writel(val, priv->hecc_ram + mbxno * 4); in hecc_write_lam() 212 static inline u32 hecc_read_stamp(struct ti_hecc_priv *priv, u32 mbxno) in hecc_read_stamp() argument 214 return __raw_readl(priv->hecc_ram + HECC_CANMOTS + mbxno * 4); in hecc_read_stamp() 217 static inline void hecc_write_mbx(struct ti_hecc_priv *priv, u32 mbxno, in hecc_write_mbx() argument 220 __raw_writel(val, priv->mbx + mbxno * 0x10 + reg); in hecc_write_mbx() 223 static inline u32 hecc_read_mbx(struct ti_hecc_priv *priv, u32 mbxno, u32 reg) in hecc_read_mbx() argument 225 return __raw_readl(priv->mbx + mbxno * 0x10 + reg); in hecc_read_mbx() 355 u32 cnt, mbxno, mbx_mask; in ti_hecc_start() local 368 mbxno = HECC_MAX_MAILBOXES - 1 - cnt; in ti_hecc_start() [all …]
|
D | bxcan.c | 362 unsigned int mbxno, u32 *timestamp, in bxcan_mailbox_read() argument
|