Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/net/fjes/
Dfjes_hw.h71 #define EP_RING_INDEX(_num, _max) (((_num) + (_max)) % (_max)) argument
72 #define EP_RING_INDEX_INC(_num, _max) \ argument
73 ((_num) = EP_RING_INDEX((_num) + 1, (_max)))
74 #define EP_RING_FULL(_head, _tail, _max) \ argument
75 (0 == EP_RING_INDEX(((_tail) - (_head)), (_max)))
76 #define EP_RING_EMPTY(_head, _tail, _max) \ argument
77 (1 == EP_RING_INDEX(((_tail) - (_head)), (_max)))
/Linux-v4.19/drivers/clk/sunxi-ng/
Dccu_div.h62 #define _SUNXI_CCU_DIV_OFFSET_MAX_FLAGS(_shift, _width, _off, _max, _flags) \ argument
67 .max = _max, \
71 #define _SUNXI_CCU_DIV_MAX_FLAGS(_shift, _width, _max, _flags) \ argument
72 _SUNXI_CCU_DIV_OFFSET_MAX_FLAGS(_shift, _width, 1, _max, _flags)
77 #define _SUNXI_CCU_DIV_MAX(_shift, _width, _max) \ argument
78 _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-v4.19/Documentation/hwmon/
Dir3522146 curr[2-3]_max Maximum current
66 in[2-3]_max Maximum output voltage
78 power[2-3]_max Output power limit
86 temp[1-2]_max Maximum temperature
Dmax3178545 in[1-6]_max Maximum output voltage
59 temp[1-11]_max Maximum temperature
Dsmsc47m19266 in[0-7]_max - lower and upper alarm thresholds for in[0-7]_input reading
78 temp[1-3]_max - lower and upper alarm thresholds for temperatures
102 The *_min, *_max, *_offset and vrm files can be read and
Ducd920069 in[2-5]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
82 curr[2-5]_max Maximum current. From IOUT_OC_WARN_LIMIT register.
105 temp[1-5]_max Maximum temperature. From OT_WARN_LIMIT register.
Dmax3444083 in[1-6]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
98 curr[1-6]_max Maximum current. From IOUT_OC_WARN_LIMIT register.
121 temp[1-8]_max Maximum temperature. From OT_WARN_LIMIT register.
Ducd900082 in[1-12]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
92 curr[1-12]_max Maximum current. From IOUT_OC_WARN_LIMIT register.
105 temp[1-2]_max Maximum temperature. From OT_WARN_LIMIT register.
Dina322131 curr[123]_max Warning alert current(mA) setting, activates the
Dltc2978130 in[N]_max Maximum output voltage.
155 temp[N]_max Maximum temperature.
202 curr[N]_max Maximum output current.
Dmenf21bmc44 in[0-4]_max Maximum voltage limit
Dmax19757 * in[0-7]_max: The higher limit (in mV) for the corresponding channel.
Dmax1606446 in[1-4]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
/Linux-v4.19/arch/powerpc/perf/
Dhv-common.h35 static u64 event_get_##name##_max(void) \
44 event_get_##name##_max(); \
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Dfalcon_boards.c55 #define LM87_IN_LIMITS(nr, _min, _max) \ argument
56 0x2B + (nr) * 2, _max, 0x2C + (nr) * 2, _min
57 #define LM87_AIN_LIMITS(nr, _min, _max) \ argument
58 0x3B + (nr), _max, 0x1A + (nr), _min
59 #define LM87_TEMP_INT_LIMITS(_min, _max) \ argument
60 0x39, _max, 0x3A, _min
61 #define LM87_TEMP_EXT1_LIMITS(_min, _max) \ argument
62 0x37, _max, 0x38, _min
/Linux-v4.19/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.h94 #define MTK_DRV_GRP(_min, _max, _low, _high, _step) \ argument
97 .max_drv = _max, \
/Linux-v4.19/net/batman-adv/
Dsysfs.c181 #define BATADV_ATTR_SIF_STORE_UINT(_name, _var, _min, _max, _post_func) \ argument
189 return __batadv_store_uint_attr(buff, count, _min, _max, \
207 #define BATADV_ATTR_SIF_UINT(_name, _var, _mode, _min, _max, _post_func)\ argument
208 static BATADV_ATTR_SIF_STORE_UINT(_name, _var, _min, _max, _post_func)\
251 #define BATADV_ATTR_HIF_STORE_UINT(_name, _var, _min, _max, _post_func) \ argument
264 length = __batadv_store_uint_attr(buff, count, _min, _max, \
295 #define BATADV_ATTR_HIF_UINT(_name, _var, _mode, _min, _max, _post_func)\ argument
297 _max, _post_func) \
/Linux-v4.19/drivers/hwmon/
Dmax197.c225 static SENSOR_DEVICE_ATTR_2(in##chan##_max, S_IRUGO | S_IWUSR, \
232 &sensor_dev_attr_in##chan##_max.dev_attr.attr, \
/Linux-v4.19/drivers/regulator/
Drk808-regulator.c68 #define RK805_DESC(_id, _match, _supply, _min, _max, _step, _vreg, \ argument
77 .n_voltages = (((_max) - (_min)) / (_step) + 1), \
89 #define RK8XX_DESC(_id, _match, _supply, _min, _max, _step, _vreg, \ argument
98 .n_voltages = (((_max) - (_min)) / (_step) + 1), \
Daxp20x-regulator.c41 #define AXP_DESC_IO(_family, _id, _match, _supply, _min, _max, _step, _vreg, \ argument
50 .n_voltages = (((_max) - (_min)) / (_step) + 1), \
63 #define AXP_DESC(_family, _id, _match, _supply, _min, _max, _step, _vreg, \ argument
72 .n_voltages = (((_max) - (_min)) / (_step) + 1), \
/Linux-v4.19/net/sctp/
Dsm_statetable.c66 #define DO_LOOKUP(_max, _type, _table) \ argument
70 if ((event_subtype._type > (_max))) { \
72 _table, event_subtype._type, _max); \
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-common.c84 int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl, s32 _min, s32 _max, s32 _step, s32 _def) in v4l2_ctrl_query_fill() argument
88 s64 max = _max; in v4l2_ctrl_query_fill()
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-class-backlight-driver-adp88701 What: /sys/class/backlight/<backlight>/<ambient light zone>_max
/Linux-v4.19/include/linux/
Dide.h949 #define __IDE_PROC_DEVSET(_name, _min, _max, _mulf, _divf) { \ argument
953 .max = _max, \
958 #define IDE_PROC_DEVSET(_name, _min, _max) \ argument
959 __IDE_PROC_DEVSET(_name, _min, _max, NULL, NULL)

123