Home
last modified time | relevance | path

Searched full:fallback (Results 1 – 25 of 838) sorted by relevance

12345678910>>...34

/linux/rust/proc-macro2/
H A Dwrapper.rs4 use crate::fallback::{self, FromStr2 as _};
25 Fallback(fallback::TokenStream), enumerator
40 Fallback(fallback::LexError), enumerator
52 panic!("compiler/fallback mismatch L{}\n\n{}", line, backtrace) in mismatch()
56 panic!("compiler/fallback mismatch L{}", line) in mismatch()
92 TokenStream::Fallback(fallback::TokenStream::new()) in new()
102 Ok(TokenStream::Fallback( in from_str_checked()
103 fallback::TokenStream::from_str_checked(src)?, in from_str_checked()
111 TokenStream::Fallback(tts) => tts.is_empty(), in is_empty()
118 TokenStream::Fallback(_) => mismatch(line!()), in unwrap_nightly()
[all …]
H A Dextra.rs6 use crate::fallback;
97 Fallback(fallback::Span), enumerator
109 imp::Group::Fallback(group) => DelimSpanEnum::Fallback(group.span()), in new()
113 let inner = DelimSpanEnum::Fallback(group.span()); in new()
126 DelimSpanEnum::Fallback(span) => Span::_new_fallback(*span), in join()
135 DelimSpanEnum::Fallback(span) => Span::_new_fallback(span.first_byte()), in open()
144 DelimSpanEnum::Fallback(span) => Span::_new_fallback(span.last_byte()), in close()
/linux/Documentation/driver-api/firmware/
H A Dfallback-mechanisms.rst2 Fallback mechanisms
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
[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.py6 # The generated table maps complex characters to their simpler fallback forms
10 # python3 gen_ucs_fallback_table.py # Generate fallback tables
37 """Generate a fallback map using unidecode for all relevant Unicode points."""
71 # In a terminal fallback context, we need a single character rather than multiple
194 # Special exclusions with fallback value of 0
211 """Organize the fallback mappings by their high byte (page)."""
214 for code, fallback in fallback_map.items():
215 # Skip characters with fallback value of 0 (excluded characters)
216 if fallback == 0:
221 page_groups[page].append((offset, fallback))
[all …]
H A Ducs.c162 * The fallback table structures implement a 2-level lookup.
173 u8 fallback; /* Fallback character or range start marker */ member
197 if (entry->fallback == UCS_PAGE_ENTRY_RANGE_MARKER) { in ucs_page_entry_cmp()
211 * Get a simpler fallback character for the provided Unicode character.
216 * Return: Fallback Unicode code point, or 0 if none is available
248 if (entry->fallback == UCS_PAGE_ENTRY_RANGE_MARKER) in ucs_get_fallback()
250 return entry->fallback; in ucs_get_fallback()
/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 …]
H A Dfallback.c11 #include "fallback.h"
15 * firmware fallback mechanism
68 * fw_load_sysfs_fallback() - load a firmware via the sysfs fallback mechanism
72 * In charge of constructing a sysfs fallback interface for firmware loading.
187 pr_info_once("Ignoring firmware sysfs fallback due to sysctl knob\n"); in fw_run_sysfs_fallback()
194 /* Also permit LSMs and IMA to fail firmware sysfs fallback */ in fw_run_sysfs_fallback()
203 * firmware_fallback_sysfs() - use the fallback mechanism to find firmware
209 * @ret: return value from direct lookup which triggered the fallback mechanism
212 * a fallback mechanism through userspace by exposing a sysfs loading
214 * loading interface. This sysfs fallback mechanism may be disabled completely
[all …]
H A Dfirmware.h15 * @FW_OPT_UEVENT: Enables the fallback mechanism to send a kobject uevent
19 * @FW_OPT_USERHELPER: Enable the fallback mechanism, in case the direct
28 * @FW_OPT_NOFALLBACK_SYSFS: Disable the sysfs fallback mechanism. Takes
30 * @FW_OPT_FALLBACK_PLATFORM: Enable fallback to device fw copy embedded in
31 * the platform's main firmware. If both this fallback and the sysfs
32 * fallback are enabled, then this fallback will be tried first.
H A Dsysfs.h16 * struct firmware_fallback_config - firmware fallback configuration settings
18 * Helps describe and fine tune the fallback mechanism.
20 * @force_sysfs_fallback: force the sysfs fallback mechanism to be used
24 * @ignore_sysfs_fallback: force to disable the sysfs fallback mechanism.
28 * @loading_timeout: the timeout to wait for the fallback mechanism before
/linux/drivers/crypto/
H A Dgeode-aes.c127 * The requested key size is not supported by HW, do a fallback in geode_setkey_cip()
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()
153 * The requested key size is not supported by HW, do a fallback in geode_setkey_skcipher()
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()
[all …]
H A Dpadlock-sha.c24 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()
164 /* Allocate a fallback and abort if it failed. */ in padlock_init_tfm()
169 printk(KERN_WARNING PFX "Fallback driver '%s' could not be loaded!\n", in padlock_init_tfm()
180 ctx->fallback = fallback_tfm; in padlock_init_tfm()
189 crypto_free_ahash(ctx->fallback); in padlock_exit_tfm()
/linux/tools/testing/selftests/firmware/
H A Dfw_fallback.sh3 # This validates that the kernel will fall back to using the fallback mechanism
76 echo "$0: custom fallback trigger not present, ignoring test" >&2
109 echo "$0: canceling custom fallback trigger not present, ignoring test" >&2
170 echo "$0: fallback mechanism immediately cancelled"
175 echo "to immediately cancel all fallback requests, this must be"
217 echo "$0: fallback mechanism works"
225 echo "$0: cancelling fallback mechanism works"
248 echo "$0: custom fallback loading mechanism works"
259 echo "$0: custom fallback loading mechanism works"
272 echo "$0: cancelling custom fallback mechanism works"
/linux/drivers/net/wireless/broadcom/b43/
H A Dxmit.h31 __le16 phy_ctl1_fb; /* PHY TX control word 1 for fallback rates */
33 __le16 phy_ctl1_rts_fb; /* PHY TX control word 1 RTS for fallback rates */
40 __le16 tx_fes_time_fb; /* TX FES Time Fallback */
41 struct b43_plcp_hdr6 rts_plcp_fb; /* RTS fallback PLCP header */
42 __le16 rts_dur_fb; /* RTS fallback duration */
43 struct b43_plcp_hdr6 plcp_fb; /* Fallback PLCP header */
44 __le16 dur_fb; /* Fallback duration */
46 __le16 mimo_ratelen_fb; /* MIMO fallback rate length */
101 #define B43_TXH_MAC_RTS_FB_SHORTPRMBL 0x80000000 /* RTS fallback preamble */
103 #define B43_TXH_MAC_FB_SHORTPRMBL 0x20000000 /* Main fallback preamble */
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_edid_load.c58 char *edidname, *last, *colon, *fwstr, *edidstr, *fallback = NULL; in drm_edid_load_firmware() local
70 * the last one found one as a fallback. in drm_edid_load_firmware()
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/sound/soc/sof/
H A DKconfig102 This adds support for a dummy/nocodec machine driver fallback
111 Say Y if you need this nocodec fallback option.
130 bool "SOF allow fallback to newer IPC version"
132 This option will allow the kernel to try to 'fallback' to a newer IPC
135 IPC version fallback to older versions is not affected by this option,
154 This adds support for a dummy/nocodec machine driver fallback
160 Say Y if you need this nocodec debug fallback option.
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dxmit.h32 __le16 tx_fes_time_fb; /* TX FES Time Fallback */
33 struct b43legacy_plcp_hdr4 rts_plcp_fb; /* RTS fallback PLCP */
34 __le16 rts_dur_fb; /* RTS fallback duration */
35 struct b43legacy_plcp_hdr4 plcp_fb; /* Fallback PLCP */
36 __le16 dur_fb; /* Fallback duration */
68 #define B43legacy_TX4_EFT_RTSFBOFDM 0x0010 /* RTS/CTS fallback rate type */
/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/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/net/mptcp/
H A Dmib.h11 MPTCP_MIB_MPCAPABLEPASSIVEFALLBACK,/* Server-side fallback during 3-way handshake */
12 MPTCP_MIB_MPCAPABLEACTIVEFALLBACK, /* Client-side fallback during 3-way handshake */
13 MPTCP_MIB_MPCAPABLEACTIVEDROP, /* Client-side fallback due to a MPC drop */
32 MPTCP_MIB_DSSCORRUPTIONFALLBACK,/* DSS corruption detected, fallback */
89 MPTCP_MIB_FALLBACKFAILED, /* Can't fallback due to msk status */
/linux/block/
H A Dblk-crypto-fallback.c10 #define pr_fmt(fmt) "blk-crypto-fallback: " fmt
28 "Number of preallocated bounce pages for the blk-crypto crypto API fallback");
33 "Number of keyslots for the blk-crypto crypto API fallback");
38 …"Number of preallocated bio fallback crypto contexts for blk-crypto to use during crypto API fallb…
349 * The crypto API fallback's encryption routine.
417 * The crypto API fallback's main decryption routine.
445 * blk_crypto_fallback_decrypt_endio - queue bio for fallback decryption
472 * blk_crypto_fallback_bio_prep - Prepare a bio to use fallback en/decryption
565 /* All blk-crypto modes have a crypto API fallback. */ in blk_crypto_fallback_init()
618 * Prepare blk-crypto-fallback for the specified crypto mode.
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/ssb/
H A Dsprom.c151 * fallback SPROM if no SPROM is found.
156 * callback handler which fills the SPROM data structure. The fallback is
164 * devices currently don't use this fallback.
166 * the fallback also isn't used for native devices.
/linux/drivers/crypto/gemini/
H A Dsl3516-ce.h223 * @fallbak_sg_count_tx number of fallback due to destination SG count
224 * @fallbak_sg_count_rx number of fallback due to source SG count
225 * @fallbak_not_same_len number of fallback due to difference in SG length
278 * @fallback_req: request struct for invoking the fallback skcipher TFM
297 * @fallback_tfm: pointer to the fallback TFM

12345678910>>...34