Searched refs:CAN_BIT_POS0 (Results 1 – 8 of 8) sorted by relevance
985 ret1 = CAN_REG_VALS(can_periph, flag) & BIT(CAN_BIT_POS0(flag)); in can_interrupt_flag_get()1017 CAN_REG_VALS(can_periph, flag) = BIT(CAN_BIT_POS0(flag)); in can_interrupt_flag_clear()
988 ret1 = CAN_REG_VALS(can_periph, flag) & BIT(CAN_BIT_POS0(flag)); in can_interrupt_flag_get()1020 CAN_REG_VALS(can_periph, flag) = BIT(CAN_BIT_POS0(flag)); in can_interrupt_flag_clear()
1700 ret1 = CAN_REG_VALS(can_periph, int_flag) & BIT(CAN_BIT_POS0(int_flag));1732 CAN_REG_VALS(can_periph, int_flag) |= BIT(CAN_BIT_POS0(int_flag));
320 #define CAN_BIT_POS0(val) (((uint32_t)(val) >> 6) & 0x1FU) macro
322 #define CAN_BIT_POS0(val) (((uint32_t)(val) >> 6) & 0x1FU) macro
364 #define CAN_BIT_POS0(val) (((uint32_t)(val) >> 6) & 0x1FU) macro