/linux-master/include/linux/ |
H A D | hwmon-sysfs.h | 20 #define SENSOR_ATTR(_name, _mode, _show, _store, _index) \ 22 .index = _index } 24 #define SENSOR_ATTR_RO(_name, _func, _index) \ 25 SENSOR_ATTR(_name, 0444, _func##_show, NULL, _index) 27 #define SENSOR_ATTR_RW(_name, _func, _index) \ 28 SENSOR_ATTR(_name, 0644, _func##_show, _func##_store, _index) 30 #define SENSOR_ATTR_WO(_name, _func, _index) \ 31 SENSOR_ATTR(_name, 0200, NULL, _func##_store, _index) 33 #define SENSOR_DEVICE_ATTR(_name, _mode, _show, _store, _index) \ 35 = SENSOR_ATTR(_name, _mode, _show, _store, _index) [all...] |
H A D | reset-controller.h | 46 #define RESET_LOOKUP(_provider, _index, _dev_id, _con_id) \ 49 .index = _index, \
|
H A D | pwm.h | 602 #define PWM_LOOKUP_WITH_MODULE(_provider, _index, _dev_id, _con_id, \ 606 .index = _index, \ 614 #define PWM_LOOKUP(_provider, _index, _dev_id, _con_id, _period, _polarity) \ 615 PWM_LOOKUP_WITH_MODULE(_provider, _index, _dev_id, _con_id, _period, \
|
H A D | pagemap.h | 1256 pgoff_t _index; member in struct:readahead_control 1268 ._index = i, \ 1332 ractl->_index += ractl->_batch_count; 1339 folio = xa_load(&ractl->mapping->i_pages, ractl->_index); 1388 rac->_index += rac->_batch_count; 1391 xas_set(&xas, rac->_index); 1393 xas_for_each(&xas, page, rac->_index + rac->_nr_pages - 1) { 1428 return (loff_t)rac->_index * PAGE_SIZE; 1446 return rac->_index;
|
/linux-master/drivers/iio/imu/inv_icm42600/ |
H A D | inv_icm42600_temp.h | 11 #define INV_ICM42600_TEMP_CHAN(_index) \ 18 .scan_index = _index, \
|
/linux-master/drivers/iio/health/ |
H A D | afe440x.h | 83 #define AFE440X_INTENSITY_CHAN(_index, _mask) \ 86 .channel = _index, \ 87 .address = _index, \ 88 .scan_index = _index, \ 100 #define AFE440X_CURRENT_CHAN(_index) \ 103 .channel = _index, \ 104 .address = _index, \
|
/linux-master/include/rdma/ |
H A D | rdma_netlink.h | 28 * index _index. Since the client indexes were setup in a uapi header as an 32 #define MODULE_ALIAS_RDMA_NETLINK(_index, _val) \ 33 static inline void __maybe_unused __chk_##_index(void) \ 35 BUILD_BUG_ON(_index != _val); \
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi.h | 293 #define _MCDI_ARRAY_PTR(_buf, _field, _index, _align) \ 295 + (_index) * _MCDI_CHECK_ALIGN(MC_CMD_ ## _field ## _LEN, _align)) 298 #define MCDI_ARRAY_STRUCT_PTR(_buf, _field, _index) \ 299 ((efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4)) 303 #define MCDI_ARRAY_WORD(_buf, _field, _index) \ 306 _MCDI_ARRAY_PTR(_buf, _field, _index, 2))) 307 #define _MCDI_ARRAY_DWORD(_buf, _field, _index) \ 309 (efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4)) 310 #define MCDI_SET_ARRAY_DWORD(_buf, _field, _index, _value) \ 311 EFX_SET_DWORD_FIELD(*_MCDI_ARRAY_DWORD(_buf, _field, _index), \ [all...] |
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | mac.h | 21 #define set11nTries(_series, _index) \ 22 (SM((_series)[_index].Tries, AR_XmitDataTries##_index)) 24 #define set11nRate(_series, _index) \ 25 (SM((_series)[_index].Rate, AR_XmitRate##_index)) 27 #define set11nPktDurRTSCTS(_series, _index) \ 28 (SM((_series)[_index].PktDuration, AR_PacketDur##_index) | \ 29 ((_series)[_index] [all...] |
/linux-master/drivers/iio/common/ssp_sensors/ |
H A D | ssp_iio_sensor.h | 5 #define SSP_CHANNEL_AG(_type, _mod, _index) \ 11 .scan_index = _index,\
|
/linux-master/arch/xtensa/kernel/ |
H A D | head.S | 132 .set _index, 0 134 wsr a0, SREG_DBREAKC + _index 135 .set _index, _index + 1 151 .set _index, 0 153 wsr a0, SREG_CCOMPARE + _index 154 .set _index, _index + 1
|
/linux-master/drivers/memory/ |
H A D | dfl-emif.c | 106 #define emif_state_attr(_name, _shift, _index) \ 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) \ 113 static struct emif_attr emif_attr_##inf##_index##_clear = \ 114 { .attr = __ATTR(inf##_index##_clear, 0200, \ 116 .index = (_index) }
|
/linux-master/drivers/iio/adc/ |
H A D | lpc32xx_adc.c | 104 #define LPC32XX_ADC_CHANNEL_BASE(_index) \ 107 .channel = _index, \ 109 .address = LPC32XXAD_IN * _index, \ 110 .scan_index = _index, 112 #define LPC32XX_ADC_CHANNEL(_index) { \ 113 LPC32XX_ADC_CHANNEL_BASE(_index) \ 116 #define LPC32XX_ADC_SCALE_CHANNEL(_index) { \ 117 LPC32XX_ADC_CHANNEL_BASE(_index) \
|
H A D | viperboard_adc.c | 35 #define VPRBRD_ADC_CHANNEL(_index) { \ 38 .channel = _index, \
|
H A D | ina2xx-adc.c | 616 #define INA219_CHAN(_type, _index, _address) { \ 620 .channel = (_index), \ 624 .scan_index = (_index), \ 633 #define INA226_CHAN(_type, _index, _address) { \ 637 .channel = (_index), \ 642 .scan_index = (_index), \ 655 #define INA219_CHAN_VOLTAGE(_index, _address, _shift) { \ 659 .channel = (_index), \ 667 .scan_index = (_index), \ 677 #define INA226_CHAN_VOLTAGE(_index, _addres [all...] |
H A D | pac1934.c | 325 #define PAC1934_VPOWER_ACC_CHANNEL(_index, _si, _address) { \ 329 .channel = (_index), \ 344 #define PAC1934_VBUS_CHANNEL(_index, _si, _address) { \ 348 .channel = (_index), \ 362 #define PAC1934_VBUS_AVG_CHANNEL(_index, _si, _address) { \ 366 .channel = (_index), \ 380 #define PAC1934_VSENSE_CHANNEL(_index, _si, _address) { \ 384 .channel = (_index), \ 398 #define PAC1934_VSENSE_AVG_CHANNEL(_index, _si, _address) { \ 402 .channel = (_index), \ [all...] |
H A D | max34408.c | 93 #define MAX34008_CHANNEL(_index, _address) \ 99 .channel = (_index), \
|
H A D | ad799x.c | 579 #define _AD799X_CHANNEL(_index, _realbits, _ev_spec, _num_ev_spec) { \ 582 .channel = (_index), \ 585 .scan_index = (_index), \ 597 #define AD799X_CHANNEL(_index, _realbits) \ 598 _AD799X_CHANNEL(_index, _realbits, NULL, 0) 600 #define AD799X_CHANNEL_WITH_EVENTS(_index, _realbits) \ 601 _AD799X_CHANNEL(_index, _realbits, ad799x_events, \
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | mcdi.h | 346 #define _MCDI_ARRAY_PTR(_buf, _field, _index, _align) \ 348 + (_index) * _MCDI_CHECK_ALIGN(MC_CMD_ ## _field ## _LEN, _align)) 351 #define MCDI_ARRAY_STRUCT_PTR(_buf, _field, _index) \ 352 ((efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4)) 356 #define MCDI_ARRAY_WORD(_buf, _field, _index) \ 359 _MCDI_ARRAY_PTR(_buf, _field, _index, 2))) 360 #define _MCDI_ARRAY_DWORD(_buf, _field, _index) \ 362 (efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4)) 363 #define MCDI_SET_ARRAY_DWORD(_buf, _field, _index, _value) \ 364 EFX_SET_DWORD_FIELD(*_MCDI_ARRAY_DWORD(_buf, _field, _index), \ [all...] |
/linux-master/arch/xtensa/include/asm/ |
H A D | cacheasm.h | 46 .set _index, 0 48 \insn \ar, _index << (\line_width) 49 .set _index, _index + 1
|
/linux-master/drivers/ufs/host/ |
H A D | ufs-renesas.c | 41 #define PARAM_RESTORE(_reg, _index) \ 42 { .mode = MODE_RESTORE, .reg = _reg, .index = _index } 43 #define PARAM_SET(_index, _set) \ 44 { .mode = MODE_SET, .index = _index, .u.set = _set } 45 #define PARAM_SAVE(_reg, _mask, _index) \ 47 .index = _index } 66 #define PARAM_RESTORE_800_80C_POLL(_index) \ 69 PARAM_RESTORE(0xd4, _index), \
|
/linux-master/mm/ |
H A D | readahead.c | 242 ractl->_index++; 243 i = ractl->_index + ractl->_nr_pages - index - 1; 254 ractl->_index++; 255 i = ractl->_index + ractl->_nr_pages - index - 1; 329 ractl->_index = index; 660 ractl->_index = ra->start; 782 while (ractl->_index > new_index) { 783 unsigned long index = ractl->_index - 1; 802 ractl->_index = folio->index; 810 unsigned long index = ractl->_index [all...] |
/linux-master/drivers/misc/ |
H A D | smpro-errmon.c | 402 #define ERROR_OVERFLOW_RO(_error, _index) \ 407 return smpro_overflow_data_read(dev, da, buf, _index); \ 420 #define ERROR_RO(_error, _index) \ 425 return smpro_error_data_read(dev, da, buf, _index); \ 462 #define EVENT_RO(_event, _index) \ 467 return smpro_event_data_read(dev, da, buf, _index); \
|
/linux-master/drivers/regulator/ |
H A D | pcap-regulator.c | 99 #define VREG_INFO(_vreg, _reg, _en, _index, _stby, _lowpwr) \ 103 .index = _index, \
|
/linux-master/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-common.h | 1448 #define GET_BITS(_var, _index, _width) \ 1449 (((_var) >> (_index)) & ((0x1 << (_width)) - 1)) 1451 #define SET_BITS(_var, _index, _width, _val) \ 1453 (_var) &= ~(((0x1 << (_width)) - 1) << (_index)); \ 1454 (_var) |= (((_val) & ((0x1 << (_width)) - 1)) << (_index)); \ 1457 #define GET_BITS_LE(_var, _index, _width) \ 1458 ((le32_to_cpu((_var)) >> (_index)) & ((0x1 << (_width)) - 1)) 1460 #define SET_BITS_LE(_var, _index, _width, _val) \ 1462 (_var) &= cpu_to_le32(~(((0x1 << (_width)) - 1) << (_index))); \ 1464 ((0x1 << (_width)) - 1)) << (_index))); \ [all...] |