Lines Matching refs:hecc_write

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()
344 hecc_write(priv, HECC_CANGIF1, HECC_SET_REG); in ti_hecc_reset()
345 hecc_write(priv, HECC_CANME, 0); in ti_hecc_reset()
346 hecc_write(priv, HECC_CANMD, 0); in ti_hecc_reset()
364 hecc_write(priv, HECC_CANGAM, HECC_SET_REG); in ti_hecc_start()
387 hecc_write(priv, HECC_CANOPC, mbx_mask); in ti_hecc_start()
391 hecc_write(priv, HECC_CANMIL, HECC_SET_REG); in ti_hecc_start()
392 hecc_write(priv, HECC_CANGIM, HECC_CANGIM_DEF_MASK | in ti_hecc_start()
395 hecc_write(priv, HECC_CANMIL, 0); in ti_hecc_start()
396 hecc_write(priv, HECC_CANGIM, in ti_hecc_start()
410 hecc_write(priv, HECC_CANGIM, 0); in ti_hecc_stop()
411 hecc_write(priv, HECC_CANMIM, 0); in ti_hecc_stop()
412 hecc_write(priv, HECC_CANME, 0); in ti_hecc_stop()
517 hecc_write(priv, HECC_CANTRS, mbx_mask); in ti_hecc_xmit()
587 hecc_write(priv, HECC_CANRMP, mbx_mask); in ti_hecc_mailbox_read()
632 hecc_write(priv, HECC_CANES, HECC_CANES_FLAGS); in ti_hecc_error()
715 hecc_write(priv, HECC_CANGIM, 0); in ti_hecc_interrupt()
744 hecc_write(priv, HECC_CANTA, mbx_mask); in ti_hecc_interrupt()
772 hecc_write(priv, HECC_CANGIF1, handled); in ti_hecc_interrupt()
775 hecc_write(priv, HECC_CANGIF0, handled); in ti_hecc_interrupt()