Home
last modified time | relevance | path

Searched refs:_channel (Results 1 – 22 of 22) sorted by relevance

/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, \
22 #define IIO_CONST_ATTR_FREQ_SCALE(_channel, _string) \ argument
23 IIO_CONST_ATTR(out_altvoltage##_channel##_frequency_scale, _string)
29 #define IIO_DEV_ATTR_FREQSYMBOL(_channel, _mode, _show, _store, _addr) \ argument
30 IIO_DEVICE_ATTR(out_altvoltage##_channel##_frequencysymbol, \
37 #define IIO_DEV_ATTR_PHASE(_channel, _num, _mode, _show, _store, _addr) \ argument
38 IIO_DEVICE_ATTR(out_altvoltage##_channel##_phase##_num, \
45 #define IIO_CONST_ATTR_PHASE_SCALE(_channel, _string) \ argument
46 IIO_CONST_ATTR(out_altvoltage##_channel##_phase_scale, _string)
[all …]
/drivers/net/ethernet/sfc/falcon/
Dnet_driver.h1174 #define ef4_for_each_channel(_channel, _efx) \ argument
1175 for (_channel = (_efx)->channel[0]; \
1176 _channel; \
1177 _channel = (_channel->channel + 1 < (_efx)->n_channels) ? \
1178 (_efx)->channel[_channel->channel + 1] : NULL)
1181 #define ef4_for_each_channel_rev(_channel, _efx) \ argument
1182 for (_channel = (_efx)->channel[(_efx)->n_channels - 1]; \
1183 _channel; \
1184 _channel = _channel->channel ? \
1185 (_efx)->channel[_channel->channel - 1] : NULL)
[all …]
Dethtool.c233 #define EF4_CHANNEL_NAME(_channel) "chan%d", _channel->channel argument
Dfarch.c64 #define EF4_CHANNEL_MAGIC_TEST(_channel) \ argument
65 _EF4_CHANNEL_MAGIC(_EF4_CHANNEL_MAGIC_TEST, (_channel)->channel)
/drivers/net/ethernet/sfc/
Dnet_driver.h1455 #define efx_for_each_channel(_channel, _efx) \ argument
1456 for (_channel = (_efx)->channel[0]; \
1457 _channel; \
1458 _channel = (_channel->channel + 1 < (_efx)->n_channels) ? \
1459 (_efx)->channel[_channel->channel + 1] : NULL)
1462 #define efx_for_each_channel_rev(_channel, _efx) \ argument
1463 for (_channel = (_efx)->channel[(_efx)->n_channels - 1]; \
1464 _channel; \
1465 _channel = _channel->channel ? \
1466 (_efx)->channel[_channel->channel - 1] : NULL)
[all …]
Dethtool.c251 #define EFX_CHANNEL_NAME(_channel) "chan%d", _channel->channel argument
Dfarch.c66 #define EFX_CHANNEL_MAGIC_TEST(_channel) \ argument
67 _EFX_CHANNEL_MAGIC(_EFX_CHANNEL_MAGIC_TEST, (_channel)->channel)
/drivers/net/wireless/st/cw1200/
Dmain.c101 #define CHAN2G(_channel, _freq, _flags) { \ argument
104 .hw_value = (_channel), \
110 #define CHAN5G(_channel, _flags) { \ argument
112 .center_freq = 5000 + (5 * (_channel)), \
113 .hw_value = (_channel), \
/drivers/net/ethernet/amd/xgbe/
Dxgbe-common.h1490 #define XGMAC_DMA_IOREAD(_channel, _reg) \ argument
1491 ioread32((_channel)->dma_regs + _reg)
1493 #define XGMAC_DMA_IOREAD_BITS(_channel, _reg, _field) \ argument
1494 GET_BITS(XGMAC_DMA_IOREAD((_channel), _reg), \
1498 #define XGMAC_DMA_IOWRITE(_channel, _reg, _val) \ argument
1499 iowrite32((_val), (_channel)->dma_regs + _reg)
1501 #define XGMAC_DMA_IOWRITE_BITS(_channel, _reg, _field, _val) \ argument
1503 u32 reg_val = XGMAC_DMA_IOREAD((_channel), _reg); \
1507 XGMAC_DMA_IOWRITE((_channel), _reg, reg_val); \
/drivers/iio/adc/
Daxp20x_adc.c43 #define AXP20X_ADC_CHANNEL(_channel, _name, _type, _reg) \ argument
47 .channel = _channel, \
54 #define AXP20X_ADC_CHANNEL_OFFSET(_channel, _name, _type, _reg) \ argument
58 .channel = _channel, \
Dsun4i-gpadc-iio.c109 #define SUN4I_GPADC_ADC_CHANNEL(_channel, _name) { \ argument
112 .channel = _channel, \
Dtwl4030-madc.c203 #define TWL4030_ADC_CHANNEL(_channel, _type, _name) { \ argument
205 .channel = _channel, \
/drivers/staging/wilc1000/
Dwilc_wfi_netdevice.h84 #define CHAN2G(_channel, _freq, _flags) { \ argument
87 .hw_value = (_channel), \
/drivers/iio/light/
Dlm3533-als.c224 #define CHANNEL_CURRENT(_channel) \ argument
227 .channel = _channel, \
581 #define ALS_TARGET_ATTR_RW(_channel, _zone) \ argument
582 LM3533_ALS_ATTR(out_current##_channel##_current##_zone##_raw, \
585 LM3533_ATTR_TYPE_TARGET, _channel, _zone)
/drivers/iio/amplifiers/
Dad8366.c188 #define AD8366_CHAN(_channel) { \ argument
192 .channel = _channel, \
/drivers/net/wireless/broadcom/b43/
Dmain.c186 #define CHAN2G(_channel, _freq, _flags) { \ argument
189 .hw_value = (_channel), \
215 #define CHAN4G(_channel, _flags) { \ argument
217 .center_freq = 4000 + (5 * (_channel)), \
218 .hw_value = (_channel), \
223 #define CHAN5G(_channel, _flags) { \ argument
225 .center_freq = 5000 + (5 * (_channel)), \
226 .hw_value = (_channel), \
/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c37 #define CHAN2G(_channel, _freq, _flags) { \ argument
39 .hw_value = (_channel), \
46 #define CHAN5G(_channel, _flags) { \ argument
48 .hw_value = (_channel), \
49 .center_freq = 5000 + (5 * (_channel)), \
/drivers/net/wireless/marvell/libertas/
Dcfg.c26 #define CHAN2G(_channel, _freq, _flags) { \ argument
29 .hw_value = (_channel), \
/drivers/net/wireless/ath/wil6210/
Dcfg80211.c54 #define CHAN60G(_channel, _flags) { \ argument
56 .center_freq = 56160 + (2160 * (_channel)), \
57 .hw_value = (_channel), \
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c126 #define CHAN2G(_channel, _freq) { \ argument
129 .hw_value = (_channel), \
134 #define CHAN5G(_channel) { \ argument
136 .center_freq = 5000 + (5 * (_channel)), \
137 .hw_value = (_channel), \
/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c37 #define CHAN2G(_channel, _freq, _flags) { \ argument
40 .hw_value = (_channel), \
/drivers/net/wireless/ath/ath10k/
Dmac.c8239 #define CHAN2G(_channel, _freq, _flags) { \ argument
8241 .hw_value = (_channel), \
8248 #define CHAN5G(_channel, _freq, _flags) { \ argument
8250 .hw_value = (_channel), \