Lines Matching refs:nx842_pseries_constraints
47 static struct nx842_constraints nx842_pseries_constraints = { variable
56 if (!IS_ALIGNED(buf, nx842_pseries_constraints.alignment)) { in check_constraints()
59 nx842_pseries_constraints.alignment); in check_constraints()
62 if (*len % nx842_pseries_constraints.multiple) { in check_constraints()
65 nx842_pseries_constraints.multiple); in check_constraints()
68 *len = round_down(*len, nx842_pseries_constraints.multiple); in check_constraints()
70 if (*len < nx842_pseries_constraints.minimum) { in check_constraints()
73 nx842_pseries_constraints.minimum); in check_constraints()
76 if (*len > nx842_pseries_constraints.maximum) { in check_constraints()
79 nx842_pseries_constraints.maximum); in check_constraints()
82 *len = nx842_pseries_constraints.maximum; in check_constraints()
704 nx842_pseries_constraints.maximum = devdata->max_sync_size; in nx842_OF_upd_maxsyncop()
1006 .constraints = &nx842_pseries_constraints,