Searched refs:hecc_read (Results 1 – 1 of 1) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/net/can/ |
| H A D | ti_hecc.c | 243 static inline u32 hecc_read(struct ti_hecc_priv *priv, int reg) in hecc_read() function 251 hecc_write(priv, reg, hecc_read(priv, reg) | bit_mask); in hecc_set_bit() 257 hecc_write(priv, reg, hecc_read(priv, reg) & ~bit_mask); in hecc_clear_bit() 262 return (hecc_read(priv, reg) & bit_mask) ? 1 : 0; in hecc_get_bit() 448 bec->txerr = hecc_read(priv, HECC_CANTEC); in ti_hecc_get_berr_counter() 449 bec->rxerr = hecc_read(priv, HECC_CANREC); in ti_hecc_get_berr_counter() 488 if (unlikely(hecc_read(priv, HECC_CANME) & mbx_mask)) { in ti_hecc_xmit() 520 if ((hecc_read(priv, HECC_CANME) & BIT(get_tx_head_mb(priv))) || in ti_hecc_xmit() 593 hecc_read(priv, HECC_CANRML) & mbx_mask)) in ti_hecc_mailbox_read() 635 timestamp = hecc_read(priv, HECC_CANLNT); in ti_hecc_error() [all …]
|