Searched refs:hecc_write (Results 1 – 1 of 1) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/net/can/ |
| H A D | ti_hecc.c | 238 static inline void hecc_write(struct ti_hecc_priv *priv, u32 reg, u32 val) in hecc_write() 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() 285 hecc_write(priv, HECC_CANBTC, can_btc); in ti_hecc_set_btc() 331 hecc_write(priv, HECC_CANMC, 0); in ti_hecc_reset() 347 hecc_write(priv, HECC_CANTIOC, HECC_CANTIOC_EN); in ti_hecc_reset() 348 hecc_write(priv, HECC_CANRIOC, HECC_CANRIOC_EN); in ti_hecc_reset() 351 hecc_write(priv, HECC_CANTA, HECC_SET_REG); in ti_hecc_reset() 352 hecc_write(priv, HECC_CANRMP, HECC_SET_REG); in ti_hecc_reset() 353 hecc_write(priv, HECC_CANGIF0, HECC_SET_REG); in ti_hecc_reset() [all …]
|