/* Disable one or more interrupts of PortA. Parameters: pinno: return: SUCCESS.  */
static void gpio_irq_disable(gpio_pin_handle_t pin)
/* Disable one or more interrupts of PortA. Parameters: pinno: return: SUCCESS.  */
static void gpio_irq_disable(gpio_pin_handle_t pin)
{
    dw_gpio_pin_priv_t *gpio_pin_priv = pin;
    uint32_t offset = gpio_pin_priv->idx;
    uint32_t val = gpio_control_reg->INTEN;
    val &= ~(1 << offset);
    gpio_control_reg->INTEN = val;
}