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