Lines Matching defs:max
409 * @max: Maximum parameter value (before optional @shift).
418 * When @max is exceeded, "invalid" is printed inside comment.
425 int cs, int reg, int st_bit, int end_bit, int max,
441 if (!max)
442 max = mask;
443 invalid = l > max;
473 #define GPMC_GET_RAW_MAX(reg, st, end, max, field) \
474 get_gpmc_timing_reg(cs, (reg), (st), (end), (max), field, GPMC_CD_FCLK, 0, 1, 0)
477 #define GPMC_GET_RAW_SHIFT_MAX(reg, st, end, shift, max, field) \
478 get_gpmc_timing_reg(cs, (reg), (st), (end), (max), field, GPMC_CD_FCLK, (shift), 1, 1)
483 #define GPMC_GET_TICKS_CD_MAX(reg, st, end, max, field, cd) \
484 get_gpmc_timing_reg(cs, (reg), (st), (end), (max), field, (cd), 0, 0, 0)
591 * @max: Maximum parameter value.
598 static int set_gpmc_timing_reg(int cs, int reg, int st_bit, int end_bit, int max,
611 if (!max)
612 max = mask;
614 if (ticks > max) {
616 __func__, cs, name, time, ticks, max);
1131 const int t_cez = 20; /* max of t_cez, t_oez */
1179 dev_t.t_avdp_w = max(t_avdp, t_cer) * 1000;