_channel 43 drivers/iio/adc/axp20x_adc.c #define AXP20X_ADC_CHANNEL(_channel, _name, _type, _reg) \ _channel 47 drivers/iio/adc/axp20x_adc.c .channel = _channel, \ _channel 54 drivers/iio/adc/axp20x_adc.c #define AXP20X_ADC_CHANNEL_OFFSET(_channel, _name, _type, _reg) \ _channel 58 drivers/iio/adc/axp20x_adc.c .channel = _channel, \ _channel 109 drivers/iio/adc/sun4i-gpadc-iio.c #define SUN4I_GPADC_ADC_CHANNEL(_channel, _name) { \ _channel 112 drivers/iio/adc/sun4i-gpadc-iio.c .channel = _channel, \ _channel 203 drivers/iio/adc/twl4030-madc.c #define TWL4030_ADC_CHANNEL(_channel, _type, _name) { \ _channel 205 drivers/iio/adc/twl4030-madc.c .channel = _channel, \ _channel 188 drivers/iio/amplifiers/ad8366.c #define AD8366_CHAN(_channel) { \ _channel 192 drivers/iio/amplifiers/ad8366.c .channel = _channel, \ _channel 224 drivers/iio/light/lm3533-als.c #define CHANNEL_CURRENT(_channel) \ _channel 227 drivers/iio/light/lm3533-als.c .channel = _channel, \ _channel 581 drivers/iio/light/lm3533-als.c #define ALS_TARGET_ATTR_RW(_channel, _zone) \ _channel 582 drivers/iio/light/lm3533-als.c LM3533_ALS_ATTR(out_current##_channel##_current##_zone##_raw, \ _channel 585 drivers/iio/light/lm3533-als.c LM3533_ATTR_TYPE_TARGET, _channel, _zone) _channel 1490 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XGMAC_DMA_IOREAD(_channel, _reg) \ _channel 1491 drivers/net/ethernet/amd/xgbe/xgbe-common.h ioread32((_channel)->dma_regs + _reg) _channel 1493 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XGMAC_DMA_IOREAD_BITS(_channel, _reg, _field) \ _channel 1494 drivers/net/ethernet/amd/xgbe/xgbe-common.h GET_BITS(XGMAC_DMA_IOREAD((_channel), _reg), \ _channel 1498 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XGMAC_DMA_IOWRITE(_channel, _reg, _val) \ _channel 1499 drivers/net/ethernet/amd/xgbe/xgbe-common.h iowrite32((_val), (_channel)->dma_regs + _reg) _channel 1501 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define XGMAC_DMA_IOWRITE_BITS(_channel, _reg, _field, _val) \ _channel 1503 drivers/net/ethernet/amd/xgbe/xgbe-common.h u32 reg_val = XGMAC_DMA_IOREAD((_channel), _reg); \ _channel 1507 drivers/net/ethernet/amd/xgbe/xgbe-common.h XGMAC_DMA_IOWRITE((_channel), _reg, reg_val); \ _channel 251 drivers/net/ethernet/sfc/ethtool.c #define EFX_CHANNEL_NAME(_channel) "chan%d", _channel->channel _channel 233 drivers/net/ethernet/sfc/falcon/ethtool.c #define EF4_CHANNEL_NAME(_channel) "chan%d", _channel->channel _channel 64 drivers/net/ethernet/sfc/falcon/farch.c #define EF4_CHANNEL_MAGIC_TEST(_channel) \ _channel 65 drivers/net/ethernet/sfc/falcon/farch.c _EF4_CHANNEL_MAGIC(_EF4_CHANNEL_MAGIC_TEST, (_channel)->channel) _channel 1174 drivers/net/ethernet/sfc/falcon/net_driver.h #define ef4_for_each_channel(_channel, _efx) \ _channel 1175 drivers/net/ethernet/sfc/falcon/net_driver.h for (_channel = (_efx)->channel[0]; \ _channel 1176 drivers/net/ethernet/sfc/falcon/net_driver.h _channel; \ _channel 1177 drivers/net/ethernet/sfc/falcon/net_driver.h _channel = (_channel->channel + 1 < (_efx)->n_channels) ? \ _channel 1178 drivers/net/ethernet/sfc/falcon/net_driver.h (_efx)->channel[_channel->channel + 1] : NULL) _channel 1181 drivers/net/ethernet/sfc/falcon/net_driver.h #define ef4_for_each_channel_rev(_channel, _efx) \ _channel 1182 drivers/net/ethernet/sfc/falcon/net_driver.h for (_channel = (_efx)->channel[(_efx)->n_channels - 1]; \ _channel 1183 drivers/net/ethernet/sfc/falcon/net_driver.h _channel; \ _channel 1184 drivers/net/ethernet/sfc/falcon/net_driver.h _channel = _channel->channel ? \ _channel 1185 drivers/net/ethernet/sfc/falcon/net_driver.h (_efx)->channel[_channel->channel - 1] : NULL) _channel 1216 drivers/net/ethernet/sfc/falcon/net_driver.h #define ef4_for_each_channel_tx_queue(_tx_queue, _channel) \ _channel 1217 drivers/net/ethernet/sfc/falcon/net_driver.h if (!ef4_channel_has_tx_queues(_channel)) \ _channel 1220 drivers/net/ethernet/sfc/falcon/net_driver.h for (_tx_queue = (_channel)->tx_queue; \ _channel 1221 drivers/net/ethernet/sfc/falcon/net_driver.h _tx_queue < (_channel)->tx_queue + EF4_TXQ_TYPES && \ _channel 1226 drivers/net/ethernet/sfc/falcon/net_driver.h #define ef4_for_each_possible_channel_tx_queue(_tx_queue, _channel) \ _channel 1227 drivers/net/ethernet/sfc/falcon/net_driver.h if (!ef4_channel_has_tx_queues(_channel)) \ _channel 1230 drivers/net/ethernet/sfc/falcon/net_driver.h for (_tx_queue = (_channel)->tx_queue; \ _channel 1231 drivers/net/ethernet/sfc/falcon/net_driver.h _tx_queue < (_channel)->tx_queue + EF4_TXQ_TYPES; \ _channel 1247 drivers/net/ethernet/sfc/falcon/net_driver.h #define ef4_for_each_channel_rx_queue(_rx_queue, _channel) \ _channel 1248 drivers/net/ethernet/sfc/falcon/net_driver.h if (!ef4_channel_has_rx_queue(_channel)) \ _channel 1251 drivers/net/ethernet/sfc/falcon/net_driver.h for (_rx_queue = &(_channel)->rx_queue; \ _channel 66 drivers/net/ethernet/sfc/farch.c #define EFX_CHANNEL_MAGIC_TEST(_channel) \ _channel 67 drivers/net/ethernet/sfc/farch.c _EFX_CHANNEL_MAGIC(_EFX_CHANNEL_MAGIC_TEST, (_channel)->channel) _channel 1455 drivers/net/ethernet/sfc/net_driver.h #define efx_for_each_channel(_channel, _efx) \ _channel 1456 drivers/net/ethernet/sfc/net_driver.h for (_channel = (_efx)->channel[0]; \ _channel 1457 drivers/net/ethernet/sfc/net_driver.h _channel; \ _channel 1458 drivers/net/ethernet/sfc/net_driver.h _channel = (_channel->channel + 1 < (_efx)->n_channels) ? \ _channel 1459 drivers/net/ethernet/sfc/net_driver.h (_efx)->channel[_channel->channel + 1] : NULL) _channel 1462 drivers/net/ethernet/sfc/net_driver.h #define efx_for_each_channel_rev(_channel, _efx) \ _channel 1463 drivers/net/ethernet/sfc/net_driver.h for (_channel = (_efx)->channel[(_efx)->n_channels - 1]; \ _channel 1464 drivers/net/ethernet/sfc/net_driver.h _channel; \ _channel 1465 drivers/net/ethernet/sfc/net_driver.h _channel = _channel->channel ? \ _channel 1466 drivers/net/ethernet/sfc/net_driver.h (_efx)->channel[_channel->channel - 1] : NULL) _channel 1497 drivers/net/ethernet/sfc/net_driver.h #define efx_for_each_channel_tx_queue(_tx_queue, _channel) \ _channel 1498 drivers/net/ethernet/sfc/net_driver.h if (!efx_channel_has_tx_queues(_channel)) \ _channel 1501 drivers/net/ethernet/sfc/net_driver.h for (_tx_queue = (_channel)->tx_queue; \ _channel 1502 drivers/net/ethernet/sfc/net_driver.h _tx_queue < (_channel)->tx_queue + EFX_TXQ_TYPES && \ _channel 1507 drivers/net/ethernet/sfc/net_driver.h #define efx_for_each_possible_channel_tx_queue(_tx_queue, _channel) \ _channel 1508 drivers/net/ethernet/sfc/net_driver.h if (!efx_channel_has_tx_queues(_channel)) \ _channel 1511 drivers/net/ethernet/sfc/net_driver.h for (_tx_queue = (_channel)->tx_queue; \ _channel 1512 drivers/net/ethernet/sfc/net_driver.h _tx_queue < (_channel)->tx_queue + EFX_TXQ_TYPES; \ _channel 1528 drivers/net/ethernet/sfc/net_driver.h #define efx_for_each_channel_rx_queue(_rx_queue, _channel) \ _channel 1529 drivers/net/ethernet/sfc/net_driver.h if (!efx_channel_has_rx_queue(_channel)) \ _channel 1532 drivers/net/ethernet/sfc/net_driver.h for (_rx_queue = &(_channel)->rx_queue; \ _channel 8239 drivers/net/wireless/ath/ath10k/mac.c #define CHAN2G(_channel, _freq, _flags) { \ _channel 8241 drivers/net/wireless/ath/ath10k/mac.c .hw_value = (_channel), \ _channel 8248 drivers/net/wireless/ath/ath10k/mac.c #define CHAN5G(_channel, _freq, _flags) { \ _channel 8250 drivers/net/wireless/ath/ath10k/mac.c .hw_value = (_channel), \ _channel 37 drivers/net/wireless/ath/ath6kl/cfg80211.c #define CHAN2G(_channel, _freq, _flags) { \ _channel 39 drivers/net/wireless/ath/ath6kl/cfg80211.c .hw_value = (_channel), \ _channel 46 drivers/net/wireless/ath/ath6kl/cfg80211.c #define CHAN5G(_channel, _flags) { \ _channel 48 drivers/net/wireless/ath/ath6kl/cfg80211.c .hw_value = (_channel), \ _channel 49 drivers/net/wireless/ath/ath6kl/cfg80211.c .center_freq = 5000 + (5 * (_channel)), \ _channel 54 drivers/net/wireless/ath/wil6210/cfg80211.c #define CHAN60G(_channel, _flags) { \ _channel 56 drivers/net/wireless/ath/wil6210/cfg80211.c .center_freq = 56160 + (2160 * (_channel)), \ _channel 57 drivers/net/wireless/ath/wil6210/cfg80211.c .hw_value = (_channel), \ _channel 186 drivers/net/wireless/broadcom/b43/main.c #define CHAN2G(_channel, _freq, _flags) { \ _channel 189 drivers/net/wireless/broadcom/b43/main.c .hw_value = (_channel), \ _channel 215 drivers/net/wireless/broadcom/b43/main.c #define CHAN4G(_channel, _flags) { \ _channel 217 drivers/net/wireless/broadcom/b43/main.c .center_freq = 4000 + (5 * (_channel)), \ _channel 218 drivers/net/wireless/broadcom/b43/main.c .hw_value = (_channel), \ _channel 223 drivers/net/wireless/broadcom/b43/main.c #define CHAN5G(_channel, _flags) { \ _channel 225 drivers/net/wireless/broadcom/b43/main.c .center_freq = 5000 + (5 * (_channel)), \ _channel 226 drivers/net/wireless/broadcom/b43/main.c .hw_value = (_channel), \ _channel 126 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c #define CHAN2G(_channel, _freq) { \ _channel 129 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c .hw_value = (_channel), \ _channel 134 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c #define CHAN5G(_channel) { \ _channel 136 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c .center_freq = 5000 + (5 * (_channel)), \ _channel 137 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c .hw_value = (_channel), \ _channel 26 drivers/net/wireless/marvell/libertas/cfg.c #define CHAN2G(_channel, _freq, _flags) { \ _channel 29 drivers/net/wireless/marvell/libertas/cfg.c .hw_value = (_channel), \ _channel 101 drivers/net/wireless/st/cw1200/main.c #define CHAN2G(_channel, _freq, _flags) { \ _channel 104 drivers/net/wireless/st/cw1200/main.c .hw_value = (_channel), \ _channel 110 drivers/net/wireless/st/cw1200/main.c #define CHAN5G(_channel, _flags) { \ _channel 112 drivers/net/wireless/st/cw1200/main.c .center_freq = 5000 + (5 * (_channel)), \ _channel 113 drivers/net/wireless/st/cw1200/main.c .hw_value = (_channel), \ _channel 14 drivers/staging/iio/frequency/dds.h #define IIO_DEV_ATTR_FREQ(_channel, _num, _mode, _show, _store, _addr) \ _channel 15 drivers/staging/iio/frequency/dds.h IIO_DEVICE_ATTR(out_altvoltage##_channel##_frequency##_num, \ _channel 22 drivers/staging/iio/frequency/dds.h #define IIO_CONST_ATTR_FREQ_SCALE(_channel, _string) \ _channel 23 drivers/staging/iio/frequency/dds.h IIO_CONST_ATTR(out_altvoltage##_channel##_frequency_scale, _string) _channel 29 drivers/staging/iio/frequency/dds.h #define IIO_DEV_ATTR_FREQSYMBOL(_channel, _mode, _show, _store, _addr) \ _channel 30 drivers/staging/iio/frequency/dds.h IIO_DEVICE_ATTR(out_altvoltage##_channel##_frequencysymbol, \ _channel 37 drivers/staging/iio/frequency/dds.h #define IIO_DEV_ATTR_PHASE(_channel, _num, _mode, _show, _store, _addr) \ _channel 38 drivers/staging/iio/frequency/dds.h IIO_DEVICE_ATTR(out_altvoltage##_channel##_phase##_num, \ _channel 45 drivers/staging/iio/frequency/dds.h #define IIO_CONST_ATTR_PHASE_SCALE(_channel, _string) \ _channel 46 drivers/staging/iio/frequency/dds.h IIO_CONST_ATTR(out_altvoltage##_channel##_phase_scale, _string) _channel 52 drivers/staging/iio/frequency/dds.h #define IIO_DEV_ATTR_PHASESYMBOL(_channel, _mode, _show, _store, _addr) \ _channel 53 drivers/staging/iio/frequency/dds.h IIO_DEVICE_ATTR(out_altvoltage##_channel##_phasesymbol, \ _channel 60 drivers/staging/iio/frequency/dds.h #define IIO_DEV_ATTR_PINCONTROL_EN(_channel, _mode, _show, _store, _addr)\ _channel 61 drivers/staging/iio/frequency/dds.h IIO_DEVICE_ATTR(out_altvoltage##_channel##_pincontrol_en, \ _channel 68 drivers/staging/iio/frequency/dds.h #define IIO_DEV_ATTR_PINCONTROL_FREQ_EN(_channel, _mode, _show, _store, _addr)\ _channel 69 drivers/staging/iio/frequency/dds.h IIO_DEVICE_ATTR(out_altvoltage##_channel##_pincontrol_frequency_en,\ _channel 76 drivers/staging/iio/frequency/dds.h #define IIO_DEV_ATTR_PINCONTROL_PHASE_EN(_channel, _mode, _show, _store, _addr)\ _channel 77 drivers/staging/iio/frequency/dds.h IIO_DEVICE_ATTR(out_altvoltage##_channel##_pincontrol_phase_en, \ _channel 84 drivers/staging/iio/frequency/dds.h #define IIO_DEV_ATTR_OUT_ENABLE(_channel, _mode, _show, _store, _addr) \ _channel 85 drivers/staging/iio/frequency/dds.h IIO_DEVICE_ATTR(out_altvoltage##_channel##_out_enable, \ _channel 92 drivers/staging/iio/frequency/dds.h #define IIO_DEV_ATTR_OUTY_ENABLE(_channel, _output, \ _channel 94 drivers/staging/iio/frequency/dds.h IIO_DEVICE_ATTR(out_altvoltage##_channel##_out##_output##_enable,\ _channel 101 drivers/staging/iio/frequency/dds.h #define IIO_DEV_ATTR_OUT_WAVETYPE(_channel, _output, _store, _addr) \ _channel 102 drivers/staging/iio/frequency/dds.h IIO_DEVICE_ATTR(out_altvoltage##_channel##_out##_output##_wavetype,\ _channel 109 drivers/staging/iio/frequency/dds.h #define IIO_CONST_ATTR_OUT_WAVETYPES_AVAILABLE(_channel, _output, _modes)\ _channel 111 drivers/staging/iio/frequency/dds.h out_altvoltage##_channel##_out##_output##_wavetype_available, _modes) _channel 37 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c #define CHAN2G(_channel, _freq, _flags) { \ _channel 40 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c .hw_value = (_channel), \ _channel 84 drivers/staging/wilc1000/wilc_wfi_netdevice.h #define CHAN2G(_channel, _freq, _flags) { \ _channel 87 drivers/staging/wilc1000/wilc_wfi_netdevice.h .hw_value = (_channel), \ _channel 81 include/linux/fsl/ftm.h #define FTM_CSC(_channel) (FTM_CSC_BASE + ((_channel) * 8)) _channel 84 include/linux/fsl/ftm.h #define FTM_CV(_channel) (FTM_CV_BASE + ((_channel) * 8)) _channel 162 include/linux/iio/adc/ad_sigma_delta.h #define AD_SD_SHORTED_CHANNEL(_si, _channel, _address, _bits, \ _channel 164 include/linux/iio/adc/ad_sigma_delta.h __AD_SD_CHANNEL(_si, _channel, _channel, _address, _bits, \ _channel 168 include/linux/iio/adc/ad_sigma_delta.h #define AD_SD_CHANNEL(_si, _channel, _address, _bits, \ _channel 170 include/linux/iio/adc/ad_sigma_delta.h __AD_SD_CHANNEL(_si, _channel, -1, _address, _bits, \ _channel 174 include/linux/iio/adc/ad_sigma_delta.h #define AD_SD_CHANNEL_NO_SAMP_FREQ(_si, _channel, _address, _bits, \ _channel 176 include/linux/iio/adc/ad_sigma_delta.h __AD_SD_CHANNEL(_si, _channel, -1, _address, _bits, \ _channel 184 include/linux/iio/adc/ad_sigma_delta.h #define AD_SD_SUPPLY_CHANNEL(_si, _channel, _address, _bits, _storagebits, \ _channel 186 include/linux/iio/adc/ad_sigma_delta.h __AD_SD_CHANNEL(_si, _channel, -1, _address, _bits, \