Home
last modified time | relevance | path

Searched refs:_index (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/iio/health/
H A Dafe440x.h83 #define AFE440X_INTENSITY_CHAN(_index, _mask) \ argument
86 .channel = _index, \
87 .address = _index, \
88 .scan_index = _index, \
100 #define AFE440X_CURRENT_CHAN(_index) \ argument
103 .channel = _index, \
104 .address = _index, \
/linux/drivers/net/ethernet/sfc/siena/
H A Dmcdi.h293 #define _MCDI_ARRAY_PTR(_buf, _field, _index, _align) \ argument
295 + (_index) * _MCDI_CHECK_ALIGN(MC_CMD_ ## _field ## _LEN, _align))
298 #define MCDI_ARRAY_STRUCT_PTR(_buf, _field, _index) \ argument
299 ((efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4))
303 #define MCDI_ARRAY_WORD(_buf, _field, _index) \ argument
306 _MCDI_ARRAY_PTR(_buf, _field, _index, 2)))
307 #define _MCDI_ARRAY_DWORD(_buf, _field, _index) \ argument
309 (efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4))
310 #define MCDI_SET_ARRAY_DWORD(_buf, _field, _index, _value) \ argument
311 EFX_SET_DWORD_FIELD(*_MCDI_ARRAY_DWORD(_buf, _field, _index), \
[all …]
/linux/drivers/iio/adc/
H A Dlpc32xx_adc.c103 #define LPC32XX_ADC_CHANNEL_BASE(_index) \ argument
106 .channel = _index, \
108 .address = LPC32XXAD_IN * _index, \
109 .scan_index = _index,
111 #define LPC32XX_ADC_CHANNEL(_index) { \ argument
112 LPC32XX_ADC_CHANNEL_BASE(_index) \
115 #define LPC32XX_ADC_SCALE_CHANNEL(_index) { \ argument
116 LPC32XX_ADC_CHANNEL_BASE(_index) \
H A Dpac1934.c321 #define PAC1934_VPOWER_ACC_CHANNEL(_index, _si, _address) { \ argument
325 .channel = (_index), \
340 #define PAC1934_VBUS_CHANNEL(_index, _si, _address) { \ argument
344 .channel = (_index), \
358 #define PAC1934_VBUS_AVG_CHANNEL(_index, _si, _address) { \ argument
362 .channel = (_index), \
376 #define PAC1934_VSENSE_CHANNEL(_index, _si, _address) { \ argument
380 .channel = (_index), \
394 #define PAC1934_VSENSE_AVG_CHANNEL(_index, _si, _address) { \ argument
398 .channel = (_index), \
[all …]
H A Dti-ads1018.c101 #define ADS1018_VOLT_DIFF_CHAN(_index, _chan, _chan2, _realbits) { \ argument
105 .scan_index = _index, \
122 #define ADS1018_VOLT_CHAN(_index, _chan, _realbits) { \ argument
125 .scan_index = _index, \
141 #define ADS1018_TEMP_CHAN(_index, _realbits) { \ argument
143 .scan_index = _index, \
H A Dviperboard_adc.c35 #define VPRBRD_ADC_CHANNEL(_index) { \ argument
38 .channel = _index, \
H A Dmax34408.c93 #define MAX34008_CHANNEL(_index, _address) \ argument
99 .channel = (_index), \
H A Dmcp3422.c42 #define MCP3422_CHAN(_index) \ argument
46 .channel = _index, \
H A Dad4134.c81 #define AD4134_CHANNEL(_index) { \ argument
84 .channel = (_index), \
H A Dexynos_adc.c520 #define ADC_CHANNEL(_index, _id) { \ argument
523 .channel = _index, \
524 .address = _index, \
H A Dcpcap-adc.c333 #define CPCAP_CHAN(_type, _index, _address, _datasheet_name) { \ argument
337 .channel = (_index), \
340 .scan_index = (_index), \
H A Dbcm_iproc_adc.c485 #define IPROC_ADC_CHANNEL(_index, _id) { \ argument
488 .channel = _index, \
/linux/drivers/net/ethernet/sfc/
H A Dmcdi.h338 #define _MCDI_ARRAY_PTR(_buf, _field, _index, _align) \ argument
340 + (_index) * _MCDI_CHECK_ALIGN(MC_CMD_ ## _field ## _LEN, _align))
343 #define MCDI_ARRAY_STRUCT_PTR(_buf, _field, _index) \ argument
344 ((efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4))
348 #define MCDI_ARRAY_WORD(_buf, _field, _index) \ argument
351 _MCDI_ARRAY_PTR(_buf, _field, _index, 2)))
352 #define _MCDI_ARRAY_DWORD(_buf, _field, _index) \ argument
354 (efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4))
355 #define MCDI_SET_ARRAY_DWORD(_buf, _field, _index, _value) \ argument
356 EFX_SET_DWORD_FIELD(*_MCDI_ARRAY_DWORD(_buf, _field, _index), \
[all …]
/linux/drivers/memory/
H A Ddfl-emif.c106 #define emif_state_attr(_name, _shift, _index) \ argument
107 static struct emif_attr emif_attr_##inf##_index##_##_name = \
108 { .attr = __ATTR(inf##_index##_##_name, 0444, \
110 .shift = (_shift), .index = (_index) }
112 #define emif_clear_attr(_index) \ argument
113 static struct emif_attr emif_attr_##inf##_index##_clear = \
114 { .attr = __ATTR(inf##_index##_clear, 0200, \
116 .index = (_index) }
/linux/mm/
H A Dreadahead.c264 ractl->_index = index; in page_cache_ra_unbounded()
283 ractl->_index += min_nrpages; in page_cache_ra_unbounded()
284 i = ractl->_index - index; in page_cache_ra_unbounded()
299 ractl->_index += min_nrpages; in page_cache_ra_unbounded()
300 i = ractl->_index - index; in page_cache_ra_unbounded()
523 ractl->_index = mapping_align_index(mapping, index); in page_cache_ra_order()
648 ractl->_index = ra->start; in page_cache_sync_ra()
719 ractl->_index = ra->start; in page_cache_async_ra()
801 VM_BUG_ON(!IS_ALIGNED(ractl->_index, min_nrpages)); in readahead_expand()
804 while (ractl->_index > new_index) { in readahead_expand()
[all …]
/linux/arch/xtensa/include/asm/
H A Dcacheasm.h46 .set _index, 0
48 \insn \ar, _index << (\line_width)
49 .set _index, _index + 1
/linux/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_temp.h11 #define INV_ICM42600_TEMP_CHAN(_index) \ argument
18 .scan_index = _index, \
/linux/drivers/misc/
H A Dsmpro-errmon.c401 #define ERROR_OVERFLOW_RO(_error, _index) \ argument
406 return smpro_overflow_data_read(dev, da, buf, _index); \
419 #define ERROR_RO(_error, _index) \ argument
424 return smpro_error_data_read(dev, da, buf, _index); \
461 #define EVENT_RO(_event, _index) \ argument
466 return smpro_event_data_read(dev, da, buf, _index); \
/linux/drivers/clk/
H A Dclk-eyeq.c565 #define DIV(_index, _parent_idx, _name, _parent_name, \ argument
568 .index = _index, \
581 #define DIV_TABLE_RO(_index, _parent_idx, _name, _parent_name, \ argument
584 .index = _index, \
597 #define FF(_index, _parent_idx, _name, _parent_name, _mult, _div) \ argument
599 .index = _index, \
609 #define PLL_AINTP(_index, _parent_idx, _name, _parent_name, _reg) \ argument
611 .index = _index, \
620 #define PLL_FRACG(_index, _parent_idx, _name, _parent_name, _reg) \ argument
622 .index = _index, \
[all …]
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-common.h1391 #define GET_BITS(_var, _index, _width) \ argument
1392 (((_var) >> (_index)) & ((0x1 << (_width)) - 1))
1394 #define SET_BITS(_var, _index, _width, _val) \ argument
1396 (_var) &= ~(((0x1 << (_width)) - 1) << (_index)); \
1397 (_var) |= (((_val) & ((0x1 << (_width)) - 1)) << (_index)); \
1400 #define GET_BITS_LE(_var, _index, _width) \ argument
1401 ((le32_to_cpu((_var)) >> (_index)) & ((0x1 << (_width)) - 1))
1403 #define SET_BITS_LE(_var, _index, _width, _val) \ argument
1405 (_var) &= cpu_to_le32(~(((0x1 << (_width)) - 1) << (_index))); \
1407 ((0x1 << (_width)) - 1)) << (_index))); \
/linux/arch/xtensa/kernel/
H A Dentry.S865 .set _index, 0 define
867 l32i a0, a3, DT_DBREAKC_SAVE + _index * 4
868 wsr a0, SREG_DBREAKC + _index
869 .set _index, _index + 1 define
883 .set _index, 0 define
886 xsr a0, SREG_DBREAKC + _index
887 s32i a0, a3, DT_DBREAKC_SAVE + _index * 4
888 .set _index, _index + 1 define
/linux/drivers/iio/chemical/
H A Dpms7003.c172 #define PMS7003_CHAN(_index, _mod, _addr) { \ argument
178 .scan_index = _index, \
/linux/drivers/clk/renesas/
H A Drzv2h-cpg.h116 #define FIXED_MOD_CONF_PACK(_index, _bit) \ argument
118 .mon_index = (_index), \
/linux/rust/kernel/
H A Dcpufreq.rs790 fn target_index(_policy: &mut Policy, _index: TableIndex) -> Result { in fast_switch()
811 fn get_intermediate(_policy: &mut Policy, _index: TableIndex) -> u32 { in get()
816 fn target_intermediate(_policy: &mut Policy, _index: TableIndex) -> Result { in update_limits()
/linux/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_core.c1462 #define INV_MPU6050_CHAN(_type, _channel2, _index) \ argument
1470 .scan_index = _index, \
1481 #define INV_MPU6050_TEMP_CHAN(_index) \ argument
1487 .scan_index = _index, \
1572 #define INV_MPU9X50_MAGN_CHAN(_chan2, _bits, _index) \ argument
1579 .scan_index = _index, \

12