Home
last modified time | relevance | path

Searched refs:_width (Results 1 – 25 of 55) sorted by relevance

123

/openbmc/linux/drivers/clk/sunxi-ng/
H A Dccu_mux.h32 #define _SUNXI_CCU_MUX_TABLE(_shift, _width, _table) \ argument
35 .width = _width, \
39 #define _SUNXI_CCU_MUX(_shift, _width) \ argument
40 _SUNXI_CCU_MUX_TABLE(_shift, _width, NULL)
50 _reg, _shift, _width, _gate, \ argument
54 .mux = _SUNXI_CCU_MUX_TABLE(_shift, _width, _table), \
67 _width, _gate, _flags) \ argument
70 _width, _gate, _flags, \
74 _reg, _shift, _width, _gate, \ argument
78 _width, _gate, _flags, 0)
[all …]
H A Dccu_div.h43 #define _SUNXI_CCU_DIV_TABLE_FLAGS(_shift, _width, _table, _flags) \ argument
46 .width = _width, \
51 #define _SUNXI_CCU_DIV_TABLE(_shift, _width, _table) \ argument
52 _SUNXI_CCU_DIV_TABLE_FLAGS(_shift, _width, _table, 0)
54 #define _SUNXI_CCU_DIV_OFFSET_MAX_FLAGS(_shift, _width, _off, _max, _flags) \ argument
57 .width = _width, \
63 #define _SUNXI_CCU_DIV_MAX_FLAGS(_shift, _width, _max, _flags) \ argument
64 _SUNXI_CCU_DIV_OFFSET_MAX_FLAGS(_shift, _width, 1, _max, _flags)
66 #define _SUNXI_CCU_DIV_FLAGS(_shift, _width, _flags) \ argument
67 _SUNXI_CCU_DIV_MAX_FLAGS(_shift, _width, 0, _flags)
[all …]
H A Dccu_mult.h17 #define _SUNXI_CCU_MULT_OFFSET_MIN_MAX(_shift, _width, _offset, _min, _max) \ argument
23 .width = _width, \
26 #define _SUNXI_CCU_MULT_MIN(_shift, _width, _min) \ argument
27 _SUNXI_CCU_MULT_OFFSET_MIN_MAX(_shift, _width, 1, _min, 0)
29 #define _SUNXI_CCU_MULT_OFFSET(_shift, _width, _offset) \ argument
30 _SUNXI_CCU_MULT_OFFSET_MIN_MAX(_shift, _width, _offset, 1, 0)
32 #define _SUNXI_CCU_MULT(_shift, _width) \ argument
33 _SUNXI_CCU_MULT_OFFSET_MIN_MAX(_shift, _width, 1, 1, 0)
H A Dccu_phase.h20 #define SUNXI_CCU_PHASE(_struct, _name, _parent, _reg, _shift, _width, _flags) \ argument
23 .width = _width, \
/openbmc/linux/drivers/clk/sprd/
H A Dmux.h32 #define _SPRD_MUX_CLK(_shift, _width, _table) \ argument
35 .width = _width, \
40 _reg, _shift, _width, _flags, _fn) \ argument
42 .mux = _SPRD_MUX_CLK(_shift, _width, _table), \
52 _reg, _shift, _width, _flags) \ argument
54 _reg, _shift, _width, _flags, \
58 _shift, _width, _flags) \ argument
60 _reg, _shift, _width, _flags)
63 _reg, _shift, _width, _flags) \ argument
65 _reg, _shift, _width, _flags, \
[all …]
H A Ddiv.h27 #define _SPRD_DIV_CLK(_shift, _width) \ argument
30 .width = _width, \
39 _shift, _width, _flags, _fn) \ argument
41 .div = _SPRD_DIV_CLK(_shift, _width), \
51 _shift, _width, _flags) \ argument
53 _shift, _width, _flags, CLK_HW_INIT)
56 _shift, _width, _flags) \ argument
58 _shift, _width, _flags, CLK_HW_INIT_HW)
/openbmc/u-boot/include/fsl-mc/
H A Dfsl_mc_cmd.h10 #define MAKE_UMASK64(_width) \ argument
11 ((uint64_t)((_width) < 64 ? ((uint64_t)1 << (_width)) - 1 : -1))
80 #define MC_PREP_OP(_ext, _param, _offset, _width, _type, _arg) \ argument
81 ((_ext)[_param] |= cpu_to_le64(mc_enc((_offset), (_width), _arg)))
83 #define MC_EXT_OP(_ext, _param, _offset, _width, _type, _arg) \ argument
84 (_arg = (_type)mc_dec(cpu_to_le64(_ext[_param]), (_offset), (_width)))
86 #define MC_CMD_OP(_cmd, _param, _offset, _width, _type, _arg) \ argument
87 ((_cmd).params[_param] |= mc_enc((_offset), (_width), _arg))
89 #define MC_RSP_OP(_cmd, _param, _offset, _width, _type, _arg) \ argument
90 (_arg = (_type)mc_dec(_cmd.params[_param], (_offset), (_width)))
/openbmc/linux/drivers/clk/actions/
H A Dowl-pll.h42 _width, _min_mul, _max_mul, _delay, _table) \ argument
48 .width = _width, \
56 _shift, _width, _min_mul, _max_mul, _table, _flags) \ argument
59 _width, _min_mul, _max_mul, \
71 _shift, _width, _min_mul, _max_mul, _table, _flags) \ argument
74 _width, _min_mul, _max_mul, \
85 _shift, _width, _min_mul, _max_mul, _delay, _table, \ argument
89 _width, _min_mul, _max_mul, \
H A Dowl-mux.h27 #define OWL_MUX_HW(_reg, _shift, _width) \ argument
31 .width = _width, \
35 _shift, _width, _flags) \ argument
37 .mux_hw = OWL_MUX_HW(_reg, _shift, _width), \
H A Dowl-divider.h29 #define OWL_DIVIDER_HW(_reg, _shift, _width, _div_flags, _table) \ argument
33 .width = _width, \
39 _shift, _width, _table, _div_flags, _flags) \ argument
41 .div_hw = OWL_DIVIDER_HW(_reg, _shift, _width, \
H A Dowl-factor.h35 #define OWL_FACTOR_HW(_reg, _shift, _width, _fct_flags, _table) \ argument
39 .width = _width, \
45 _shift, _width, _table, _fct_flags, _flags) \ argument
48 _width, _fct_flags, _table), \
/openbmc/linux/drivers/clk/mediatek/
H A Dclk-mtk.h113 _width, _gate, _flags, _muxflags) { \ argument
118 .mux_width = _width, \
132 #define MUX_GATE_FLAGS(_id, _name, _parents, _reg, _shift, _width, \ argument
135 _shift, _width, _gate, _flags, 0)
141 #define MUX_GATE(_id, _name, _parents, _reg, _shift, _width, _gate) \ argument
142 MUX_GATE_FLAGS(_id, _name, _parents, _reg, _shift, _width, \
145 #define MUX(_id, _name, _parents, _reg, _shift, _width) \ argument
147 _shift, _width, CLK_SET_RATE_PARENT)
149 #define MUX_FLAGS(_id, _name, _parents, _reg, _shift, _width, _flags) { \ argument
154 .mux_width = _width, \
[all …]
H A Dclk-mux.h41 _mux_set_ofs, _mux_clr_ofs, _shift, _width, \ argument
50 .mux_width = _width, \
63 _mux_set_ofs, _mux_clr_ofs, _shift, _width, \ argument
66 _mux_set_ofs, _mux_clr_ofs, _shift, _width, \
71 _mux_set_ofs, _mux_clr_ofs, _shift, _width, \ argument
75 _width, _gate, _upd_ofs, _upd, \
79 _mux_set_ofs, _mux_clr_ofs, _shift, _width, \ argument
82 _mux_set_ofs, _mux_clr_ofs, _shift, _width, \
H A Dclk-mt6795-topckgen.c21 #define TOP_MUX_GATE_NOSR(_id, _name, _parents, _reg, _shift, _width, _gate, _flags) \ argument
23 (_reg + 0x4), (_reg + 0x8), _shift, _width, \
26 #define TOP_MUX_GATE(_id, _name, _parents, _reg, _shift, _width, _gate, _flags) \ argument
27 TOP_MUX_GATE_NOSR(_id, _name, _parents, _reg, _shift, _width, \
H A Dclk-mt8173-topckgen.c22 #define TOP_MUX_GATE_NOSR(_id, _name, _parents, _reg, _shift, _width, _gate, _flags) \ argument
24 (_reg + 0x4), (_reg + 0x8), _shift, _width, \
27 #define TOP_MUX_GATE(_id, _name, _parents, _reg, _shift, _width, _gate, _flags) \ argument
28 TOP_MUX_GATE_NOSR(_id, _name, _parents, _reg, _shift, _width, \
/openbmc/u-boot/drivers/clk/mediatek/
H A Dclk-mtk.h113 #define MUX_GATE_FLAGS(_id, _parents, _reg, _shift, _width, _gate, \ argument
118 .mux_mask = BIT(_width) - 1, \
126 #define MUX_GATE(_id, _parents, _reg, _shift, _width, _gate) \ argument
127 MUX_GATE_FLAGS(_id, _parents, _reg, _shift, _width, _gate, 0)
129 #define MUX(_id, _parents, _reg, _shift, _width) { \ argument
133 .mux_mask = BIT(_width) - 1, \
/openbmc/qemu/python/qemu/utils/
H A D__init__.py96 _width = avail
98 _width = avail + width
100 _width = width
109 filler_len = _width - len(ret)
116 line, width=_width - padding, initial_indent=prefix,
/openbmc/linux/drivers/clk/x86/
H A Dclk-cgu.h204 _shift, _width, _cf, _v) \ argument
214 .mux_width = _width, \
219 #define LGM_DIV(_id, _name, _pname, _f, _reg, _shift, _width, \ argument
233 .div_width = _width, \
260 _shift, _width, _cf, _freq, _v) \ argument
273 .div_width = _width, \
280 _shift, _width, _cf, _v, _m, _d) \ argument
293 .div_width = _width, \
/openbmc/linux/drivers/clk/pistachio/
H A Dclk.h59 #define DIV(_id, _name, _pname, _reg, _width) \ argument
63 .width = _width, \
69 #define DIV_F(_id, _name, _pname, _reg, _width, _div_flags) \ argument
73 .width = _width, \
/openbmc/u-boot/arch/arm/cpu/armv7/bcm235xx/
H A Dclk-core.h298 #define DIVIDER(_offset, _shift, _width) \ argument
302 .width = (_width), \
308 #define FRAC_DIVIDER(_offset, _shift, _width, _frac_width) \ argument
312 .width = (_width), \
349 #define SELECTOR(_offset, _shift, _width) \ argument
353 .width = (_width), \
/openbmc/u-boot/arch/arm/cpu/armv7/bcm281xx/
H A Dclk-core.h298 #define DIVIDER(_offset, _shift, _width) \ argument
302 .width = (_width), \
308 #define FRAC_DIVIDER(_offset, _shift, _width, _frac_width) \ argument
312 .width = (_width), \
349 #define SELECTOR(_offset, _shift, _width) \ argument
353 .width = (_width), \
/openbmc/linux/drivers/clk/bcm/
H A Dclk-kona.h291 #define DIVIDER(_offset, _shift, _width) \ argument
295 .u.s.width = (_width), \
301 #define FRAC_DIVIDER(_offset, _shift, _width, _frac_width) \ argument
305 .u.s.width = (_width), \
342 #define SELECTOR(_offset, _shift, _width) \ argument
346 .width = (_width), \
/openbmc/linux/drivers/dma/fsl-dpaa2-qdma/
H A Ddpdmai.h45 #define MAKE_UMASK64(_width) \ argument
46 ((u64)((_width) < 64 ? ((u64)1 << (_width)) - 1 : (u64)-1))
/openbmc/linux/drivers/pinctrl/berlin/
H A Dberlin.h37 #define BERLIN_PINCTRL_GROUP(_name, _offset, _width, _lsb, ...) \ argument
41 .bit_width = _width, \
/openbmc/linux/drivers/clk/microchip/
H A Dclk-mpfs-ccc.c101 #define CLK_CCC_PLL(_id, _parents, _shift, _width, _flags, _offset) { \ argument
104 .width = _width, \
124 #define CLK_CCC_OUT(_id, _shift, _width, _flags, _offset) { \ argument
127 .divider.width = _width, \

123