Searched refs:SAMEx_MASK (Results 1 – 1 of 1) sorted by relevance
27 #define SAMEx_MASK(event_id) (0x1UL << ((uint32_t)(event_id) & 0x1FUL)) macro83 if (!(regs->samim[SAMEx_IDX(event_id)] & SAMEx_MASK(event_id))) { in sam_enable_event()84 regs->samim[SAMEx_IDX(event_id)] |= SAMEx_MASK(event_id); in sam_enable_event()101 if (regs->samim[SAMEx_IDX(event_id)] & SAMEx_MASK(event_id)) { in sam_disable_event()102 regs->samim[SAMEx_IDX(event_id)] &= ~SAMEx_MASK(event_id); in sam_disable_event()187 sames_val &= ~(SAMEx_MASK(SAM_EVENT_SRAM_PARTIAL_WRITE) | in sam_handle_event()188 SAMEx_MASK(SAM_EVENT_VM0_SINGLE_ECC_ERROR) | in sam_handle_event()189 SAMEx_MASK(SAM_EVENT_VM1_SINGLE_ECC_ERROR) | in sam_handle_event()190 SAMEx_MASK(SAM_EVENT_VM2_SINGLE_ECC_ERROR) | in sam_handle_event()191 SAMEx_MASK(SAM_EVENT_VM3_SINGLE_ECC_ERROR)); in sam_handle_event()[all …]