| /linux/drivers/firmware/broadcom/ ! |
| H A D | bcm47xx_sprom.c | 51 const char *name, char *buf, int len, bool fallback) in get_nvram_var() argument 59 if (fallback && err == -ENOENT && prefix) { in get_nvram_var() 69 type *val, type allset, bool fallback) \ 76 fallback); \ 98 u16 *val_lo, u16 *val_hi, bool fallback) in NVRAM_READ_VAL() 104 err = get_nvram_var(prefix, NULL, name, buf, sizeof(buf), fallback); in NVRAM_READ_VAL() 119 bool fallback) in nvram_read_leddc() argument 125 err = get_nvram_var(prefix, NULL, name, buf, sizeof(buf), fallback); in nvram_read_leddc() 143 u8 val[6], bool fallback) in nvram_read_macaddr() argument 148 err = get_nvram_var(prefix, NULL, name, buf, sizeof(buf), fallback); in nvram_read_macaddr() [all …]
|
| /linux/arch/powerpc/crypto/ ! |
| H A D | aes_cbc.c | 23 struct crypto_skcipher *fallback; member 31 struct crypto_skcipher *fallback; in p8_aes_cbc_init() local 33 fallback = crypto_alloc_skcipher("cbc(aes)", 0, in p8_aes_cbc_init() 36 if (IS_ERR(fallback)) { in p8_aes_cbc_init() 38 PTR_ERR(fallback)); in p8_aes_cbc_init() 39 return PTR_ERR(fallback); in p8_aes_cbc_init() 43 crypto_skcipher_reqsize(fallback)); in p8_aes_cbc_init() 44 ctx->fallback = fallback; in p8_aes_cbc_init() 52 crypto_free_skcipher(ctx->fallback); in p8_aes_cbc_exit() 70 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_cbc_setkey() [all …]
|
| H A D | aes_ctr.c | 23 struct crypto_skcipher *fallback; member 30 struct crypto_skcipher *fallback; in p8_aes_ctr_init() local 32 fallback = crypto_alloc_skcipher("ctr(aes)", 0, in p8_aes_ctr_init() 35 if (IS_ERR(fallback)) { in p8_aes_ctr_init() 37 PTR_ERR(fallback)); in p8_aes_ctr_init() 38 return PTR_ERR(fallback); in p8_aes_ctr_init() 42 crypto_skcipher_reqsize(fallback)); in p8_aes_ctr_init() 43 ctx->fallback = fallback; in p8_aes_ctr_init() 51 crypto_free_skcipher(ctx->fallback); in p8_aes_ctr_exit() 68 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_ctr_setkey() [all …]
|
| H A D | aes_xts.c | 24 struct crypto_skcipher *fallback; member 33 struct crypto_skcipher *fallback; in p8_aes_xts_init() local 35 fallback = crypto_alloc_skcipher("xts(aes)", 0, in p8_aes_xts_init() 38 if (IS_ERR(fallback)) { in p8_aes_xts_init() 40 PTR_ERR(fallback)); in p8_aes_xts_init() 41 return PTR_ERR(fallback); in p8_aes_xts_init() 45 crypto_skcipher_reqsize(fallback)); in p8_aes_xts_init() 46 ctx->fallback = fallback; in p8_aes_xts_init() 54 crypto_free_skcipher(ctx->fallback); in p8_aes_xts_exit() 77 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_xts_setkey() [all …]
|
| /linux/rust/proc-macro2/ ! |
| H A D | wrapper.rs | 4 use crate::fallback::{self, FromStr2 as _}; 25 Fallback(fallback::TokenStream), 40 Fallback(fallback::LexError), 92 TokenStream::Fallback(fallback::TokenStream::new()) in new() 103 fallback::TokenStream::from_str_checked(src)?, in from_str_checked() 122 fn unwrap_stable(self) -> fallback::TokenStream { in unwrap_stable() 156 impl From<fallback::TokenStream> for TokenStream { 157 fn from(inner: fallback::TokenStream) -> Self { in from() 187 TokenStream::Fallback(fallback::TokenStream::from(token)) in from() 281 impl From<fallback::LexError> for LexError { [all …]
|
| /linux/drivers/crypto/ ! |
| H A D | atmel-ecc.c | 42 struct crypto_kpp *fallback; member 99 return crypto_kpp_set_secret(ctx->fallback, buf, len); in atmel_ecdh_set_secret() 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 260 fallback = crypto_alloc_kpp(alg, 0, CRYPTO_ALG_NEED_FALLBACK); in atmel_ecdh_init_tfm() 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() 267 crypto_kpp_set_flags(fallback, crypto_kpp_get_flags(tfm)); in atmel_ecdh_init_tfm() [all …]
|
| H A D | geode-aes.c | 129 tctx->fallback.cip->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in geode_setkey_cip() 130 tctx->fallback.cip->base.crt_flags |= in geode_setkey_cip() 133 return crypto_cipher_setkey(tctx->fallback.cip, key, len); 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() 160 return crypto_skcipher_setkey(tctx->fallback.skcipher, key, len); in geode_setkey_skcipher() 169 crypto_cipher_encrypt_one(tctx->fallback.cip, out, in); in geode_encrypt() 184 crypto_cipher_decrypt_one(tctx->fallback.cip, out, in); in geode_decrypt() 197 tctx->fallback.cip = crypto_alloc_cipher(name, 0, in fallback_init_cip() 200 if (IS_ERR(tctx->fallback.cip)) { in fallback_init_cip() [all …]
|
| H A D | padlock-sha.c | 24 struct crypto_ahash *fallback; member 61 HASH_REQUEST_ON_STACK(req, ctx->fallback); in padlock_sha_update() 106 HASH_REQUEST_ON_STACK(req, ctx->fallback); in padlock_sha_finup() 180 ctx->fallback = fallback_tfm; in padlock_init_tfm() 189 crypto_free_ahash(ctx->fallback); in padlock_exit_tfm()
|
| H A D | img-hash.c | 114 struct crypto_ahash *fallback; member 493 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_init() 558 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_update() 573 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_final() 588 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_finup() 605 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_import() 619 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_export() 687 ctx->fallback = crypto_alloc_ahash(alg_name, 0, in img_hash_cra_init() 689 if (IS_ERR(ctx->fallback)) { in img_hash_cra_init() 691 return PTR_ERR(ctx->fallback); in img_hash_cra_init() [all …]
|
| /linux/Documentation/driver-api/firmware/ ! |
| H A D | fallback-mechanisms.rst | 5 A fallback mechanism is supported to allow to overcome failures to do a direct 8 configuration options related to supporting the firmware fallback mechanism are: 10 * CONFIG_FW_LOADER_USER_HELPER: enables building the firmware fallback 12 CONFIG_FW_LOADER_USER_HELPER_FALLBACK is disabled, only the custom fallback 15 enable the kobject uevent fallback mechanism on all firmware API calls 18 fallback mechanism: if this kconfig option is enabled and your second 20 informing the kernel that you have a custom fallback mechanism and it will 28 the kobject uevent fallback mechanism will never take effect even 31 Justifying the firmware fallback mechanism 36 fallback mechanism: [all …]
|
| /linux/scripts/dtc/ ! |
| H A D | dtc.c | 116 static const char *guess_type_by_name(const char *fname, const char *fallback) in guess_type_by_name() argument 122 return fallback; in guess_type_by_name() 131 return fallback; in guess_type_by_name() 134 static const char *guess_input_format(const char *fname, const char *fallback) in guess_input_format() argument 141 return fallback; in guess_input_format() 147 return fallback; in guess_input_format() 151 return fallback; in guess_input_format() 154 return fallback; in guess_input_format() 161 return guess_type_by_name(fname, fallback); in guess_input_format()
|
| /linux/drivers/tty/vt/ ! |
| H A D | gen_ucs_fallback_table.py | 214 for code, fallback in fallback_map.items(): 216 if fallback == 0: 221 page_groups[page].append((offset, fallback)) 239 start_offset, fallback = entries[i] 245 entries[j][1] == fallback): # same fallback 255 compressed_entries.append((end_offset, fallback)) 334 for i, (offset, fallback) in enumerate(entries): 342 if fallback == RANGE_MARKER:
|
| H A D | ucs.c | 173 u8 fallback; /* Fallback character or range start marker */ member 197 if (entry->fallback == UCS_PAGE_ENTRY_RANGE_MARKER) { in ucs_page_entry_cmp() 248 if (entry->fallback == UCS_PAGE_ENTRY_RANGE_MARKER) in ucs_get_fallback() 250 return entry->fallback; in ucs_get_fallback()
|
| /linux/arch/s390/crypto/ ! |
| H A D | aes_s390.c | 47 } fallback; member 60 struct crypto_skcipher *fallback; member 78 crypto_skcipher_clear_flags(sctx->fallback.skcipher, in setkey_fallback_skcipher() 80 crypto_skcipher_set_flags(sctx->fallback.skcipher, in setkey_fallback_skcipher() 83 return crypto_skcipher_setkey(sctx->fallback.skcipher, key, len); in setkey_fallback_skcipher() 93 skcipher_request_set_tfm(subreq, sctx->fallback.skcipher); in fallback_skcipher_crypt() 157 sctx->fallback.skcipher = crypto_alloc_skcipher(name, 0, in fallback_init_skcipher() 160 if (IS_ERR(sctx->fallback.skcipher)) { in fallback_init_skcipher() 163 return PTR_ERR(sctx->fallback.skcipher); in fallback_init_skcipher() 167 crypto_skcipher_reqsize(sctx->fallback.skcipher)); in fallback_init_skcipher() [all …]
|
| /linux/drivers/base/firmware_loader/ ! |
| H A D | Kconfig | 95 bool "Enable the firmware sysfs fallback mechanism" 100 loading to the kernel through userspace as a fallback mechanism 105 built-in. For details on how to work with the sysfs fallback mechanism 106 refer to Documentation/driver-api/firmware/fallback-mechanisms.rst. 111 the requested firmware a sysfs fallback loading facility is made 114 this is known as the driver using the custom fallback mechanism. 115 If the custom fallback mechanism is used userspace must always 116 acknowledge failure to find firmware as the timeout for the fallback 122 can no longer be relied upon as a fallback mechanism. Linux no longer 123 relies on or uses a fallback mechanism in userspace. If you need to [all …]
|
| /linux/drivers/gpu/drm/ ! |
| H A D | drm_edid_load.c | 58 char *edidname, *last, *colon, *fwstr, *edidstr, *fallback = NULL; in drm_edid_load_firmware() local 87 fallback = edidname; in drm_edid_load_firmware() 91 if (!fallback) { in drm_edid_load_firmware() 95 edidname = fallback; in drm_edid_load_firmware()
|
| /linux/arch/riscv/lib/ ! |
| H A D | riscv_v_helpers.c | 29 goto fallback; in enter_vector_usercopy() 41 goto fallback; in enter_vector_usercopy() 46 fallback: in enter_vector_usercopy()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ ! |
| H A D | amdgpu_res_cursor.h | 63 goto fallback; in amdgpu_res_first() 77 goto fallback; in amdgpu_res_first() 105 goto fallback; in amdgpu_res_first() 110 fallback: in amdgpu_res_first()
|
| /linux/arch/arm/crypto/ ! |
| H A D | aes-neonbs-glue.c | 50 struct aes_enckey fallback; member 55 struct aes_key fallback; member 124 err = aes_prepareenckey(&ctx->fallback, in_key, key_len); in aesbs_cbc_setkey() 135 aesbs_convert_key(ctx->key.rk, ctx->fallback.k.rndkeys, in aesbs_cbc_setkey() 159 aes_encrypt(&ctx->fallback, dst, dst); in cbc_encrypt() 245 err = aes_preparekey(&ctx->fallback, in_key, key_len); in aesbs_xts_setkey() 317 aes_encrypt(&ctx->fallback, buf, buf); in __xts_crypt() 319 aes_decrypt(&ctx->fallback, buf, buf); in __xts_crypt()
|
| /linux/block/ ! |
| H A D | blk-mq-cpumap.c | 116 goto fallback; in blk_mq_map_hw_queues() 121 goto fallback; in blk_mq_map_hw_queues() 129 fallback: in blk_mq_map_hw_queues()
|
| /linux/drivers/crypto/ccp/ ! |
| H A D | ccp-crypto-aes-xts.c | 111 unsigned int fallback = 0; in ccp_aes_xts_crypt() local 140 fallback = 1; in ccp_aes_xts_crypt() 143 fallback = 1; in ccp_aes_xts_crypt() 146 fallback = 1; in ccp_aes_xts_crypt() 147 if (fallback) { in ccp_aes_xts_crypt()
|
| /linux/kernel/bpf/preload/iterators/ ! |
| H A D | iterators.bpf.c | 59 static const char *get_name(struct btf *btf, long btf_id, const char *fallback) in get_name() argument 66 return fallback; in get_name() 72 return fallback; in get_name()
|
| /linux/include/linux/ ! |
| H A D | bcm47xx_sprom.h | 16 bool fallback); 21 bool fallback) in bcm47xx_fill_sprom() argument
|
| /linux/drivers/gpu/drm/vmwgfx/ ! |
| H A D | vmwgfx_bo.c | 737 static u32 placement_flags(u32 domain, u32 desired, u32 fallback) in placement_flags() argument 739 if (desired & fallback & domain) in placement_flags() 749 set_placement_list(struct ttm_place *pl, u32 desired, u32 fallback) in set_placement_list() argument 751 u32 domain = desired | fallback; in set_placement_list() 760 fallback); in set_placement_list() 768 fallback); in set_placement_list() 776 fallback); in set_placement_list() 784 desired, fallback); in set_placement_list() 792 fallback); in set_placement_list()
|
| /linux/drivers/crypto/qce/ ! |
| H A D | skcipher.c | 205 ret = crypto_skcipher_setkey(ctx->fallback, key, keylen); in qce_skcipher_setkey() 295 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback); in qce_skcipher_crypt() 332 ctx->fallback = crypto_alloc_skcipher(crypto_tfm_alg_name(&tfm->base), in qce_skcipher_init_fallback() 334 if (IS_ERR(ctx->fallback)) in qce_skcipher_init_fallback() 335 return PTR_ERR(ctx->fallback); in qce_skcipher_init_fallback() 338 crypto_skcipher_reqsize(ctx->fallback)); in qce_skcipher_init_fallback() 346 crypto_free_skcipher(ctx->fallback); in qce_skcipher_exit()
|