Lines Matching refs:hws
526 struct clk_hw **hws; in xvcu_register_clock_provider() local
530 data = devm_kzalloc(dev, struct_size(data, hws, CLK_XVCU_NUM_CLOCKS), GFP_KERNEL); in xvcu_register_clock_provider()
534 hws = data->hws; in xvcu_register_clock_provider()
553 hws[CLK_XVCU_ENC_CORE] = in xvcu_register_clock_provider()
558 hws[CLK_XVCU_ENC_MCU] = in xvcu_register_clock_provider()
563 hws[CLK_XVCU_DEC_CORE] = in xvcu_register_clock_provider()
568 hws[CLK_XVCU_DEC_MCU] = in xvcu_register_clock_provider()
580 struct clk_hw **hws = data->hws; in xvcu_unregister_clock_provider() local
582 if (!IS_ERR_OR_NULL(hws[CLK_XVCU_DEC_MCU])) in xvcu_unregister_clock_provider()
583 xvcu_clk_hw_unregister_leaf(hws[CLK_XVCU_DEC_MCU]); in xvcu_unregister_clock_provider()
584 if (!IS_ERR_OR_NULL(hws[CLK_XVCU_DEC_CORE])) in xvcu_unregister_clock_provider()
585 xvcu_clk_hw_unregister_leaf(hws[CLK_XVCU_DEC_CORE]); in xvcu_unregister_clock_provider()
586 if (!IS_ERR_OR_NULL(hws[CLK_XVCU_ENC_MCU])) in xvcu_unregister_clock_provider()
587 xvcu_clk_hw_unregister_leaf(hws[CLK_XVCU_ENC_MCU]); in xvcu_unregister_clock_provider()
588 if (!IS_ERR_OR_NULL(hws[CLK_XVCU_ENC_CORE])) in xvcu_unregister_clock_provider()
589 xvcu_clk_hw_unregister_leaf(hws[CLK_XVCU_ENC_CORE]); in xvcu_unregister_clock_provider()