| /linux-6.15/include/linux/ |
| H A D | hwmon-sysfs.h | 22 .index = _index } 24 #define SENSOR_ATTR_RO(_name, _func, _index) \ argument 25 SENSOR_ATTR(_name, 0444, _func##_show, NULL, _index) 27 #define SENSOR_ATTR_RW(_name, _func, _index) \ argument 30 #define SENSOR_ATTR_WO(_name, _func, _index) \ argument 31 SENSOR_ATTR(_name, 0200, NULL, _func##_store, _index) 35 = SENSOR_ATTR(_name, _mode, _show, _store, _index) 56 .index = _index, \ 74 _nr, _index) 78 _nr, _index) [all …]
|
| H A D | reset-controller.h | 46 #define RESET_LOOKUP(_provider, _index, _dev_id, _con_id) \ argument 49 .index = _index, \
|
| H A D | pagemap.h | 1328 pgoff_t _index; member 1341 ._index = i, \ 1404 ractl->_index += ractl->_batch_count; in __readahead_folio() 1411 folio = xa_load(&ractl->mapping->i_pages, ractl->_index); in __readahead_folio() 1460 rac->_index += rac->_batch_count; in __readahead_batch() 1463 xas_set(&xas, rac->_index); in __readahead_batch() 1465 xas_for_each(&xas, page, rac->_index + rac->_nr_pages - 1) { in __readahead_batch() 1500 return (loff_t)rac->_index * PAGE_SIZE; in readahead_pos() 1518 return rac->_index; in readahead_index()
|
| H A D | pwm.h | 648 #define PWM_LOOKUP_WITH_MODULE(_provider, _index, _dev_id, _con_id, \ argument 652 .index = _index, \ 660 #define PWM_LOOKUP(_provider, _index, _dev_id, _con_id, _period, _polarity) \ argument 661 PWM_LOOKUP_WITH_MODULE(_provider, _index, _dev_id, _con_id, _period, \
|
| /linux-6.15/drivers/iio/health/ |
| H A D | afe440x.h | 83 #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-6.15/drivers/net/ethernet/sfc/siena/ |
| H A D | mcdi.h | 293 #define _MCDI_ARRAY_PTR(_buf, _field, _index, _align) \ argument 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)) 313 #define MCDI_ARRAY_DWORD(_buf, _field, _index) \ argument 315 #define _MCDI_ARRAY_QWORD(_buf, _field, _index) \ argument 317 (efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4)) [all …]
|
| /linux-6.15/drivers/net/wireless/ath/ath9k/ |
| H A D | mac.h | 21 #define set11nTries(_series, _index) \ argument 22 (SM((_series)[_index].Tries, AR_XmitDataTries##_index)) 24 #define set11nRate(_series, _index) \ argument 25 (SM((_series)[_index].Rate, AR_XmitRate##_index)) 28 (SM((_series)[_index].PktDuration, AR_PacketDur##_index) | \ 30 AR_RTSCTSQual##_index : 0)) 32 #define set11nRateFlags(_series, _index) \ argument 34 AR_2040_##_index : 0) \ 36 AR_GI##_index : 0) \ 38 AR_STBC##_index : 0)) [all …]
|
| /linux-6.15/drivers/iio/adc/ |
| H A D | lpc32xx_adc.c | 104 #define LPC32XX_ADC_CHANNEL_BASE(_index) \ argument 107 .channel = _index, \ 109 .address = LPC32XXAD_IN * _index, \ 110 .scan_index = _index, 112 #define LPC32XX_ADC_CHANNEL(_index) { \ argument 113 LPC32XX_ADC_CHANNEL_BASE(_index) \ 116 #define LPC32XX_ADC_SCALE_CHANNEL(_index) { \ argument 117 LPC32XX_ADC_CHANNEL_BASE(_index) \
|
| H A D | ina2xx-adc.c | 616 #define INA219_CHAN(_type, _index, _address) { \ argument 620 .channel = (_index), \ 624 .scan_index = (_index), \ 633 #define INA226_CHAN(_type, _index, _address) { \ argument 637 .channel = (_index), \ 642 .scan_index = (_index), \ 659 .channel = (_index), \ 667 .scan_index = (_index), \ 677 #define INA226_CHAN_VOLTAGE(_index, _address) { \ argument 681 .channel = (_index), \ [all …]
|
| H A D | pac1934.c | 320 #define PAC1934_VPOWER_ACC_CHANNEL(_index, _si, _address) { \ argument 324 .channel = (_index), \ 339 #define PAC1934_VBUS_CHANNEL(_index, _si, _address) { \ argument 343 .channel = (_index), \ 357 #define PAC1934_VBUS_AVG_CHANNEL(_index, _si, _address) { \ argument 361 .channel = (_index), \ 375 #define PAC1934_VSENSE_CHANNEL(_index, _si, _address) { \ argument 379 .channel = (_index), \ 397 .channel = (_index), \ 411 #define PAC1934_VPOWER_CHANNEL(_index, _si, _address) { \ argument [all …]
|
| H A D | ad799x.c | 579 #define _AD799X_CHANNEL(_index, _realbits, _ev_spec, _num_ev_spec) { \ argument 582 .channel = (_index), \ 585 .scan_index = (_index), \ 597 #define AD799X_CHANNEL(_index, _realbits) \ argument 598 _AD799X_CHANNEL(_index, _realbits, NULL, 0) 600 #define AD799X_CHANNEL_WITH_EVENTS(_index, _realbits) \ argument 601 _AD799X_CHANNEL(_index, _realbits, ad799x_events, \
|
| H A D | viperboard_adc.c | 35 #define VPRBRD_ADC_CHANNEL(_index) { \ argument 38 .channel = _index, \
|
| H A D | max34408.c | 94 #define MAX34008_CHANNEL(_index, _address) \ argument 100 .channel = (_index), \
|
| /linux-6.15/drivers/net/ethernet/sfc/ |
| H A D | mcdi.h | 338 #define _MCDI_ARRAY_PTR(_buf, _field, _index, _align) \ argument 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)) 358 #define MCDI_ARRAY_DWORD(_buf, _field, _index) \ argument 360 #define _MCDI_ARRAY_QWORD(_buf, _field, _index) \ argument 362 (efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4)) [all …]
|
| /linux-6.15/drivers/memory/ |
| H A D | dfl-emif.c | 106 #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-6.15/arch/xtensa/kernel/ |
| H A D | head.S | 132 .set _index, 0 define 134 wsr a0, SREG_DBREAKC + _index 135 .set _index, _index + 1 define 151 .set _index, 0 define 153 wsr a0, SREG_CCOMPARE + _index 154 .set _index, _index + 1 define
|
| /linux-6.15/mm/ |
| H A D | readahead.c | 246 ractl->_index = index; in page_cache_ra_unbounded() 265 ractl->_index += min_nrpages; in page_cache_ra_unbounded() 266 i = ractl->_index + ractl->_nr_pages - index; in page_cache_ra_unbounded() 281 ractl->_index += min_nrpages; in page_cache_ra_unbounded() 282 i = ractl->_index + ractl->_nr_pages - index; in page_cache_ra_unbounded() 620 ractl->_index = ra->start; in page_cache_sync_ra() 686 ractl->_index = ra->start; in page_cache_async_ra() 756 VM_BUG_ON(!IS_ALIGNED(ractl->_index, min_nrpages)); in readahead_expand() 759 while (ractl->_index > new_index) { in readahead_expand() 760 unsigned long index = ractl->_index - 1; in readahead_expand() [all …]
|
| /linux-6.15/include/rdma/ |
| H A D | rdma_netlink.h | 34 #define MODULE_ALIAS_RDMA_NETLINK(_index, _val) \ argument 35 static inline void __maybe_unused __chk_##_index(void) \ 37 BUILD_BUG_ON(_index != _val); \
|
| /linux-6.15/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-6.15/drivers/iio/imu/inv_icm42600/ |
| H A D | inv_icm42600_temp.h | 11 #define INV_ICM42600_TEMP_CHAN(_index) \ argument 18 .scan_index = _index, \
|
| /linux-6.15/drivers/pinctrl/mediatek/ |
| H A D | pinctrl-paris.h | 52 #define MTK_EINT_PIN(_number, _instance, _index, _debounce) { \ argument 55 .index = _index, \
|
| /linux-6.15/drivers/iio/common/ssp_sensors/ |
| H A D | ssp_iio_sensor.h | 5 #define SSP_CHANNEL_AG(_type, _mod, _index) \ argument 11 .scan_index = _index,\
|
| /linux-6.15/drivers/misc/ |
| H A D | smpro-errmon.c | 402 #define ERROR_OVERFLOW_RO(_error, _index) \ argument 407 return smpro_overflow_data_read(dev, da, buf, _index); \ 420 #define ERROR_RO(_error, _index) \ argument 425 return smpro_error_data_read(dev, da, buf, _index); \ 462 #define EVENT_RO(_event, _index) \ argument 467 return smpro_event_data_read(dev, da, buf, _index); \
|
| /linux-6.15/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-common.h | 1448 #define GET_BITS(_var, _index, _width) \ argument 1449 (((_var) >> (_index)) & ((0x1 << (_width)) - 1)) 1451 #define SET_BITS(_var, _index, _width, _val) \ argument 1453 (_var) &= ~(((0x1 << (_width)) - 1) << (_index)); \ 1454 (_var) |= (((_val) & ((0x1 << (_width)) - 1)) << (_index)); \ 1457 #define GET_BITS_LE(_var, _index, _width) \ argument 1458 ((le32_to_cpu((_var)) >> (_index)) & ((0x1 << (_width)) - 1)) 1460 #define SET_BITS_LE(_var, _index, _width, _val) \ argument 1462 (_var) &= cpu_to_le32(~(((0x1 << (_width)) - 1) << (_index))); \ 1464 ((0x1 << (_width)) - 1)) << (_index))); \
|
| /linux-6.15/drivers/iio/imu/ |
| H A D | smi240.c | 71 #define SMI240_DATA_CHANNEL(_type, _axis, _index) { \ argument 81 .scan_index = _index, \ 90 #define SMI240_TEMP_CHANNEL(_index) { \ argument 97 .scan_index = _index, \
|