Home
last modified time | relevance | path

Searched refs:_max (Results 1 – 25 of 55) sorted by relevance

123

/linux/drivers/net/fjes/
H A Dfjes_hw.h56 #define EP_RING_INDEX(_num, _max) (((_num) + (_max)) % (_max)) argument
57 #define EP_RING_INDEX_INC(_num, _max) \ argument
58 ((_num) = EP_RING_INDEX((_num) + 1, (_max)))
59 #define EP_RING_FULL(_head, _tail, _max) \ argument
60 (0 == EP_RING_INDEX(((_tail) - (_head)), (_max)))
61 #define EP_RING_EMPTY(_head, _tail, _max) \ argument
62 (1 == EP_RING_INDEX(((_tail) - (_head)), (_max)))
/linux/drivers/clk/sunxi-ng/
H A Dccu_div.h54 #define _SUNXI_CCU_DIV_OFFSET_MAX_FLAGS(_shift, _width, _off, _max, _flags) \ argument
59 .max = _max, \
63 #define _SUNXI_CCU_DIV_MAX_FLAGS(_shift, _width, _max, _flags) \ argument
64 _SUNXI_CCU_DIV_OFFSET_MAX_FLAGS(_shift, _width, 1, _max, _flags)
69 #define _SUNXI_CCU_DIV_MAX(_shift, _width, _max) \ argument
70 _SUNXI_CCU_DIV_MAX_FLAGS(_shift, _width, _max, 0)
H A Dccu_mult.h17 #define _SUNXI_CCU_MULT_OFFSET_MIN_MAX(_shift, _width, _offset, _min, _max) \ argument
20 .max = _max, \
/linux/Documentation/hwmon/
H A Dxdpe152c4.rst51 **curr[1-4]_max**
76 **in[1-4]_max**
102 **power[1-4]_max**
116 **temp[1-2]_max**
H A Dir35221.rst50 curr[2-3]_max Maximum current
70 in[2-3]_max Maximum output voltage
82 power[2-3]_max Output power limit
90 temp[1-2]_max Maximum temperature
H A Dlt7182s.rst47 curr[1-2]_max Maximum input current
53 curr[3-4]_max Maximum output current
79 in[3-4|6-7]_max Maximum output voltage
H A Dsmsc47m192.rst78 in[0-7]_max lower and upper alarm thresholds for in[0-7]_input reading
90 temp[1-3]_max lower and upper alarm thresholds for temperatures
115 The `*_min`, `*_max`, `*_offset` and `vrm` files can be read and written,
H A Ducd9200.rst76 in[2-5]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
92 curr[2-5]_max Maximum current. From IOUT_OC_WARN_LIMIT register.
116 temp[1-5]_max Maximum temperature. From OT_WARN_LIMIT register.
H A Dxdpe12284.rst62 **curr[1-4]_max**
104 **temp[1-2]_max**
H A Ducd9000.rst96 in[1-12]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
109 curr[1-12]_max Maximum current. From IOUT_OC_WARN_LIMIT register.
123 temp[1-2]_max Maximum temperature. From OT_WARN_LIMIT register.
H A Dmc33xs2410_hwmon.rst33 temp[2-5]_max Maximal temperature
H A Dmenf21bmc.rst48 in[0-4]_max Maximum voltage limit
H A Dtmp464.rst45 **temp[1-9]_max**
H A Dmp2856.rst96 **temp[1-2]_max**
H A Dinspur-ipsps1.rst66 temp[1-2]_max Maximum temperature
/linux/drivers/net/ethernet/sfc/falcon/
H A Dfalcon_boards.c52 #define LM87_IN_LIMITS(nr, _min, _max) \ argument
53 0x2B + (nr) * 2, _max, 0x2C + (nr) * 2, _min
54 #define LM87_AIN_LIMITS(nr, _min, _max) \ argument
55 0x3B + (nr), _max, 0x1A + (nr), _min
56 #define LM87_TEMP_INT_LIMITS(_min, _max) \ argument
57 0x39, _max, 0x3A, _min
58 #define LM87_TEMP_EXT1_LIMITS(_min, _max) \ argument
59 0x37, _max, 0x38, _min
/linux/arch/powerpc/perf/
H A Dhv-common.h35 static u64 event_get_##name##_max(void) \
44 event_get_##name##_max(); \
/linux/arch/s390/boot/
H A Dkaslr.c108 unsigned long _min, unsigned long _max, in iterate_valid_positions() argument
123 if (start >= _max) in iterate_valid_positions()
126 end = min(_max, end); in iterate_valid_positions()
/linux/drivers/clk/sophgo/
H A Dclk-cv18xx-pll.h18 #define _CV1800_PLL_LIMIT(_min, _max) \ argument
21 .max = _max, \
/linux/arch/x86/include/asm/
H A Dsev-common.h22 #define GHCB_MSR_SEV_INFO(_max, _min, _cbit) \ argument
24 ((((_max) & 0xffff) << 48) | \
/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.h86 #define MTK_DRV_GRP(_min, _max, _low, _high, _step) \ argument
89 .max_drv = _max, \
/linux/drivers/platform/x86/
H A Dasus-armoury.h75 #define __WMI_STORE_INT(_attr, _min, _max, _wmi) \ argument
81 _max, NULL, _wmi); \
249 tunables->power_limits->_attrname##_max); \
265 tunables->power_limits->_attr##_max) \
270 tunables->power_limits->_attr##_max, \
290 __ROG_TUNABLE_SHOW(max_value, _attrname, _attrname##_max); \
/linux/net/sctp/
H A Dsm_statetable.c51 #define DO_LOOKUP(_max, _type, _table) \ argument
55 if ((event_subtype._type > (_max))) { \
57 _table, event_subtype._type, _max); \
/linux/fs/ceph/
H A Ddebugfs.c129 s64 _total, _avg, _min, _max, _sq, _st; \
132 _max = ktime_to_us(max); \
138 name, total, _avg, _min, _max, _st); \
/linux/drivers/hwmon/
H A Dbt1-pvt.h170 .attr_max_alarm = _type## _max, \

123