/linux/drivers/staging/iio/frequency/ |
A D | dds.h | 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) 30 IIO_DEVICE_ATTR(out_altvoltage##_channel##_frequencysymbol, \ 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) 53 IIO_DEVICE_ATTR(out_altvoltage##_channel##_phasesymbol, \ 61 IIO_DEVICE_ATTR(out_altvoltage##_channel##_pincontrol_en, \ 85 IIO_DEVICE_ATTR(out_altvoltage##_channel##_out_enable, \ [all …]
|
/linux/drivers/net/ethernet/sfc/falcon/ |
A D | net_driver.h | 1175 for (_channel = (_efx)->channel[0]; \ 1176 _channel; \ 1177 _channel = (_channel->channel + 1 < (_efx)->n_channels) ? \ 1183 _channel; \ 1184 _channel = _channel->channel ? \ 1217 if (!ef4_channel_has_tx_queues(_channel)) \ 1220 for (_tx_queue = (_channel)->tx_queue; \ 1227 if (!ef4_channel_has_tx_queues(_channel)) \ 1230 for (_tx_queue = (_channel)->tx_queue; \ 1248 if (!ef4_channel_has_rx_queue(_channel)) \ [all …]
|
A D | ethtool.c | 233 #define EF4_CHANNEL_NAME(_channel) "chan%d", _channel->channel argument
|
/linux/drivers/net/ethernet/sfc/ |
A D | net_driver.h | 1502 for (_channel = (_efx)->channel[0]; \ 1503 _channel; \ 1504 _channel = (_channel->channel + 1 < (_efx)->n_channels) ? \ 1510 _channel; \ 1511 _channel = _channel->channel ? \ 1563 if (!efx_channel_has_tx_queues(_channel)) \ 1566 for (_tx_queue = (_channel)->tx_queue; \ 1567 _tx_queue < (_channel)->tx_queue + \ 1568 efx_channel_num_tx_queues(_channel); \ 1585 if (!efx_channel_has_rx_queue(_channel)) \ [all …]
|
A D | ethtool_common.c | 281 #define EFX_CHANNEL_NAME(_channel) "chan%d", _channel->channel argument
|
/linux/include/linux/fsl/ |
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
|
/linux/drivers/iio/adc/ |
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, \
|
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, \
|
A D | intel_mrfld_adc.c | 144 #define BCOVE_ADC_CHANNEL(_type, _channel, _datasheet_name, _address) \ argument 148 .channel = _channel, \
|
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, \
|
A D | rn5t618-adc.c | 173 #define RN5T618_ADC_CHANNEL(_channel, _type, _name) { \ argument 175 .channel = _channel, \
|
A D | sun4i-gpadc-iio.c | 109 #define SUN4I_GPADC_ADC_CHANNEL(_channel, _name) { \ argument 112 .channel = _channel, \
|
A D | twl4030-madc.c | 203 #define TWL4030_ADC_CHANNEL(_channel, _type, _name) { \ argument 205 .channel = _channel, \
|
/linux/drivers/iio/frequency/ |
A D | adrf6780.c | 314 #define ADRF6780_CHAN_ADC(_channel) { \ argument 318 .channel = _channel, \ 322 #define ADRF6780_CHAN_RDAC(_channel) { \ argument 326 .channel = _channel, \ 330 #define ADRF6780_CHAN_IQ_PHASE(_channel, rf_comp) { \ argument 336 .channel = _channel, \
|
/linux/drivers/net/wireless/st/cw1200/ |
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), \
|
/linux/drivers/net/ethernet/amd/xgbe/ |
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); \
|
/linux/drivers/iio/amplifiers/ |
A D | hmc425a.c | 145 #define HMC425A_CHAN(_channel) \ argument 150 .channel = _channel, \
|
A D | ad8366.c | 216 #define AD8366_CHAN(_channel) { \ argument 220 .channel = _channel, \
|
/linux/drivers/net/wireless/microchip/wilc1000/ |
A D | netdev.h | 73 #define CHAN2G(_channel, _freq, _flags) { \ argument 76 .hw_value = (_channel), \
|
/linux/drivers/iio/light/ |
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)
|
/linux/drivers/staging/wfx/ |
A D | main.c | 63 #define CHAN2G(_channel, _freq, _flags) { \ argument 66 .hw_value = (_channel), \
|
/linux/drivers/net/wireless/broadcom/b43/ |
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), \
|
/linux/drivers/net/wireless/ath/ath6kl/ |
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)), \
|
/linux/drivers/net/wireless/marvell/libertas/ |
A D | cfg.c | 26 #define CHAN2G(_channel, _freq, _flags) { \ argument 29 .hw_value = (_channel), \
|
/linux/drivers/net/wireless/ath/wil6210/ |
A D | cfg80211.c | 43 #define CHAN60G(_channel, _flags) { \ argument 45 .center_freq = 56160 + (2160 * (_channel)), \ 46 .hw_value = (_channel), \
|