Home
last modified time | relevance | path

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

/linux/sound/pci/hda/
H A Dca0132_regs.h33 #define XRAM_XRAM_INST_OFFSET(_chan) \ argument
35 (_chan * XRAM_XRAM_CHAN_INCR))
41 #define YRAM_YRAM_INST_OFFSET(_chan) \ argument
43 (_chan * YRAM_YRAM_CHAN_INCR))
49 #define UC_UC_INST_OFFSET(_chan) \ argument
51 (_chan * UC_UC_CHAN_INCR))
57 #define AXRAM_AXRAM_INST_OFFSET(_chan) \ argument
59 (_chan * AXRAM_AXRAM_CHAN_INCR))
65 #define AYRAM_AYRAM_INST_OFFSET(_chan) \ argument
67 (_chan * AYRAM_AYRAM_CHAN_INCR))
[all …]
/linux/drivers/iio/adc/
H A Dltc2497-core.c108 #define LTC2497_CHAN(_chan, _addr, _ds_name) { \ argument
111 .channel = (_chan), \
112 .address = (_addr | (_chan / 2) | ((_chan & 1) ? LTC2497_SIGN : 0)), \
118 #define LTC2497_CHAN_DIFF(_chan, _addr) { \ argument
121 .channel = (_chan) * 2 + ((_addr) & LTC2497_SIGN ? 1 : 0), \
122 .channel2 = (_chan) * 2 + ((_addr) & LTC2497_SIGN ? 0 : 1),\
123 .address = (_addr | _chan), \
H A Dltc2309.c63 #define LTC2309_CHAN(_chan, _addr) { \ argument
67 .channel = _chan, \
72 #define LTC2309_DIFF_CHAN(_chan, _chan2, _addr) { \ argument
77 .channel = _chan, \
H A Dxilinx-xadc-core.c1056 #define XADC_CHAN_TEMP(_chan, _scan_index, _addr, _bits) { \ argument
1059 .channel = (_chan), \
1077 #define XADC_CHAN_VOLTAGE(_chan, _scan_index, _addr, _bits, _ext, _alarm) { \ argument
1080 .channel = (_chan), \
1099 #define XADC_7S_CHAN_TEMP(_chan, _scan_index, _addr) \ argument
1100 XADC_CHAN_TEMP(_chan, _scan_index, _addr, 12)
1101 #define XADC_7S_CHAN_VOLTAGE(_chan, _scan_index, _addr, _ext, _alarm) \ argument
1102 XADC_CHAN_VOLTAGE(_chan, _scan_index, _addr, 12, _ext, _alarm)
1134 #define XADC_US_CHAN_TEMP(_chan, _scan_index, _addr) \ argument
1135 XADC_CHAN_TEMP(_chan, _scan_index, _addr, 10)
[all …]
H A Dti-ads7924.c122 #define ADS7924_V_CHAN(_chan, _addr) { \ argument
125 .channel = _chan, \
129 .datasheet_name = "AIN"#_chan, \
H A Dad7292.c45 #define AD7292_VOLTAGE_CHAN(_chan) \ argument
51 .channel = _chan, \
H A Dad9467.c284 #define AD9467_CHAN(_chan, avai_mask, _si, _bits, _sign) \ argument
288 .channel = _chan, \
/linux/drivers/dma/
H A Dfsl-edma-common.h310 #define fsl_edma_get_tcd(_chan, _tcd, _field) \ argument
311 (fsl_edma_drvflags(_chan) & FSL_EDMA_DRV_TCD64 ? (((struct fsl_edma_hw_tcd64 *)_tcd)->_field) : \
321 #define fsl_edma_get_tcd_to_cpu(_chan, _tcd, _field) \ argument
322 (fsl_edma_drvflags(_chan) & FSL_EDMA_DRV_TCD64 ? \
333 #define fsl_edma_set_tcd_to_le(_chan, _tcd, _val, _field) \ argument
335 if (fsl_edma_drvflags(_chan) & FSL_EDMA_DRV_TCD64) \
H A Dfsl-edma-common.c860 struct fsl_edma_chan *chan, *_chan; in fsl_edma_cleanup_vchan() local
862 list_for_each_entry_safe(chan, _chan, in fsl_edma_cleanup_vchan()
H A Dmv_xor.c1011 struct dma_chan *chan, *_chan; in mv_xor_channel_remove() local
1023 list_for_each_entry_safe(chan, _chan, &mv_chan->dmadev.channels, in mv_xor_channel_remove()
/linux/drivers/input/touchscreen/
H A Dtsc2007_iio.c15 #define TSC2007_CHAN_IIO(_chan, _name, _type, _chan_info) \ argument
22 .channel = _chan, \
/linux/drivers/iio/dac/
H A Dad5764.c75 #define AD5764_CHANNEL(_chan, _bits) { \ argument
79 .channel = (_chan), \
80 .address = (_chan), \
H A Dltc2632.c184 #define LTC2632_CHANNEL(_chan, _bits) { \ argument
188 .channel = (_chan), \
191 .address = (_chan), \
H A Dad5766.c443 #define AD576x_CHANNEL(_chan, _bits) { \ argument
447 .channel = (_chan), \
448 .address = (_chan), \
452 .scan_index = (_chan), \
H A Dltc2688.c661 #define LTC2688_CHANNEL(_chan) { \ argument
665 .channel = (_chan), \
/linux/drivers/comedi/drivers/
H A Ddas6402.c72 #define DAS6402_AO_RANGE(_chan, _range) ((_range) << ((_chan) ? 6 : 4)) argument
73 #define DAS6402_AO_RANGE_MASK(_chan) (3 << ((_chan) ? 6 : 4)) argument
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-fh.h551 #define FH_TX_TRB_REG(_chan) (FH_MEM_LOWER_BOUND + 0x958 + (_chan) * 4) argument
/linux/drivers/regulator/
H A Dmax5970-regulator.c366 #define MAX597X_SWITCH(_ID, _ereg, _chan, _supply) { \ argument
376 .enable_mask = CHXEN((_chan)), \
/linux/drivers/dma/dw-edma/
H A Ddw-edma-core.c986 struct dw_edma_chan *chan, *_chan; in dw_edma_remove() local
1004 list_for_each_entry_safe(chan, _chan, &dw->dma.channels, in dw_edma_remove()