Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 1567) sorted by relevance

12345678910>>...63

/linux/drivers/video/
H A Dcmdline.c35 const char *options = NULL; in __video_get_option_string() local
52 options = opt + name_len + 1; 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()
84 bool __video_get_options(const char *name, const char **options, bool is_of) in __video_get_options() argument
94 if (options) in __video_get_options()
95 *options = opt; in __video_get_options()
107 static int __init video_setup(char *options) in video_setup() argument
109 if (!options || !*options) in video_setup()
[all …]
/linux/arch/loongarch/kernel/
H A Dcpu-probe.c94 c->options = LOONGARCH_CPU_CPUCFG | LOONGARCH_CPU_CSR | LOONGARCH_CPU_VINT; in cpu_probe_common()
115 c->options |= LOONGARCH_CPU_TLB; in cpu_probe_common()
117 c->options |= LOONGARCH_CPU_IOCSR; in cpu_probe_common()
119 c->options |= LOONGARCH_CPU_UAL; in cpu_probe_common()
123 c->options |= LOONGARCH_CPU_CRC32; in cpu_probe_common()
129 c->options |= LOONGARCH_CPU_LAM; in cpu_probe_common()
133 c->options |= LOONGARCH_CPU_FPU; in cpu_probe_common()
138 c->options |= LOONGARCH_CPU_LSX; in cpu_probe_common()
144 c->options |= LOONGARCH_CPU_LASX; in cpu_probe_common()
149 c->options |= LOONGARCH_CPU_COMPLEX; in cpu_probe_common()
[all …]
/linux/tools/thermal/thermometer/
H A 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 in options_init()
37 loglvloptions global() argument
38 logoptoptions global() argument
39 overwriteoptions global() argument
40 durationoptions global() argument
41 configoptions global() argument
42 postfixoptions global() argument
43 outputoptions global() argument
356 thermometer_start(struct thermometer * thermometer,struct options * options) thermometer_start() argument
460 thermometer_wait(struct options * options,pid_t pid) thermometer_wait() argument
534 struct options options = { main() local
[all...]
/linux/arch/mips/kernel/
H A 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()
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 …]
H A 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()
168 c->options |= MIPS_CPU_NAN_2008 | MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
170 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
175 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
179 c->options |= MIPS_CPU_NAN_2008; in cpu_set_nofpu_2008()
[all …]
H A Dcpu-r3k-probe.c95 c->options = MIPS_CPU_TLB | MIPS_CPU_3K_CACHE | in cpu_probe()
98 c->options |= MIPS_CPU_FPU; in cpu_probe()
114 c->options = MIPS_CPU_TLB | MIPS_CPU_3K_CACHE | in cpu_probe()
117 c->options |= MIPS_CPU_FPU; in cpu_probe()
133 c->options &= ~MIPS_CPU_FPU; in cpu_probe()
135 if (c->options & MIPS_CPU_FPU) in cpu_probe()
149 if (c->options & MIPS_CPU_FPU) in cpu_report()
/linux/security/keys/trusted-keys/
H A 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()
242 struct trusted_key_options *options) in tpm2_seal_trusted() argument
253 if (options->hash == tpm2_hash_map[i].crypto_id) { in tpm2_seal_trusted()
262 if (!options->keyhandle) in tpm2_seal_trusted()
286 tpm_buf_append_name(chip, &buf, options->keyhandle, NULL); in tpm2_seal_trusted()
288 options->keyauth, TPM_DIGEST_SIZE); in tpm2_seal_trusted()
[all …]
/linux/drivers/net/ppp/
H A 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,
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()
93 DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL || in z_comp_alloc()
94 options[3] != DEFLATE_CHK_SEQUENCE) in z_comp_alloc()
96 w_size = DEFLATE_SIZE(options[2]); in z_comp_alloc()
[all …]
H A Dbsd_comp.c169 static void *bsd_alloc(unsigned char *options, int opt_len, int decomp);
170 static void *bsd_comp_alloc (unsigned char *options, int opt_len);
171 static void *bsd_decomp_alloc (unsigned char *options, int opt_len);
173 static int bsd_init (void *db, unsigned char *options,
175 static int bsd_comp_init (void *state, unsigned char *options,
177 static int bsd_decomp_init (void *state, unsigned char *options,
352 static void *bsd_alloc (unsigned char *options, int opt_len, int decomp) in bsd_alloc() argument
358 if (opt_len != 3 || options[0] != CI_BSD_COMPRESS || options[1] != 3 in bsd_alloc()
359 || BSD_VERSION(options[2]) != BSD_CURRENT_VERSION) in bsd_alloc()
364 bits = BSD_NBITS(options[2]); in bsd_alloc()
[all …]
/linux/tools/lib/subcmd/
H A Dparse-options.c345 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()
381 rest = skip_prefix(arg, options->long_name); in parse_long_opt()
[all …]
/linux/drivers/crypto/caam/
H A 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 …]
H A Dpdb.h136 u32 options; member
204 u32 options; member
236 u8 options; member
254 u8 options; member
275 u8 options; member
287 u8 options; member
309 u8 options; member
322 u8 options; member
345 u8 options; member
353 u8 options; member
[all …]
/linux/include/linux/netfilter/
H A Dnf_conntrack_h323_types.h11 int options; /* No use */ member
16 int options; /* No use */ member
78 int options; /* No use */ member
100 int options; /* No use */ member
105 int options; /* No use */ member
156 } options; member
182 } options; member
207 } options; member
228 } options; member
238 } options; member
[all …]
/linux/arch/x86/boot/
H A Dearly_serial_console.c119 char optstr[64], *options; in parse_console_uart8250() local
130 options = optstr; in parse_console_uart8250()
132 if (!strncmp(options, "uart8250,io,", 12)) in parse_console_uart8250()
133 port = simple_strtoull(options + 12, &options, 0); in parse_console_uart8250()
134 else if (!strncmp(options, "uart,io,", 8)) in parse_console_uart8250()
135 port = simple_strtoull(options + 8, &options, 0); in parse_console_uart8250()
139 if (options && (options[0] == ',')) in parse_console_uart8250()
140 baud = simple_strtoull(options + 1, &options, 0); in parse_console_uart8250()
/linux/Documentation/sphinx/
H A Dkerneldoc.py75 tab_width = self.options.get('tab-width', self.state.document.settings.tab_width)
78 if 'functions' in self.options:
79 self.options['identifiers'] = self.options.get('functions')
82 if 'export' in self.options:
84 export_file_patterns = str(self.options.get('export')).split()
85 elif 'internal' in self.options:
87 export_file_patterns = str(self.options.get('internal')).split()
88 elif 'doc' in self.options:
89 cmd += ['-function', str(self.options.get('doc'))]
90 elif 'identifiers' in self.options:
[all …]
H A Dkernel_include.py100 encoding = self.options.get(
103 tab_width = self.options.get(
118 startline = self.options.get('start-line', None)
119 endline = self.options.get('end-line', None)
131 after_text = self.options.get('start-after', None)
139 before_text = self.options.get('end-before', None)
150 if 'literal' in self.options:
157 classes=self.options.get('class', []))
160 if 'number-lines' in self.options:
162 startline = int(self.options['number-lines'] or 1)
[all …]
/linux/drivers/media/usb/hdpvr/
H A Dhdpvr-control.c108 dev->usbc_buf[0] = dev->options.bitrate; in hdpvr_set_bitrate()
109 dev->usbc_buf[2] = dev->options.peak_bitrate; in hdpvr_set_bitrate()
157 hdpvr_config_call(dev, CTRL_VIDEO_STD_TYPE, dev->options.video_std); in hdpvr_set_options()
160 dev->options.video_input+1); in hdpvr_set_options()
162 hdpvr_set_audio(dev, dev->options.audio_input+1, in hdpvr_set_options()
163 dev->options.audio_codec); in hdpvr_set_options()
167 dev->options.bitrate_mode); in hdpvr_set_options()
168 hdpvr_config_call(dev, CTRL_GOP_MODE_VALUE, dev->options.gop_mode); in hdpvr_set_options()
170 hdpvr_config_call(dev, CTRL_BRIGHTNESS, dev->options.brightness); in hdpvr_set_options()
171 hdpvr_config_call(dev, CTRL_CONTRAST, dev->options.contrast); in hdpvr_set_options()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dnand_bbt.c109 if (td->options & NAND_BBT_NO_OOB) in check_pattern()
146 if (!(td->options & NAND_BBT_NO_OOB)) in add_marker_len()
150 if (td->options & NAND_BBT_VERSION) in add_marker_len()
173 int bits = td->options & NAND_BBT_NRBITS_MSK; in read_bbt()
266 if (td->options & NAND_BBT_PERCHIP) { in read_abs_bbt()
295 if (td->options & NAND_BBT_VERSION) in scan_read_data()
346 if (td->options & NAND_BBT_NO_OOB) in scan_read()
374 if (!(td->options & NAND_BBT_NO_OOB)) in bbt_get_ver_offs()
395 if (td->options & NAND_BBT_VERSION) { in read_abs_bbts()
404 if (md && (md->options & NAND_BBT_VERSION)) { in read_abs_bbts()
[all …]
/linux/drivers/video/fbdev/core/
H A Dfb_cmdline.c38 const char *options = NULL; in fb_get_options() local
45 enabled = __video_get_options(name, &options, is_of); in fb_get_options()
47 if (options) { in fb_get_options()
48 if (!strncmp(options, "off", 3)) in fb_get_options()
53 if (options) in fb_get_options()
54 *option = kstrdup(options, GFP_KERNEL); in fb_get_options()
/linux/drivers/s390/net/
H A Dqeth_l2_main.c396 if (card->options.sbp.reflect_promisc_primary) in qeth_l2_promisc_to_bridge()
406 card->options.sbp.role = role; in qeth_l2_promisc_to_bridge()
422 if (card->options.sbp.reflect_promisc) in qeth_l2_set_promisc_mode()
1144 QETH_CARD_HEX(card, 2, &card->options.sbp.supported_funcs, in qeth_l2_trace_features()
1145 sizeof(card->options.sbp.supported_funcs)); in qeth_l2_trace_features()
1148 QETH_CARD_HEX(card, 2, &card->options.vnicc.sup_chars, in qeth_l2_trace_features()
1149 sizeof(card->options.vnicc.sup_chars)); in qeth_l2_trace_features()
1154 if (!card->options.sbp.reflect_promisc && in qeth_l2_setup_bridgeport_attrs()
1155 card->options.sbp.role != QETH_SBP_ROLE_NONE) { in qeth_l2_setup_bridgeport_attrs()
1157 qeth_bridgeport_setrole(card, card->options.sbp.role); in qeth_l2_setup_bridgeport_attrs()
[all …]
H A Dqeth_l2_sys.c26 card->options.sbp.supported_funcs) in qeth_bridge_port_role_state_show()
28 &card->options.sbp.role, &state); in qeth_bridge_port_role_state_show()
42 switch (card->options.sbp.role) { in qeth_bridge_port_role_state_show()
54 card->options.sbp.role, state); in qeth_bridge_port_role_state_show()
95 else if (card->options.sbp.reflect_promisc) in qeth_bridge_port_role_store()
101 card->options.sbp.role = role; in qeth_bridge_port_role_store()
103 card->options.sbp.role = role; in qeth_bridge_port_role_store()
137 enabled = card->options.sbp.hostnotification; in qeth_bridgeport_hostnotification_show()
162 card->options.sbp.hostnotification = enable; in qeth_bridgeport_hostnotification_store()
164 card->options.sbp.hostnotification = enable; in qeth_bridgeport_hostnotification_store()
[all …]
/linux/drivers/media/pci/ivtv/
H A Divtv-driver.c484 if (itv->options.tuner == -1) in ivtv_process_eeprom()
485 itv->options.tuner = tv.tuner_type; in ivtv_process_eeprom()
486 if (itv->options.radio == -1) in ivtv_process_eeprom()
487 itv->options.radio = (tv.has_radio != 0); in ivtv_process_eeprom()
489 if (itv->options.newi2c == -1 && tv.has_ir) { in ivtv_process_eeprom()
490 itv->options.newi2c = (tv.has_ir & 4) ? 1 : 0; in ivtv_process_eeprom()
491 if (itv->options.newi2c) { in ivtv_process_eeprom()
616 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_MPG] = enc_mpg_buffers * 1024; in ivtv_process_options()
617 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_YUV] = enc_yuv_buffers * 1024; in ivtv_process_options()
618 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_VBI] = enc_vbi_buffers * 1024; in ivtv_process_options()
[all …]
/linux/tools/thermal/thermal-engine/
H A Dthermal-engine.c29 struct options { struct
302 printf("Usage: %s [options]\n", cmd); in main()
312 static int options_init(int argc, char *argv[], struct options *options) in main()
334 options->loglevel = log_str2level(optarg); in main()
337 options->daemonize = 1; in main()
340 options->logopt = TO_SYSLOG; in main()
366 struct options options = {
371 if (options_init(argc, argv, &options)) {
30 logleveloptions global() argument
31 logoptoptions global() argument
32 interactiveoptions global() argument
33 daemonizeoptions global() argument
236 options_init(int argc,char * argv[],struct options * options) options_init() argument
289 struct options options = { main() local
[all...]
/linux/tools/testing/selftests/bpf/
H A Dtest_sockmap.c229 printf(" options:\n"); in usage()
1049 static int run_options(struct sockmap_options *options, int cg_fd, int test) in run_options()
1105 err = sockmap_init_sockets(options->verbose); in run_options()
1352 options->drop_expected = true; in test_options()
1355 err = forever_ping_pong(options->rate, options); in test_options()
1357 options->base = false; in test_options()
1358 options->sendpage = false; in test_options()
1359 err = sendmsg_test(options); in test_options()
1361 options in test_options()
955 run_options(struct sockmap_options * options,int cg_fd,int test) run_options() argument
1329 test_options(char * options) test_options() argument
1376 char *options = calloc(OPTSTRING, sizeof(char)); __test_exec() local
1949 struct sockmap_options options = {0}; main() local
[all...]
/linux/drivers/media/pci/cx18/
H A Dcx18-driver.c408 if (cx->options.tuner == -1) in cx18_process_eeprom()
409 cx->options.tuner = tv.tuner_type; in cx18_process_eeprom()
410 if (cx->options.radio == -1) in cx18_process_eeprom()
411 cx->options.radio = (tv.has_radio != 0); in cx18_process_eeprom()
528 cx->options.megabytes[CX18_ENC_STREAM_TYPE_TS] = enc_ts_buffers; in cx18_process_options()
529 cx->options.megabytes[CX18_ENC_STREAM_TYPE_MPG] = enc_mpg_buffers; in cx18_process_options()
530 cx->options.megabytes[CX18_ENC_STREAM_TYPE_IDX] = enc_idx_buffers; in cx18_process_options()
531 cx->options.megabytes[CX18_ENC_STREAM_TYPE_YUV] = enc_yuv_buffers; in cx18_process_options()
532 cx->options.megabytes[CX18_ENC_STREAM_TYPE_VBI] = enc_vbi_buffers; in cx18_process_options()
533 cx->options.megabytes[CX18_ENC_STREAM_TYPE_PCM] = enc_pcm_buffers; in cx18_process_options()
[all …]

12345678910>>...63