Home
last modified time | relevance | path

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

12

/linux-6.1.9/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/include/linux/fsl/
Dftm.h81 #define FTM_CSC(_channel) (FTM_CSC_BASE + ((_channel) * 8)) argument
84 #define FTM_CV(_channel) (FTM_CV_BASE + ((_channel) * 8)) argument
/linux-6.1.9/drivers/net/ethernet/sfc/siena/
Dnet_driver.h1497 #define efx_for_each_channel(_channel, _efx) \ argument
1498 for (_channel = (_efx)->channel[0]; \
1499 _channel; \
1500 _channel = (_channel->channel + 1 < (_efx)->n_channels) ? \
1501 (_efx)->channel[_channel->channel + 1] : NULL)
1504 #define efx_for_each_channel_rev(_channel, _efx) \ argument
1505 for (_channel = (_efx)->channel[(_efx)->n_channels - 1]; \
1506 _channel; \
1507 _channel = _channel->channel ? \
1508 (_efx)->channel[_channel->channel - 1] : NULL)
[all …]
/linux-6.1.9/drivers/net/ethernet/sfc/
Dnet_driver.h1571 #define efx_for_each_channel(_channel, _efx) \ argument
1572 for (_channel = (_efx)->channel[0]; \
1573 _channel; \
1574 _channel = (_channel->channel + 1 < (_efx)->n_channels) ? \
1575 (_efx)->channel[_channel->channel + 1] : NULL)
1578 #define efx_for_each_channel_rev(_channel, _efx) \ argument
1579 for (_channel = (_efx)->channel[(_efx)->n_channels - 1]; \
1580 _channel; \
1581 _channel = _channel->channel ? \
1582 (_efx)->channel[_channel->channel - 1] : NULL)
[all …]
/linux-6.1.9/drivers/iio/adc/
Dad7791.c91 #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, \
Dad7793.c582 #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, \
Dintel_mrfld_adc.c145 #define BCOVE_ADC_CHANNEL(_type, _channel, _datasheet_name, _address) \ argument
149 .channel = _channel, \
Drn5t618-adc.c168 #define RN5T618_ADC_CHANNEL(_channel, _type, _name) { \ argument
170 .channel = _channel, \
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, \
/linux-6.1.9/drivers/iio/frequency/
Dadrf6780.c314 #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, \
Dadmv1014.c520 #define ADMV1014_CHAN_IQ(_channel, rf_comp) { \ argument
526 .channel = _channel, \
532 #define ADMV1014_CHAN_IF(_channel, rf_comp) { \ argument
538 .channel = _channel, \
543 #define ADMV1014_CHAN_POWER(_channel) { \ argument
547 .channel = _channel, \
552 #define ADMV1014_CHAN_CALIBSCALE(_channel, rf_comp, _admv1014_ext_info) { \ argument
558 .channel = _channel, \
Dadmv1013.c411 #define ADMV1013_CHAN_PHASE(_channel, _channel2, _admv1013_ext_info) { \ argument
416 .channel = _channel, \
421 #define ADMV1013_CHAN_CALIB(_channel, rf_comp) { \ argument
425 .channel = _channel, \
/linux-6.1.9/drivers/iio/dac/
Dad7293.c687 #define AD7293_CHAN_ADC(_channel) { \ argument
691 .channel = _channel, \
698 #define AD7293_CHAN_DAC(_channel) { \ argument
702 .channel = _channel, \
708 #define AD7293_CHAN_ISENSE(_channel) { \ argument
712 .channel = _channel, \
719 #define AD7293_CHAN_TEMP(_channel) { \ argument
723 .channel = _channel, \
/linux-6.1.9/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), \
/linux-6.1.9/drivers/net/ethernet/amd/xgbe/
Dxgbe-common.h1514 #define XGMAC_DMA_IOREAD(_channel, _reg) \ argument
1515 ioread32((_channel)->dma_regs + _reg)
1517 #define XGMAC_DMA_IOREAD_BITS(_channel, _reg, _field) \ argument
1518 GET_BITS(XGMAC_DMA_IOREAD((_channel), _reg), \
1522 #define XGMAC_DMA_IOWRITE(_channel, _reg, _val) \ argument
1523 iowrite32((_val), (_channel)->dma_regs + _reg)
1525 #define XGMAC_DMA_IOWRITE_BITS(_channel, _reg, _field, _val) \ argument
1527 u32 reg_val = XGMAC_DMA_IOREAD((_channel), _reg); \
1531 XGMAC_DMA_IOWRITE((_channel), _reg, reg_val); \
/linux-6.1.9/drivers/iio/amplifiers/
Dhmc425a.c145 #define HMC425A_CHAN(_channel) \ argument
150 .channel = _channel, \
Dad8366.c216 #define AD8366_CHAN(_channel) { \ argument
220 .channel = _channel, \
/linux-6.1.9/drivers/iio/filter/
Dadmv8818.c475 #define ADMV8818_CHAN(_channel) { \ argument
479 .channel = _channel, \
485 #define ADMV8818_CHAN_BW_CF(_channel, _admv8818_ext_info) { \ argument
489 .channel = _channel, \
/linux-6.1.9/drivers/net/wireless/microchip/wilc1000/
Dnetdev.h65 #define CHAN2G(_channel, _freq, _flags) { \ argument
68 .hw_value = (_channel), \
/linux-6.1.9/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)
/linux-6.1.9/drivers/net/wireless/silabs/wfx/
Dmain.c64 #define CHAN2G(_channel, _freq, _flags) { \ argument
67 .hw_value = (_channel), \
/linux-6.1.9/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), \

12