/Linux-v5.15/include/linux/ |
D | hwmon-sysfs.h | 19 #define SENSOR_ATTR(_name, _mode, _show, _store, _index) \ argument 21 .index = _index } 23 #define SENSOR_ATTR_RO(_name, _func, _index) \ argument 24 SENSOR_ATTR(_name, 0444, _func##_show, NULL, _index) 26 #define SENSOR_ATTR_RW(_name, _func, _index) \ argument 27 SENSOR_ATTR(_name, 0644, _func##_show, _func##_store, _index) 29 #define SENSOR_ATTR_WO(_name, _func, _index) \ argument 30 SENSOR_ATTR(_name, 0200, NULL, _func##_store, _index) 32 #define SENSOR_DEVICE_ATTR(_name, _mode, _show, _store, _index) \ argument 34 = SENSOR_ATTR(_name, _mode, _show, _store, _index) [all …]
|
D | pagemap.h | 841 pgoff_t _index; member 851 ._index = i, \ 924 rac->_index += rac->_batch_count; in readahead_page() 931 page = xa_load(&rac->mapping->i_pages, rac->_index); in readahead_page() 947 rac->_index += rac->_batch_count; in __readahead_batch() 950 xas_set(&xas, rac->_index); in __readahead_batch() 952 xas_for_each(&xas, page, rac->_index + rac->_nr_pages - 1) { in __readahead_batch() 967 xas_set(&xas, rac->_index + rac->_batch_count); in __readahead_batch() 997 return (loff_t)rac->_index * PAGE_SIZE; in readahead_pos() 1015 return rac->_index; in readahead_index()
|
D | reset-controller.h | 46 #define RESET_LOOKUP(_provider, _index, _dev_id, _con_id) \ argument 49 .index = _index, \
|
D | pwm.h | 581 #define PWM_LOOKUP_WITH_MODULE(_provider, _index, _dev_id, _con_id, \ argument 585 .index = _index, \ 593 #define PWM_LOOKUP(_provider, _index, _dev_id, _con_id, _period, _polarity) \ argument 594 PWM_LOOKUP_WITH_MODULE(_provider, _index, _dev_id, _con_id, _period, \
|
/Linux-v5.15/drivers/iio/health/ |
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-v5.15/drivers/net/ethernet/sfc/ |
D | mcdi.h | 291 #define _MCDI_ARRAY_PTR(_buf, _field, _index, _align) \ argument 293 + (_index) * _MCDI_CHECK_ALIGN(MC_CMD_ ## _field ## _LEN, _align)) 296 #define MCDI_ARRAY_STRUCT_PTR(_buf, _field, _index) \ argument 297 ((efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4)) 301 #define MCDI_ARRAY_WORD(_buf, _field, _index) \ argument 304 _MCDI_ARRAY_PTR(_buf, _field, _index, 2))) 305 #define _MCDI_ARRAY_DWORD(_buf, _field, _index) \ argument 307 (efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4)) 308 #define MCDI_SET_ARRAY_DWORD(_buf, _field, _index, _value) \ argument 309 EFX_SET_DWORD_FIELD(*_MCDI_ARRAY_DWORD(_buf, _field, _index), \ [all …]
|
/Linux-v5.15/drivers/net/wireless/ath/ath9k/ |
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)) 27 #define set11nPktDurRTSCTS(_series, _index) \ argument 28 (SM((_series)[_index].PktDuration, AR_PacketDur##_index) | \ 29 ((_series)[_index].RateFlags & ATH9K_RATESERIES_RTS_CTS ? \ 30 AR_RTSCTSQual##_index : 0)) 32 #define set11nRateFlags(_series, _index) \ argument 33 (((_series)[_index].RateFlags & ATH9K_RATESERIES_2040 ? \ [all …]
|
/Linux-v5.15/drivers/iio/adc/ |
D | lpc32xx_adc.c | 101 #define LPC32XX_ADC_CHANNEL_BASE(_index) \ argument 104 .channel = _index, \ 106 .address = LPC32XXAD_IN * _index, \ 107 .scan_index = _index, 109 #define LPC32XX_ADC_CHANNEL(_index) { \ argument 110 LPC32XX_ADC_CHANNEL_BASE(_index) \ 113 #define LPC32XX_ADC_SCALE_CHANNEL(_index) { \ argument 114 LPC32XX_ADC_CHANNEL_BASE(_index) \
|
D | ina2xx-adc.c | 613 #define INA219_CHAN(_type, _index, _address) { \ argument 617 .channel = (_index), \ 621 .scan_index = (_index), \ 630 #define INA226_CHAN(_type, _index, _address) { \ argument 634 .channel = (_index), \ 639 .scan_index = (_index), \ 652 #define INA219_CHAN_VOLTAGE(_index, _address, _shift) { \ argument 656 .channel = (_index), \ 664 .scan_index = (_index), \ 674 #define INA226_CHAN_VOLTAGE(_index, _address) { \ argument [all …]
|
D | ad799x.c | 570 #define _AD799X_CHANNEL(_index, _realbits, _ev_spec, _num_ev_spec) { \ argument 573 .channel = (_index), \ 576 .scan_index = (_index), \ 588 #define AD799X_CHANNEL(_index, _realbits) \ argument 589 _AD799X_CHANNEL(_index, _realbits, NULL, 0) 591 #define AD799X_CHANNEL_WITH_EVENTS(_index, _realbits) \ argument 592 _AD799X_CHANNEL(_index, _realbits, ad799x_events, \
|
D | viperboard_adc.c | 35 #define VPRBRD_ADC_CHANNEL(_index) { \ argument 38 .channel = _index, \
|
D | rockchip_saradc.c | 137 #define SARADC_CHANNEL(_index, _id, _res) { \ argument 140 .channel = _index, \ 144 .scan_index = _index, \
|
/Linux-v5.15/drivers/memory/ |
D | dfl-emif.c | 93 #define emif_state_attr(_name, _shift, _index) \ argument 94 static struct emif_attr emif_attr_##inf##_index##_##_name = \ 95 { .attr = __ATTR(inf##_index##_##_name, 0444, \ 97 .shift = (_shift), .index = (_index) } 99 #define emif_clear_attr(_index) \ argument 100 static struct emif_attr emif_attr_##inf##_index##_clear = \ 101 { .attr = __ATTR(inf##_index##_clear, 0200, \ 103 .index = (_index) }
|
/Linux-v5.15/arch/xtensa/kernel/ |
D | head.S | 129 .set _index, 0 define 131 wsr a0, SREG_DBREAKC + _index 132 .set _index, _index + 1 define 148 .set _index, 0 define 150 wsr a0, SREG_CCOMPARE + _index 151 .set _index, _index + 1 define
|
D | entry.S | 850 .set _index, 0 define 852 l32i a0, a3, DT_DBREAKC_SAVE + _index * 4 853 wsr a0, SREG_DBREAKC + _index 854 .set _index, _index + 1 define 868 .set _index, 0 define 871 xsr a0, SREG_DBREAKC + _index 872 s32i a0, a3, DT_DBREAKC_SAVE + _index * 4 873 .set _index, _index + 1 define
|
/Linux-v5.15/mm/ |
D | readahead.c | 141 rac->_index += rac->_nr_pages; in read_pages() 157 rac->_index++; in read_pages() 212 i = ractl->_index + ractl->_nr_pages - index - 1; in page_cache_ra_unbounded() 226 i = ractl->_index + ractl->_nr_pages - index - 1; in page_cache_ra_unbounded() 300 ractl->_index = index; in force_page_cache_ra() 551 ractl->_index = ra->start; in ondemand_readahead() 673 while (ractl->_index > new_index) { in readahead_expand() 674 unsigned long index = ractl->_index - 1; in readahead_expand() 689 ractl->_index = page->index; in readahead_expand() 697 unsigned long index = ractl->_index + ractl->_nr_pages; in readahead_expand()
|
/Linux-v5.15/include/rdma/ |
D | rdma_netlink.h | 32 #define MODULE_ALIAS_RDMA_NETLINK(_index, _val) \ argument 33 static inline void __chk_##_index(void) \ 35 BUILD_BUG_ON(_index != _val); \
|
/Linux-v5.15/arch/xtensa/include/asm/ |
D | cacheasm.h | 46 .set _index, 0 48 \insn \ar, _index << (\line_width) 49 .set _index, _index + 1
|
/Linux-v5.15/drivers/iio/imu/inv_icm42600/ |
D | inv_icm42600_temp.h | 11 #define INV_ICM42600_TEMP_CHAN(_index) \ argument 18 .scan_index = _index, \
|
/Linux-v5.15/drivers/iio/common/ssp_sensors/ |
D | ssp_iio_sensor.h | 5 #define SSP_CHANNEL_AG(_type, _mod, _index) \ argument 11 .scan_index = _index,\
|
/Linux-v5.15/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-common.h | 1400 #define GET_BITS(_var, _index, _width) \ argument 1401 (((_var) >> (_index)) & ((0x1 << (_width)) - 1)) 1403 #define SET_BITS(_var, _index, _width, _val) \ argument 1405 (_var) &= ~(((0x1 << (_width)) - 1) << (_index)); \ 1406 (_var) |= (((_val) & ((0x1 << (_width)) - 1)) << (_index)); \ 1409 #define GET_BITS_LE(_var, _index, _width) \ argument 1410 ((le32_to_cpu((_var)) >> (_index)) & ((0x1 << (_width)) - 1)) 1412 #define SET_BITS_LE(_var, _index, _width, _val) \ argument 1414 (_var) &= cpu_to_le32(~(((0x1 << (_width)) - 1) << (_index))); \ 1416 ((0x1 << (_width)) - 1)) << (_index))); \
|
/Linux-v5.15/drivers/hwmon/ |
D | nct6683.c | 374 #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ argument 376 .u.index = _index, \ 380 _nr, _index) \ argument 382 .u.s.index = _index, \ 386 #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ argument 389 _index) 392 _nr, _index) \ argument 395 _nr, _index)
|
/Linux-v5.15/drivers/regulator/ |
D | pcap-regulator.c | 99 #define VREG_INFO(_vreg, _reg, _en, _index, _stby, _lowpwr) \ argument 103 .index = _index, \
|
/Linux-v5.15/drivers/iio/chemical/ |
D | pms7003.c | 172 #define PMS7003_CHAN(_index, _mod, _addr) { \ argument 178 .scan_index = _index, \
|
D | sps30.c | 293 #define SPS30_CHAN(_index, _mod) { \ argument 300 .scan_index = _index, \
|