/kernel/linux/linux-5.10/drivers/clk/sprd/ |
D | mux.h | 39 #define SPRD_MUX_CLK_HW_INIT_FN(_struct, _name, _parents, _table, \ argument 46 .hw.init = _fn(_name, _parents, \ 51 #define SPRD_MUX_CLK_TABLE(_struct, _name, _parents, _table, \ argument 53 SPRD_MUX_CLK_HW_INIT_FN(_struct, _name, _parents, _table, \ 57 #define SPRD_MUX_CLK(_struct, _name, _parents, _reg, \ argument 59 SPRD_MUX_CLK_TABLE(_struct, _name, _parents, NULL, \ 62 #define SPRD_MUX_CLK_DATA_TABLE(_struct, _name, _parents, _table, \ argument 64 SPRD_MUX_CLK_HW_INIT_FN(_struct, _name, _parents, _table, \ 68 #define SPRD_MUX_CLK_DATA(_struct, _name, _parents, _reg, \ argument 70 SPRD_MUX_CLK_DATA_TABLE(_struct, _name, _parents, NULL, \
|
/kernel/linux/linux-5.10/drivers/clk/sunxi-ng/ |
D | ccu_mp.h | 34 #define SUNXI_CCU_MP_WITH_MUX_GATE_POSTDIV(_struct, _name, _parents, _reg, \ argument 49 _parents, \ 55 #define SUNXI_CCU_MP_WITH_MUX_GATE(_struct, _name, _parents, _reg, \ argument 68 _parents, \ 74 #define SUNXI_CCU_MP_WITH_MUX(_struct, _name, _parents, _reg, \ argument 79 SUNXI_CCU_MP_WITH_MUX_GATE(_struct, _name, _parents, _reg, \ 103 #define SUNXI_CCU_MP_MMC_WITH_MUX_GATE(_struct, _name, _parents, _reg, \ argument 114 _parents, \
|
D | ccu_mux.h | 50 #define SUNXI_CCU_MUX_TABLE_WITH_GATE(_struct, _name, _parents, _table, \ argument 59 _parents, \ 65 #define SUNXI_CCU_MUX_WITH_GATE(_struct, _name, _parents, _reg, \ argument 67 SUNXI_CCU_MUX_TABLE_WITH_GATE(_struct, _name, _parents, NULL, \ 71 #define SUNXI_CCU_MUX(_struct, _name, _parents, _reg, _shift, _width, \ argument 73 SUNXI_CCU_MUX_TABLE_WITH_GATE(_struct, _name, _parents, NULL, \
|
D | ccu_div.h | 112 _parents, _table, \ argument 124 _parents, \ 130 #define SUNXI_CCU_M_WITH_MUX_GATE(_struct, _name, _parents, _reg, \ argument 134 _parents, NULL, \ 139 #define SUNXI_CCU_M_WITH_MUX(_struct, _name, _parents, _reg, \ argument 143 _parents, NULL, \
|
D | ccu_nkm.h | 34 #define SUNXI_CCU_NKM_WITH_MUX_GATE_LOCK(_struct, _name, _parents, _reg, \ argument 50 _parents, \
|
/kernel/linux/linux-5.10/drivers/clk/mediatek/ |
D | clk-mtk.h | 81 #define MUX_GATE_FLAGS_2(_id, _name, _parents, _reg, _shift, \ argument 91 .parent_names = _parents, \ 92 .num_parents = ARRAY_SIZE(_parents), \ 101 #define MUX_GATE_FLAGS(_id, _name, _parents, _reg, _shift, _width, \ argument 103 MUX_GATE_FLAGS_2(_id, _name, _parents, _reg, \ 110 #define MUX_GATE(_id, _name, _parents, _reg, _shift, _width, _gate) \ argument 111 MUX_GATE_FLAGS(_id, _name, _parents, _reg, _shift, _width, \ 114 #define MUX(_id, _name, _parents, _reg, _shift, _width) \ argument 115 MUX_FLAGS(_id, _name, _parents, _reg, \ 118 #define MUX_FLAGS(_id, _name, _parents, _reg, _shift, _width, _flags) { \ argument [all …]
|
D | clk-mux.h | 45 #define GATE_CLR_SET_UPD_FLAGS(_id, _name, _parents, _mux_ofs, \ argument 58 .parent_names = _parents, \ 59 .num_parents = ARRAY_SIZE(_parents), \ 64 #define MUX_GATE_CLR_SET_UPD_FLAGS(_id, _name, _parents, _mux_ofs, \ argument 67 GATE_CLR_SET_UPD_FLAGS(_id, _name, _parents, _mux_ofs, \ 72 #define MUX_GATE_CLR_SET_UPD(_id, _name, _parents, _mux_ofs, \ argument 75 MUX_GATE_CLR_SET_UPD_FLAGS(_id, _name, _parents, \
|
/kernel/linux/linux-5.10/drivers/clk/tegra/ |
D | clk-tegra-periph.c | 132 #define MUX(_name, _parents, _offset, \ argument 134 TEGRA_INIT_DATA_TABLE(_name, NULL, NULL, _parents, _offset,\ 136 _clk_num, _gate_flags, _clk_id, _parents##_idx, 0,\ 139 #define MUX_FLAGS(_name, _parents, _offset,\ argument 141 TEGRA_INIT_DATA_TABLE(_name, NULL, NULL, _parents, _offset,\ 143 _clk_num, _gate_flags, _clk_id, _parents##_idx, flags,\ 146 #define MUX8(_name, _parents, _offset, \ argument 148 TEGRA_INIT_DATA_TABLE(_name, NULL, NULL, _parents, _offset,\ 150 _clk_num, _gate_flags, _clk_id, _parents##_idx, 0,\ 153 #define MUX8_NOGATE_LOCK(_name, _parents, _offset, _clk_id, _lock) \ argument [all …]
|
D | clk-tegra30.c | 155 #define TEGRA_INIT_DATA_MUX(_name, _parents, _offset, \ argument 157 TEGRA_INIT_DATA(_name, NULL, NULL, _parents, _offset, \ 161 #define TEGRA_INIT_DATA_MUX8(_name, _parents, _offset, \ argument 163 TEGRA_INIT_DATA(_name, NULL, NULL, _parents, _offset, \ 167 #define TEGRA_INIT_DATA_INT(_name, _parents, _offset, \ argument 169 TEGRA_INIT_DATA(_name, NULL, NULL, _parents, _offset, \ 174 #define TEGRA_INIT_DATA_NODIV(_name, _parents, _offset, \ argument 177 TEGRA_INIT_DATA(_name, NULL, NULL, _parents, _offset, \
|
D | clk-tegra20.c | 133 #define TEGRA_INIT_DATA_MUX(_name, _parents, _offset, \ argument 135 TEGRA_INIT_DATA(_name, NULL, NULL, _parents, _offset, \ 140 #define TEGRA_INIT_DATA_DIV16(_name, _parents, _offset, \ argument 142 TEGRA_INIT_DATA(_name, NULL, NULL, _parents, _offset, \ 147 #define TEGRA_INIT_DATA_NODIV(_name, _parents, _offset, \ argument 150 TEGRA_INIT_DATA(_name, NULL, NULL, _parents, _offset, \
|
D | clk-tegra124.c | 97 #define MUX8_NOGATE_LOCK(_name, _parents, _offset, _clk_id, _lock) \ argument 98 TEGRA_INIT_DATA_TABLE(_name, NULL, NULL, _parents, _offset, \ 101 _parents##_idx, 0, _lock) 103 #define NODIV(_name, _parents, _offset, \ argument 106 TEGRA_INIT_DATA_TABLE(_name, NULL, NULL, _parents, _offset,\ 109 _clk_id, _parents##_idx, 0, _lock)
|
D | clk-tegra114.c | 115 #define MUX8(_name, _parents, _offset, \ argument 117 TEGRA_INIT_DATA_TABLE(_name, NULL, NULL, _parents, _offset,\ 119 _clk_num, _gate_flags, _clk_id, _parents##_idx, 0,\
|
/kernel/linux/linux-5.10/drivers/clk/pxa/ |
D | clk-pxa.h | 18 static const char *const name ## _parents[] __initconst 32 name ## _parents, \ 33 ARRAY_SIZE(name ## _parents), \ 47 name ## _parents, \ 48 ARRAY_SIZE(name ## _parents), \ 64 name ## _parents, \ 65 ARRAY_SIZE(name ## _parents), \ 81 name ## _parents, \ 82 ARRAY_SIZE(name ## _parents), \
|
/kernel/linux/linux-5.10/drivers/clk/actions/ |
D | owl-mux.h | 34 #define OWL_MUX(_struct, _name, _parents, _reg, \ argument 41 _parents, \
|
/kernel/linux/linux-5.10/drivers/clk/ |
D | clk-oxnas.c | 89 #define OXNAS_GATE(_name, _bit, _parents) \ argument 95 .parent_names = _parents, \ 96 .num_parents = ARRAY_SIZE(_parents), \
|
D | clk-stm32h7.c | 567 #define M_MCLOCF(_name, _parents, _mux_offset, _mux_shift, _mux_width, _flags)\ argument 570 .parents = _parents,\ 571 .num_parents = ARRAY_SIZE(_parents),\ 578 #define M_MCLOC(_name, _parents, _mux_offset, _mux_shift, _mux_width)\ argument 579 M_MCLOCF(_name, _parents, _mux_offset, _mux_shift, _mux_width, 0)\ 1178 #define M_MCO_F(_name, _parents, _mux_offset, _mux_shift, _mux_width,\ argument 1186 .parent_name = _parents,\ 1187 .num_parents = ARRAY_SIZE(_parents),\
|
D | clk-stm32mp1.c | 1140 #define MUX(_id, _name, _parents, _flags, _offset, _shift, _width, _mux_flags)\ argument 1144 .parent_names = _parents,\ 1145 .num_parents = ARRAY_SIZE(_parents),\ 1270 #define COMPOSITE(_id, _name, _parents, _flags, _gate, _mux, _div)\ argument 1274 .parent_names = _parents,\ 1275 .num_parents = ARRAY_SIZE(_parents),\ 1288 #define KCLK(_id, _name, _parents, _flags, _mgate, _mmux)\ argument 1289 COMPOSITE(_id, _name, _parents, CLK_OPS_PARENT_ENABLE |\
|
D | clk-bm1880.c | 160 #define GATE_MUX(_id, _name, _parents, _gate_reg, _gate_shift, \ argument 163 .parents = _parents, \ 164 .num_parents = ARRAY_SIZE(_parents), \
|
/kernel/linux/linux-5.10/include/linux/ |
D | clk-provider.h | 1218 #define CLK_HW_INIT_PARENTS(_name, _parents, _ops, _flags) \ argument 1222 .parent_names = _parents, \ 1223 .num_parents = ARRAY_SIZE(_parents), \ 1227 #define CLK_HW_INIT_PARENTS_HW(_name, _parents, _ops, _flags) \ argument 1231 .parent_hws = _parents, \ 1232 .num_parents = ARRAY_SIZE(_parents), \ 1236 #define CLK_HW_INIT_PARENTS_DATA(_name, _parents, _ops, _flags) \ argument 1240 .parent_data = _parents, \ 1241 .num_parents = ARRAY_SIZE(_parents), \
|
D | sh_clk.h | 175 #define SH_CLK_DIV6_EXT(_reg, _flags, _parents, \ argument 182 .parent_table = _parents, \
|
/kernel/linux/linux-5.10/drivers/clk/qcom/ |
D | lcc-msm8960.c | 228 static const char * const lcc_##prefix##_parents[] = { \ 241 .parent_names = lcc_##prefix##_parents, \ 256 .parent_names = lcc_##prefix##_parents, \
|
D | lcc-mdm9615.c | 230 static const char * const lcc_##prefix##_parents[] = { \ 243 .parent_names = lcc_##prefix##_parents, \ 258 .parent_names = lcc_##prefix##_parents, \
|
/kernel/linux/linux-5.10/drivers/clk/meson/ |
D | axg-audio.c | 319 #define AUD_TDM_PAD_CTRL(_name, _reg, _shift, _parents) \ argument 320 AUD_MUX(_name, _reg, 0x7, _shift, 0, _parents, \
|