Lines Matching refs:idet
178 uint8_t idet; in gen_gpio_ctrl_icfg() local
181 idet = MEC_GPIO_PROP_IDET_DIS; in gen_gpio_ctrl_icfg()
185 idet = MEC_GPIO_PROP_IDET_HI_LVL; in gen_gpio_ctrl_icfg()
187 idet = MEC_GPIO_PROP_IDET_LO_LVL; in gen_gpio_ctrl_icfg()
192 idet = MEC_GPIO_PROP_IDET_EDGE_DN; in gen_gpio_ctrl_icfg()
195 idet = MEC_GPIO_PROP_IDET_EDGE_UP; in gen_gpio_ctrl_icfg()
198 idet = MEC_GPIO_PROP_IDET_EDGE_BOTH; in gen_gpio_ctrl_icfg()
201 idet = MEC_GPIO_PROP_IDET_DIS; in gen_gpio_ctrl_icfg()
207 return idet; in gen_gpio_ctrl_icfg()
234 uint8_t idet = 0, idet_curr = 0; in gpio_mec5_pin_interrupt_configure() local
263 idet = gen_gpio_ctrl_icfg(mode, trig); in gpio_mec5_pin_interrupt_configure()
264 if (idet_curr == idet) { in gpio_mec5_pin_interrupt_configure()
269 ret = mec_hal_gpio_set_property(pin_num, MEC_GPIO_IDET_PROP_ID, idet); in gpio_mec5_pin_interrupt_configure()