Lines Matching refs:pin_num
82 uint32_t pin_num = 0u; in gpio_mec5_configure() local
90 ret = mec_hal_gpio_pin_num(port_num, pin, &pin_num); in gpio_mec5_configure()
106 ret = mec_hal_gpio_set_property(pin_num, MEC_GPIO_PWRGT_PROP_ID, in gpio_mec5_configure()
114 ret = mec_hal_gpio_set_props(pin_num, cfg_props_init, ARRAY_SIZE(cfg_props_init)); in gpio_mec5_configure()
138 mec_hal_gpio_pad_in(pin_num, &props[idx].val); in gpio_mec5_configure()
162 ret = mec_hal_gpio_set_props(pin_num, props, idx); in gpio_mec5_configure()
168 ret = mec_hal_gpio_set_property(pin_num, MEC_GPIO_OSEL_PROP_ID, MEC_GPIO_PROP_OSEL_PAROUT); in gpio_mec5_configure()
231 uint32_t pin_num = (uint32_t)MEC_PIN_MAX; in gpio_mec5_pin_interrupt_configure() local
251 mec_hal_gpio_pin_num(port_num, pin, &pin_num); in gpio_mec5_pin_interrupt_configure()
252 ret = mec_hal_gpio_set_props(pin_num, icfg_props_init, ARRAY_SIZE(icfg_props_init)); in gpio_mec5_pin_interrupt_configure()
258 ret = mec_hal_gpio_get_property(pin_num, MEC_GPIO_IDET_PROP_ID, &idet_curr); 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()
274 ret = mec_hal_gpio_pin_ia_status_clr(pin_num); in gpio_mec5_pin_interrupt_configure()
367 uint32_t pin_num = 0u, port_num = 0u; in gpio_mec5_get_direction() local
384 mec_hal_gpio_pin_num(port_num, pin, &pin_num); in gpio_mec5_get_direction()
385 mec_hal_gpio_get_property(pin_num, MEC_GPIO_PWRGT_PROP_ID, &pwr_gate); in gpio_mec5_get_direction()
386 mec_hal_gpio_get_property(pin_num, MEC_GPIO_DIR_PROP_ID, &dir); in gpio_mec5_get_direction()
387 mec_hal_gpio_get_property(pin_num, MEC_GPIO_INPAD_DIS_PROP_ID, &in_pad_dis); in gpio_mec5_get_direction()