/openbmc/linux/drivers/crypto/vmx/ |
H A D | aes.c | 23 struct crypto_cipher *fallback; member 31 struct crypto_cipher *fallback; in p8_aes_init() local 35 if (IS_ERR(fallback)) { in p8_aes_init() 38 alg, PTR_ERR(fallback)); in p8_aes_init() 39 return PTR_ERR(fallback); in p8_aes_init() 42 crypto_cipher_set_flags(fallback, in p8_aes_init() 46 ctx->fallback = fallback; in p8_aes_init() 55 if (ctx->fallback) { in p8_aes_exit() 56 crypto_free_cipher(ctx->fallback); in p8_aes_exit() 57 ctx->fallback = NULL; in p8_aes_exit() [all …]
|
H A D | aes_cbc.c | 19 struct crypto_skcipher *fallback; member 27 struct crypto_skcipher *fallback; in p8_aes_cbc_init() local 29 fallback = crypto_alloc_skcipher("cbc(aes)", 0, in p8_aes_cbc_init() 32 if (IS_ERR(fallback)) { in p8_aes_cbc_init() 34 PTR_ERR(fallback)); in p8_aes_cbc_init() 35 return PTR_ERR(fallback); in p8_aes_cbc_init() 39 crypto_skcipher_reqsize(fallback)); in p8_aes_cbc_init() 40 ctx->fallback = fallback; in p8_aes_cbc_init() 48 crypto_free_skcipher(ctx->fallback); in p8_aes_cbc_exit() 66 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_cbc_setkey() [all …]
|
H A D | aes_ctr.c | 19 struct crypto_skcipher *fallback; member 26 struct crypto_skcipher *fallback; in p8_aes_ctr_init() local 28 fallback = crypto_alloc_skcipher("ctr(aes)", 0, in p8_aes_ctr_init() 31 if (IS_ERR(fallback)) { in p8_aes_ctr_init() 33 PTR_ERR(fallback)); in p8_aes_ctr_init() 34 return PTR_ERR(fallback); in p8_aes_ctr_init() 38 crypto_skcipher_reqsize(fallback)); in p8_aes_ctr_init() 39 ctx->fallback = fallback; in p8_aes_ctr_init() 47 crypto_free_skcipher(ctx->fallback); in p8_aes_ctr_exit() 64 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_ctr_setkey() [all …]
|
H A D | aes_xts.c | 20 struct crypto_skcipher *fallback; member 29 struct crypto_skcipher *fallback; in p8_aes_xts_init() local 31 fallback = crypto_alloc_skcipher("xts(aes)", 0, in p8_aes_xts_init() 34 if (IS_ERR(fallback)) { in p8_aes_xts_init() 36 PTR_ERR(fallback)); in p8_aes_xts_init() 37 return PTR_ERR(fallback); in p8_aes_xts_init() 41 crypto_skcipher_reqsize(fallback)); in p8_aes_xts_init() 42 ctx->fallback = fallback; in p8_aes_xts_init() 50 crypto_free_skcipher(ctx->fallback); in p8_aes_xts_exit() 73 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_xts_setkey() [all …]
|
/openbmc/linux/drivers/firmware/broadcom/ |
H A D | bcm47xx_sprom.c | 75 fallback); \ 118 bool fallback) in nvram_read_leddc() argument 192 bool fb = fallback; in bcm47xx_sprom_fill_auto() 513 bool fb = fallback; in bcm47xx_fill_sprom_ethernet() 517 fallback); in bcm47xx_fill_sprom_ethernet() 519 fallback); in bcm47xx_fill_sprom_ethernet() 523 fallback); in bcm47xx_fill_sprom_ethernet() 525 fallback); in bcm47xx_fill_sprom_ethernet() 556 bool fallback) in bcm47xx_fill_board_data() argument 565 bool fallback) in bcm47xx_fill_sprom() argument [all …]
|
/openbmc/linux/drivers/crypto/ |
H A D | atmel-ecc.c | 42 struct crypto_kpp *fallback; member 145 kpp_request_set_tfm(req, ctx->fallback); in atmel_ecdh_generate_public_key() 174 kpp_request_set_tfm(req, ctx->fallback); in atmel_ecdh_compute_shared_secret() 250 struct crypto_kpp *fallback; in atmel_ecdh_init_tfm() local 261 if (IS_ERR(fallback)) { in atmel_ecdh_init_tfm() 263 alg, PTR_ERR(fallback)); in atmel_ecdh_init_tfm() 264 return PTR_ERR(fallback); in atmel_ecdh_init_tfm() 268 ctx->fallback = fallback; in atmel_ecdh_init_tfm() 278 crypto_free_kpp(ctx->fallback); in atmel_ecdh_exit_tfm() 286 if (ctx->fallback) in atmel_ecdh_max_size() [all …]
|
H A D | geode-aes.c | 130 tctx->fallback.cip->base.crt_flags |= in geode_setkey_cip() 155 crypto_skcipher_clear_flags(tctx->fallback.skcipher, in geode_setkey_skcipher() 157 crypto_skcipher_set_flags(tctx->fallback.skcipher, in geode_setkey_skcipher() 197 tctx->fallback.cip = crypto_alloc_cipher(name, 0, in fallback_init_cip() 200 if (IS_ERR(tctx->fallback.cip)) { in fallback_init_cip() 202 return PTR_ERR(tctx->fallback.cip); in fallback_init_cip() 212 crypto_free_cipher(tctx->fallback.cip); in fallback_exit_cip() 243 tctx->fallback.skcipher = in geode_init_skcipher() 246 if (IS_ERR(tctx->fallback.skcipher)) { in geode_init_skcipher() 248 return PTR_ERR(tctx->fallback.skcipher); in geode_init_skcipher() [all …]
|
H A D | padlock-sha.c | 25 struct shash_desc fallback; member 29 struct crypto_shash *fallback; member 37 dctx->fallback.tfm = ctx->fallback; in padlock_sha_init() 38 return crypto_shash_init(&dctx->fallback); in padlock_sha_init() 53 return crypto_shash_export(&dctx->fallback, out); in padlock_sha_export() 61 dctx->fallback.tfm = ctx->fallback; in padlock_sha_import() 62 return crypto_shash_import(&dctx->fallback, in); in padlock_sha_import() 87 err = crypto_shash_export(&dctx->fallback, &state); in padlock_sha1_finup() 148 err = crypto_shash_export(&dctx->fallback, &state); in padlock_sha256_finup() 209 ctx->fallback = fallback_tfm; in padlock_init_tfm() [all …]
|
/openbmc/qemu/ |
H A D | .gitpublish | 9 cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null 15 cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null 21 cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null 27 cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null 33 cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null 39 cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null 45 cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null 51 cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
|
/openbmc/phosphor-watchdog/test/ |
H A D | watchdog.cpp | 277 Watchdog::Fallback fallback; in TEST_F() local 278 fallback.action = Watchdog::Action::PowerOff; in TEST_F() 280 fallback.always = false; in TEST_F() 359 Watchdog::Fallback fallback; in TEST_F() local 360 fallback.action = Watchdog::Action::PowerOff; in TEST_F() 362 fallback.always = false; in TEST_F() 412 Watchdog::Fallback fallback; in TEST_F() local 413 fallback.action = Watchdog::Action::PowerOff; in TEST_F() 415 fallback.always = false; in TEST_F() 469 Watchdog::Fallback fallback; in TEST_F() local [all …]
|
/openbmc/phosphor-watchdog/src/ |
H A D | mainapp.cpp | 51 void printFallback(const Watchdog::Fallback& fallback) in printFallback() argument 54 std::cerr << " Action: " << convertForMessage(fallback.action) << "\n"; in printFallback() 55 std::cerr << " Interval(ms): " << std::dec << fallback.interval << "\n"; in printFallback() 56 std::cerr << " Always re-execute: " << std::boolalpha << fallback.always in printFallback() 200 Watchdog::Fallback fallback; in main() local 203 fallback.action = in main() 212 fallback.interval = *fallbackIntervalMs; in main() 213 fallback.always = fallbackAlways; in main() 215 printFallback(fallback); in main() 216 maybeFallback = fallback; in main()
|
H A D | watchdog.cpp | 92 value = fallback->interval; in timeRemaining() 114 action = fallback->action; in timeOutHandler() 177 if (fallback && (fallback->always || this->enabled())) in tryFallbackOrDisable() 179 auto interval_ms = fallback->interval; in tryFallbackOrDisable()
|
H A D | watchdog.hpp | 71 std::optional<Fallback>&& fallback = std::nullopt, argument 76 fallback(fallback), minInterval(minInterval), 175 std::optional<Fallback> fallback; member in phosphor::watchdog::Watchdog
|
/openbmc/u-boot/scripts/dtc/ |
H A D | dtc.c | 122 static const char *guess_type_by_name(const char *fname, const char *fallback) in guess_type_by_name() argument 128 return fallback; in guess_type_by_name() 133 return fallback; in guess_type_by_name() 136 static const char *guess_input_format(const char *fname, const char *fallback) in guess_input_format() argument 143 return fallback; in guess_input_format() 149 return fallback; in guess_input_format() 153 return fallback; in guess_input_format() 156 return fallback; in guess_input_format() 163 return guess_type_by_name(fname, fallback); in guess_input_format()
|
/openbmc/linux/scripts/dtc/ |
H A D | dtc.c | 114 static const char *guess_type_by_name(const char *fname, const char *fallback) in guess_type_by_name() argument 120 return fallback; in guess_type_by_name() 129 return fallback; in guess_type_by_name() 132 static const char *guess_input_format(const char *fname, const char *fallback) in guess_input_format() argument 139 return fallback; in guess_input_format() 145 return fallback; in guess_input_format() 149 return fallback; in guess_input_format() 152 return fallback; in guess_input_format() 159 return guess_type_by_name(fname, fallback); in guess_input_format()
|
/openbmc/linux/arch/s390/crypto/ |
H A D | aes_s390.c | 50 } fallback; member 58 struct crypto_skcipher *fallback; member 136 if (IS_ERR(sctx->fallback.cip)) { in fallback_init_cip() 139 return PTR_ERR(sctx->fallback.cip); in fallback_init_cip() 149 crypto_free_cipher(sctx->fallback.cip); in fallback_exit_cip() 150 sctx->fallback.cip = NULL; in fallback_exit_cip() 262 if (IS_ERR(sctx->fallback.skcipher)) { in fallback_init_skcipher() 265 return PTR_ERR(sctx->fallback.skcipher); in fallback_init_skcipher() 494 if (IS_ERR(xts_ctx->fallback)) { in xts_fallback_init() 497 return PTR_ERR(xts_ctx->fallback); in xts_fallback_init() [all …]
|
/openbmc/linux/Documentation/driver-api/firmware/ |
H A D | fallback-mechanisms.rst | 31 Justifying the firmware fallback mechanism 36 fallback mechanism: 54 Types of fallback mechanisms 60 * Kobject uevent fallback mechanism 61 * Custom fallback mechanism 114 .. kernel-doc:: drivers/base/firmware_loader/fallback.c 117 Firmware kobject uevent fallback mechanism 164 Firmware custom fallback mechanism 189 Firmware fallback timeout 207 EFI embedded firmware fallback mechanism [all …]
|
/openbmc/linux/block/ |
H A D | blk-mq-virtio.c | 30 goto fallback; in blk_mq_virtio_map_queues() 35 goto fallback; in blk_mq_virtio_map_queues() 43 fallback: in blk_mq_virtio_map_queues()
|
/openbmc/kcsbridge/src/ |
H A D | meson.build | 4 dependency('stdplus', fallback: ['stdplus', 'stdplus_dep']), 5 dependency('sdbusplus', fallback: ['sdbusplus', 'sdbusplus_dep']), 28 dependency('sdeventplus', fallback: ['sdeventplus', 'sdeventplus_dep']),
|
/openbmc/phosphor-fan-presence/docs/presence/ |
H A D | rpolicy.md | 14 - ["fallback"](#fallback) 26 ### "fallback" 32 "type": "fallback"
|
/openbmc/linux/drivers/base/firmware_loader/ |
H A D | Kconfig | 90 bool "Enable the firmware sysfs fallback mechanism" 95 loading to the kernel through userspace as a fallback mechanism 101 refer to Documentation/driver-api/firmware/fallback-mechanisms.rst. 106 the requested firmware a sysfs fallback loading facility is made 109 this is known as the driver using the custom fallback mechanism. 110 If the custom fallback mechanism is used userspace must always 118 relies on or uses a fallback mechanism in userspace. If you need to 163 bool "Force the firmware sysfs fallback mechanism when possible" 166 Enabling this option forces a sysfs userspace fallback mechanism 168 a fallback mechanism. Firmware calls which do prohibit a fallback [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_edid_load.c | 208 char *edidname, *last, *colon, *fwstr, *edidstr, *fallback = NULL; in drm_edid_load_firmware() local 237 fallback = edidname; in drm_edid_load_firmware() 241 if (!fallback) { in drm_edid_load_firmware() 245 edidname = fallback; in drm_edid_load_firmware()
|
/openbmc/openbmc/poky/meta/recipes-support/libevent/libevent/ |
H A D | 0003-test-mark-util-monotonic_prc_fallback-as-retriable.patch | 18 …nic_res_fallback", test_evutil_monotonic_res, TT_OFF_BY_DEFAULT, &basic_setup, (void*)"fallback" }, 21 - { "monotonic_prc_fallback", test_evutil_monotonic_prc, 0, &basic_setup, (void*)"fallback" }, 22 …onotonic_prc_fallback", test_evutil_monotonic_prc, TT_RETRIABLE, &basic_setup, (void*)"fallback" },
|
/openbmc/u-boot/arch/arm/mach-rockchip/ |
H A D | rk3288-board-spl.c | 47 goto fallback; in spl_boot_device() 52 goto fallback; in spl_boot_device() 58 goto fallback; in spl_boot_device() 71 fallback: in spl_boot_device()
|
H A D | rk3188-board-spl.c | 46 goto fallback; in spl_boot_device() 51 goto fallback; in spl_boot_device() 57 goto fallback; in spl_boot_device() 70 fallback: in spl_boot_device()
|