Home
last modified time | relevance | path

Searched full:options (Results 1 – 25 of 5013) sorted by relevance

12345678910>>...201

/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dfb_cmdline.c30 * (video=<name>:<options>)
37 char *opt, *options = NULL; in fb_get_options() local
53 options = opt + name_len + 1; in fb_get_options()
57 if (!options && option && fb_mode_option) in fb_get_options()
58 options = kstrdup(fb_mode_option, GFP_KERNEL); in fb_get_options()
59 if (options && !strncmp(options, "off", 3)) in fb_get_options()
63 *option = options; in fb_get_options()
70 * video_setup - process command line options
71 * @options: string of options
73 * Process command line options for frame buffer subsystem.
[all …]
/kernel/linux/linux-6.6/drivers/video/
Dcmdline.c35 const char *options = NULL; in __video_get_option_string() local
52 options = opt + name_len + 1; in __video_get_option_string()
56 /* No match, return global options */ in __video_get_option_string()
57 if (!options) in __video_get_option_string()
58 options = video_option; in __video_get_option_string()
60 return options; in __video_get_option_string()
66 * line (video=<name>:<options>)
68 * Looks up the video= options for the given name. Names are connector
74 * The string of video options for the given name, or NULL if no video
83 bool __video_get_options(const char *name, const char **options, bool is_of) in __video_get_options() argument
[all …]
/kernel/linux/linux-5.10/security/keys/trusted-keys/
Dtrusted_tpm2.c58 * @options: authentication values and other options
64 struct trusted_key_options *options) in tpm2_seal_trusted() argument
73 if (options->hash == tpm2_hash_map[i].crypto_id) { in tpm2_seal_trusted()
92 tpm_buf_append_u32(&buf, options->keyhandle); in tpm2_seal_trusted()
96 options->keyauth /* hmac */, in tpm2_seal_trusted()
100 tpm_buf_append_u16(&buf, 4 + options->blobauth_len + payload->key_len + 1); in tpm2_seal_trusted()
102 tpm_buf_append_u16(&buf, options->blobauth_len); in tpm2_seal_trusted()
103 if (options->blobauth_len) in tpm2_seal_trusted()
104 tpm_buf_append(&buf, options->blobauth, options->blobauth_len); in tpm2_seal_trusted()
111 tpm_buf_append_u16(&buf, 14 + options->policydigest_len); in tpm2_seal_trusted()
[all …]
/kernel/linux/linux-6.6/security/keys/trusted-keys/
Dtrusted_tpm2.c32 struct trusted_key_options *options, in tpm2_key_encode() argument
57 if (options->blobauth_len == 0) { in tpm2_key_encode()
80 work = asn1_encode_integer(work, end_work, options->keyhandle); in tpm2_key_encode()
110 struct trusted_key_options *options, in tpm2_key_decode() argument
132 options->keyhandle = ctx.parent; in tpm2_key_decode()
236 * @options: authentication values and other options
242 struct trusted_key_options *options) in tpm2_seal_trusted() argument
252 if (options->hash == tpm2_hash_map[i].crypto_id) { in tpm2_seal_trusted()
261 if (!options->keyhandle) in tpm2_seal_trusted()
274 tpm_buf_append_u32(&buf, options->keyhandle); in tpm2_seal_trusted()
[all …]
/kernel/linux/linux-6.6/drivers/net/ppp/
Dppp_deflate.c36 static void *z_comp_alloc(unsigned char *options, int opt_len);
37 static void *z_decomp_alloc(unsigned char *options, int opt_len);
40 static int z_comp_init(void *state, unsigned char *options,
43 static int z_decomp_init(void *state, unsigned char *options,
73 * @options: pointer to CCP option data
74 * @opt_len: length of the CCP option at @options.
76 * The @options pointer points to the a buffer containing the
85 static void *z_comp_alloc(unsigned char *options, int opt_len) in z_comp_alloc() argument
91 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || in z_comp_alloc()
92 options[1] != CILEN_DEFLATE || in z_comp_alloc()
[all …]
/kernel/linux/linux-5.10/drivers/net/ppp/
Dppp_deflate.c36 static void *z_comp_alloc(unsigned char *options, int opt_len);
37 static void *z_decomp_alloc(unsigned char *options, int opt_len);
40 static int z_comp_init(void *state, unsigned char *options,
43 static int z_decomp_init(void *state, unsigned char *options,
73 * @options: pointer to CCP option data
74 * @opt_len: length of the CCP option at @options.
76 * The @options pointer points to the a buffer containing the
85 static void *z_comp_alloc(unsigned char *options, int opt_len) in z_comp_alloc() argument
91 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || in z_comp_alloc()
92 options[1] != CILEN_DEFLATE || in z_comp_alloc()
[all …]
/kernel/linux/linux-6.6/drivers/tty/serial/
Dearlycon.c81 pr_info("%s%d at MMIO%s %pa (options '%s')\n", in earlycon_print_info()
86 &port->mapbase, device->options); in earlycon_print_info()
88 pr_info("%s%d at I/O port 0x%lx (options '%s')\n", in earlycon_print_info()
90 port->iobase, device->options); in earlycon_print_info()
93 static int __init parse_options(struct earlycon_device *device, char *options) in parse_options() argument
99 if (uart_parse_earlycon(options, &port->iotype, &addr, &options)) in parse_options()
122 if (options) { in parse_options()
125 device->baud = simple_strtoul(options, NULL, 0); in parse_options()
126 uartclk = strchr(options, ','); in parse_options()
129 options); in parse_options()
[all …]
/kernel/linux/linux-5.10/drivers/tty/serial/
Dearlycon.c81 pr_info("%s%d at MMIO%s %pa (options '%s')\n", in earlycon_print_info()
86 &port->mapbase, device->options); in earlycon_print_info()
88 pr_info("%s%d at I/O port 0x%lx (options '%s')\n", in earlycon_print_info()
90 port->iobase, device->options); in earlycon_print_info()
93 static int __init parse_options(struct earlycon_device *device, char *options) in parse_options() argument
99 if (uart_parse_earlycon(options, &port->iotype, &addr, &options)) in parse_options()
122 if (options) { in parse_options()
123 device->baud = simple_strtoul(options, NULL, 0); in parse_options()
124 length = min(strcspn(options, " ") + 1, in parse_options()
125 (size_t)(sizeof(device->options))); in parse_options()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/ftrace/test.d/dynevent/
Dadd_remove_eprobe.tc14 OPTIONS="file=+0(\$filename):ustring"
15 echo "e:$EPROBE $SYSTEM/$EVENT $OPTIONS" >> dynamic_events
43 echo "e:$EPROBE $SYSTEM/$EVENT $OPTIONS" >> dynamic_events
51 echo "e:$EPROBE $SYSTEM/$EVENT $OPTIONS" >> dynamic_events
59 echo "e:$EPROBE $SYSTEM/$EVENT $OPTIONS" >> dynamic_events
66 # With just event name and system/event and options
67 echo "e:$EPROBE $SYSTEM/$EVENT $OPTIONS" >> dynamic_events
70 echo "-:$EPROBE $SYSTEM/$EVENT $OPTIONS" >> dynamic_events
74 # With group name and system/event and options
75 echo "e:$EPROBE $SYSTEM/$EVENT $OPTIONS" >> dynamic_events
[all …]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Ddt2815.c19 * Configuration options:
36 * [6] - Analog output 1 range configuration (same options)
37 * [7] - Analog output 2 range configuration (same options)
38 * [8] - Analog output 3 range configuration (same options)
39 * [9] - Analog output 4 range configuration (same options)
40 * [10] - Analog output 5 range configuration (same options)
41 * [11] - Analog output 6 range configuration (same options)
42 * [12] - Analog output 7 range configuration (same options)
117 * options[0] Board base address
118 * options[1] IRQ (not applicable)
[all …]
/kernel/linux/linux-6.6/drivers/comedi/drivers/
Ddt2815.c19 * Configuration options:
36 * [6] - Analog output 1 range configuration (same options)
37 * [7] - Analog output 2 range configuration (same options)
38 * [8] - Analog output 3 range configuration (same options)
39 * [9] - Analog output 4 range configuration (same options)
40 * [10] - Analog output 5 range configuration (same options)
41 * [11] - Analog output 6 range configuration (same options)
42 * [12] - Analog output 7 range configuration (same options)
116 * options[0] Board base address
117 * options[1] IRQ (not applicable)
[all …]
/kernel/linux/linux-5.10/drivers/crypto/caam/
Ddesc_constr.h104 static inline void init_desc(u32 * const desc, u32 options) in init_desc() argument
106 *desc = cpu_to_caam32((options | HDR_ONE) + 1); in init_desc()
109 static inline void init_sh_desc(u32 * const desc, u32 options) in init_sh_desc() argument
112 init_desc(desc, CMD_SHARED_DESC_HDR | options); in init_sh_desc()
115 static inline void init_sh_desc_pdb(u32 * const desc, u32 options, in init_sh_desc_pdb() argument
121 options); in init_sh_desc_pdb()
124 static inline void init_job_desc(u32 * const desc, u32 options) in init_job_desc() argument
126 init_desc(desc, CMD_DESC_HDR | options); in init_job_desc()
129 static inline void init_job_desc_pdb(u32 * const desc, u32 options, in init_job_desc_pdb() argument
134 init_job_desc(desc, (((pdb_len + 1) << HDR_START_IDX_SHIFT)) | options); in init_job_desc_pdb()
[all …]
/kernel/linux/linux-6.6/drivers/crypto/caam/
Ddesc_constr.h104 static inline void init_desc(u32 * const desc, u32 options) in init_desc() argument
106 *desc = cpu_to_caam32((options | HDR_ONE) + 1); in init_desc()
109 static inline void init_sh_desc(u32 * const desc, u32 options) in init_sh_desc() argument
112 init_desc(desc, CMD_SHARED_DESC_HDR | options); in init_sh_desc()
115 static inline void init_sh_desc_pdb(u32 * const desc, u32 options, in init_sh_desc_pdb() argument
121 options); in init_sh_desc_pdb()
124 static inline void init_job_desc(u32 * const desc, u32 options) in init_job_desc() argument
126 init_desc(desc, CMD_DESC_HDR | options); in init_job_desc()
129 static inline void init_job_desc_pdb(u32 * const desc, u32 options, in init_job_desc_pdb() argument
134 init_job_desc(desc, (((pdb_len + 1) << HDR_START_IDX_SHIFT)) | options); in init_job_desc_pdb()
[all …]
/kernel/linux/linux-6.6/drivers/soc/aspeed/
Daspeed-uart-routing.c17 /* attributes options */
44 const char *const options[]; member
71 .options = {
91 .options = {
111 .options = {
129 .options = {
147 .options = {
165 .options = {
183 .options = {
201 .options = {
[all …]
/kernel/linux/linux-6.6/tools/thermal/thermometer/
Dthermometer.c36 struct options { struct
181 printf("Usage: %s [options]\n", cmd); in usage()
195 static int options_init(int argc, char *argv[], struct options *options) in options_init() argument
212 strftime(options->postfix, sizeof(options->postfix), in options_init()
225 options->config = optarg; in options_init()
228 options->duration = atoi(optarg) * 1000; in options_init()
231 options->loglvl = log_str2level(optarg); in options_init()
237 strcpy(options->postfix, optarg); in options_init()
240 strcpy(options->output, optarg); in options_init()
243 options->logopt = TO_SYSLOG; in options_init()
[all …]
/kernel/linux/linux-6.6/arch/loongarch/kernel/
Dcpu-probe.c94 c->options = LOONGARCH_CPU_CPUCFG | LOONGARCH_CPU_CSR | in cpu_probe_common()
101 c->options |= LOONGARCH_CPU_UAL; in cpu_probe_common()
105 c->options |= LOONGARCH_CPU_CRC32; in cpu_probe_common()
112 c->options |= LOONGARCH_CPU_LAM; in cpu_probe_common()
116 c->options |= LOONGARCH_CPU_FPU; in cpu_probe_common()
121 c->options |= LOONGARCH_CPU_LSX; in cpu_probe_common()
127 c->options |= LOONGARCH_CPU_LASX; in cpu_probe_common()
132 c->options |= LOONGARCH_CPU_COMPLEX; in cpu_probe_common()
136 c->options |= LOONGARCH_CPU_CRYPTO; in cpu_probe_common()
140 c->options |= LOONGARCH_CPU_PTW; in cpu_probe_common()
[all …]
/kernel/linux/linux-6.6/arch/mips/kernel/
Dcpu-probe.c70 cpu_data[0].options &= ~MIPS_CPU_HTW; in htw_disable()
147 c->options |= MIPS_CPU_MT_PER_TC_PERF_COUNTERS; in cpu_set_mt_per_tc_perf()
376 c->options |= MIPS_CPU_MM_FULL; in mm_config()
394 c->options |= MIPS_CPU_MM_SYSAD; in mm_config()
396 c->options |= MIPS_CPU_MM_FULL; in mm_config()
414 c->options |= MIPS_CPU_TLB; in decode_config0()
416 c->options |= MIPS_CPU_TLB | MIPS_CPU_FTLB; in decode_config0()
469 c->options |= MIPS_CPU_PERF; in decode_config1()
471 c->options |= MIPS_CPU_WATCH; in decode_config1()
475 c->options |= MIPS_CPU_EJTAG; in decode_config1()
[all …]
Dfpu-probe.c116 c->options |= MIPS_CPU_MAC_2008_ONLY; in cpu_set_fpu_2008()
120 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_fpu_2008()
122 c->options |= MIPS_CPU_NAN_2008; in cpu_set_fpu_2008()
134 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_fpu_2008()
139 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_fpu_2008()
157 c->options &= ~(MIPS_CPU_NAN_2008 | MIPS_CPU_NAN_LEGACY); in cpu_set_nofpu_2008()
167 c->options |= MIPS_CPU_NAN_2008 | MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
169 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
174 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
178 c->options |= MIPS_CPU_NAN_2008; in cpu_set_nofpu_2008()
[all …]
/kernel/linux/linux-5.10/arch/loongarch/kernel/
Dcpu-probe.c95 c->options = LOONGARCH_CPU_CPUCFG | LOONGARCH_CPU_CSR | in cpu_probe_common()
102 c->options |= LOONGARCH_CPU_UAL; in cpu_probe_common()
106 c->options |= LOONGARCH_CPU_CRC32; in cpu_probe_common()
113 c->options |= LOONGARCH_CPU_LAM; in cpu_probe_common()
117 c->options |= LOONGARCH_CPU_FPU; in cpu_probe_common()
122 c->options |= LOONGARCH_CPU_LSX; in cpu_probe_common()
128 c->options |= LOONGARCH_CPU_LASX; in cpu_probe_common()
133 c->options |= LOONGARCH_CPU_COMPLEX; in cpu_probe_common()
137 c->options |= LOONGARCH_CPU_CRYPTO; in cpu_probe_common()
141 c->options |= LOONGARCH_CPU_PTW; in cpu_probe_common()
[all …]
/kernel/linux/linux-6.6/tools/lib/subcmd/
Dparse-options.c11 #include "parse-options.h"
345 static int parse_short_opt(struct parse_opt_ctx_t *p, const struct option *options) in parse_short_opt() argument
348 for (; options->type != OPTION_END; options++) { in parse_short_opt()
349 if (options->short_name == *p->opt) { in parse_short_opt()
351 return get_value(p, options, OPT_SHORT); in parse_short_opt()
355 if (options->parent) { in parse_short_opt()
356 options = options->parent; in parse_short_opt()
364 const struct option *options) in parse_long_opt() argument
374 for (; options->type != OPTION_END; options++) { in parse_long_opt()
378 if (!options->long_name) in parse_long_opt()
[all …]
/kernel/linux/linux-5.10/tools/lib/subcmd/
Dparse-options.c11 #include "parse-options.h"
345 static int parse_short_opt(struct parse_opt_ctx_t *p, const struct option *options) in parse_short_opt() argument
348 for (; options->type != OPTION_END; options++) { in parse_short_opt()
349 if (options->short_name == *p->opt) { in parse_short_opt()
351 return get_value(p, options, OPT_SHORT); in parse_short_opt()
355 if (options->parent) { in parse_short_opt()
356 options = options->parent; in parse_short_opt()
364 const struct option *options) in parse_long_opt() argument
374 for (; options->type != OPTION_END; options++) { in parse_long_opt()
378 if (!options->long_name) in parse_long_opt()
[all …]
/kernel/linux/linux-5.10/tools/lib/traceevent/
Devent-plugin.c26 struct tep_plugin_option *options; member
95 * tep_plugin_list_options - get list of plugin options
98 * plugin options in the format of <plugin>:<option>. This list can be
101 * Returns NULL if there's no options registered. On error it returns
115 for (op = reg->options; op->name; op++) { in tep_plugin_list_options()
181 /* first look for named options */ in update_option()
196 /* first look for unnamed options */ in update_option()
213 * tep_plugin_add_options - Add a set of options by a plugin
214 * @name: The name of the plugin adding the options
215 * @options: The set of options being loaded
[all …]
/kernel/linux/linux-5.10/arch/mips/kernel/
Dcpu-probe.c69 cpu_data[0].options &= ~MIPS_CPU_HTW; in htw_disable()
146 c->options |= MIPS_CPU_MT_PER_TC_PERF_COUNTERS; in cpu_set_mt_per_tc_perf()
375 c->options |= MIPS_CPU_MM_FULL; in mm_config()
393 c->options |= MIPS_CPU_MM_SYSAD; in mm_config()
395 c->options |= MIPS_CPU_MM_FULL; in mm_config()
413 c->options |= MIPS_CPU_TLB; in decode_config0()
415 c->options |= MIPS_CPU_TLB | MIPS_CPU_FTLB; in decode_config0()
468 c->options |= MIPS_CPU_PERF; in decode_config1()
470 c->options |= MIPS_CPU_WATCH; in decode_config1()
474 c->options |= MIPS_CPU_EJTAG; in decode_config1()
[all …]
/kernel/linux/linux-5.10/drivers/pcmcia/
Dvrc4171_card.c622 static int vrc4171_card_setup(char *options) in vrc4171_card_setup() argument
624 if (options == NULL || *options == '\0') in vrc4171_card_setup()
627 if (strncmp(options, "irq:", 4) == 0) { in vrc4171_card_setup()
629 options += 4; in vrc4171_card_setup()
630 irq = simple_strtoul(options, &options, 0); in vrc4171_card_setup()
634 if (*options != ',') in vrc4171_card_setup()
636 options++; in vrc4171_card_setup()
639 if (strncmp(options, "slota:", 6) == 0) { in vrc4171_card_setup()
640 options += 6; in vrc4171_card_setup()
641 if (*options != '\0') { in vrc4171_card_setup()
[all …]
/kernel/linux/linux-5.10/scripts/
Dcoccicheck36 # heuristics done in this file as Coccinelle accepts the last options when
37 # options conflict.
66 OPTIONS="$COCCIINCLUDE $1"
73 OPTIONS="--dir $srctree $COCCIINCLUDE"
75 OPTIONS="--dir $KBUILD_EXTMOD $COCCIINCLUDE"
91 OPTIONS="--patch $srctree $OPTIONS"
101 OPTIONS="$OPTIONS --jobs $NPROC --chunksize 1"
182 OPTIONS="$OPTIONS $SPFLAGS"
187 OPT=`grep "Options:" $COCCI | cut -d':' -f2`
240 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || \
[all …]

12345678910>>...201