Lines Matching refs:mmux
298 struct stm32_mmux *mmux; member
368 struct stm32_mmux *mmux; member
476 struct stm32_clk_mmux *mmux; in _get_stm32_mux() local
480 if (cfg->mmux) { in _get_stm32_mux()
481 mmux = kzalloc(sizeof(*mmux), GFP_KERNEL); in _get_stm32_mux()
482 if (!mmux) in _get_stm32_mux()
485 mmux->mux.reg = cfg->mux->reg_off + base; in _get_stm32_mux()
486 mmux->mux.shift = cfg->mux->shift; in _get_stm32_mux()
487 mmux->mux.mask = (1 << cfg->mux->width) - 1; in _get_stm32_mux()
488 mmux->mux.flags = cfg->mux->mux_flags; in _get_stm32_mux()
489 mmux->mux.table = cfg->mux->table; in _get_stm32_mux()
490 mmux->mux.lock = lock; in _get_stm32_mux()
491 mmux->mmux = cfg->mmux; in _get_stm32_mux()
492 mux_hw = &mmux->mux.hw; in _get_stm32_mux()
493 cfg->mmux->hws[cfg->mmux->nbr_clk++] = mux_hw; in _get_stm32_mux()
715 for (n = 0; n < clk_mmux->mmux->nbr_clk; n++) in clk_mmux_set_parent()
716 if (clk_mmux->mmux->hws[n] != hw) in clk_mmux_set_parent()
717 clk_hw_reparent(clk_mmux->mmux->hws[n], hwp); in clk_mmux_set_parent()
1255 .mmux = _mmux,\
1606 .mmux = _mmux,\