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() argument 607 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() local 623 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() local 630 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() local 637 return cv1800_clk_checkbit(&mmux in mmux_is_enabled() 643 struct cv1800_clk_mmux *mmux = data; mmux_round_rate() local 666 struct cv1800_clk_mmux *mmux = hw_to_cv1800_clk_mmux(hw); mmux_determine_rate() local 675 struct cv1800_clk_mmux *mmux = hw_to_cv1800_clk_mmux(hw); mmux_recalc_rate() local 698 struct cv1800_clk_mmux *mmux = hw_to_cv1800_clk_mmux(hw); mmux_set_rate() local 718 struct cv1800_clk_mmux *mmux = hw_to_cv1800_clk_mmux(hw); mmux_get_parent() local 739 struct cv1800_clk_mmux *mmux = hw_to_cv1800_clk_mmux(hw); mmux_set_parent() local [all...]
309 struct stm32_mmux *mmux; member 380 struct stm32_mmux *mmux; member 488 struct stm32_clk_mmux *mmux; in _get_stm32_mux() local 492 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 in _get_stm32_mux() [all...]
1494 struct multi_mux *mmux = stm32_mp13_multi_mux[composite->mux_id]; in stm32mp13_is_multi_mux() local 1496 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()