Searched refs:hecc_read (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/can/ |
H A D | ti_hecc.c | 233 static inline u32 hecc_read(struct ti_hecc_priv *priv, int reg) in hecc_read() function 241 hecc_write(priv, reg, hecc_read(priv, reg) | bit_mask); in hecc_set_bit() 247 hecc_write(priv, reg, hecc_read(priv, reg) & ~bit_mask); in hecc_clear_bit() 252 return (hecc_read(priv, reg) & bit_mask) ? 1 : 0; in hecc_get_bit() 438 bec->txerr = hecc_read(priv, HECC_CANTEC); in ti_hecc_get_berr_counter() 439 bec->rxerr = hecc_read(priv, HECC_CANREC); in ti_hecc_get_berr_counter() 478 if (unlikely(hecc_read(priv, HECC_CANME) & mbx_mask)) { in ti_hecc_xmit() 510 if ((hecc_read(priv, HECC_CANME) & BIT(get_tx_head_mb(priv))) || in ti_hecc_xmit() 583 hecc_read(priv, HECC_CANRML) & mbx_mask)) in ti_hecc_mailbox_read() 625 timestamp = hecc_read(priv, HECC_CANLNT); in ti_hecc_error() [all …]
|