Home
last modified time | relevance | path

Searched refs:_shift (Results 1 – 13 of 13) sorted by relevance

/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
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); \
198 SPEX(_field[4], _offset + 8, _mask, _shift); \
[all …]
/drivers/clk/bcm/
Dclk-kona.h299 #define DIVIDER(_offset, _shift, _width) \ argument
302 .u.s.shift = (_shift), \
309 #define FRAC_DIVIDER(_offset, _shift, _width, _frac_width) \ argument
312 .u.s.shift = (_shift), \
350 #define SELECTOR(_offset, _shift, _width) \ argument
353 .shift = (_shift), \
/drivers/ssb/
Dpci.c172 #define SPEX16(_outvar, _offset, _mask, _shift) \ argument
173 out->_outvar = ((in[SPOFF(_offset)] & (_mask)) >> (_shift))
174 #define SPEX32(_outvar, _offset, _mask, _shift) \ argument
176 in[SPOFF(_offset)]) & (_mask)) >> (_shift))
177 #define SPEX(_outvar, _offset, _mask, _shift) \ argument
178 SPEX16(_outvar, _offset, _mask, _shift)
180 #define SPEX_ARRAY8(_field, _offset, _mask, _shift) \ argument
182 SPEX(_field[0], _offset + 0, _mask, _shift); \
183 SPEX(_field[1], _offset + 2, _mask, _shift); \
184 SPEX(_field[2], _offset + 4, _mask, _shift); \
[all …]
/drivers/clk/st/
Dclkgen.h35 #define CLKGEN_FIELD(_offset, _mask, _shift) { \ argument
38 .shift = _shift, \
/drivers/iio/adc/
Dad7476.c136 #define _AD7476_CHAN(bits, _shift, _info_mask_sep) \ argument
146 .shift = (_shift), \
/drivers/iio/dac/
Dad5686.c270 #define AD5868_CHANNEL(chan, bits, _shift) { \ argument
282 .shift = (_shift), \
Dad5791.c295 #define AD5791_CHAN(bits, _shift) { \ argument
308 .shift = (_shift), \
Dad5446.c142 #define _AD5446_CHANNEL(bits, storage, _shift, ext) { \ argument
153 .shift = (_shift), \
/drivers/net/ethernet/brocade/bna/
Dbna.h44 int _shift = 0; \
47 _shift++; \
49 (x) <<= _shift; \
/drivers/regulator/
Dtps6524x-regulator.c372 #define __MK_FIELD(_reg, _mask, _shift) \ argument
373 { .reg = (_reg), .mask = (_mask), .shift = (_shift), }
Dmax8998.c198 int *_reg, int *_shift, int *_mask) in max8998_get_voltage_register() argument
254 *_shift = shift; in max8998_get_voltage_register()
Dmax8997.c302 int *_reg, int *_shift, int *_mask) in max8997_get_voltage_register() argument
361 *_shift = shift; in max8997_get_voltage_register()
/drivers/pinctrl/
Dpinctrl-tegra-xusb.c826 #define TEGRA124_LANE(_name, _offset, _shift, _mask, _iddq, _funcs) \ argument
830 .shift = _shift, \