Home
last modified time | relevance | path

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

12

/linux/include/linux/
A Dhwmon-sysfs.h21 .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
29 #define SENSOR_ATTR_WO(_name, _func, _index) \ argument
30 SENSOR_ATTR(_name, 0200, NULL, _func##_store, _index)
34 = SENSOR_ATTR(_name, _mode, _show, _store, _index)
55 .index = _index, \
73 _nr, _index)
77 _nr, _index)
[all …]
A Dpagemap.h986 pgoff_t _index; member
996 ._index = i, \
1060 ractl->_index += ractl->_batch_count; in __readahead_folio()
1067 folio = xa_load(&ractl->mapping->i_pages, ractl->_index); in __readahead_folio()
1116 rac->_index += rac->_batch_count; in __readahead_batch()
1119 xas_set(&xas, rac->_index); in __readahead_batch()
1121 xas_for_each(&xas, page, rac->_index + rac->_nr_pages - 1) { in __readahead_batch()
1136 xas_set(&xas, rac->_index + rac->_batch_count); in __readahead_batch()
1166 return (loff_t)rac->_index * PAGE_SIZE; in readahead_pos()
1184 return rac->_index; in readahead_index()
A Dreset-controller.h46 #define RESET_LOOKUP(_provider, _index, _dev_id, _con_id) \ argument
49 .index = _index, \
A Dpwm.h594 #define PWM_LOOKUP_WITH_MODULE(_provider, _index, _dev_id, _con_id, \ argument
598 .index = _index, \
606 #define PWM_LOOKUP(_provider, _index, _dev_id, _con_id, _period, _polarity) \ argument
607 PWM_LOOKUP_WITH_MODULE(_provider, _index, _dev_id, _con_id, _period, \
/linux/drivers/net/ethernet/sfc/
A Dmcdi.h291 #define _MCDI_ARRAY_PTR(_buf, _field, _index, _align) \ argument
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))
311 #define MCDI_ARRAY_DWORD(_buf, _field, _index) \ argument
313 #define _MCDI_ARRAY_QWORD(_buf, _field, _index) \ argument
315 (efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4))
[all …]
/linux/drivers/net/wireless/ath/ath9k/
A Dmac.h21 #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/drivers/iio/health/
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/iio/adc/
A Dlpc32xx_adc.c101 #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) \
A Dina2xx-adc.c613 #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), \
656 .channel = (_index), \
664 .scan_index = (_index), \
674 #define INA226_CHAN_VOLTAGE(_index, _address) { \ argument
678 .channel = (_index), \
[all …]
A Dad799x.c574 #define _AD799X_CHANNEL(_index, _realbits, _ev_spec, _num_ev_spec) { \ argument
577 .channel = (_index), \
580 .scan_index = (_index), \
592 #define AD799X_CHANNEL(_index, _realbits) \ argument
593 _AD799X_CHANNEL(_index, _realbits, NULL, 0)
595 #define AD799X_CHANNEL_WITH_EVENTS(_index, _realbits) \ argument
596 _AD799X_CHANNEL(_index, _realbits, ad799x_events, \
A Dviperboard_adc.c35 #define VPRBRD_ADC_CHANNEL(_index) { \ argument
38 .channel = _index, \
A Drockchip_saradc.c137 #define SARADC_CHANNEL(_index, _id, _res) { \ argument
140 .channel = _index, \
144 .scan_index = _index, \
/linux/drivers/memory/
A Ddfl-emif.c93 #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/arch/xtensa/kernel/
A Dhead.S132 .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
A Dentry.S870 .set _index, 0 define
872 l32i a0, a3, DT_DBREAKC_SAVE + _index * 4
873 wsr a0, SREG_DBREAKC + _index
874 .set _index, _index + 1 define
888 .set _index, 0 define
891 xsr a0, SREG_DBREAKC + _index
892 s32i a0, a3, DT_DBREAKC_SAVE + _index * 4
893 .set _index, _index + 1 define
/linux/mm/
A Dreadahead.c140 rac->_index += rac->_nr_pages; in read_pages()
156 rac->_index++; in read_pages()
211 i = ractl->_index + ractl->_nr_pages - index - 1; in page_cache_ra_unbounded()
225 i = ractl->_index + ractl->_nr_pages - index - 1; in page_cache_ra_unbounded()
299 ractl->_index = index; in force_page_cache_ra()
550 ractl->_index = ra->start; in ondemand_readahead()
672 while (ractl->_index > new_index) { in readahead_expand()
673 unsigned long index = ractl->_index - 1; in readahead_expand()
688 ractl->_index = page->index; in readahead_expand()
696 unsigned long index = ractl->_index + ractl->_nr_pages; in readahead_expand()
/linux/include/rdma/
A Drdma_netlink.h32 #define MODULE_ALIAS_RDMA_NETLINK(_index, _val) \ argument
33 static inline void __maybe_unused __chk_##_index(void) \
35 BUILD_BUG_ON(_index != _val); \
/linux/arch/xtensa/include/asm/
A Dcacheasm.h46 .set _index, 0
48 \insn \ar, _index << (\line_width)
49 .set _index, _index + 1
/linux/drivers/iio/imu/inv_icm42600/
A Dinv_icm42600_temp.h11 #define INV_ICM42600_TEMP_CHAN(_index) \ argument
18 .scan_index = _index, \
/linux/drivers/iio/common/ssp_sensors/
A Dssp_iio_sensor.h5 #define SSP_CHANNEL_AG(_type, _mod, _index) \ argument
11 .scan_index = _index,\
/linux/drivers/net/ethernet/amd/xgbe/
A Dxgbe-common.h1408 #define GET_BITS(_var, _index, _width) \ argument
1409 (((_var) >> (_index)) & ((0x1 << (_width)) - 1))
1411 #define SET_BITS(_var, _index, _width, _val) \ argument
1413 (_var) &= ~(((0x1 << (_width)) - 1) << (_index)); \
1414 (_var) |= (((_val) & ((0x1 << (_width)) - 1)) << (_index)); \
1417 #define GET_BITS_LE(_var, _index, _width) \ argument
1418 ((le32_to_cpu((_var)) >> (_index)) & ((0x1 << (_width)) - 1))
1420 #define SET_BITS_LE(_var, _index, _width, _val) \ argument
1422 (_var) &= cpu_to_le32(~(((0x1 << (_width)) - 1) << (_index))); \
1424 ((0x1 << (_width)) - 1)) << (_index))); \
/linux/drivers/hwmon/
A Dnct6683.c375 #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ argument
377 .u.index = _index, \
381 _nr, _index) \ argument
383 .u.s.index = _index, \
387 #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ argument
390 _index)
393 _nr, _index) \ argument
396 _nr, _index)
/linux/drivers/regulator/
A Dpcap-regulator.c99 #define VREG_INFO(_vreg, _reg, _en, _index, _stby, _lowpwr) \ argument
103 .index = _index, \
/linux/drivers/iio/chemical/
A Dpms7003.c172 #define PMS7003_CHAN(_index, _mod, _addr) { \ argument
178 .scan_index = _index, \
A Dsps30.c293 #define SPS30_CHAN(_index, _mod) { \ argument
300 .scan_index = _index, \

Completed in 60 milliseconds

12