/linux-4.4.14/drivers/staging/iio/frequency/ |
D | dds.h | 15 #define IIO_DEV_ATTR_FREQ(_channel, _num, _mode, _show, _store, _addr) \ argument 16 IIO_DEVICE_ATTR(out_altvoltage##_channel##_frequency##_num, \ 23 #define IIO_CONST_ATTR_FREQ_SCALE(_channel, _string) \ argument 24 IIO_CONST_ATTR(out_altvoltage##_channel##_frequency_scale, _string) 30 #define IIO_DEV_ATTR_FREQSYMBOL(_channel, _mode, _show, _store, _addr) \ argument 31 IIO_DEVICE_ATTR(out_altvoltage##_channel##_frequencysymbol, \ 38 #define IIO_DEV_ATTR_PHASE(_channel, _num, _mode, _show, _store, _addr) \ argument 39 IIO_DEVICE_ATTR(out_altvoltage##_channel##_phase##_num, \ 46 #define IIO_CONST_ATTR_PHASE_SCALE(_channel, _string) \ argument 47 IIO_CONST_ATTR(out_altvoltage##_channel##_phase_scale, _string) [all …]
|
/linux-4.4.14/include/linux/iio/adc/ |
D | ad_sigma_delta.h | 154 #define AD_SD_SHORTED_CHANNEL(_si, _channel, _address, _bits, \ argument 156 __AD_SD_CHANNEL(_si, _channel, _channel, _address, _bits, \ 159 #define AD_SD_CHANNEL(_si, _channel, _address, _bits, \ argument 161 __AD_SD_CHANNEL(_si, _channel, -1, _address, _bits, \ 168 #define AD_SD_SUPPLY_CHANNEL(_si, _channel, _address, _bits, _storagebits, \ argument 170 __AD_SD_CHANNEL(_si, _channel, -1, _address, _bits, \
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | net_driver.h | 1387 #define efx_for_each_channel(_channel, _efx) \ argument 1388 for (_channel = (_efx)->channel[0]; \ 1389 _channel; \ 1390 _channel = (_channel->channel + 1 < (_efx)->n_channels) ? \ 1391 (_efx)->channel[_channel->channel + 1] : NULL) 1394 #define efx_for_each_channel_rev(_channel, _efx) \ argument 1395 for (_channel = (_efx)->channel[(_efx)->n_channels - 1]; \ 1396 _channel; \ 1397 _channel = _channel->channel ? \ 1398 (_efx)->channel[_channel->channel - 1] : NULL) [all …]
|
D | ethtool.c | 239 #define EFX_CHANNEL_NAME(_channel) "chan%d", _channel->channel argument
|
D | farch.c | 69 #define EFX_CHANNEL_MAGIC_TEST(_channel) \ argument 70 _EFX_CHANNEL_MAGIC(_EFX_CHANNEL_MAGIC_TEST, (_channel)->channel)
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-common.h | 1171 #define XGMAC_DMA_IOREAD(_channel, _reg) \ argument 1172 ioread32((_channel)->dma_regs + _reg) 1174 #define XGMAC_DMA_IOREAD_BITS(_channel, _reg, _field) \ argument 1175 GET_BITS(XGMAC_DMA_IOREAD((_channel), _reg), \ 1179 #define XGMAC_DMA_IOWRITE(_channel, _reg, _val) \ argument 1180 iowrite32((_val), (_channel)->dma_regs + _reg) 1182 #define XGMAC_DMA_IOWRITE_BITS(_channel, _reg, _field, _val) \ argument 1184 u32 reg_val = XGMAC_DMA_IOREAD((_channel), _reg); \ 1188 XGMAC_DMA_IOWRITE((_channel), _reg, reg_val); \
|
/linux-4.4.14/drivers/net/wireless/cw1200/ |
D | main.c | 104 #define CHAN2G(_channel, _freq, _flags) { \ argument 107 .hw_value = (_channel), \ 113 #define CHAN5G(_channel, _flags) { \ argument 115 .center_freq = 5000 + (5 * (_channel)), \ 116 .hw_value = (_channel), \
|
/linux-4.4.14/drivers/iio/amplifiers/ |
D | ad8366.c | 123 #define AD8366_CHAN(_channel) { \ argument 127 .channel = _channel, \
|
/linux-4.4.14/drivers/pwm/ |
D | pwm-fsl-ftm.c | 39 #define FTM_CSC(_channel) (FTM_CSC_BASE + ((_channel) * 8)) argument 42 #define FTM_CV(_channel) (FTM_CV_BASE + ((_channel) * 8)) argument
|
/linux-4.4.14/drivers/iio/light/ |
D | lm3533-als.c | 228 #define CHANNEL_CURRENT(_channel) \ argument 231 .channel = _channel, \ 585 #define ALS_TARGET_ATTR_RW(_channel, _zone) \ argument 586 LM3533_ALS_ATTR(out_current##_channel##_current##_zone##_raw, \ 589 LM3533_ATTR_TYPE_TARGET, _channel, _zone)
|
/linux-4.4.14/arch/frv/kernel/ |
D | dma.c | 124 static irqreturn_t dma_irq_handler(int irq, void *_channel) in dma_irq_handler() argument 126 struct frv_dma_channel *channel = _channel; in dma_irq_handler()
|
/linux-4.4.14/drivers/iio/adc/ |
D | twl4030-madc.c | 106 #define TWL4030_ADC_CHANNEL(_channel, _type, _name) { \ argument 108 .channel = _channel, \
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | cfg80211.c | 21 #define CHAN60G(_channel, _flags) { \ argument 23 .center_freq = 56160 + (2160 * (_channel)), \ 24 .hw_value = (_channel), \
|
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/ |
D | ioctl_cfg80211.c | 41 #define CHAN2G(_channel, _freq, _flags) { \ argument 44 .hw_value = (_channel), \ 50 #define CHAN5G(_channel, _flags) { \ argument 52 .center_freq = 5000 + (5 * (_channel)), \ 53 .hw_value = (_channel), \
|
/linux-4.4.14/drivers/net/wireless/b43/ |
D | main.c | 189 #define CHAN2G(_channel, _freq, _flags) { \ argument 192 .hw_value = (_channel), \ 218 #define CHAN4G(_channel, _flags) { \ argument 220 .center_freq = 4000 + (5 * (_channel)), \ 221 .hw_value = (_channel), \ 226 #define CHAN5G(_channel, _flags) { \ argument 228 .center_freq = 5000 + (5 * (_channel)), \ 229 .hw_value = (_channel), \
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 36 #define CHAN2G(_channel, _freq, _flags) { \ argument 38 .hw_value = (_channel), \ 45 #define CHAN5G(_channel, _flags) { \ argument 47 .hw_value = (_channel), \ 48 .center_freq = 5000 + (5 * (_channel)), \
|
/linux-4.4.14/drivers/net/wireless/libertas/ |
D | cfg.c | 25 #define CHAN2G(_channel, _freq, _flags) { \ argument 28 .hw_value = (_channel), \
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | cfg80211.c | 135 #define CHAN2G(_channel, _freq) { \ argument 138 .hw_value = (_channel), \ 144 #define CHAN5G(_channel) { \ argument 146 .center_freq = 5000 + (5 * (_channel)), \ 147 .hw_value = (_channel), \
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | mac.c | 6834 #define CHAN2G(_channel, _freq, _flags) { \ argument 6836 .hw_value = (_channel), \ 6843 #define CHAN5G(_channel, _freq, _flags) { \ argument 6845 .hw_value = (_channel), \
|
/linux-4.4.14/drivers/staging/wilc1000/ |
D | wilc_wfi_cfgoperations.c | 39 #define CHAN2G(_channel, _freq, _flags) { \ argument 42 .hw_value = (_channel), \
|