![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0+ */ 0002 // 0003 // OWL fixed factor clock driver 0004 // 0005 // Copyright (c) 2014 Actions Semi Inc. 0006 // Author: David Liu <liuwei@actions-semi.com> 0007 // 0008 // Copyright (c) 2018 Linaro Ltd. 0009 // Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 0010 0011 #ifndef _OWL_FIXED_FACTOR_H_ 0012 #define _OWL_FIXED_FACTOR_H_ 0013 0014 #include "owl-common.h" 0015 0016 #define OWL_FIX_FACT(_struct, _name, _parent, _mul, _div, _flags) \ 0017 struct clk_fixed_factor _struct = { \ 0018 .mult = _mul, \ 0019 .div = _div, \ 0020 .hw.init = CLK_HW_INIT(_name, \ 0021 _parent, \ 0022 &clk_fixed_factor_ops, \ 0023 _flags), \ 0024 } 0025 0026 extern const struct clk_ops clk_fixed_factor_ops; 0027 0028 #endif /* _OWL_FIXED_FACTOR_H_ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |