/u-boot/drivers/clk/uniphier/ |
A D | clk-uniphier.h | 59 #define UNIPHIER_CLK_GATE(_id, _parent, _reg, _bit) \ argument 65 .reg = (_reg), \ 70 #define UNIPHIER_CLK_GATE_SIMPLE(_id, _reg, _bit) \ argument 71 UNIPHIER_CLK_GATE(_id, UNIPHIER_CLK_ID_INVALID, _reg, _bit)
|
/u-boot/drivers/clk/mediatek/ |
A D | clk-mtk.h | 122 #define MUX_GATE_FLAGS(_id, _parents, _reg, _shift, _width, _gate, \ argument 125 .mux_reg = _reg, \ 128 .gate_reg = _reg, \ 135 #define MUX_GATE(_id, _parents, _reg, _shift, _width, _gate) \ argument 136 MUX_GATE_FLAGS(_id, _parents, _reg, _shift, _width, _gate, 0) 138 #define MUX(_id, _parents, _reg, _shift, _width) { \ argument 140 .mux_reg = _reg, \
|
A D | clk-mt8512.c | 22 #define PLL(_id, _reg, _pwr_reg, _en_mask, _flags, _pcwbits, _pd_reg, \ argument 25 .reg = _reg, \
|
A D | clk-mt8516.c | 21 #define PLL(_id, _reg, _pwr_reg, _en_mask, _flags, _pcwbits, _pd_reg, \ argument 24 .reg = _reg, \
|
A D | clk-mt7622.c | 33 #define PLL(_id, _reg, _pwr_reg, _en_mask, _flags, _pcwbits, _pd_reg, \ argument 36 .reg = _reg, \
|
A D | clk-mt7629.c | 33 #define PLL(_id, _reg, _pwr_reg, _en_mask, _flags, _pcwbits, _pd_reg, \ argument 36 .reg = _reg, \
|
A D | clk-mt8183.c | 22 #define PLL(_id, _reg, _pwr_reg, _en_mask, _flags, _rst_bar_mask, _pcwbits, \ argument 25 .reg = _reg, \
|
A D | clk-mt7623.c | 29 #define PLL(_id, _reg, _pwr_reg, _en_mask, _flags, _pcwbits, _pd_reg, \ argument 32 .reg = _reg, \
|
A D | clk-mt8518.c | 21 #define PLL(_id, _reg, _pwr_reg, _en_mask, _flags, _pcwbits, _pd_reg, \ argument 24 .reg = _reg, \
|
/u-boot/include/linux/ |
A D | bitfield.h | 52 #define __BF_FIELD_CHECK(_mask, _reg, _val, _pfx) \ argument 60 BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, \ 101 #define FIELD_GET(_mask, _reg) \ argument 103 __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ 104 (typeof(_mask))(((_reg) & (_mask)) >> __bf_shf(_mask)); \
|
/u-boot/arch/arm/include/asm/mach-imx/ |
A D | regs-common.h | 61 struct mxs_register_8 name##_reg; \ 67 struct mxs_register_32 name##_reg; \
|
/u-boot/drivers/clk/meson/ |
A D | clk_meson.h | 19 #define MESON_GATE(id, _reg, _bit) \ argument 21 .reg = (_reg), \
|
/u-boot/drivers/pinctrl/mtmips/ |
A D | pinctrl-mtmips-common.h | 41 #define GRP(_name, _funcs, _reg, _shift, _mask) \ argument 42 { .name = (_name), .reg = (_reg), .shift = (_shift), .mask = (_mask), \
|
/u-boot/drivers/reset/ |
A D | sti-reset.c | 83 #define STIH407_SRST_CORE(_reg, _bit) \ argument 84 _SYSCFG_RST_CH_NO_ACK(stih407_core, _reg, _bit) 86 #define STIH407_SRST_SBC(_reg, _bit) \ argument 87 _SYSCFG_RST_CH_NO_ACK(stih407_sbc_reg, _reg, _bit) 89 #define STIH407_SRST_LPM(_reg, _bit) \ argument 90 _SYSCFG_RST_CH_NO_ACK(stih407_lpm, _reg, _bit)
|
A D | reset-uniphier.c | 30 #define UNIPHIER_RESET(_id, _reg, _bit) \ argument 33 .reg = (_reg), \ 37 #define UNIPHIER_RESETX(_id, _reg, _bit) \ argument 40 .reg = (_reg), \
|
/u-boot/include/ |
A D | regmap.h | 478 #define REG_FIELD(_reg, _lsb, _msb) { \ argument 479 .reg = _reg, \
|
/u-boot/arch/mips/mach-ath79/qca956x/ |
A D | clk.c | 186 static inline void set_val(u32 _reg, u32 _mask, u32 _val) in set_val() argument 190 writel((readl(pll_regs + _reg) & (~(_mask))) | _val, pll_regs + _reg); in set_val()
|