/drivers/net/ethernet/intel/ice/ |
D | ice_ptp.h | 150 #define GLTSYN_AUX_OUT(_chan, _idx) (GLTSYN_AUX_OUT_0(_idx) + ((_chan) * 8)) argument 151 #define GLTSYN_AUX_IN(_chan, _idx) (GLTSYN_AUX_IN_0(_idx) + ((_chan) * 8)) argument 152 #define GLTSYN_CLKO(_chan, _idx) (GLTSYN_CLKO_0(_idx) + ((_chan) * 8)) argument 153 #define GLTSYN_TGT_L(_chan, _idx) (GLTSYN_TGT_L_0(_idx) + ((_chan) * 16)) argument 154 #define GLTSYN_TGT_H(_chan, _idx) (GLTSYN_TGT_H_0(_idx) + ((_chan) * 16)) argument 155 #define GLTSYN_EVNT_L(_chan, _idx) (GLTSYN_EVNT_L_0(_idx) + ((_chan) * 16)) argument 156 #define GLTSYN_EVNT_H(_chan, _idx) (GLTSYN_EVNT_H_0(_idx) + ((_chan) * 16)) argument
|
/drivers/iio/adc/ |
D | ltc2497-core.c | 107 #define LTC2497_CHAN(_chan, _addr, _ds_name) { \ argument 110 .channel = (_chan), \ 111 .address = (_addr | (_chan / 2) | ((_chan & 1) ? LTC2497_SIGN : 0)), \ 117 #define LTC2497_CHAN_DIFF(_chan, _addr) { \ argument 120 .channel = (_chan) * 2 + ((_addr) & LTC2497_SIGN ? 1 : 0), \ 121 .channel2 = (_chan) * 2 + ((_addr) & LTC2497_SIGN ? 0 : 1),\ 122 .address = (_addr | _chan), \
|
D | ad7266.c | 186 #define AD7266_CHAN(_chan, _sign) { \ argument 189 .channel = (_chan), \ 190 .address = (_chan), \ 194 .scan_index = (_chan), \ 233 #define AD7266_CHAN_DIFF(_chan, _sign) { \ argument 236 .channel = (_chan) * 2, \ 237 .channel2 = (_chan) * 2 + 1, \ 238 .address = (_chan), \ 242 .scan_index = (_chan), \
|
D | meson_saradc.c | 49 #define MESON_SAR_ADC_CHAN_LIST_ENTRY_MASK(_chan) \ argument 50 (GENMASK(2, 0) << ((_chan) * 3)) 53 #define MESON_SAR_ADC_AVG_CNTL_AVG_MODE_SHIFT(_chan) \ argument 54 (16 + ((_chan) * 2)) 55 #define MESON_SAR_ADC_AVG_CNTL_AVG_MODE_MASK(_chan) \ argument 56 (GENMASK(17, 16) << ((_chan) * 2)) 57 #define MESON_SAR_ADC_AVG_CNTL_NUM_SAMPLES_SHIFT(_chan) \ argument 58 (0 + ((_chan) * 2)) 59 #define MESON_SAR_ADC_AVG_CNTL_NUM_SAMPLES_MASK(_chan) \ argument 60 (GENMASK(1, 0) << ((_chan) * 2)) [all …]
|
D | ti-ads1015.c | 137 #define ADS1015_V_CHAN(_chan, _addr) { \ argument 141 .channel = _chan, \ 155 .datasheet_name = "AIN"#_chan, \ 158 #define ADS1015_V_DIFF_CHAN(_chan, _chan2, _addr) { \ argument 163 .channel = _chan, \ 178 .datasheet_name = "AIN"#_chan"-AIN"#_chan2, \ 181 #define ADS1115_V_CHAN(_chan, _addr) { \ argument 185 .channel = _chan, \ 198 .datasheet_name = "AIN"#_chan, \ 201 #define ADS1115_V_DIFF_CHAN(_chan, _chan2, _addr) { \ argument [all …]
|
D | xilinx-xadc-core.c | 1058 #define XADC_CHAN_TEMP(_chan, _scan_index, _addr, _bits) { \ argument 1061 .channel = (_chan), \ 1079 #define XADC_CHAN_VOLTAGE(_chan, _scan_index, _addr, _bits, _ext, _alarm) { \ argument 1082 .channel = (_chan), \ 1101 #define XADC_7S_CHAN_TEMP(_chan, _scan_index, _addr) \ argument 1102 XADC_CHAN_TEMP(_chan, _scan_index, _addr, 12) 1103 #define XADC_7S_CHAN_VOLTAGE(_chan, _scan_index, _addr, _ext, _alarm) \ argument 1104 XADC_CHAN_VOLTAGE(_chan, _scan_index, _addr, 12, _ext, _alarm) 1136 #define XADC_US_CHAN_TEMP(_chan, _scan_index, _addr) \ argument 1137 XADC_CHAN_TEMP(_chan, _scan_index, _addr, 10) [all …]
|
D | ad7292.c | 41 #define AD7292_VOLTAGE_CHAN(_chan) \ argument 47 .channel = _chan, \
|
D | ad9467.c | 209 #define AD9467_CHAN(_chan, _si, _bits, _sign) \ argument 213 .channel = _chan, \
|
D | ad7291.c | 423 #define AD7291_VOLTAGE_CHAN(_chan) \ argument 429 .channel = _chan, \
|
D | palmas_gpadc.c | 46 #define PALMAS_ADC_INFO(_chan, _x1, _x2, _v1, _v2, _t1, _t2, _is_uncalibrated) \ argument 47 [PALMAS_ADC_CH_##_chan] = { \
|
/drivers/iio/dac/ |
D | ad5624r_spi.c | 166 #define AD5624R_CHANNEL(_chan, _bits) { \ argument 170 .channel = (_chan), \ 173 .address = (_chan), \
|
D | ad5504.c | 248 #define AD5504_CHANNEL(_chan) { \ argument 252 .channel = (_chan), \ 255 .address = AD5504_ADDR_DAC(_chan), \
|
D | ad5764.c | 75 #define AD5764_CHANNEL(_chan, _bits) { \ argument 79 .channel = (_chan), \ 80 .address = (_chan), \
|
D | ltc2632.c | 183 #define LTC2632_CHANNEL(_chan, _bits) { \ argument 187 .channel = (_chan), \ 190 .address = (_chan), \
|
D | ad5766.c | 449 #define AD576x_CHANNEL(_chan, _bits) { \ argument 453 .channel = (_chan), \ 454 .address = (_chan), \
|
/drivers/input/touchscreen/ |
D | tsc2007_iio.c | 15 #define TSC2007_CHAN_IIO(_chan, _name, _type, _chan_info) \ argument 22 .channel = _chan, \
|
/drivers/iio/cdc/ |
D | ad7150.c | 437 #define AD7150_CAPACITANCE_CHAN(_chan) { \ argument 440 .channel = _chan, \ 450 #define AD7150_CAPACITANCE_CHAN_NO_IRQ(_chan) { \ argument 453 .channel = _chan, \
|
/drivers/comedi/drivers/ |
D | das6402.c | 74 #define DAS6402_AO_RANGE(_chan, _range) ((_range) << ((_chan) ? 6 : 4)) argument 75 #define DAS6402_AO_RANGE_MASK(_chan) (3 << ((_chan) ? 6 : 4)) argument
|
/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-fh.h | 551 #define FH_TX_TRB_REG(_chan) (FH_MEM_LOWER_BOUND + 0x958 + (_chan) * 4) argument
|
/drivers/dma/ |
D | at_hdmac.c | 1970 struct dma_chan *chan, *_chan; in at_dma_remove() local 1982 list_for_each_entry_safe(chan, _chan, &atdma->dma_common.channels, in at_dma_remove() 2018 struct dma_chan *chan, *_chan; in at_dma_prepare() local 2020 list_for_each_entry_safe(chan, _chan, &atdma->dma_common.channels, in at_dma_prepare() 2052 struct dma_chan *chan, *_chan; in at_dma_suspend_noirq() local 2055 list_for_each_entry_safe(chan, _chan, &atdma->dma_common.channels, in at_dma_suspend_noirq() 2093 struct dma_chan *chan, *_chan; in at_dma_resume_noirq() local 2105 list_for_each_entry_safe(chan, _chan, &atdma->dma_common.channels, in at_dma_resume_noirq()
|
D | fsl-edma.c | 107 struct dma_chan *chan, *_chan; in fsl_edma_xlate() local 116 list_for_each_entry_safe(chan, _chan, &fsl_edma->dma_dev.channels, device_node) { in fsl_edma_xlate()
|
D | at_xdmac.c | 1962 struct dma_chan *chan, *_chan; in atmel_xdmac_prepare() local 1964 list_for_each_entry_safe(chan, _chan, &atxdmac->dma.channels, device_node) { in atmel_xdmac_prepare() 1981 struct dma_chan *chan, *_chan; in atmel_xdmac_suspend() local 1983 list_for_each_entry_safe(chan, _chan, &atxdmac->dma.channels, device_node) { in atmel_xdmac_suspend() 2007 struct dma_chan *chan, *_chan; in atmel_xdmac_resume() local 2026 list_for_each_entry_safe(chan, _chan, &atxdmac->dma.channels, device_node) { in atmel_xdmac_resume()
|
D | fsl-edma-common.c | 660 struct fsl_edma_chan *chan, *_chan; in fsl_edma_cleanup_vchan() local 662 list_for_each_entry_safe(chan, _chan, in fsl_edma_cleanup_vchan()
|
D | fsl-qdma.c | 1265 struct fsl_qdma_chan *chan, *_chan; in fsl_qdma_cleanup_vchan() local 1267 list_for_each_entry_safe(chan, _chan, in fsl_qdma_cleanup_vchan()
|
/drivers/dma/dw-edma/ |
D | dw-edma-core.c | 983 struct dw_edma_chan *chan, *_chan; in dw_edma_remove() local 1000 list_for_each_entry_safe(chan, _chan, &dw->wr_edma.channels, in dw_edma_remove() 1007 list_for_each_entry_safe(chan, _chan, &dw->rd_edma.channels, in dw_edma_remove()
|