Home
last modified time | relevance | path

Searched refs:_chan (Results 1 – 25 of 30) sorted by relevance

12

/drivers/net/ethernet/intel/ice/
Dice_ptp.h150 #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/
Dltc2497-core.c107 #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), \
Dad7266.c186 #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), \
Dmeson_saradc.c49 #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 …]
Dti-ads1015.c137 #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 …]
Dxilinx-xadc-core.c1058 #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 …]
Dad7292.c41 #define AD7292_VOLTAGE_CHAN(_chan) \ argument
47 .channel = _chan, \
Dad9467.c209 #define AD9467_CHAN(_chan, _si, _bits, _sign) \ argument
213 .channel = _chan, \
Dad7291.c423 #define AD7291_VOLTAGE_CHAN(_chan) \ argument
429 .channel = _chan, \
Dpalmas_gpadc.c46 #define PALMAS_ADC_INFO(_chan, _x1, _x2, _v1, _v2, _t1, _t2, _is_uncalibrated) \ argument
47 [PALMAS_ADC_CH_##_chan] = { \
/drivers/iio/dac/
Dad5624r_spi.c166 #define AD5624R_CHANNEL(_chan, _bits) { \ argument
170 .channel = (_chan), \
173 .address = (_chan), \
Dad5504.c248 #define AD5504_CHANNEL(_chan) { \ argument
252 .channel = (_chan), \
255 .address = AD5504_ADDR_DAC(_chan), \
Dad5764.c75 #define AD5764_CHANNEL(_chan, _bits) { \ argument
79 .channel = (_chan), \
80 .address = (_chan), \
Dltc2632.c183 #define LTC2632_CHANNEL(_chan, _bits) { \ argument
187 .channel = (_chan), \
190 .address = (_chan), \
Dad5766.c449 #define AD576x_CHANNEL(_chan, _bits) { \ argument
453 .channel = (_chan), \
454 .address = (_chan), \
/drivers/input/touchscreen/
Dtsc2007_iio.c15 #define TSC2007_CHAN_IIO(_chan, _name, _type, _chan_info) \ argument
22 .channel = _chan, \
/drivers/iio/cdc/
Dad7150.c437 #define AD7150_CAPACITANCE_CHAN(_chan) { \ argument
440 .channel = _chan, \
450 #define AD7150_CAPACITANCE_CHAN_NO_IRQ(_chan) { \ argument
453 .channel = _chan, \
/drivers/comedi/drivers/
Ddas6402.c74 #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/
Diwl-fh.h551 #define FH_TX_TRB_REG(_chan) (FH_MEM_LOWER_BOUND + 0x958 + (_chan) * 4) argument
/drivers/dma/
Dat_hdmac.c1970 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()
Dfsl-edma.c107 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()
Dat_xdmac.c1962 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()
Dfsl-edma-common.c660 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()
Dfsl-qdma.c1265 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/
Ddw-edma-core.c983 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()

12