.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /** |
---|
2 | 3 | * Copyright (C) ST-Ericsson SA 2010 |
---|
3 | 4 | * Author: Shujuan Chen <shujuan.chen@stericsson.com> for ST-Ericsson. |
---|
.. | .. |
---|
5 | 6 | * Author: Niklas Hernaeus <niklas.hernaeus@stericsson.com> for ST-Ericsson. |
---|
6 | 7 | * Author: Joakim Bech <joakim.xx.bech@stericsson.com> for ST-Ericsson. |
---|
7 | 8 | * Author: Berne Hebark <berne.herbark@stericsson.com> for ST-Ericsson. |
---|
8 | | - * License terms: GNU General Public License (GPL) version 2 |
---|
9 | 9 | */ |
---|
10 | 10 | |
---|
11 | 11 | #include <linux/errno.h> |
---|
.. | .. |
---|
314 | 314 | case CRYP_KEY_SIZE_256: |
---|
315 | 315 | ctx->key_4_l = readl_relaxed(&src_reg->key_4_l); |
---|
316 | 316 | ctx->key_4_r = readl_relaxed(&src_reg->key_4_r); |
---|
| 317 | + fallthrough; |
---|
317 | 318 | |
---|
318 | 319 | case CRYP_KEY_SIZE_192: |
---|
319 | 320 | ctx->key_3_l = readl_relaxed(&src_reg->key_3_l); |
---|
320 | 321 | ctx->key_3_r = readl_relaxed(&src_reg->key_3_r); |
---|
| 322 | + fallthrough; |
---|
321 | 323 | |
---|
322 | 324 | case CRYP_KEY_SIZE_128: |
---|
323 | 325 | ctx->key_2_l = readl_relaxed(&src_reg->key_2_l); |
---|
324 | 326 | ctx->key_2_r = readl_relaxed(&src_reg->key_2_r); |
---|
| 327 | + fallthrough; |
---|
325 | 328 | |
---|
326 | 329 | default: |
---|
327 | 330 | ctx->key_1_l = readl_relaxed(&src_reg->key_1_l); |
---|
.. | .. |
---|
361 | 364 | case CRYP_KEY_SIZE_256: |
---|
362 | 365 | writel_relaxed(ctx->key_4_l, ®->key_4_l); |
---|
363 | 366 | writel_relaxed(ctx->key_4_r, ®->key_4_r); |
---|
| 367 | + fallthrough; |
---|
364 | 368 | |
---|
365 | 369 | case CRYP_KEY_SIZE_192: |
---|
366 | 370 | writel_relaxed(ctx->key_3_l, ®->key_3_l); |
---|
367 | 371 | writel_relaxed(ctx->key_3_r, ®->key_3_r); |
---|
| 372 | + fallthrough; |
---|
368 | 373 | |
---|
369 | 374 | case CRYP_KEY_SIZE_128: |
---|
370 | 375 | writel_relaxed(ctx->key_2_l, ®->key_2_l); |
---|
371 | 376 | writel_relaxed(ctx->key_2_r, ®->key_2_r); |
---|
| 377 | + fallthrough; |
---|
372 | 378 | |
---|
373 | 379 | default: |
---|
374 | 380 | writel_relaxed(ctx->key_1_l, ®->key_1_l); |
---|