Searched refs:hecc_write (Results 1 – 1 of 1) sorted by relevance
| /linux-4.4.14/drivers/net/can/ |
| D | ti_hecc.c | 261 static inline void hecc_write(struct ti_hecc_priv *priv, u32 reg, u32 val) in hecc_write() 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() 308 hecc_write(priv, HECC_CANBTC, can_btc); in ti_hecc_set_btc() 351 hecc_write(priv, HECC_CANMC, 0); in ti_hecc_reset() 369 hecc_write(priv, HECC_CANTIOC, HECC_CANTIOC_EN); in ti_hecc_reset() 370 hecc_write(priv, HECC_CANRIOC, HECC_CANRIOC_EN); in ti_hecc_reset() 373 hecc_write(priv, HECC_CANTA, HECC_SET_REG); in ti_hecc_reset() 374 hecc_write(priv, HECC_CANRMP, HECC_SET_REG); in ti_hecc_reset() 375 hecc_write(priv, HECC_CANGIF0, HECC_SET_REG); in ti_hecc_reset() [all …]
|