Lines Matching refs:mgate
315 struct stm32_mgate *mgate;
365 struct stm32_mgate *mgate;
545 struct stm32_clk_mgate *mgate;
549 if (cfg->mgate) {
550 mgate = devm_kzalloc(dev, sizeof(*mgate), GFP_KERNEL);
551 if (!mgate)
554 mgate->gate.reg = cfg->gate->reg_off + base;
555 mgate->gate.bit_idx = cfg->gate->bit_idx;
556 mgate->gate.flags = cfg->gate->gate_flags;
557 mgate->gate.lock = lock;
558 mgate->mask = BIT(cfg->mgate->nbr_clk++);
560 mgate->mgate = cfg->mgate;
562 gate_hw = &mgate->gate.hw;
683 clk_mgate->mgate->flag |= clk_mgate->mask;
695 clk_mgate->mgate->flag &= ~clk_mgate->mask;
697 if (clk_mgate->mgate->flag == 0)
1289 .mgate = _mgate,\
1517 .mgate = _mgate,\