Home
last modified time | relevance | path

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

12

/openbmc/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))
59 (_chan * AXRAM_AXRAM_CHAN_INCR))
67 (_chan * AYRAM_AYRAM_CHAN_INCR))
75 (_chan * DSPDMAC_DMACFG_CHAN_INCR))
198 (_chan * DSPDMAC_XFRCNT_CHAN_INCR))
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp.h239 #define GLTSYN_AUX_OUT(_chan, _idx) (GLTSYN_AUX_OUT_0(_idx) + ((_chan) * 8)) argument
240 #define GLTSYN_AUX_IN(_chan, _idx) (GLTSYN_AUX_IN_0(_idx) + ((_chan) * 8)) argument
241 #define GLTSYN_CLKO(_chan, _idx) (GLTSYN_CLKO_0(_idx) + ((_chan) * 8)) argument
242 #define GLTSYN_TGT_L(_chan, _idx) (GLTSYN_TGT_L_0(_idx) + ((_chan) * 16)) argument
243 #define GLTSYN_TGT_H(_chan, _idx) (GLTSYN_TGT_H_0(_idx) + ((_chan) * 16)) argument
244 #define GLTSYN_EVNT_L(_chan, _idx) (GLTSYN_EVNT_L_0(_idx) + ((_chan) * 16)) argument
245 #define GLTSYN_EVNT_H(_chan, _idx) (GLTSYN_EVNT_H_0(_idx) + ((_chan) * 16)) argument
/openbmc/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 Dad7266.c189 #define AD7266_CHAN(_chan, _sign) { \ argument
192 .channel = (_chan), \
193 .address = (_chan), \
197 .scan_index = (_chan), \
236 #define AD7266_CHAN_DIFF(_chan, _sign) { \ argument
239 .channel = (_chan) * 2, \
240 .channel2 = (_chan) * 2 + 1, \
241 .address = (_chan), \
245 .scan_index = (_chan), \
H A Dmeson_saradc.c50 (GENMASK(2, 0) << ((_chan) * 3))
54 (16 + ((_chan) * 2))
56 (GENMASK(17, 16) << ((_chan) * 2))
58 (0 + ((_chan) * 2))
60 (GENMASK(1, 0) << ((_chan) * 2))
96 (8 + (((_chan) - 2) * 3))
183 #define MESON_SAR_ADC_CHAN(_chan) { \ argument
186 .channel = _chan, \
187 .address = _chan, \
198 .channel = _chan, \
[all …]
H A Dxilinx-xadc-core.c1057 #define XADC_CHAN_TEMP(_chan, _scan_index, _addr, _bits) { \ argument
1060 .channel = (_chan), \
1081 .channel = (_chan), \
1100 #define XADC_7S_CHAN_TEMP(_chan, _scan_index, _addr) \ argument
1101 XADC_CHAN_TEMP(_chan, _scan_index, _addr, 12)
1102 #define XADC_7S_CHAN_VOLTAGE(_chan, _scan_index, _addr, _ext, _alarm) \ argument
1103 XADC_CHAN_VOLTAGE(_chan, _scan_index, _addr, 12, _ext, _alarm)
1135 #define XADC_US_CHAN_TEMP(_chan, _scan_index, _addr) \ argument
1136 XADC_CHAN_TEMP(_chan, _scan_index, _addr, 10)
1137 #define XADC_US_CHAN_VOLTAGE(_chan, _scan_index, _addr, _ext, _alarm) \ argument
[all …]
H A Dti-ads7924.c122 #define ADS7924_V_CHAN(_chan, _addr) { \ argument
125 .channel = _chan, \
129 .datasheet_name = "AIN"#_chan, \
H A Dad7292.c42 #define AD7292_VOLTAGE_CHAN(_chan) \ argument
48 .channel = _chan, \
H A Dti-ads1015.c182 #define ADS1015_V_CHAN(_chan, _addr, _realbits, _shift, _event_spec, _num_event_specs) { \ argument
186 .channel = _chan, \
203 .datasheet_name = "AIN"#_chan, \
206 #define ADS1015_V_DIFF_CHAN(_chan, _chan2, _addr, _realbits, _shift, _event_spec, _num_event_specs)… argument
211 .channel = _chan, \
229 .datasheet_name = "AIN"#_chan"-AIN"#_chan2, \
H A Dad7291.c423 #define AD7291_VOLTAGE_CHAN(_chan) \ argument
429 .channel = _chan, \
H A Dad9467.c211 #define AD9467_CHAN(_chan, _si, _bits, _sign) \ argument
215 .channel = _chan, \
/openbmc/u-boot/drivers/adc/
H A Dmeson-saradc.c44 #define MESON_SAR_ADC_CHAN_LIST_ENTRY_MASK(_chan) \ argument
45 (GENMASK(2, 0) << ((_chan) * 3))
48 #define MESON_SAR_ADC_AVG_CNTL_AVG_MODE_SHIFT(_chan) \ argument
49 (16 + ((_chan) * 2))
50 #define MESON_SAR_ADC_AVG_CNTL_AVG_MODE_MASK(_chan) \ argument
51 (GENMASK(17, 16) << ((_chan) * 2))
52 #define MESON_SAR_ADC_AVG_CNTL_NUM_SAMPLES_SHIFT(_chan) \ argument
53 (0 + ((_chan) * 2))
54 #define MESON_SAR_ADC_AVG_CNTL_NUM_SAMPLES_MASK(_chan) \ argument
55 (GENMASK(1, 0) << ((_chan) * 2))
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A Dtsc2007_iio.c15 #define TSC2007_CHAN_IIO(_chan, _name, _type, _chan_info) \ argument
22 .channel = _chan, \
/openbmc/linux/drivers/iio/dac/
H A Dad5624r_spi.c166 #define AD5624R_CHANNEL(_chan, _bits) { \ argument
170 .channel = (_chan), \
173 .address = (_chan), \
H A Dad5504.c248 #define AD5504_CHANNEL(_chan) { \ argument
252 .channel = (_chan), \
255 .address = AD5504_ADDR_DAC(_chan), \
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), \
/openbmc/linux/drivers/iio/cdc/
H A Dad7150.c437 #define AD7150_CAPACITANCE_CHAN(_chan) { \ argument
440 .channel = _chan, \
450 #define AD7150_CAPACITANCE_CHAN_NO_IRQ(_chan) { \ argument
453 .channel = _chan, \
/openbmc/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
/openbmc/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
/openbmc/linux/drivers/dma/
H A Dfsl-edma-main.c102 struct dma_chan *chan, *_chan; in fsl_edma_xlate() local
111 list_for_each_entry_safe(chan, _chan, &fsl_edma->dma_dev.channels, device_node) { in fsl_edma_xlate()
135 struct dma_chan *chan, *_chan; in fsl_edma3_xlate() local
146 list_for_each_entry_safe(chan, _chan, &fsl_edma->dma_dev.channels, in fsl_edma3_xlate()
H A Dat_hdmac.c2106 struct dma_chan *chan, *_chan; in at_dma_remove() local
2117 list_for_each_entry_safe(chan, _chan, &atdma->dma_device.channels, in at_dma_remove()
2140 struct dma_chan *chan, *_chan; in at_dma_prepare() local
2142 list_for_each_entry_safe(chan, _chan, &atdma->dma_device.channels, in at_dma_prepare()
2174 struct dma_chan *chan, *_chan; in at_dma_suspend_noirq() local
2177 list_for_each_entry_safe(chan, _chan, &atdma->dma_device.channels, in at_dma_suspend_noirq()
2215 struct dma_chan *chan, *_chan; in at_dma_resume_noirq() local
2227 list_for_each_entry_safe(chan, _chan, &atdma->dma_device.channels, in at_dma_resume_noirq()
/openbmc/linux/drivers/regulator/
H A Dmax5970-regulator.c239 #define MAX597X_SWITCH(_ID, _ereg, _chan, _supply) { \ argument
249 .enable_mask = CHXEN((_chan)), \
/openbmc/ipmitool/include/ipmitool/
H A Dipmi_sdr.h855 #define BRIDGE_TO_SENSOR(_intf, _addr, _chan) \ argument
856 ( !((_chan == 0 && _intf->target_ipmb_addr && \
858 (_addr == _intf->target_addr && _chan == _intf->target_channel)) )

12