Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/clk/starfive/
H A Dclk-starfive-jh71x0.h40 #define JH71X0__DIV(_idx, _name, _max, _parent) \ argument
44 .max = _max, \
48 #define JH71X0_GDIV(_idx, _name, _flags, _max, _parent) \ argument
52 .max = JH71X0_CLK_ENABLE | (_max), \
81 #define JH71X0_MDIV(_idx, _name, _max, _nparents, ...) \ argument
85 .max = (((_nparents) - 1) << JH71X0_CLK_MUX_SHIFT) | (_max), \
89 #define JH71X0__GMD(_idx, _name, _flags, _max, _nparents, ...) \ argument
94 (((_nparents) - 1) << JH71X0_CLK_MUX_SHIFT) | (_max), \
/openbmc/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)))
/openbmc/phosphor-pid-control/
H A Dinterfaces.hpp56 WriteInterface(int64_t min, int64_t max) : _min(min), _max(max) {} in WriteInterface()
84 return _max; in getMax()
89 int64_t _max; member in pid_control::WriteInterface
/openbmc/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, \
/openbmc/linux/Documentation/hwmon/
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 Dxdpe152c4.rst51 **curr[1-4]_max**
76 **in[1-4]_max**
102 **power[1-4]_max**
116 **temp[1-2]_max**
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 Dmax31785.rst50 in[1-6]_max Maximum output voltage
64 temp[1-11]_max Maximum temperature
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 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 Dxdpe12284.rst62 **curr[1-4]_max**
104 **temp[1-2]_max**
H A 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.
H A Dmax16601.rst103 curr[N+4]_max Maximum output current.
115 curr[2*N+5]_max Maximum output current.
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 Dtps53679.rst132 temp[N]_max Maximum temperature.
176 curr[N]_max Maximum output current.
/openbmc/linux/arch/powerpc/perf/
H A Dhv-common.h35 static u64 event_get_##name##_max(void) \
44 event_get_##name##_max(); \
/openbmc/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
/openbmc/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()
/openbmc/linux/arch/x86/include/asm/
H A Dsev-common.h22 #define GHCB_MSR_SEV_INFO(_max, _min, _cbit) \ argument
24 ((((_max) & 0xffff) << 48) | \
/openbmc/linux/drivers/platform/x86/intel/uncore-frequency/
H A Duncore-frequency-tpmi.c97 int i, _min = 0, _max = 0; in uncore_read_control_freq() local
111 &_min, &_max); in uncore_read_control_freq()
114 if (*max < _max) in uncore_read_control_freq()
115 *max = _max; in uncore_read_control_freq()
/openbmc/phosphor-pid-control/dbus/
H A Ddbuspassive.cpp103 _max = settings.max * std::pow(10.0, _scale); in DbusPassive()
213 return _max; in getMax()
241 scaleSensorReading(_min, _max, value); in updateValue()
H A Ddbuspassive.hpp81 double _max = 0; member in pid_control::DbusPassive
/openbmc/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.h86 #define MTK_DRV_GRP(_min, _max, _low, _high, _step) \ argument
89 .max_drv = _max, \
/openbmc/linux/drivers/regulator/
H A Drk808-regulator.c78 #define RK817_BOOST_DESC(_id, _match, _supply, _min, _max, _step, _vreg,\ argument
87 .n_voltages = (((_max) - (_min)) / (_step) + 1), \
102 #define RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _step, _vreg, \ argument
111 .n_voltages = (((_max) - (_min)) / (_step) + 1), \
125 #define RK805_DESC(_id, _match, _supply, _min, _max, _step, _vreg, \ argument
127 RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _step, _vreg, \
158 #define RK8XX_DESC(_id, _match, _supply, _min, _max, _step, _vreg, \ argument
160 RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _step, _vreg, \
163 #define RK817_DESC(_id, _match, _supply, _min, _max, _step, _vreg, \ argument
165 RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _step, _vreg, \

1234