Lines Matching refs:mgate
308 struct stm32_mgate *mgate;
357 struct stm32_mgate *mgate;
537 struct stm32_clk_mgate *mgate;
541 if (cfg->mgate) {
542 mgate = kzalloc(sizeof(*mgate), GFP_KERNEL);
543 if (!mgate)
546 mgate->gate.reg = cfg->gate->reg_off + base;
547 mgate->gate.bit_idx = cfg->gate->bit_idx;
548 mgate->gate.flags = cfg->gate->gate_flags;
549 mgate->gate.lock = lock;
550 mgate->mask = BIT(cfg->mgate->nbr_clk++);
552 mgate->mgate = cfg->mgate;
554 gate_hw = &mgate->gate.hw;
670 clk_mgate->mgate->flag |= clk_mgate->mask;
682 clk_mgate->mgate->flag &= ~clk_mgate->mask;
684 if (clk_mgate->mgate->flag == 0)
1203 .mgate = _mgate,\
1420 .mgate = _mgate,\