Searched refs:hecc_write (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/can/ |
H A D | ti_hecc.c | 228 static inline void hecc_write(struct ti_hecc_priv *priv, u32 reg, u32 val) in hecc_write() 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() 275 hecc_write(priv, HECC_CANBTC, can_btc); in ti_hecc_set_btc() 321 hecc_write(priv, HECC_CANMC, 0); in ti_hecc_reset() 337 hecc_write(priv, HECC_CANTIOC, HECC_CANTIOC_EN); in ti_hecc_reset() 338 hecc_write(priv, HECC_CANRIOC, HECC_CANRIOC_EN); in ti_hecc_reset() 341 hecc_write(priv, HECC_CANTA, HECC_SET_REG); in ti_hecc_reset() 342 hecc_write(priv, HECC_CANRMP, HECC_SET_REG); in ti_hecc_reset() 343 hecc_write(priv, HECC_CANGIF0, HECC_SET_REG); in ti_hecc_reset() [all …]
|