_index 46 arch/xtensa/include/asm/cacheasm.h .set _index, 0 _index 48 arch/xtensa/include/asm/cacheasm.h \insn \ar, _index << (\line_width) _index 49 arch/xtensa/include/asm/cacheasm.h .set _index, _index + 1 _index 486 drivers/gpu/drm/i915/gvt/gtt.c static unsigned long prefix##_gma_to_##ename##_index(unsigned long gma) \ _index 453 drivers/hwmon/acpi_power_meter.c #define RO_SENSOR_TEMPLATE(_label, _show, _index) \ _index 457 drivers/hwmon/acpi_power_meter.c .index = _index, \ _index 460 drivers/hwmon/acpi_power_meter.c #define RW_SENSOR_TEMPLATE(_label, _show, _set, _index) \ _index 465 drivers/hwmon/acpi_power_meter.c .index = _index, \ _index 364 drivers/hwmon/nct6683.c #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ _index 366 drivers/hwmon/nct6683.c .u.index = _index, \ _index 370 drivers/hwmon/nct6683.c _nr, _index) \ _index 372 drivers/hwmon/nct6683.c .u.s.index = _index, \ _index 376 drivers/hwmon/nct6683.c #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ _index 379 drivers/hwmon/nct6683.c _index) _index 382 drivers/hwmon/nct6683.c _nr, _index) \ _index 385 drivers/hwmon/nct6683.c _nr, _index) _index 1251 drivers/hwmon/nct6775.c #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ _index 1253 drivers/hwmon/nct6775.c .u.index = _index, \ _index 1257 drivers/hwmon/nct6775.c _nr, _index) \ _index 1259 drivers/hwmon/nct6775.c .u.s.index = _index, \ _index 1263 drivers/hwmon/nct6775.c #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ _index 1266 drivers/hwmon/nct6775.c _index) _index 1269 drivers/hwmon/nct6775.c _nr, _index) \ _index 1272 drivers/hwmon/nct6775.c _nr, _index) _index 710 drivers/hwmon/occ/common.c #define SENSOR_ATTR_OCC(_name, _mode, _show, _store, _nr, _index) { \ _index 712 drivers/hwmon/occ/common.c .index = _index, \ _index 716 drivers/hwmon/occ/common.c #define OCC_INIT_ATTR(_name, _mode, _show, _store, _nr, _index) \ _index 718 drivers/hwmon/occ/common.c SENSOR_ATTR_OCC(_name, _mode, _show, _store, _nr, _index)) _index 561 drivers/iio/adc/ad799x.c #define _AD799X_CHANNEL(_index, _realbits, _ev_spec, _num_ev_spec) { \ _index 564 drivers/iio/adc/ad799x.c .channel = (_index), \ _index 567 drivers/iio/adc/ad799x.c .scan_index = (_index), \ _index 579 drivers/iio/adc/ad799x.c #define AD799X_CHANNEL(_index, _realbits) \ _index 580 drivers/iio/adc/ad799x.c _AD799X_CHANNEL(_index, _realbits, NULL, 0) _index 582 drivers/iio/adc/ad799x.c #define AD799X_CHANNEL_WITH_EVENTS(_index, _realbits) \ _index 583 drivers/iio/adc/ad799x.c _AD799X_CHANNEL(_index, _realbits, ad799x_events, \ _index 486 drivers/iio/adc/bcm_iproc_adc.c #define IPROC_ADC_CHANNEL(_index, _id) { \ _index 489 drivers/iio/adc/bcm_iproc_adc.c .channel = _index, \ _index 334 drivers/iio/adc/cpcap-adc.c #define CPCAP_CHAN(_type, _index, _address, _datasheet_name) { \ _index 338 drivers/iio/adc/cpcap-adc.c .channel = (_index), \ _index 341 drivers/iio/adc/cpcap-adc.c .scan_index = (_index), \ _index 680 drivers/iio/adc/exynos_adc.c #define ADC_CHANNEL(_index, _id) { \ _index 683 drivers/iio/adc/exynos_adc.c .channel = _index, \ _index 684 drivers/iio/adc/exynos_adc.c .address = _index, \ _index 608 drivers/iio/adc/ina2xx-adc.c #define INA219_CHAN(_type, _index, _address) { \ _index 612 drivers/iio/adc/ina2xx-adc.c .channel = (_index), \ _index 616 drivers/iio/adc/ina2xx-adc.c .scan_index = (_index), \ _index 625 drivers/iio/adc/ina2xx-adc.c #define INA226_CHAN(_type, _index, _address) { \ _index 629 drivers/iio/adc/ina2xx-adc.c .channel = (_index), \ _index 634 drivers/iio/adc/ina2xx-adc.c .scan_index = (_index), \ _index 647 drivers/iio/adc/ina2xx-adc.c #define INA219_CHAN_VOLTAGE(_index, _address, _shift) { \ _index 651 drivers/iio/adc/ina2xx-adc.c .channel = (_index), \ _index 659 drivers/iio/adc/ina2xx-adc.c .scan_index = (_index), \ _index 669 drivers/iio/adc/ina2xx-adc.c #define INA226_CHAN_VOLTAGE(_index, _address) { \ _index 673 drivers/iio/adc/ina2xx-adc.c .channel = (_index), \ _index 679 drivers/iio/adc/ina2xx-adc.c .scan_index = (_index), \ _index 100 drivers/iio/adc/lpc32xx_adc.c #define LPC32XX_ADC_CHANNEL_BASE(_index) \ _index 103 drivers/iio/adc/lpc32xx_adc.c .channel = _index, \ _index 105 drivers/iio/adc/lpc32xx_adc.c .address = LPC32XXAD_IN * _index, \ _index 106 drivers/iio/adc/lpc32xx_adc.c .scan_index = _index, _index 108 drivers/iio/adc/lpc32xx_adc.c #define LPC32XX_ADC_CHANNEL(_index) { \ _index 109 drivers/iio/adc/lpc32xx_adc.c LPC32XX_ADC_CHANNEL_BASE(_index) \ _index 112 drivers/iio/adc/lpc32xx_adc.c #define LPC32XX_ADC_SCALE_CHANNEL(_index) { \ _index 113 drivers/iio/adc/lpc32xx_adc.c LPC32XX_ADC_CHANNEL_BASE(_index) \ _index 48 drivers/iio/adc/mcp3422.c #define MCP3422_CHAN(_index) \ _index 52 drivers/iio/adc/mcp3422.c .channel = _index, \ _index 121 drivers/iio/adc/rockchip_saradc.c #define ADC_CHANNEL(_index, _id) { \ _index 124 drivers/iio/adc/rockchip_saradc.c .channel = _index, \ _index 35 drivers/iio/adc/viperboard_adc.c #define VPRBRD_ADC_CHANNEL(_index) { \ _index 38 drivers/iio/adc/viperboard_adc.c .channel = _index, \ _index 172 drivers/iio/chemical/pms7003.c #define PMS7003_CHAN(_index, _mod, _addr) { \ _index 178 drivers/iio/chemical/pms7003.c .scan_index = _index, \ _index 439 drivers/iio/chemical/sps30.c #define SPS30_CHAN(_index, _mod) { \ _index 446 drivers/iio/chemical/sps30.c .scan_index = _index, \ _index 5 drivers/iio/common/ssp_sensors/ssp_iio_sensor.h #define SSP_CHANNEL_AG(_type, _mod, _index) \ _index 11 drivers/iio/common/ssp_sensors/ssp_iio_sensor.h .scan_index = _index,\ _index 83 drivers/iio/health/afe440x.h #define AFE440X_INTENSITY_CHAN(_index, _mask) \ _index 86 drivers/iio/health/afe440x.h .channel = _index, \ _index 87 drivers/iio/health/afe440x.h .address = _index, \ _index 88 drivers/iio/health/afe440x.h .scan_index = _index, \ _index 100 drivers/iio/health/afe440x.h #define AFE440X_CURRENT_CHAN(_index) \ _index 103 drivers/iio/health/afe440x.h .channel = _index, \ _index 104 drivers/iio/health/afe440x.h .address = _index, \ _index 98 drivers/iio/imu/bmi160/bmi160_core.c #define BMI160_CHANNEL(_type, _axis, _index) { \ _index 105 drivers/iio/imu/bmi160/bmi160_core.c .scan_index = _index, \ _index 817 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c #define INV_MPU6050_CHAN(_type, _channel2, _index) \ _index 825 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c .scan_index = _index, \ _index 178 drivers/infiniband/core/cm.c #define CM_COUNTER_ATTR(_name, _index) \ _index 181 drivers/infiniband/core/cm.c .index = _index \ _index 1386 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define GET_BITS(_var, _index, _width) \ _index 1387 drivers/net/ethernet/amd/xgbe/xgbe-common.h (((_var) >> (_index)) & ((0x1 << (_width)) - 1)) _index 1389 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define SET_BITS(_var, _index, _width, _val) \ _index 1391 drivers/net/ethernet/amd/xgbe/xgbe-common.h (_var) &= ~(((0x1 << (_width)) - 1) << (_index)); \ _index 1392 drivers/net/ethernet/amd/xgbe/xgbe-common.h (_var) |= (((_val) & ((0x1 << (_width)) - 1)) << (_index)); \ _index 1395 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define GET_BITS_LE(_var, _index, _width) \ _index 1396 drivers/net/ethernet/amd/xgbe/xgbe-common.h ((le32_to_cpu((_var)) >> (_index)) & ((0x1 << (_width)) - 1)) _index 1398 drivers/net/ethernet/amd/xgbe/xgbe-common.h #define SET_BITS_LE(_var, _index, _width, _val) \ _index 1400 drivers/net/ethernet/amd/xgbe/xgbe-common.h (_var) &= cpu_to_le32(~(((0x1 << (_width)) - 1) << (_index))); \ _index 1402 drivers/net/ethernet/amd/xgbe/xgbe-common.h ((0x1 << (_width)) - 1)) << (_index))); \ _index 290 drivers/net/ethernet/sfc/mcdi.h #define _MCDI_ARRAY_PTR(_buf, _field, _index, _align) \ _index 292 drivers/net/ethernet/sfc/mcdi.h + (_index) * _MCDI_CHECK_ALIGN(MC_CMD_ ## _field ## _LEN, _align)) _index 295 drivers/net/ethernet/sfc/mcdi.h #define MCDI_ARRAY_STRUCT_PTR(_buf, _field, _index) \ _index 296 drivers/net/ethernet/sfc/mcdi.h ((efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4)) _index 300 drivers/net/ethernet/sfc/mcdi.h #define MCDI_ARRAY_WORD(_buf, _field, _index) \ _index 303 drivers/net/ethernet/sfc/mcdi.h _MCDI_ARRAY_PTR(_buf, _field, _index, 2))) _index 304 drivers/net/ethernet/sfc/mcdi.h #define _MCDI_ARRAY_DWORD(_buf, _field, _index) \ _index 306 drivers/net/ethernet/sfc/mcdi.h (efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4)) _index 307 drivers/net/ethernet/sfc/mcdi.h #define MCDI_SET_ARRAY_DWORD(_buf, _field, _index, _value) \ _index 308 drivers/net/ethernet/sfc/mcdi.h EFX_SET_DWORD_FIELD(*_MCDI_ARRAY_DWORD(_buf, _field, _index), \ _index 310 drivers/net/ethernet/sfc/mcdi.h #define MCDI_ARRAY_DWORD(_buf, _field, _index) \ _index 311 drivers/net/ethernet/sfc/mcdi.h EFX_DWORD_FIELD(*_MCDI_ARRAY_DWORD(_buf, _field, _index), EFX_DWORD_0) _index 312 drivers/net/ethernet/sfc/mcdi.h #define _MCDI_ARRAY_QWORD(_buf, _field, _index) \ _index 314 drivers/net/ethernet/sfc/mcdi.h (efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4)) _index 315 drivers/net/ethernet/sfc/mcdi.h #define MCDI_SET_ARRAY_QWORD(_buf, _field, _index, _value) \ _index 317 drivers/net/ethernet/sfc/mcdi.h EFX_SET_DWORD_FIELD(_MCDI_ARRAY_QWORD(_buf, _field, _index)[0],\ _index 319 drivers/net/ethernet/sfc/mcdi.h EFX_SET_DWORD_FIELD(_MCDI_ARRAY_QWORD(_buf, _field, _index)[1],\ _index 322 drivers/net/ethernet/sfc/mcdi.h #define MCDI_ARRAY_FIELD(_buf, _field1, _type, _index, _field2) \ _index 323 drivers/net/ethernet/sfc/mcdi.h MCDI_FIELD(MCDI_ARRAY_STRUCT_PTR(_buf, _field1, _index), \ _index 539 drivers/net/wireless/ath/ath9k/hw.h #define AR_GENTMR_BIT(_index) (1 << (_index)) _index 21 drivers/net/wireless/ath/ath9k/mac.h #define set11nTries(_series, _index) \ _index 22 drivers/net/wireless/ath/ath9k/mac.h (SM((_series)[_index].Tries, AR_XmitDataTries##_index)) _index 24 drivers/net/wireless/ath/ath9k/mac.h #define set11nRate(_series, _index) \ _index 25 drivers/net/wireless/ath/ath9k/mac.h (SM((_series)[_index].Rate, AR_XmitRate##_index)) _index 27 drivers/net/wireless/ath/ath9k/mac.h #define set11nPktDurRTSCTS(_series, _index) \ _index 28 drivers/net/wireless/ath/ath9k/mac.h (SM((_series)[_index].PktDuration, AR_PacketDur##_index) | \ _index 29 drivers/net/wireless/ath/ath9k/mac.h ((_series)[_index].RateFlags & ATH9K_RATESERIES_RTS_CTS ? \ _index 30 drivers/net/wireless/ath/ath9k/mac.h AR_RTSCTSQual##_index : 0)) _index 32 drivers/net/wireless/ath/ath9k/mac.h #define set11nRateFlags(_series, _index) \ _index 33 drivers/net/wireless/ath/ath9k/mac.h (((_series)[_index].RateFlags & ATH9K_RATESERIES_2040 ? \ _index 34 drivers/net/wireless/ath/ath9k/mac.h AR_2040_##_index : 0) \ _index 35 drivers/net/wireless/ath/ath9k/mac.h |((_series)[_index].RateFlags & ATH9K_RATESERIES_HALFGI ? \ _index 36 drivers/net/wireless/ath/ath9k/mac.h AR_GI##_index : 0) \ _index 37 drivers/net/wireless/ath/ath9k/mac.h |((_series)[_index].RateFlags & ATH9K_RATESERIES_STBC ? \ _index 38 drivers/net/wireless/ath/ath9k/mac.h AR_STBC##_index : 0) \ _index 39 drivers/net/wireless/ath/ath9k/mac.h |SM((_series)[_index].ChSel, AR_ChainSel##_index)) _index 103 drivers/regulator/pcap-regulator.c #define VREG_INFO(_vreg, _reg, _en, _index, _stby, _lowpwr) \ _index 107 drivers/regulator/pcap-regulator.c .index = _index, \ _index 452 drivers/scsi/ufs/ufs-sysfs.c #define UFS_POWER_DESC_PARAM(_name, _uname, _index) \ _index 453 drivers/scsi/ufs/ufs-sysfs.c static ssize_t _name##_index##_show(struct device *dev, \ _index 458 drivers/scsi/ufs/ufs-sysfs.c PWR_DESC##_uname##_0 + _index * 2, buf, 2); \ _index 460 drivers/scsi/ufs/ufs-sysfs.c static DEVICE_ATTR_RO(_name##_index) _index 19 include/linux/hwmon-sysfs.h #define SENSOR_ATTR(_name, _mode, _show, _store, _index) \ _index 21 include/linux/hwmon-sysfs.h .index = _index } _index 23 include/linux/hwmon-sysfs.h #define SENSOR_ATTR_RO(_name, _func, _index) \ _index 24 include/linux/hwmon-sysfs.h SENSOR_ATTR(_name, 0444, _func##_show, NULL, _index) _index 26 include/linux/hwmon-sysfs.h #define SENSOR_ATTR_RW(_name, _func, _index) \ _index 27 include/linux/hwmon-sysfs.h SENSOR_ATTR(_name, 0644, _func##_show, _func##_store, _index) _index 29 include/linux/hwmon-sysfs.h #define SENSOR_ATTR_WO(_name, _func, _index) \ _index 30 include/linux/hwmon-sysfs.h SENSOR_ATTR(_name, 0200, NULL, _func##_store, _index) _index 32 include/linux/hwmon-sysfs.h #define SENSOR_DEVICE_ATTR(_name, _mode, _show, _store, _index) \ _index 34 include/linux/hwmon-sysfs.h = SENSOR_ATTR(_name, _mode, _show, _store, _index) _index 36 include/linux/hwmon-sysfs.h #define SENSOR_DEVICE_ATTR_RO(_name, _func, _index) \ _index 37 include/linux/hwmon-sysfs.h SENSOR_DEVICE_ATTR(_name, 0444, _func##_show, NULL, _index) _index 39 include/linux/hwmon-sysfs.h #define SENSOR_DEVICE_ATTR_RW(_name, _func, _index) \ _index 40 include/linux/hwmon-sysfs.h SENSOR_DEVICE_ATTR(_name, 0644, _func##_show, _func##_store, _index) _index 42 include/linux/hwmon-sysfs.h #define SENSOR_DEVICE_ATTR_WO(_name, _func, _index) \ _index 43 include/linux/hwmon-sysfs.h SENSOR_DEVICE_ATTR(_name, 0200, NULL, _func##_store, _index) _index 53 include/linux/hwmon-sysfs.h #define SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index) \ _index 55 include/linux/hwmon-sysfs.h .index = _index, \ _index 58 include/linux/hwmon-sysfs.h #define SENSOR_ATTR_2_RO(_name, _func, _nr, _index) \ _index 59 include/linux/hwmon-sysfs.h SENSOR_ATTR_2(_name, 0444, _func##_show, NULL, _nr, _index) _index 61 include/linux/hwmon-sysfs.h #define SENSOR_ATTR_2_RW(_name, _func, _nr, _index) \ _index 62 include/linux/hwmon-sysfs.h SENSOR_ATTR_2(_name, 0644, _func##_show, _func##_store, _nr, _index) _index 64 include/linux/hwmon-sysfs.h #define SENSOR_ATTR_2_WO(_name, _func, _nr, _index) \ _index 65 include/linux/hwmon-sysfs.h SENSOR_ATTR_2(_name, 0200, NULL, _func##_store, _nr, _index) _index 67 include/linux/hwmon-sysfs.h #define SENSOR_DEVICE_ATTR_2(_name,_mode,_show,_store,_nr,_index) \ _index 69 include/linux/hwmon-sysfs.h = SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index) _index 71 include/linux/hwmon-sysfs.h #define SENSOR_DEVICE_ATTR_2_RO(_name, _func, _nr, _index) \ _index 73 include/linux/hwmon-sysfs.h _nr, _index) _index 75 include/linux/hwmon-sysfs.h #define SENSOR_DEVICE_ATTR_2_RW(_name, _func, _nr, _index) \ _index 77 include/linux/hwmon-sysfs.h _nr, _index) _index 79 include/linux/hwmon-sysfs.h #define SENSOR_DEVICE_ATTR_2_WO(_name, _func, _nr, _index) \ _index 81 include/linux/hwmon-sysfs.h _nr, _index) _index 579 include/linux/pwm.h #define PWM_LOOKUP_WITH_MODULE(_provider, _index, _dev_id, _con_id, \ _index 583 include/linux/pwm.h .index = _index, \ _index 591 include/linux/pwm.h #define PWM_LOOKUP(_provider, _index, _dev_id, _con_id, _period, _polarity) \ _index 592 include/linux/pwm.h PWM_LOOKUP_WITH_MODULE(_provider, _index, _dev_id, _con_id, _period, \ _index 46 include/linux/reset-controller.h #define RESET_LOOKUP(_provider, _index, _dev_id, _con_id) \ _index 49 include/linux/reset-controller.h .index = _index, \ _index 32 include/rdma/rdma_netlink.h #define MODULE_ALIAS_RDMA_NETLINK(_index, _val) \ _index 33 include/rdma/rdma_netlink.h static inline void __chk_##_index(void) \ _index 35 include/rdma/rdma_netlink.h BUILD_BUG_ON(_index != _val); \