/openbmc/linux/sound/pci/hda/ |
H A D | ca0132_regs.h | 33 #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 D | ice_ptp.h | 239 #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 D | ltc2497-core.c | 108 #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 D | ad7266.c | 189 #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 D | meson_saradc.c | 50 (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 D | xilinx-xadc-core.c | 1057 #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 D | ti-ads7924.c | 122 #define ADS7924_V_CHAN(_chan, _addr) { \ argument 125 .channel = _chan, \ 129 .datasheet_name = "AIN"#_chan, \
|
H A D | ad7292.c | 42 #define AD7292_VOLTAGE_CHAN(_chan) \ argument 48 .channel = _chan, \
|
H A D | ti-ads1015.c | 182 #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 D | ad7291.c | 423 #define AD7291_VOLTAGE_CHAN(_chan) \ argument 429 .channel = _chan, \
|
H A D | ad9467.c | 211 #define AD9467_CHAN(_chan, _si, _bits, _sign) \ argument 215 .channel = _chan, \
|
/openbmc/u-boot/drivers/adc/ |
H A D | meson-saradc.c | 44 #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 D | tsc2007_iio.c | 15 #define TSC2007_CHAN_IIO(_chan, _name, _type, _chan_info) \ argument 22 .channel = _chan, \
|
/openbmc/linux/drivers/iio/dac/ |
H A D | ad5624r_spi.c | 166 #define AD5624R_CHANNEL(_chan, _bits) { \ argument 170 .channel = (_chan), \ 173 .address = (_chan), \
|
H A D | ad5504.c | 248 #define AD5504_CHANNEL(_chan) { \ argument 252 .channel = (_chan), \ 255 .address = AD5504_ADDR_DAC(_chan), \
|
H A D | ad5764.c | 75 #define AD5764_CHANNEL(_chan, _bits) { \ argument 79 .channel = (_chan), \ 80 .address = (_chan), \
|
H A D | ltc2632.c | 184 #define LTC2632_CHANNEL(_chan, _bits) { \ argument 188 .channel = (_chan), \ 191 .address = (_chan), \
|
H A D | ad5766.c | 443 #define AD576x_CHANNEL(_chan, _bits) { \ argument 447 .channel = (_chan), \ 448 .address = (_chan), \ 452 .scan_index = (_chan), \
|
/openbmc/linux/drivers/iio/cdc/ |
H A 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, \
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | das6402.c | 72 #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 D | iwl-fh.h | 551 #define FH_TX_TRB_REG(_chan) (FH_MEM_LOWER_BOUND + 0x958 + (_chan) * 4) argument
|
/openbmc/linux/drivers/dma/ |
H A D | fsl-edma-main.c | 102 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 D | at_hdmac.c | 2106 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 D | max5970-regulator.c | 239 #define MAX597X_SWITCH(_ID, _ereg, _chan, _supply) { \ argument 249 .enable_mask = CHXEN((_chan)), \
|
/openbmc/ipmitool/include/ipmitool/ |
H A D | ipmi_sdr.h | 855 #define BRIDGE_TO_SENSOR(_intf, _addr, _chan) \ argument 856 ( !((_chan == 0 && _intf->target_ipmb_addr && \ 858 (_addr == _intf->target_addr && _chan == _intf->target_channel)) )
|