Lines Matching refs:mbx_mask
355 u32 cnt, mbxno, mbx_mask; in ti_hecc_start() local
369 mbx_mask = BIT(mbxno); in ti_hecc_start()
370 hecc_clear_bit(priv, HECC_CANME, mbx_mask); in ti_hecc_start()
373 hecc_set_bit(priv, HECC_CANMD, mbx_mask); in ti_hecc_start()
374 hecc_set_bit(priv, HECC_CANME, mbx_mask); in ti_hecc_start()
375 hecc_set_bit(priv, HECC_CANMIM, mbx_mask); in ti_hecc_start()
386 mbx_mask = ~BIT(HECC_RX_LAST_MBOX); in ti_hecc_start()
387 hecc_write(priv, HECC_CANOPC, mbx_mask); in ti_hecc_start()
469 u32 mbxno, mbx_mask, data; in ti_hecc_xmit() local
476 mbx_mask = BIT(mbxno); in ti_hecc_xmit()
478 if (unlikely(hecc_read(priv, HECC_CANME) & mbx_mask)) { in ti_hecc_xmit()
514 hecc_set_bit(priv, HECC_CANME, mbx_mask); in ti_hecc_xmit()
517 hecc_write(priv, HECC_CANTRS, mbx_mask); in ti_hecc_xmit()
535 u32 data, mbx_mask; in ti_hecc_mailbox_read() local
537 mbx_mask = BIT(mbxno); in ti_hecc_mailbox_read()
583 hecc_read(priv, HECC_CANRML) & mbx_mask)) in ti_hecc_mailbox_read()
587 hecc_write(priv, HECC_CANRMP, mbx_mask); in ti_hecc_mailbox_read()
672 u32 mbxno, mbx_mask, int_status, err_status, stamp; in ti_hecc_interrupt() local
741 mbx_mask = BIT(mbxno); in ti_hecc_interrupt()
742 if (!(mbx_mask & hecc_read(priv, HECC_CANTA))) in ti_hecc_interrupt()
744 hecc_write(priv, HECC_CANTA, mbx_mask); in ti_hecc_interrupt()
746 hecc_clear_bit(priv, HECC_CANME, mbx_mask); in ti_hecc_interrupt()