Lines Matching refs:hecc_write
260 static inline void hecc_write(struct ti_hecc_priv *priv, u32 reg, u32 val)
273 hecc_write(priv, reg, hecc_read(priv, reg) | bit_mask);
279 hecc_write(priv, reg, hecc_read(priv, reg) & ~bit_mask);
316 hecc_write(priv, HECC_CANBTC, can_btc);
359 hecc_write(priv, HECC_CANMC, 0);
377 hecc_write(priv, HECC_CANTIOC, HECC_CANTIOC_EN);
378 hecc_write(priv, HECC_CANRIOC, HECC_CANRIOC_EN);
381 hecc_write(priv, HECC_CANTA, HECC_SET_REG);
382 hecc_write(priv, HECC_CANRMP, HECC_SET_REG);
383 hecc_write(priv, HECC_CANGIF0, HECC_SET_REG);
384 hecc_write(priv, HECC_CANGIF1, HECC_SET_REG);
385 hecc_write(priv, HECC_CANME, 0);
386 hecc_write(priv, HECC_CANMD, 0);
404 hecc_write(priv, HECC_CANGAM, HECC_SET_REG);
419 hecc_write(priv, HECC_CANOPC, HECC_SET_REG);
421 hecc_write(priv, HECC_CANMIL, HECC_SET_REG);
422 hecc_write(priv, HECC_CANGIM, HECC_CANGIM_DEF_MASK |
425 hecc_write(priv, HECC_CANMIL, 0);
426 hecc_write(priv, HECC_CANGIM,
437 hecc_write(priv, HECC_CANGIM, 0);
438 hecc_write(priv, HECC_CANMIM, 0);
439 hecc_write(priv, HECC_CANME, 0);
536 hecc_write(priv, HECC_CANTRS, mbx_mask);
577 hecc_write(priv, HECC_CANRMP, mbx_mask);
638 hecc_write(priv, HECC_CANME, mbx_mask);
652 hecc_write(priv, HECC_CANMIM, mbx_mask);
715 hecc_write(priv, HECC_CANGIM, 0);
779 hecc_write(priv, HECC_CANTA, mbx_mask);
801 hecc_write(priv, HECC_CANMIM, ack);
808 hecc_write(priv, HECC_CANGIF1, HECC_SET_REG);
811 hecc_write(priv, HECC_CANGIF0, HECC_SET_REG);