Home
last modified time | relevance | path

Searched refs:fallback (Results 1 – 25 of 171) sorted by relevance

1234567

/linux/rust/proc-macro2/
H A Dwrapper.rs4 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 …]
H A Dextra.rs6 use crate::fallback;
97 Fallback(fallback::Span),
/linux/drivers/crypto/
H A Datmel-ecc.c42 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 Dgeode-aes.c129 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 Dsa2ul.c845 crypto_free_skcipher(ctx->fallback.skcipher); in sa_cipher_cra_exit()
875 ctx->fallback.skcipher = child; in sa_cipher_cra_init()
889 struct crypto_skcipher *child = ctx->fallback.skcipher; in sa_cipher_setkey()
1316 skcipher_request_set_tfm(subreq, ctx->fallback.skcipher); in sa_cipher_run()
1420 ahash_request_set_tfm(subreq, ctx->fallback.ahash); in sa_sha_run()
1503 ctx->fallback.ahash = in sa_sha_cra_init_alg()
1505 if (IS_ERR(ctx->fallback.ahash)) { in sa_sha_cra_init_alg()
1508 return PTR_ERR(ctx->fallback.ahash); in sa_sha_cra_init_alg()
1518 crypto_ahash_reqsize(ctx->fallback.ahash)); in sa_sha_cra_init_alg()
1537 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback.ahash); in sa_sha_init()
[all …]
/linux/Documentation/driver-api/firmware/
H A Dfallback-mechanisms.rst5 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 …]
H A Dlookup-order.rst15 * The ''Platform firmware fallback'' is performed next, but only when
17 * If no firmware has been found and the fallback mechanism was enabled
/linux/drivers/tty/vt/
H A Dgen_ucs_fallback_table.py214 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 Ducs.c173 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/drivers/gpu/drm/
H A Ddrm_edid_load.c58 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/drivers/base/firmware_loader/
H A DKconfig95 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/arch/riscv/lib/
H A Driscv_v_helpers.c29 goto fallback; in enter_vector_usercopy()
41 goto fallback; in enter_vector_usercopy()
46 fallback: in enter_vector_usercopy()
/linux/block/
H A Dblk-mq-cpumap.c116 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/kernel/bpf/preload/iterators/
H A Diterators.bpf.c59 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/drivers/crypto/ccp/
H A Dccp-crypto-aes-xts.c111 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/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_bo.c737 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/scripts/atomic/
H A Dgen-atomics.sh13 gen-atomic-fallback.sh linux/atomic/atomic-arch-fallback.h
/linux/drivers/crypto/qce/
H A Dskcipher.c205 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()
H A Daead.c529 aead_request_set_tfm(&rctx->fallback_req, ctx->fallback); in qce_aead_crypt()
591 crypto_aead_setkey(ctx->fallback, key, keylen + QCE_CCM4309_SALT_SIZE) : in qce_aead_ccm_setkey()
592 crypto_aead_setkey(ctx->fallback, key, keylen); in qce_aead_ccm_setkey()
648 return crypto_aead_setkey(ctx->fallback, key, keylen); in qce_aead_setkey()
664 return crypto_aead_setauthsize(ctx->fallback, authsize); in qce_aead_setauthsize()
672 ctx->fallback = crypto_alloc_aead(crypto_tfm_alg_name(&tfm->base), in qce_aead_init()
675 if (IS_ERR(ctx->fallback)) in qce_aead_init()
676 return PTR_ERR(ctx->fallback); in qce_aead_init()
679 crypto_aead_reqsize(ctx->fallback)); in qce_aead_init()
687 crypto_free_aead(ctx->fallback); in qce_aead_exit()
/linux/Documentation/ABI/testing/
H A Dsysfs-class-firmware5 Description: The data sysfs file is used for firmware-fallback and for
41 Description: The loading sysfs file is used for both firmware-fallback and
75 fallback. This file has no affect on firmware uploads. For
77 for firmware fallback.
/linux/drivers/ufs/host/
H A Dufs-renesas.c467 goto fallback; in ufs_renesas_init()
472 goto fallback; in ufs_renesas_init()
478 goto fallback; in ufs_renesas_init()
484 goto fallback; in ufs_renesas_init()
489 goto fallback; in ufs_renesas_init()
496 fallback: in ufs_renesas_init()
/linux/sound/hda/core/
H A DKconfig26 # A fallback is provided so that the code compiles in all cases.
34 # A fallback is provided so that the code compiles in all cases.
/linux/drivers/cpufreq/
H A Dcpufreq-dt.c160 bool fallback = false; in dt_cpufreq_early_init() local
208 fallback = true; in dt_cpufreq_early_init()
240 if (fallback) { in dt_cpufreq_early_init()
/linux/drivers/pci/hotplug/
H A Drpaphp_pci.c90 goto fallback; in __rpaphp_get_sensor_state()
98 fallback: in __rpaphp_get_sensor_state()
/linux/drivers/gpu/drm/qxl/
H A Dqxl_object.c220 goto fallback; in qxl_bo_kmap_atomic_page()
224 fallback: in qxl_bo_kmap_atomic_page()
271 goto fallback; in qxl_bo_kunmap_atomic_page()
275 fallback: in qxl_bo_kunmap_atomic_page()

1234567