Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/net/fjes/
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-v5.4/drivers/clk/sunxi-ng/
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)
Dccu_mult.h17 #define _SUNXI_CCU_MULT_OFFSET_MIN_MAX(_shift, _width, _offset, _min, _max) \ argument
20 .max = _max, \
/Linux-v5.4/Documentation/hwmon/
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
Dmax31785.rst50 in[1-6]_max Maximum output voltage
64 temp[1-11]_max Maximum temperature
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,
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.
Dmax34440.rst116 in[1-6]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
139 curr[1-6]_max Maximum current. From IOUT_OC_WARN_LIMIT register.
175 temp[1-8]_max Maximum temperature. From OT_WARN_LIMIT register.
Ducd9000.rst88 in[1-12]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
101 curr[1-12]_max Maximum current. From IOUT_OC_WARN_LIMIT register.
115 temp[1-2]_max Maximum temperature. From OT_WARN_LIMIT register.
Dltc2978.rst212 in[N]_max Maximum output voltage.
252 temp[N]_max Maximum temperature.
332 curr[N]_max Maximum output current.
Dmenf21bmc.rst48 in[0-4]_max Maximum voltage limit
Dmax197.rst66 in[0-7]_max The higher limit (in mV) for the corresponding channel.
Dina3221.rst39 curr[123]_max Warning alert current(mA) setting, activates the
Dinspur-ipsps1.rst66 temp[1-2]_max Maximum temperature
Disl68137.rst78 temp[1-3]_max Maximum temperature
Dmax16064.rst51 in[1-4]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
Dpxe1610.rst105 temp[1-3]_max Maximum temperature
/Linux-v5.4/arch/powerpc/perf/
Dhv-common.h35 static u64 event_get_##name##_max(void) \
44 event_get_##name##_max(); \
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/
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-v5.4/drivers/regulator/
Drk808-regulator.c69 #define RK817_BOOST_DESC(_id, _match, _supply, _min, _max, _step, _vreg,\ argument
78 .n_voltages = (((_max) - (_min)) / (_step) + 1), \
93 #define RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _step, _vreg, \ argument
102 .n_voltages = (((_max) - (_min)) / (_step) + 1), \
116 #define RK805_DESC(_id, _match, _supply, _min, _max, _step, _vreg, \ argument
118 RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _step, _vreg, \
121 #define RK8XX_DESC(_id, _match, _supply, _min, _max, _step, _vreg, \ argument
123 RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _step, _vreg, \
126 #define RK817_DESC(_id, _match, _supply, _min, _max, _step, _vreg, \ argument
128 RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _step, _vreg, \
/Linux-v5.4/net/batman-adv/
Dsysfs.c175 #define BATADV_ATTR_SIF_STORE_UINT(_name, _var, _min, _max, _post_func) \ argument
185 length = __batadv_store_uint_attr(buff, count, _min, _max, \
208 #define BATADV_ATTR_SIF_UINT(_name, _var, _mode, _min, _max, _post_func)\ argument
209 static BATADV_ATTR_SIF_STORE_UINT(_name, _var, _min, _max, _post_func)\
259 #define BATADV_ATTR_HIF_STORE_UINT(_name, _var, _min, _max, _post_func) \ argument
274 length = __batadv_store_uint_attr(buff, count, _min, _max, \
311 #define BATADV_ATTR_HIF_UINT(_name, _var, _mode, _min, _max, _post_func)\ argument
313 _max, _post_func) \
/Linux-v5.4/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.h86 #define MTK_DRV_GRP(_min, _max, _low, _high, _step) \ argument
89 .max_drv = _max, \
/Linux-v5.4/drivers/hwmon/
Dmax197.c222 static SENSOR_DEVICE_ATTR_2(in##chan##_max, S_IRUGO | S_IWUSR, \
229 &sensor_dev_attr_in##chan##_max.dev_attr.attr, \
/Linux-v5.4/net/sctp/
Dsm_statetable.c51 #define DO_LOOKUP(_max, _type, _table) \ argument
55 if ((event_subtype._type > (_max))) { \
57 _table, event_subtype._type, _max); \
/Linux-v5.4/include/net/
Dnetlink.h352 #define NLA_POLICY_RANGE(tp, _min, _max) { \ argument
356 .max = _max \
365 #define NLA_POLICY_MAX(tp, _max) { \ argument
368 .max = _max, \

123