Home
last modified time | relevance | path

Searched refs:_offset (Results 1 – 25 of 82) sorted by relevance

1234

/Linux-v4.19/drivers/clk/bcm/
Dclk-kona.h99 #define POLICY(_offset, _bit) \ argument
101 .offset = (_offset), \
159 #define HW_SW_GATE(_offset, _status_bit, _en_bit, _hw_sw_sel_bit) \ argument
161 .offset = (_offset), \
171 #define HW_SW_GATE_AUTO(_offset, _status_bit, _en_bit, _hw_sw_sel_bit) \ argument
173 .offset = (_offset), \
182 #define HW_ENABLE_GATE(_offset, _status_bit, _en_bit, _hw_sw_sel_bit) \ argument
184 .offset = (_offset), \
193 #define SW_ONLY_GATE(_offset, _status_bit, _en_bit) \ argument
195 .offset = (_offset), \
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.h50 #define MLXSW_AFK_ELEMENT_INFO(_type, _element, _offset, _shift, _size) \ argument
55 .offset = _offset, \
62 #define MLXSW_AFK_ELEMENT_INFO_U32(_element, _offset, _shift, _size) \ argument
64 _element, _offset, _shift, _size)
66 #define MLXSW_AFK_ELEMENT_INFO_BUF(_element, _offset, _size) \ argument
68 _element, _offset, 0, _size)
108 #define MLXSW_AFK_ELEMENT_INST(_type, _element, _offset, _shift, _size) \ argument
113 .offset = _offset, \
120 #define MLXSW_AFK_ELEMENT_INST_U32(_element, _offset, _shift, _size) \ argument
122 _element, _offset, _shift, _size)
[all …]
Ditem.h266 #define MLXSW_ITEM8(_type, _cname, _iname, _offset, _shift, _sizebits) \ argument
268 .offset = _offset, \
282 #define MLXSW_ITEM8_INDEXED(_type, _cname, _iname, _offset, _shift, _sizebits, \ argument
285 .offset = _offset, \
307 #define MLXSW_ITEM16(_type, _cname, _iname, _offset, _shift, _sizebits) \ argument
309 .offset = _offset, \
323 #define MLXSW_ITEM16_INDEXED(_type, _cname, _iname, _offset, _shift, _sizebits, \ argument
326 .offset = _offset, \
348 #define MLXSW_ITEM32(_type, _cname, _iname, _offset, _shift, _sizebits) \ argument
350 .offset = _offset, \
[all …]
/Linux-v4.19/drivers/clk/tegra/
Dclk-tegra-periph.c146 #define MUX(_name, _parents, _offset, \ argument
148 TEGRA_INIT_DATA_TABLE(_name, NULL, NULL, _parents, _offset,\
153 #define MUX_FLAGS(_name, _parents, _offset,\ argument
155 TEGRA_INIT_DATA_TABLE(_name, NULL, NULL, _parents, _offset,\
160 #define MUX8(_name, _parents, _offset, \ argument
162 TEGRA_INIT_DATA_TABLE(_name, NULL, NULL, _parents, _offset,\
167 #define MUX8_NOGATE_LOCK(_name, _parents, _offset, _clk_id, _lock) \ argument
168 TEGRA_INIT_DATA_TABLE(_name, NULL, NULL, _parents, _offset, \
173 #define MUX8_NOGATE(_name, _parents, _offset, _clk_id) \ argument
174 TEGRA_INIT_DATA_TABLE(_name, NULL, NULL, _parents, _offset, \
[all …]
Dclk-tegra-audio.c65 #define AUDIO(_name, _offset) \ argument
69 .offset = _offset,\
84 #define AUDIO2X(_name, _num, _offset) \ argument
92 .div_offset = _offset,\
/Linux-v4.19/drivers/clk/sunxi-ng/
Dccu_mult.h17 #define _SUNXI_CCU_MULT_OFFSET_MIN_MAX(_shift, _width, _offset, _min, _max) \ argument
21 .offset = _offset, \
29 #define _SUNXI_CCU_MULT_OFFSET(_shift, _width, _offset) \ argument
30 _SUNXI_CCU_MULT_OFFSET_MIN_MAX(_shift, _width, _offset, 1, 0)
Dccu_div.h80 #define _SUNXI_CCU_DIV_OFFSET(_shift, _width, _offset) \ argument
81 _SUNXI_CCU_DIV_OFFSET_MAX_FLAGS(_shift, _width, _offset, 0, 0)
/Linux-v4.19/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.h117 #define MTK_PIN_DRV_GRP(_pin, _offset, _bit, _grp) \ argument
120 .offset = _offset, \
142 #define MTK_PIN_PUPD_SPEC_SR(_pin, _offset, _pupd, _r1, _r0) \ argument
145 .offset = _offset, \
165 #define MTK_PIN_IES_SMT_SPEC(_start, _end, _offset, _bit) \ argument
170 .offset = _offset, \
/Linux-v4.19/drivers/bcma/
Dsprom.c185 #define SPEX(_field, _offset, _mask, _shift) \ argument
186 bus->sprom._field = ((sprom[SPOFF(_offset)] & (_mask)) >> (_shift))
188 #define SPEX32(_field, _offset, _mask, _shift) \ argument
189 bus->sprom._field = ((((u32)sprom[SPOFF((_offset)+2)] << 16 | \
190 sprom[SPOFF(_offset)]) & (_mask)) >> (_shift))
192 #define SPEX_ARRAY8(_field, _offset, _mask, _shift) \ argument
194 SPEX(_field[0], _offset + 0, _mask, _shift); \
195 SPEX(_field[1], _offset + 2, _mask, _shift); \
196 SPEX(_field[2], _offset + 4, _mask, _shift); \
197 SPEX(_field[3], _offset + 6, _mask, _shift); \
[all …]
/Linux-v4.19/drivers/video/fbdev/vermilion/
Dvermilion.h254 #define VML_READ32(_par, _offset) \ argument
255 (ioread32((_par)->vdc_mem + (_offset)))
256 #define VML_WRITE32(_par, _offset, _value) \ argument
257 iowrite32(_value, (_par)->vdc_mem + (_offset))
/Linux-v4.19/drivers/clk/renesas/
Drenesas-cpg-mssr.h55 #define DEF_DIV6P1(_name, _id, _parent, _offset) \ argument
56 DEF_BASE(_name, _id, CLK_TYPE_DIV6P1, _parent, .offset = _offset)
57 #define DEF_DIV6_RO(_name, _id, _parent, _offset, _div) \ argument
58 DEF_BASE(_name, _id, CLK_TYPE_DIV6_RO, _parent, .offset = _offset, .div = _div, .mult = 1)
Drcar-gen3-cpg.h28 #define DEF_GEN3_SD(_name, _id, _parent, _offset) \ argument
29 DEF_BASE(_name, _id, CLK_TYPE_GEN3_SD, _parent, .offset = _offset)
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
DHalPhyRf.c12 #define CALCULATE_SWINGTALBE_OFFSET(_offset, _direction, _size, _deltaThermal) \ argument
14 for (_offset = 0; _offset < _size; _offset++) {\
15 if (_deltaThermal < thermalThreshold[_direction][_offset]) {\
16 if (_offset != 0)\
17 _offset--;\
21 if (_offset >= _size)\
22 _offset = _size-1;\
/Linux-v4.19/drivers/pinctrl/berlin/
Dberlin.h37 #define BERLIN_PINCTRL_GROUP(_name, _offset, _width, _lsb, ...) \ argument
40 .offset = _offset, \
/Linux-v4.19/drivers/clk/st/
Dclkgen.h38 #define CLKGEN_FIELD(_offset, _mask, _shift) { \ argument
39 .offset = _offset, \
/Linux-v4.19/drivers/ssb/
Dpci.c171 #define SPEX16(_outvar, _offset, _mask, _shift) \ argument
172 out->_outvar = ((in[SPOFF(_offset)] & (_mask)) >> (_shift))
173 #define SPEX32(_outvar, _offset, _mask, _shift) \ argument
174 out->_outvar = ((((u32)in[SPOFF((_offset)+2)] << 16 | \
175 in[SPOFF(_offset)]) & (_mask)) >> (_shift))
176 #define SPEX(_outvar, _offset, _mask, _shift) \ argument
177 SPEX16(_outvar, _offset, _mask, _shift)
179 #define SPEX_ARRAY8(_field, _offset, _mask, _shift) \ argument
181 SPEX(_field[0], _offset + 0, _mask, _shift); \
182 SPEX(_field[1], _offset + 2, _mask, _shift); \
[all …]
/Linux-v4.19/arch/powerpc/boot/
Dlibfdt-wrapper.c47 unsigned long _offset = (off); \
48 check_err(_offset) ? NULL : (void *)(_offset+1); \
/Linux-v4.19/drivers/gpu/drm/msm/adreno/
Dadreno_gpu.h30 #define REG_ADRENO_DEFINE(_offset, _reg) [_offset] = (_reg) + 1 argument
32 #define REG_ADRENO_SKIP(_offset) [_offset] = REG_SKIP argument
/Linux-v4.19/drivers/clk/
Dclk-stm32mp1.c1092 #define GATE(_id, _name, _parent, _flags, _offset, _bit_idx, _gate_flags)\ argument
1099 .reg_off = _offset,\
1119 #define DIV_TABLE(_id, _name, _parent, _flags, _offset, _shift, _width,\ argument
1127 .reg_off = _offset,\
1136 #define DIV(_id, _name, _parent, _flags, _offset, _shift, _width, _div_flags)\ argument
1137 DIV_TABLE(_id, _name, _parent, _flags, _offset, _shift, _width,\
1140 #define MUX(_id, _name, _parents, _flags, _offset, _shift, _width, _mux_flags)\ argument
1148 .reg_off = _offset,\
1156 #define PLL(_id, _name, _parent, _flags, _offset)\ argument
1163 .offset = _offset,\
[all …]
/Linux-v4.19/net/rxrpc/
Drecvmsg.c270 unsigned int *_offset, unsigned int *_len) in rxrpc_locate_data() argument
293 *_offset = offset; in rxrpc_locate_data()
295 call->conn->security->locate_data(call, skb, _offset, _len); in rxrpc_locate_data()
306 size_t len, int flags, size_t *_offset) in rxrpc_recvmsg_data() argument
369 remain = len - *_offset; in rxrpc_recvmsg_data()
384 *_offset += copy; in rxrpc_recvmsg_data()
390 ASSERTCMP(*_offset, ==, len); in rxrpc_recvmsg_data()
Drxkad.c570 unsigned int *_offset, unsigned int *_len) in rxkad_locate_data_1() argument
574 if (skb_copy_bits(skb, *_offset, &sechdr, sizeof(sechdr)) < 0) in rxkad_locate_data_1()
576 *_offset += sizeof(sechdr); in rxkad_locate_data_1()
584 unsigned int *_offset, unsigned int *_len) in rxkad_locate_data_2() argument
588 if (skb_copy_bits(skb, *_offset, &sechdr, sizeof(sechdr)) < 0) in rxkad_locate_data_2()
590 *_offset += sizeof(sechdr); in rxkad_locate_data_2()
598 unsigned int *_offset, unsigned int *_len) in rxkad_locate_data() argument
602 rxkad_locate_data_1(call, skb, _offset, _len); in rxkad_locate_data()
605 rxkad_locate_data_2(call, skb, _offset, _len); in rxkad_locate_data()
/Linux-v4.19/drivers/staging/rtlwifi/phydm/
Dhalphyrf_ce.c18 #define CALCULATE_SWINGTALBE_OFFSET(_offset, _direction, _size, \ argument
21 for (_offset = 0; _offset < _size; _offset++) { \
23 thermal_threshold[_direction][_offset]) { \
24 if (_offset != 0) \
25 _offset--; \
29 if (_offset >= _size) \
30 _offset = _size - 1; \
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/
Defuse.h96 void read_efuse_byte(struct ieee80211_hw *hw, u16 _offset, u8 *pbuf);
101 void read_efuse(struct ieee80211_hw *hw, u16 _offset,
/Linux-v4.19/drivers/staging/rtlwifi/
Defuse.h85 void read_efuse_byte(struct ieee80211_hw *hw, u16 _offset, u8 *pbuf);
90 void read_efuse(struct ieee80211_hw *hw, u16 _offset,
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_efuse.c173 u16 _offset,
182 u16 _offset, in efuse_ReadEFuse() argument
188 Adapter->HalFunc.ReadEFuse(Adapter, efuseType, _offset, _size_byte, pbuf, bPseudoTest); in efuse_ReadEFuse()

1234