Home
last modified time | relevance | path

Searched refs:_reg (Results 1 – 17 of 17) sorted by relevance

/u-boot/drivers/clk/uniphier/
A Dclk-uniphier.h59 #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 Dclk-mtk.h122 #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 Dclk-mt8512.c22 #define PLL(_id, _reg, _pwr_reg, _en_mask, _flags, _pcwbits, _pd_reg, \ argument
25 .reg = _reg, \
A Dclk-mt8516.c21 #define PLL(_id, _reg, _pwr_reg, _en_mask, _flags, _pcwbits, _pd_reg, \ argument
24 .reg = _reg, \
A Dclk-mt7622.c33 #define PLL(_id, _reg, _pwr_reg, _en_mask, _flags, _pcwbits, _pd_reg, \ argument
36 .reg = _reg, \
A Dclk-mt7629.c33 #define PLL(_id, _reg, _pwr_reg, _en_mask, _flags, _pcwbits, _pd_reg, \ argument
36 .reg = _reg, \
A Dclk-mt8183.c22 #define PLL(_id, _reg, _pwr_reg, _en_mask, _flags, _rst_bar_mask, _pcwbits, \ argument
25 .reg = _reg, \
A Dclk-mt7623.c29 #define PLL(_id, _reg, _pwr_reg, _en_mask, _flags, _pcwbits, _pd_reg, \ argument
32 .reg = _reg, \
A Dclk-mt8518.c21 #define PLL(_id, _reg, _pwr_reg, _en_mask, _flags, _pcwbits, _pd_reg, \ argument
24 .reg = _reg, \
/u-boot/include/linux/
A Dbitfield.h52 #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 Dregs-common.h61 struct mxs_register_8 name##_reg; \
67 struct mxs_register_32 name##_reg; \
/u-boot/drivers/clk/meson/
A Dclk_meson.h19 #define MESON_GATE(id, _reg, _bit) \ argument
21 .reg = (_reg), \
/u-boot/drivers/pinctrl/mtmips/
A Dpinctrl-mtmips-common.h41 #define GRP(_name, _funcs, _reg, _shift, _mask) \ argument
42 { .name = (_name), .reg = (_reg), .shift = (_shift), .mask = (_mask), \
/u-boot/drivers/reset/
A Dsti-reset.c83 #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 Dreset-uniphier.c30 #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 Dregmap.h478 #define REG_FIELD(_reg, _lsb, _msb) { \ argument
479 .reg = _reg, \
/u-boot/arch/mips/mach-ath79/qca956x/
A Dclk.c186 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()

Completed in 23 milliseconds