Searched refs:hecc_read (Results 1 – 1 of 1) sorted by relevance
| /linux-4.4.14/drivers/net/can/ |
| D | ti_hecc.c | 266 static inline u32 hecc_read(struct ti_hecc_priv *priv, int reg) in hecc_read() function 274 hecc_write(priv, reg, hecc_read(priv, reg) | bit_mask); in hecc_set_bit() 280 hecc_write(priv, reg, hecc_read(priv, reg) & ~bit_mask); in hecc_clear_bit() 285 return (hecc_read(priv, reg) & bit_mask) ? 1 : 0; in hecc_get_bit() 457 bec->txerr = hecc_read(priv, HECC_CANTEC); in ti_hecc_get_berr_counter() 458 bec->rxerr = hecc_read(priv, HECC_CANREC); in ti_hecc_get_berr_counter() 498 if (unlikely(hecc_read(priv, HECC_CANME) & mbx_mask)) { in ti_hecc_xmit() 530 if ((hecc_read(priv, HECC_CANME) & BIT(get_tx_head_mb(priv))) || in ti_hecc_xmit() 624 while ((pending_pkts = hecc_read(priv, HECC_CANRMP)) && in ti_hecc_rx_poll() 638 mbx_mask = hecc_read(priv, HECC_CANME); in ti_hecc_rx_poll() [all …]
|