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