Home
last modified time | relevance | path

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

/include/linux/
Dhwmon-sysfs.h19 #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 …]
Dreset-controller.h46 #define RESET_LOOKUP(_provider, _index, _dev_id, _con_id) \ argument
49 .index = _index, \
Dpagemap.h789 pgoff_t _index; member
799 ._index = i, \
872 rac->_index += rac->_batch_count; in readahead_page()
879 page = xa_load(&rac->mapping->i_pages, rac->_index); in readahead_page()
895 rac->_index += rac->_batch_count; in __readahead_batch()
898 xas_set(&xas, rac->_index); in __readahead_batch()
900 xas_for_each(&xas, page, rac->_index + rac->_nr_pages - 1) { in __readahead_batch()
915 xas_set(&xas, rac->_index + rac->_batch_count); in __readahead_batch()
945 return (loff_t)rac->_index * PAGE_SIZE; in readahead_pos()
963 return rac->_index; in readahead_index()
Dpwm.h593 #define PWM_LOOKUP_WITH_MODULE(_provider, _index, _dev_id, _con_id, \ argument
597 .index = _index, \
605 #define PWM_LOOKUP(_provider, _index, _dev_id, _con_id, _period, _polarity) \ argument
606 PWM_LOOKUP_WITH_MODULE(_provider, _index, _dev_id, _con_id, _period, \
/include/rdma/
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); \