| /linux/drivers/video/ |
| H A D | cmdline.c | 35 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/mips/kernel/ |
| H A D | cpu-probe.c | 73 cpu_data[0].options &= ~MIPS_CPU_HTW; in htw_disable() 150 c->options |= MIPS_CPU_MT_PER_TC_PERF_COUNTERS; in cpu_set_mt_per_tc_perf() 378 c->options |= MIPS_CPU_MM_FULL; in mm_config() 396 c->options |= MIPS_CPU_MM_SYSAD; in mm_config() 398 c->options |= MIPS_CPU_MM_FULL; in mm_config() 416 c->options |= MIPS_CPU_TLB; in decode_config0() 418 c->options |= MIPS_CPU_TLB | MIPS_CPU_FTLB; in decode_config0() 471 c->options |= MIPS_CPU_PERF; in decode_config1() 473 c->options |= MIPS_CPU_WATCH; in decode_config1() 477 c->options |= MIPS_CPU_EJTAG; in decode_config1() [all …]
|
| H A D | fpu-probe.c | 116 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 D | cpu-r3k-probe.c | 95 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 D | trusted_pkwm.c | 62 struct trusted_key_options *options; in trusted_options_alloc() local 65 options = kzalloc_obj(*options); in trusted_options_alloc() 67 if (options) { in trusted_options_alloc() 71 kfree_sensitive(options); in trusted_options_alloc() 72 options = NULL; in trusted_options_alloc() 74 options->private = pkwm; in trusted_options_alloc() 78 return options; in trusted_options_alloc() 83 struct trusted_key_options *options = NULL; in trusted_pkwm_seal() local 89 options in trusted_pkwm_seal() [all...] |
| H A D | trusted_tpm2.c | 24 struct trusted_key_options *options, in tpm2_key_encode() argument 49 if (options->blobauth_len == 0) { in tpm2_key_encode() 72 work = asn1_encode_integer(work, end_work, options->keyhandle); in tpm2_key_encode() 102 struct trusted_key_options *options, in tpm2_key_decode() argument 124 options->keyhandle = ctx.parent; in tpm2_key_decode() 234 struct trusted_key_options *options) in tpm2_seal_trusted() argument 243 hash = tpm2_find_hash_alg(options->hash); in tpm2_seal_trusted() 247 if (!options->keyhandle) in tpm2_seal_trusted() 271 rc = tpm_buf_append_name(chip, &buf, options->keyhandle, NULL); in tpm2_seal_trusted() 276 options->keyauth, TPM_DIGEST_SIZE); in tpm2_seal_trusted() [all …]
|
| H A D | trusted_tpm1.c | 695 /* can have zero or more token= options */ 834 struct trusted_key_options *options; in trusted_options_alloc() local 841 options = kzalloc_obj(*options); in trusted_options_alloc() 842 if (options) { in trusted_options_alloc() 844 options->keytype = SRK_keytype; in trusted_options_alloc() 847 options->keyhandle = SRKHANDLE; in trusted_options_alloc() 849 return options; in trusted_options_alloc() 854 struct trusted_key_options *options = NULL; in trusted_tpm_seal() local 862 options in trusted_tpm_seal() 899 struct trusted_key_options *options = NULL; trusted_tpm_unseal() local [all...] |
| /linux/drivers/net/ppp/ |
| H A D | ppp_deflate.c | 36 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[ in z_comp_alloc() 136 z_comp_init(void * arg,unsigned char * options,int opt_len,int unit,int hdrlen,int debug) z_comp_init() argument 300 z_decomp_alloc(unsigned char * options,int opt_len) z_decomp_alloc() argument 350 z_decomp_init(void * arg,unsigned char * options,int opt_len,int unit,int hdrlen,int mru,int debug) z_decomp_init() argument [all...] |
| H A D | bsd_comp.c | 169 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[ in bsd_alloc() 448 bsd_comp_alloc(unsigned char * options,int opt_len) bsd_comp_alloc() argument 453 bsd_decomp_alloc(unsigned char * options,int opt_len) bsd_decomp_alloc() argument 462 bsd_init(void * state,unsigned char * options,int opt_len,int unit,int debug,int decomp) bsd_init() argument 505 bsd_comp_init(void * state,unsigned char * options,int opt_len,int unit,int opthdr,int debug) bsd_comp_init() argument 511 bsd_decomp_init(void * state,unsigned char * options,int opt_len,int unit,int opthdr,int mru,int debug) bsd_decomp_init() argument [all...] |
| /linux/tools/lib/subcmd/ |
| H A D | parse-options.c | 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() 381 rest = skip_prefix(arg, options->long_name); in parse_long_opt() [all …]
|
| /linux/drivers/crypto/caam/ |
| H A D | desc_constr.h | 104 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 D | pdb.h | 136 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 D | nf_conntrack_h323_types.h | 11 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 D | early_serial_console.c | 119 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/drivers/media/usb/hdpvr/ |
| H A D | hdpvr-control.c | 108 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 D | nand_bbt.c | 11 * depending on the options in the BBT descriptor(s). If no flash based BBT 109 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 in read_abs_bbts() [all...] |
| /linux/Documentation/sphinx/ |
| H A D | kernel_include.py | 180 startline = self.options.get('start-line', None) 181 endline = self.options.get('end-line', None) 191 after_text = self.options.get("start-after", None) 199 before_text = self.options.get("end-before", None) 220 if 'exception-file' in self.options: 224 exceptions_file = os.path.join(source_dir, self.options['exception-file']) 231 if 'warn-broken' in self.options: 234 if "toc" not in self.options: 251 startline = self.options.get('start-line', None) 252 endline = self.options.get('end-line', None) [all …]
|
| /linux/drivers/video/fbdev/core/ |
| H A D | fb_cmdline.c | 38 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 D | qeth_l2_main.c | 397 if (card->options.sbp.reflect_promisc_primary) in qeth_l2_promisc_to_bridge() 407 card->options.sbp.role = role; in qeth_l2_promisc_to_bridge() 423 if (card->options.sbp.reflect_promisc) in qeth_l2_set_promisc_mode() 1145 QETH_CARD_HEX(card, 2, &card->options.sbp.supported_funcs, in qeth_l2_trace_features() 1146 sizeof(card->options.sbp.supported_funcs)); in qeth_l2_trace_features() 1149 QETH_CARD_HEX(card, 2, &card->options.vnicc.sup_chars, in qeth_l2_trace_features() 1150 sizeof(card->options.vnicc.sup_chars)); in qeth_l2_trace_features() 1155 if (!card->options.sbp.reflect_promisc && in qeth_l2_setup_bridgeport_attrs() 1156 card->options.sbp.role != QETH_SBP_ROLE_NONE) { in qeth_l2_setup_bridgeport_attrs() 1158 qeth_bridgeport_setrole(card, card->options.sbp.role); in qeth_l2_setup_bridgeport_attrs() [all …]
|
| H A D | qeth_l2_sys.c | 26 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/tools/include/nolibc/sys/ |
| H A D | wait.h | 24 int sys_waitid(int which, pid_t pid, siginfo_t *infop, int options, struct rusage *rusage) in sys_waitid() argument 26 return my_syscall5(__NR_waitid, which, pid, infop, options, rusage); in sys_waitid() 30 int waitid(int which, pid_t pid, siginfo_t *infop, int options) in waitid() argument 32 return __sysret(sys_waitid(which, pid, infop, options, NULL)); in waitid() 37 pid_t waitpid(pid_t pid, int *status, int options) in waitpid() argument 60 options |= WEXITED; in waitpid() 62 ret = waitid(idtype, id, &info, options); in waitpid()
|
| /linux/drivers/media/pci/ivtv/ |
| H A D | ivtv-driver.c | 471 if (itv->options.tuner == -1) in ivtv_process_eeprom() 472 itv->options.tuner = tv.tuner_type; in ivtv_process_eeprom() 473 if (itv->options.radio == -1) in ivtv_process_eeprom() 474 itv->options.radio = (tv.has_radio != 0); in ivtv_process_eeprom() 476 if (itv->options.newi2c == -1 && tv.has_ir) { in ivtv_process_eeprom() 477 itv->options.newi2c = (tv.has_ir & 4) ? 1 : 0; in ivtv_process_eeprom() 478 if (itv->options.newi2c) { in ivtv_process_eeprom() 603 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_MPG] = enc_mpg_buffers * 1024; in ivtv_process_options() 604 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_YUV] = enc_yuv_buffers * 1024; in ivtv_process_options() 605 itv->options in ivtv_process_options() [all...] |
| /linux/drivers/media/pci/cx18/ |
| H A D | cx18-driver.c | 408 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 in cx18_process_options() [all...] |
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_sockmap.c | 229 printf(" options:\n"); in usage() 1049 static int run_options(struct sockmap_options *options, int cg_fd, int test) in run_options() argument 1105 err = sockmap_init_sockets(options->verbose); in run_options() 1352 options->drop_expected = true; in run_options() 1355 err = forever_ping_pong(options->rate, options); in run_options() 1357 options->base = false; in run_options() 1358 options->sendpage = false; in run_options() 1359 err = sendmsg_test(options); in run_options() 1361 options in run_options() 1423 test_options(char * options) test_options() argument 1470 char *options = calloc(OPTSTRING, sizeof(char)); __test_exec() local 2109 struct sockmap_options options = {0}; main() local [all...] |
| /linux/tools/perf/trace/beauty/ |
| H A D | waitid_options.c | 10 int printed = 0, options = arg->val; in syscall_arg__scnprintf_waitid_options() local 13 if (options & W##n) { \ in syscall_arg__scnprintf_waitid_options() 15 options &= ~W##n; \ in syscall_arg__scnprintf_waitid_options() 23 if (options) in syscall_arg__scnprintf_waitid_options() 24 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", options); in syscall_arg__scnprintf_waitid_options()
|