/drivers/bcma/ |
D | sprom.c | 185 #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/ |
D | clk-kona.h | 299 #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/ |
D | pci.c | 172 #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/ |
D | clkgen.h | 35 #define CLKGEN_FIELD(_offset, _mask, _shift) { \ argument 38 .shift = _shift, \
|
/drivers/iio/adc/ |
D | ad7476.c | 136 #define _AD7476_CHAN(bits, _shift, _info_mask_sep) \ argument 146 .shift = (_shift), \
|
/drivers/iio/dac/ |
D | ad5686.c | 270 #define AD5868_CHANNEL(chan, bits, _shift) { \ argument 282 .shift = (_shift), \
|
D | ad5791.c | 295 #define AD5791_CHAN(bits, _shift) { \ argument 308 .shift = (_shift), \
|
D | ad5446.c | 142 #define _AD5446_CHANNEL(bits, storage, _shift, ext) { \ argument 153 .shift = (_shift), \
|
/drivers/net/ethernet/brocade/bna/ |
D | bna.h | 44 int _shift = 0; \ 47 _shift++; \ 49 (x) <<= _shift; \
|
/drivers/regulator/ |
D | tps6524x-regulator.c | 372 #define __MK_FIELD(_reg, _mask, _shift) \ argument 373 { .reg = (_reg), .mask = (_mask), .shift = (_shift), }
|
D | max8998.c | 198 int *_reg, int *_shift, int *_mask) in max8998_get_voltage_register() argument 254 *_shift = shift; in max8998_get_voltage_register()
|
D | max8997.c | 302 int *_reg, int *_shift, int *_mask) in max8997_get_voltage_register() argument 361 *_shift = shift; in max8997_get_voltage_register()
|
/drivers/pinctrl/ |
D | pinctrl-tegra-xusb.c | 826 #define TEGRA124_LANE(_name, _offset, _shift, _mask, _iddq, _funcs) \ argument 830 .shift = _shift, \
|