| /OK3568_Linux_fs/kernel/drivers/staging/iio/frequency/ |
| H A D | dds.h | 14 #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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/falcon/ |
| H A D | net_driver.h | 1174 #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 …]
|
| H A D | ethtool.c | 233 #define EF4_CHANNEL_NAME(_channel) "chan%d", _channel->channel argument
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/ |
| H A D | net_driver.h | 1490 #define efx_for_each_channel(_channel, _efx) \ argument 1491 for (_channel = (_efx)->channel[0]; \ 1492 _channel; \ 1493 _channel = (_channel->channel + 1 < (_efx)->n_channels) ? \ 1494 (_efx)->channel[_channel->channel + 1] : NULL) 1497 #define efx_for_each_channel_rev(_channel, _efx) \ argument 1498 for (_channel = (_efx)->channel[(_efx)->n_channels - 1]; \ 1499 _channel; \ 1500 _channel = _channel->channel ? \ 1501 (_efx)->channel[_channel->channel - 1] : NULL) [all …]
|
| H A D | ethtool_common.c | 281 #define EFX_CHANNEL_NAME(_channel) "chan%d", _channel->channel argument
|
| /OK3568_Linux_fs/kernel/include/linux/fsl/ |
| H A D | ftm.h | 81 #define FTM_CSC(_channel) (FTM_CSC_BASE + ((_channel) * 8)) argument 84 #define FTM_CV(_channel) (FTM_CV_BASE + ((_channel) * 8)) argument
|
| /OK3568_Linux_fs/kernel/drivers/iio/adc/ |
| H A D | ad7791.c | 91 #define AD7991_SHORTED_CHANNEL(_si, _channel, _address, _bits, \ argument 93 __AD7991_CHANNEL(_si, _channel, _channel, _address, _bits, \ 97 #define AD7991_CHANNEL(_si, _channel, _address, _bits, \ argument 99 __AD7991_CHANNEL(_si, _channel, -1, _address, _bits, \ 109 #define AD7991_SUPPLY_CHANNEL(_si, _channel, _address, _bits, _storagebits, \ argument 111 __AD7991_CHANNEL(_si, _channel, -1, _address, _bits, \
|
| H A D | ad7793.c | 582 #define AD7793_SHORTED_CHANNEL(_si, _channel, _address, _bits, \ argument 584 __AD7793_CHANNEL(_si, _channel, _channel, _address, _bits, \ 595 #define AD7793_SUPPLY_CHANNEL(_si, _channel, _address, _bits, _storagebits, \ argument 597 __AD7793_CHANNEL(_si, _channel, -1, _address, _bits, \ 609 #define AD7797_SHORTED_CHANNEL(_si, _channel, _address, _bits, \ argument 611 __AD7793_CHANNEL(_si, _channel, _channel, _address, _bits, \
|
| H A D | axp20x_adc.c | 43 #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, \
|
| H A D | intel_mrfld_adc.c | 144 #define BCOVE_ADC_CHANNEL(_type, _channel, _datasheet_name, _address) \ argument 148 .channel = _channel, \
|
| H A D | rn5t618-adc.c | 171 #define RN5T618_ADC_CHANNEL(_channel, _type, _name) { \ argument 173 .channel = _channel, \
|
| H A D | sun4i-gpadc-iio.c | 109 #define SUN4I_GPADC_ADC_CHANNEL(_channel, _name) { \ argument 112 .channel = _channel, \
|
| H A D | twl4030-madc.c | 203 #define TWL4030_ADC_CHANNEL(_channel, _type, _name) { \ argument 205 .channel = _channel, \
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/st/cw1200/ |
| H A D | main.c | 101 #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), \
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-common.h | 1512 #define XGMAC_DMA_IOREAD(_channel, _reg) \ argument 1513 ioread32((_channel)->dma_regs + _reg) 1515 #define XGMAC_DMA_IOREAD_BITS(_channel, _reg, _field) \ argument 1516 GET_BITS(XGMAC_DMA_IOREAD((_channel), _reg), \ 1520 #define XGMAC_DMA_IOWRITE(_channel, _reg, _val) \ argument 1521 iowrite32((_val), (_channel)->dma_regs + _reg) 1523 #define XGMAC_DMA_IOWRITE_BITS(_channel, _reg, _field, _val) \ argument 1525 u32 reg_val = XGMAC_DMA_IOREAD((_channel), _reg); \ 1529 XGMAC_DMA_IOWRITE((_channel), _reg, reg_val); \
|
| /OK3568_Linux_fs/kernel/drivers/iio/amplifiers/ |
| H A D | hmc425a.c | 145 #define HMC425A_CHAN(_channel) \ argument 150 .channel = _channel, \
|
| H A D | ad8366.c | 216 #define AD8366_CHAN(_channel) { \ argument 220 .channel = _channel, \
|
| /OK3568_Linux_fs/kernel/drivers/iio/light/ |
| H A D | lm3533-als.c | 224 #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)
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/microchip/wilc1000/ |
| H A D | netdev.h | 73 #define CHAN2G(_channel, _freq, _flags) { \ argument 76 .hw_value = (_channel), \
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | wl_cfg80211.h | 121 #define CH_TO_CHSPC(band, _channel) \ argument 122 ((_channel | band) | WL_CHANSPEC_BW_20 | WL_CHANSPEC_CTL_SB_NONE) 123 #define CHAN2G(_channel, _freq, _flags) { \ argument 126 .hw_value = CH_TO_CHSPC(WL_CHANSPEC_BAND_2G, _channel), \ 132 #define CHAN5G(_channel, _flags) { \ argument 134 .center_freq = 5000 + (5 * (_channel)), \ 135 .hw_value = CH_TO_CHSPC(WL_CHANSPEC_BAND_5G, _channel), \ 142 #define CHAN6G(_channel, _flags) { \ argument 144 .center_freq = 5950 + (5 * (_channel)), \ 145 .hw_value = CH_TO_CHSPC(WL_CHANSPEC_BAND_6G, _channel), \ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | wl_cfg80211.h | 121 #define CH_TO_CHSPC(band, _channel) \ argument 122 ((_channel | band) | WL_CHANSPEC_BW_20 | WL_CHANSPEC_CTL_SB_NONE) 123 #define CHAN2G(_channel, _freq, _flags) { \ argument 126 .hw_value = CH_TO_CHSPC(WL_CHANSPEC_BAND_2G, _channel), \ 132 #define CHAN5G(_channel, _flags) { \ argument 134 .center_freq = 5000 + (5 * (_channel)), \ 135 .hw_value = CH_TO_CHSPC(WL_CHANSPEC_BAND_5G, _channel), \ 142 #define CHAN6G(_channel, _flags) { \ argument 144 .center_freq = 5950 + (5 * (_channel)), \ 145 .hw_value = CH_TO_CHSPC(WL_CHANSPEC_BAND_6G, _channel), \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/wfx/ |
| H A D | main.c | 63 #define CHAN2G(_channel, _freq, _flags) { \ argument 66 .hw_value = (_channel), \
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43/ |
| H A D | main.c | 186 #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), \
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath6kl/ |
| H A D | cfg80211.c | 37 #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)), \
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/libertas/ |
| H A D | cfg.c | 26 #define CHAN2G(_channel, _freq, _flags) { \ argument 29 .hw_value = (_channel), \
|