Home
last modified time | relevance | path

Searched refs:_max (Results 1 - 25 of 73) sorted by relevance

123

/kernel/linux/linux-6.6/drivers/clk/starfive/
H A Dclk-starfive-jh71x0.h40 #define JH71X0__DIV(_idx, _name, _max, _parent) \
44 .max = _max, \
48 #define JH71X0_GDIV(_idx, _name, _flags, _max, _parent) \
52 .max = JH71X0_CLK_ENABLE | (_max), \
81 #define JH71X0_MDIV(_idx, _name, _max, _nparents, ...) \
85 .max = (((_nparents) - 1) << JH71X0_CLK_MUX_SHIFT) | (_max), \
89 #define JH71X0__GMD(_idx, _name, _flags, _max, _nparents, ...) \
94 (((_nparents) - 1) << JH71X0_CLK_MUX_SHIFT) | (_max), \
/kernel/linux/linux-5.10/arch/s390/boot/
H A Dkaslr.c129 unsigned long _max) in count_valid_kernel_positions()
137 if (start >= _max) in count_valid_kernel_positions()
140 end = min(_max, end); in count_valid_kernel_positions()
150 unsigned long _min, unsigned long _max) in position_to_address()
158 if (start >= _max) in position_to_address()
161 end = min(_max, end); in position_to_address()
127 count_valid_kernel_positions(unsigned long kernel_size, unsigned long _min, unsigned long _max) count_valid_kernel_positions() argument
149 position_to_address(unsigned long pos, unsigned long kernel_size, unsigned long _min, unsigned long _max) position_to_address() argument
/kernel/linux/linux-5.10/drivers/clk/sunxi-ng/
H A Dccu_div.h54 #define _SUNXI_CCU_DIV_OFFSET_MAX_FLAGS(_shift, _width, _off, _max, _flags) \
59 .max = _max, \
63 #define _SUNXI_CCU_DIV_MAX_FLAGS(_shift, _width, _max, _flags) \
64 _SUNXI_CCU_DIV_OFFSET_MAX_FLAGS(_shift, _width, 1, _max, _flags)
69 #define _SUNXI_CCU_DIV_MAX(_shift, _width, _max) \
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) \
20 .max = _max, \
/kernel/linux/linux-5.10/drivers/net/fjes/
H A Dfjes_hw.h56 #define EP_RING_INDEX(_num, _max) (((_num) + (_max)) % (_max))
57 #define EP_RING_INDEX_INC(_num, _max) \
58 ((_num) = EP_RING_INDEX((_num) + 1, (_max)))
59 #define EP_RING_FULL(_head, _tail, _max) \
60 (0 == EP_RING_INDEX(((_tail) - (_head)), (_max)))
61 #define EP_RING_EMPTY(_head, _tail, _max) \
62 (1 == EP_RING_INDEX(((_tail) - (_head)), (_max)))
/kernel/linux/linux-6.6/drivers/net/fjes/
H A Dfjes_hw.h56 #define EP_RING_INDEX(_num, _max) (((_num) + (_max)) % (_max))
57 #define EP_RING_INDEX_INC(_num, _max) \
58 ((_num) = EP_RING_INDEX((_num) + 1, (_max)))
59 #define EP_RING_FULL(_head, _tail, _max) \
60 (0 == EP_RING_INDEX(((_tail) - (_head)), (_max)))
61 #define EP_RING_EMPTY(_head, _tail, _max) \
62 (1 == EP_RING_INDEX(((_tail) - (_head)), (_max)))
/kernel/linux/linux-6.6/drivers/clk/sunxi-ng/
H A Dccu_div.h54 #define _SUNXI_CCU_DIV_OFFSET_MAX_FLAGS(_shift, _width, _off, _max, _flags) \
59 .max = _max, \
63 #define _SUNXI_CCU_DIV_MAX_FLAGS(_shift, _width, _max, _flags) \
64 _SUNXI_CCU_DIV_OFFSET_MAX_FLAGS(_shift, _width, 1, _max, _flags)
69 #define _SUNXI_CCU_DIV_MAX(_shift, _width, _max) \
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) \
20 .max = _max, \
/kernel/linux/linux-5.10/arch/powerpc/perf/
H A Dhv-common.h35 static u64 event_get_##name##_max(void) \
44 event_get_##name##_max(); \
/kernel/linux/linux-6.6/arch/powerpc/perf/
H A Dhv-common.h35 static u64 event_get_##name##_max(void) \
44 event_get_##name##_max(); \
/kernel/linux/linux-6.6/arch/s390/boot/
H A Dkaslr.c108 unsigned long _min, unsigned long _max, in iterate_valid_positions()
123 if (start >= _max) in iterate_valid_positions()
126 end = min(_max, end); in iterate_valid_positions()
107 iterate_valid_positions(unsigned long size, unsigned long align, unsigned long _min, unsigned long _max, struct reserved_range *res, size_t res_count, bool pos_count, unsigned long find_pos) iterate_valid_positions() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
H A Dfalcon_boards.c52 #define LM87_IN_LIMITS(nr, _min, _max) \
53 0x2B + (nr) * 2, _max, 0x2C + (nr) * 2, _min
54 #define LM87_AIN_LIMITS(nr, _min, _max) \
55 0x3B + (nr), _max, 0x1A + (nr), _min
56 #define LM87_TEMP_INT_LIMITS(_min, _max) \
57 0x39, _max, 0x3A, _min
58 #define LM87_TEMP_EXT1_LIMITS(_min, _max) \
59 0x37, _max, 0x38, _min
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/
H A Dfalcon_boards.c52 #define LM87_IN_LIMITS(nr, _min, _max) \
53 0x2B + (nr) * 2, _max, 0x2C + (nr) * 2, _min
54 #define LM87_AIN_LIMITS(nr, _min, _max) \
55 0x3B + (nr), _max, 0x1A + (nr), _min
56 #define LM87_TEMP_INT_LIMITS(_min, _max) \
57 0x39, _max, 0x3A, _min
58 #define LM87_TEMP_EXT1_LIMITS(_min, _max) \
59 0x37, _max, 0x38, _min
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dsev-common.h22 #define GHCB_MSR_SEV_INFO(_max, _min, _cbit) \
24 ((((_max) & 0xffff) << 48) | \
/kernel/linux/linux-5.10/drivers/regulator/
H A Drk808-regulator.c69 #define RK817_BOOST_DESC(_id, _match, _supply, _min, _max, _step, _vreg,\
78 .n_voltages = (((_max) - (_min)) / (_step) + 1), \
93 #define RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _step, _vreg, \
102 .n_voltages = (((_max) - (_min)) / (_step) + 1), \
116 #define RK805_DESC(_id, _match, _supply, _min, _max, _step, _vreg, \
118 RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _step, _vreg, \
121 #define RK8XX_DESC(_id, _match, _supply, _min, _max, _step, _vreg, \
123 RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _step, _vreg, \
126 #define RK817_DESC(_id, _match, _supply, _min, _max, _step, _vreg, \
128 RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _ste
[all...]
/kernel/linux/linux-5.10/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.h86 #define MTK_DRV_GRP(_min, _max, _low, _high, _step) \
89 .max_drv = _max, \
/kernel/linux/linux-6.6/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.h86 #define MTK_DRV_GRP(_min, _max, _low, _high, _step) \
89 .max_drv = _max, \
/kernel/linux/linux-5.10/net/batman-adv/
H A Dsysfs.c175 #define BATADV_ATTR_SIF_STORE_UINT(_name, _var, _min, _max, _post_func) \
185 length = __batadv_store_uint_attr(buff, count, _min, _max, \
208 #define BATADV_ATTR_SIF_UINT(_name, _var, _mode, _min, _max, _post_func)\
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) \
274 length = __batadv_store_uint_attr(buff, count, _min, _max, \
311 #define BATADV_ATTR_HIF_UINT(_name, _var, _mode, _min, _max, _post_func)\
313 _max, _post_func) \
/kernel/linux/linux-5.10/net/sctp/
H A Dsm_statetable.c51 #define DO_LOOKUP(_max, _type, _table) \
55 if ((event_subtype._type > (_max))) { \
57 _table, event_subtype._type, _max); \
/kernel/linux/linux-5.10/fs/ceph/
H A Ddebugfs.c131 s64 _total, _avg, _min, _max, _sq, _st; \
134 _max = ktime_to_us(max); \
140 name, total, _avg, _min, _max, _st); \
/kernel/linux/linux-6.6/fs/ceph/
H A Ddebugfs.c131 s64 _total, _avg, _min, _max, _sq, _st; \
134 _max = ktime_to_us(max); \
140 name, total, _avg, _min, _max, _st); \
/kernel/linux/linux-6.6/net/sctp/
H A Dsm_statetable.c51 #define DO_LOOKUP(_max, _type, _table) \
55 if ((event_subtype._type > (_max))) { \
57 _table, event_subtype._type, _max); \
/kernel/linux/linux-6.6/drivers/regulator/
H A Drk808-regulator.c78 #define RK817_BOOST_DESC(_id, _match, _supply, _min, _max, _step, _vreg,\
87 .n_voltages = (((_max) - (_min)) / (_step) + 1), \
102 #define RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _step, _vreg, \
111 .n_voltages = (((_max) - (_min)) / (_step) + 1), \
125 #define RK805_DESC(_id, _match, _supply, _min, _max, _step, _vreg, \
127 RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _step, _vreg, \
158 #define RK8XX_DESC(_id, _match, _supply, _min, _max, _step, _vreg, \
160 RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _step, _vreg, \
163 #define RK817_DESC(_id, _match, _supply, _min, _max, _step, _vreg, \
165 RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _ste
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dmax197.c222 static SENSOR_DEVICE_ATTR_2(in##chan##_max, S_IRUGO | S_IWUSR, \
229 &sensor_dev_attr_in##chan##_max.dev_attr.attr, \

Completed in 16 milliseconds

123