| /drivers/clk/starfive/ |
| A D | clk-starfive-jh71x0.h | 40 #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), \
|
| /drivers/net/fjes/ |
| A D | fjes_hw.h | 56 #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)))
|
| /drivers/clk/sunxi-ng/ |
| A D | ccu_div.h | 54 #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)
|
| A D | ccu_mult.h | 17 #define _SUNXI_CCU_MULT_OFFSET_MIN_MAX(_shift, _width, _offset, _min, _max) \ argument 20 .max = _max, \
|
| /drivers/net/ethernet/sfc/falcon/ |
| A D | falcon_boards.c | 52 #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
|
| A D | net_driver.h | 493 ((val) < member ## _max) ? member ## _names[val] : "(invalid)"
|
| /drivers/clk/sophgo/ |
| A D | clk-cv18xx-pll.h | 18 #define _CV1800_PLL_LIMIT(_min, _max) \ argument 21 .max = _max, \
|
| /drivers/pinctrl/mediatek/ |
| A D | pinctrl-mtk-common.h | 86 #define MTK_DRV_GRP(_min, _max, _low, _high, _step) \ argument 89 .max_drv = _max, \
|
| /drivers/regulator/ |
| A D | rk808-regulator.c | 85 .n_voltages = (((_max) - (_min)) / (_step) + 1), \ 100 #define RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _step, _vreg, \ argument 109 .n_voltages = (((_max) - (_min)) / (_step) + 1), \ 123 #define RK805_DESC(_id, _match, _supply, _min, _max, _step, _vreg, \ argument 125 RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _step, _vreg, \ 156 #define RK8XX_DESC(_id, _match, _supply, _min, _max, _step, _vreg, \ argument 158 RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _step, _vreg, \ 161 #define RK816_DESC(_id, _match, _supply, _min, _max, _step, _vreg, \ argument 163 RK8XX_DESC_COM(_id, _match, _supply, _min, _max, _step, _vreg, \ 166 #define RK817_DESC(_id, _match, _supply, _min, _max, _step, _vreg, \ argument [all …]
|
| A D | axp20x-regulator.c | 352 #define AXP_DESC_IO(_family, _id, _match, _supply, _min, _max, _step, _vreg, \ argument 361 .n_voltages = (((_max) - (_min)) / (_step) + 1), \ 374 #define AXP_DESC(_family, _id, _match, _supply, _min, _max, _step, _vreg, \ argument 383 .n_voltages = (((_max) - (_min)) / (_step) + 1), \
|
| A D | max8998.c | 479 #define MAX8998_LINEAR_REG(_name, _ops, _min, _step, _max) \ argument 486 .n_voltages = ((_max) - (_min)) / (_step) + 1, \
|
| /drivers/hwmon/ |
| A D | max197.c | 222 static SENSOR_DEVICE_ATTR_2(in##chan##_max, S_IRUGO | S_IWUSR, \ 229 &sensor_dev_attr_in##chan##_max.dev_attr.attr, \
|
| A D | bt1-pvt.h | 170 .attr_max_alarm = _type## _max, \
|
| A D | w83781d.c | 286 static SENSOR_DEVICE_ATTR(in##offset##_max, S_IRUGO | S_IWUSR, \ 396 static SENSOR_DEVICE_ATTR(temp##offset##_max, S_IRUGO | S_IWUSR, \ 922 &sensor_dev_attr_in##X##_max.dev_attr.attr, \ 935 &sensor_dev_attr_temp##X##_max.dev_attr.attr, \
|
| A D | asb100.c | 274 static SENSOR_DEVICE_ATTR(in##offset##_max, S_IRUGO | S_IWUSR, \ 461 static SENSOR_DEVICE_ATTR(temp##num##_max, S_IRUGO | S_IWUSR, \
|
| A D | vt1211.c | 910 SENSOR_ATTR_2(in##ix##_max, S_IRUGO | S_IWUSR, \ 954 SENSOR_ATTR_2(temp##ix##_max, S_IRUGO | S_IWUSR, \
|
| A D | w83795.c | 1612 SENSOR_ATTR_2(in##index##_max, S_IRUGO | S_IWUSR, show_in, \ 1667 SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_dts_ext, \ 1689 SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_temp, \
|
| /drivers/clk/baikal-t1/ |
| A D | ccu-pll.c | 329 #define CCU_PLL_DBGFS_FLD_ATTR(_name, _reg, _lsb, _mask, _min, _max) \ argument 336 .max = _max \
|
| /drivers/power/supply/ |
| A D | mp2629_charger.c | 49 #define MP2629_PROPS(_idx, _min, _max, _step) \ argument 52 .max = _max, \
|
| /drivers/media/v4l2-core/ |
| A D | v4l2-ctrls-core.c | 2195 u32 id, u8 _max, u64 mask, u8 _def) in v4l2_ctrl_new_std_menu() argument 2203 s64 max = _max; in v4l2_ctrl_new_std_menu() 2228 const struct v4l2_ctrl_ops *ops, u32 id, u8 _max, in v4l2_ctrl_new_std_menu_items() argument 2236 s64 max = _max; in v4l2_ctrl_new_std_menu_items() 2286 u32 id, u8 _max, u8 _def, const s64 *qmenu_int) in v4l2_ctrl_new_int_menu() argument 2292 s64 max = _max; in v4l2_ctrl_new_int_menu()
|
| A D | v4l2-common.c | 65 int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl, s32 _min, s32 _max, s32 _step, s32 _def) in v4l2_ctrl_query_fill() argument 69 s64 max = _max; in v4l2_ctrl_query_fill()
|
| /drivers/iio/adc/ |
| A D | ad7944.c | 125 #define AD7944_DEFINE_CHIP_INFO(_name, _ts, _max, _bits, _diff) \ argument 129 .max_sample_rate_hz = _max, \
|
| /drivers/input/misc/ |
| A D | uinput.c | 851 #define uinput_set_bit(_arg, _bit, _max) \ argument 856 else if ((_arg) > (_max)) \
|
| /drivers/usb/dwc2/ |
| A D | params.c | 802 #define CHECK_RANGE(_param, _min, _max, _def) do { \ argument 804 (hsotg->params._param) > (_max)) { \
|
| /drivers/iio/addac/ |
| A D | ad74115.c | 245 #define AD74115_FW_PROP(_name, _max, _reg, _mask) \ argument 248 .max = (_max), \
|