_get_stm32_gate
hw = _get_stm32_gate(dev, base, cfg, lock);
gate_hw = _get_stm32_gate(dev, base, cfg->gate, lock);