Lines Matching refs:base
48 GPT_Type *base = get_base(dev); in mcux_gpt_start() local
50 GPT_StartTimer(base); in mcux_gpt_start()
57 GPT_Type *base = get_base(dev); in mcux_gpt_stop() local
59 GPT_StopTimer(base); in mcux_gpt_stop()
66 GPT_Type *base = get_base(dev); in mcux_gpt_get_value() local
68 *ticks = GPT_GetCurrentTimerCount(base); in mcux_gpt_get_value()
75 GPT_Type *base = get_base(dev); in mcux_gpt_set_alarm() local
78 uint32_t current = GPT_GetCurrentTimerCount(base); in mcux_gpt_set_alarm()
97 GPT_SetOutputCompareValue(base, kGPT_OutputCompare_Channel1, in mcux_gpt_set_alarm()
99 GPT_EnableInterrupts(base, kGPT_OutputCompare1InterruptEnable); in mcux_gpt_set_alarm()
106 GPT_Type *base = get_base(dev); in mcux_gpt_cancel_alarm() local
114 GPT_DisableInterrupts(base, kGPT_OutputCompare1InterruptEnable); in mcux_gpt_cancel_alarm()
122 GPT_Type *base = get_base(dev); in mcux_gpt_isr() local
124 uint32_t current = GPT_GetCurrentTimerCount(base); in mcux_gpt_isr()
127 status = GPT_GetStatusFlags(base, kGPT_OutputCompare1Flag | in mcux_gpt_isr()
129 GPT_ClearStatusFlags(base, status); in mcux_gpt_isr()
133 GPT_DisableInterrupts(base, in mcux_gpt_isr()
147 GPT_Type *base = get_base(dev); in mcux_gpt_get_pending_int() local
149 return GPT_GetStatusFlags(base, kGPT_OutputCompare1Flag); in mcux_gpt_get_pending_int()
156 GPT_Type *base = get_base(dev); in mcux_gpt_set_top_value() local
168 GPT_EnableInterrupts(base, kGPT_RollOverFlagInterruptEnable); in mcux_gpt_set_top_value()
185 GPT_Type *base; in mcux_gpt_init() local
210 base = get_base(dev); in mcux_gpt_init()
211 GPT_Init(base, &gptConfig); in mcux_gpt_init()