Home
last modified time | relevance | path

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

/drivers/regulator/
Dtps65023-regulator.c89 #define TPS65023_REGULATOR_DCDC(_num, _t, _em) \ argument
91 .name = "VDCDC"#_num, \
92 .of_match = of_match_ptr("VDCDC"#_num), \
94 .id = TPS65023_DCDC_##_num, \
108 #define TPS65023_REGULATOR_LDO(_num, _t, _vm) \ argument
110 .name = "LDO"#_num, \
111 .of_match = of_match_ptr("LDO"#_num), \
113 .id = TPS65023_LDO_##_num, \
121 .enable_mask = 1 << (_num), \
Dfan53880.c42 #define FAN53880_LDO(_num, _supply, _default) \ argument
43 [FAN53880_LDO ## _num] = { \
44 .name = "LDO"#_num, \
45 .of_match = of_match_ptr("LDO"#_num), \
55 .vsel_reg = FAN53880_LDO ## _num ## VOUT, \
58 .enable_mask = BIT(_num - 1), \
Dmax77693-regulator.c147 #define max77693_regulator_desc_esafeout(_num) { \ argument
148 .name = "ESAFEOUT"#_num, \
149 .id = MAX77693_ESAFEOUT##_num, \
150 .of_match = of_match_ptr("ESAFEOUT"#_num), \
158 .vsel_mask = SAFEOUT_CTRL_SAFEOUT##_num##_MASK, \
160 .enable_mask = SAFEOUT_CTRL_ENSAFEOUT##_num##_MASK , \
/drivers/net/wireless/intel/iwlwifi/fw/api/
Dcoex.h136 #define BT_MBOX_MSG(_notif, _num, _field) \ argument
137 ((le32_to_cpu((_notif)->mbox_msg[(_num)]) & BT_MBOX##_num##_##_field)\
138 >> BT_MBOX##_num##_##_field##_POS)
140 #define BT_MBOX_PRINT(_num, _field, _end) \ argument
144 BT_MBOX_MSG(notif, _num, _field), \
/drivers/staging/iio/frequency/
Ddds.h14 #define IIO_DEV_ATTR_FREQ(_channel, _num, _mode, _show, _store, _addr) \ argument
15 IIO_DEVICE_ATTR(out_altvoltage##_channel##_frequency##_num, \
37 #define IIO_DEV_ATTR_PHASE(_channel, _num, _mode, _show, _store, _addr) \ argument
38 IIO_DEVICE_ATTR(out_altvoltage##_channel##_phase##_num, \
/drivers/net/fjes/
Dfjes_hw.h56 #define EP_RING_INDEX(_num, _max) (((_num) + (_max)) % (_max)) argument
57 #define EP_RING_INDEX_INC(_num, _max) \ argument
58 ((_num) = EP_RING_INDEX((_num) + 1, (_max)))
/drivers/pinctrl/stm32/
Dpinctrl-stm32.h52 #define STM32_FUNCTION(_num, _name) \ argument
54 .num = _num, \
/drivers/media/dvb-frontends/
Dzd1301_demod.c319 #define ZD1301_IS_I2C_XFER_WRITE_READ(_msg, _num) \ in zd1301_demod_i2c_master_xfer() argument
320 (_num == 2 && !(_msg[0].flags & I2C_M_RD) && (_msg[1].flags & I2C_M_RD)) in zd1301_demod_i2c_master_xfer()
321 #define ZD1301_IS_I2C_XFER_WRITE(_msg, _num) \ in zd1301_demod_i2c_master_xfer() argument
322 (_num == 1 && !(_msg[0].flags & I2C_M_RD)) in zd1301_demod_i2c_master_xfer()
323 #define ZD1301_IS_I2C_XFER_READ(_msg, _num) \ in zd1301_demod_i2c_master_xfer() argument
324 (_num == 1 && (_msg[0].flags & I2C_M_RD)) in zd1301_demod_i2c_master_xfer()
/drivers/iio/adc/
Dmax1363.c192 #define MAX1363_MODE_SINGLE(_num, _mask) { \ argument
193 .conf = MAX1363_CHANNEL_SEL(_num) \
199 #define MAX1363_MODE_SCAN_TO_CHANNEL(_num, _mask) { \ argument
200 .conf = MAX1363_CHANNEL_SEL(_num) \
207 #define MAX1236_MODE_SCAN_MID_TO_CHANNEL(_mid, _num, _mask) { \ argument
208 .conf = MAX1363_CHANNEL_SEL(_num) \
222 #define MAX1363_MODE_DIFF_SCAN_TO_CHANNEL(_num, _numvals, _mask) { \ argument
223 .conf = MAX1363_CHANNEL_SEL(_num) \
230 #define MAX1236_MODE_DIFF_SCAN_MID_TO_CHANNEL(_num, _numvals, _mask) { \ argument
231 .conf = MAX1363_CHANNEL_SEL(_num) \
/drivers/clk/tegra/
Dclk-tegra-audio.c71 #define AUDIO2X(_name, _num, _offset) \ argument
78 .clk_num = _num,\
Dclk-tegra-periph.c838 #define PLL_OUT(_num, _offset, _div_shift, _div_flags, _rst_shift, _id) \ argument
840 .div_name = "pll_p_out" #_num "_div",\
841 .pll_out_name = "pll_p_out" #_num,\
/drivers/media/usb/dvb-usb-v2/
Daf9035.c313 #define AF9035_IS_I2C_XFER_WRITE_READ(_msg, _num) \ in af9035_i2c_master_xfer() argument
314 (_num == 2 && !(_msg[0].flags & I2C_M_RD) && (_msg[1].flags & I2C_M_RD)) in af9035_i2c_master_xfer()
315 #define AF9035_IS_I2C_XFER_WRITE(_msg, _num) \ in af9035_i2c_master_xfer() argument
316 (_num == 1 && !(_msg[0].flags & I2C_M_RD)) in af9035_i2c_master_xfer()
317 #define AF9035_IS_I2C_XFER_READ(_msg, _num) \ in af9035_i2c_master_xfer() argument
318 (_num == 1 && (_msg[0].flags & I2C_M_RD)) in af9035_i2c_master_xfer()
/drivers/net/ethernet/brocade/bna/
Dbnad.c61 #define BNAD_FILL_UNMAPQ_MEM_REQ(_res_info, _num, _size) \ argument
65 (_res_info)->res_u.mem_info.num = (_num); \