Searched refs:mmux (Results 1 – 3 of 3) sorted by relevance
605 static u8 mmux_get_parent_id(struct cv1800_clk_mmux *mmux) in mmux_get_parent_id() argument607 struct clk_hw *hw = &mmux->common.hw; in mmux_get_parent_id()621 struct cv1800_clk_mmux *mmux = hw_to_cv1800_clk_mmux(hw); in mmux_enable() local623 return cv1800_clk_setbit(&mmux->common, &mmux->gate); in mmux_enable()628 struct cv1800_clk_mmux *mmux = hw_to_cv1800_clk_mmux(hw); in mmux_disable() local630 cv1800_clk_clearbit(&mmux->common, &mmux->gate); in mmux_disable()635 struct cv1800_clk_mmux *mmux = hw_to_cv1800_clk_mmux(hw); in mmux_is_enabled() local637 return cv1800_clk_checkbit(&mmux->common, &mmux->gate); in mmux_is_enabled()643 struct cv1800_clk_mmux *mmux = data; in mmux_round_rate() local647 if (cv1800_clk_checkbit(&mmux->common, &mmux->bypass)) in mmux_round_rate()[all …]
309 struct stm32_mmux *mmux; member380 struct stm32_mmux *mmux; member488 struct stm32_clk_mmux *mmux; in _get_stm32_mux() local492 if (cfg->mmux) { in _get_stm32_mux()493 mmux = devm_kzalloc(dev, sizeof(*mmux), GFP_KERNEL); in _get_stm32_mux()494 if (!mmux) in _get_stm32_mux()497 mmux->mux.reg = cfg->mux->reg_off + base; in _get_stm32_mux()498 mmux->mux.shift = cfg->mux->shift; in _get_stm32_mux()499 mmux->mux.mask = (1 << cfg->mux->width) - 1; in _get_stm32_mux()500 mmux->mux.flags = cfg->mux->mux_flags; in _get_stm32_mux()[all …]
1494 struct multi_mux *mmux = stm32_mp13_multi_mux[composite->mux_id]; in stm32mp13_is_multi_mux() local1496 if (mmux) { in stm32mp13_is_multi_mux()1497 if (!(mmux->hw1 == hw)) in stm32mp13_is_multi_mux()1498 return mmux->hw1; in stm32mp13_is_multi_mux()1500 return mmux->hw2; in stm32mp13_is_multi_mux()