Home
last modified time | relevance | path

Searched refs:hecc_read (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/can/
H A Dti_hecc.c243 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(pri in ti_hecc_error()
[all...]
/kernel/linux/linux-6.6/drivers/net/can/
H A Dti_hecc.c233 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(pri in ti_hecc_error()
[all...]

Completed in 4 milliseconds