Home
last modified time | relevance | path

Searched refs:nx842_pseries_constraints (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/crypto/nx/
H A Dnx-common-pseries.c47 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()
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()
[all …]