Lines Matching refs:mbx_mask
365 u32 cnt, mbxno, mbx_mask; in ti_hecc_start() local
379 mbx_mask = BIT(mbxno); in ti_hecc_start()
380 hecc_clear_bit(priv, HECC_CANME, mbx_mask); in ti_hecc_start()
383 hecc_set_bit(priv, HECC_CANMD, mbx_mask); in ti_hecc_start()
384 hecc_set_bit(priv, HECC_CANME, mbx_mask); in ti_hecc_start()
385 hecc_set_bit(priv, HECC_CANMIM, mbx_mask); in ti_hecc_start()
396 mbx_mask = ~BIT(HECC_RX_LAST_MBOX); in ti_hecc_start()
397 hecc_write(priv, HECC_CANOPC, mbx_mask); in ti_hecc_start()
479 u32 mbxno, mbx_mask, data; in ti_hecc_xmit() local
486 mbx_mask = BIT(mbxno); in ti_hecc_xmit()
488 if (unlikely(hecc_read(priv, HECC_CANME) & mbx_mask)) { in ti_hecc_xmit()
524 hecc_set_bit(priv, HECC_CANME, mbx_mask); in ti_hecc_xmit()
527 hecc_write(priv, HECC_CANTRS, mbx_mask); in ti_hecc_xmit()
545 u32 data, mbx_mask; in ti_hecc_mailbox_read() local
547 mbx_mask = BIT(mbxno); in ti_hecc_mailbox_read()
593 hecc_read(priv, HECC_CANRML) & mbx_mask)) in ti_hecc_mailbox_read()
597 hecc_write(priv, HECC_CANRMP, mbx_mask); in ti_hecc_mailbox_read()
681 u32 mbxno, mbx_mask, int_status, err_status, stamp; in ti_hecc_interrupt() local
750 mbx_mask = BIT(mbxno); in ti_hecc_interrupt()
751 if (!(mbx_mask & hecc_read(priv, HECC_CANTA))) in ti_hecc_interrupt()
753 hecc_write(priv, HECC_CANTA, mbx_mask); in ti_hecc_interrupt()
755 hecc_clear_bit(priv, HECC_CANME, mbx_mask); in ti_hecc_interrupt()