/Linux-v5.4/drivers/video/fbdev/core/ |
D | fb_cmdline.c | 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() 79 static int __init video_setup(char *options) in video_setup() argument 81 if (!options || !*options) in video_setup() 84 if (!strncmp(options, "ofonly", 6)) { in video_setup() 89 if (strchr(options, ':')) { in video_setup() [all …]
|
/Linux-v5.4/tools/lib/subcmd/ |
D | parse-options.c | 342 static int parse_short_opt(struct parse_opt_ctx_t *p, const struct option *options) in parse_short_opt() argument 345 for (; options->type != OPTION_END; options++) { in parse_short_opt() 346 if (options->short_name == *p->opt) { in parse_short_opt() 348 return get_value(p, options, OPT_SHORT); in parse_short_opt() 352 if (options->parent) { in parse_short_opt() 353 options = options->parent; in parse_short_opt() 361 const struct option *options) in parse_long_opt() argument 371 for (; options->type != OPTION_END; options++) { in parse_long_opt() 375 if (!options->long_name) in parse_long_opt() 378 rest = skip_prefix(arg, options->long_name); in parse_long_opt() [all …]
|
/Linux-v5.4/arch/mips/kernel/ |
D | cpu-probe.c | 116 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_fpu_2008() 118 c->options |= MIPS_CPU_NAN_2008; in cpu_set_fpu_2008() 130 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_fpu_2008() 135 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_fpu_2008() 153 c->options &= ~(MIPS_CPU_NAN_2008 | MIPS_CPU_NAN_LEGACY); in cpu_set_nofpu_2008() 162 c->options |= MIPS_CPU_NAN_2008 | MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008() 164 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008() 169 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008() 173 c->options |= MIPS_CPU_NAN_2008; in cpu_set_nofpu_2008() 178 c->options |= MIPS_CPU_NAN_2008 | MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008() [all …]
|
/Linux-v5.4/drivers/net/ppp/ |
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, 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 …]
|
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[2]) != BSD_CURRENT_VERSION) in bsd_alloc() 364 bits = BSD_NBITS(options[2]); in bsd_alloc() [all …]
|
/Linux-v5.4/arch/x86/boot/ |
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-v5.4/drivers/crypto/caam/ |
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 …]
|
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-v5.4/include/linux/netfilter/ |
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-v5.4/drivers/pcmcia/ |
D | vrc4171_card.c | 622 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 …]
|
/Linux-v5.4/drivers/tty/serial/ |
D | earlycon.c | 81 &port->mapbase, device->options); in earlycon_init() 85 port->iobase, device->options); in earlycon_init() 88 static int __init parse_options(struct earlycon_device *device, char *options) in parse_options() argument 94 if (uart_parse_earlycon(options, &port->iotype, &addr, &options)) in parse_options() 117 if (options) { in parse_options() 118 device->baud = simple_strtoul(options, NULL, 0); in parse_options() 119 length = min(strcspn(options, " ") + 1, in parse_options() 120 (size_t)(sizeof(device->options))); in parse_options() 121 strlcpy(device->options, options, length); in parse_options() 233 const char *options) in of_setup_earlycon() argument [all …]
|
/Linux-v5.4/drivers/media/usb/hdpvr/ |
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-v5.4/arch/um/drivers/ |
D | pcap_kern.c | 56 char *remain, *host_if = NULL, *options[2] = { NULL, NULL }; in pcap_setup() local 66 &options[0], &options[1], mac_out, NULL); in pcap_setup() 76 for (i = 0; i < ARRAY_SIZE(options); i++) { in pcap_setup() 77 if (options[i] == NULL) in pcap_setup() 79 if (!strcmp(options[i], "promisc")) in pcap_setup() 81 else if (!strcmp(options[i], "nopromisc")) in pcap_setup() 83 else if (!strcmp(options[i], "optimize")) in pcap_setup() 85 else if (!strcmp(options[i], "nooptimize")) in pcap_setup() 89 options[i]); in pcap_setup()
|
/Linux-v5.4/Documentation/sphinx/ |
D | kernel_include.py | 98 encoding = self.options.get( 101 tab_width = self.options.get( 116 startline = self.options.get('start-line', None) 117 endline = self.options.get('end-line', None) 129 after_text = self.options.get('start-after', None) 137 before_text = self.options.get('end-before', None) 148 if 'literal' in self.options: 155 classes=self.options.get('class', [])) 158 if 'number-lines' in self.options: 160 startline = int(self.options['number-lines'] or 1) [all …]
|
D | kerneldoc.py | 78 tab_width = self.options.get('tab-width', self.state.document.settings.tab_width) 81 if 'export' in self.options: 83 export_file_patterns = str(self.options.get('export')).split() 84 elif 'internal' in self.options: 86 export_file_patterns = str(self.options.get('internal')).split() 87 elif 'doc' in self.options: 88 cmd += ['-function', str(self.options.get('doc'))] 89 elif 'functions' in self.options: 90 functions = self.options.get('functions').split()
|
/Linux-v5.4/drivers/s390/net/ |
D | qeth_l2_sys.c | 29 card->options.sbp.supported_funcs) in qeth_bridge_port_role_state_show() 31 &card->options.sbp.role, &state); in qeth_bridge_port_role_state_show() 45 switch (card->options.sbp.role) { in qeth_bridge_port_role_state_show() 57 card->options.sbp.role, state); in qeth_bridge_port_role_state_show() 100 else if (card->options.sbp.reflect_promisc) in qeth_bridge_port_role_store() 106 card->options.sbp.role = role; in qeth_bridge_port_role_store() 108 card->options.sbp.role = role; in qeth_bridge_port_role_store() 145 enabled = card->options.sbp.hostnotification; in qeth_bridgeport_hostnotification_show() 172 card->options.sbp.hostnotification = enable; in qeth_bridgeport_hostnotification_store() 174 card->options.sbp.hostnotification = enable; in qeth_bridgeport_hostnotification_store() [all …]
|
D | qeth_l2_main.c | 448 if (card->options.sbp.reflect_promisc_primary) in qeth_l2_promisc_to_bridge() 458 card->options.sbp.role = role; in qeth_l2_promisc_to_bridge() 474 if (card->options.sbp.reflect_promisc) in qeth_l2_set_promisc_mode() 779 QETH_CARD_HEX(card, 2, &card->options.sbp.supported_funcs, in qeth_l2_trace_features() 780 sizeof(card->options.sbp.supported_funcs)); in qeth_l2_trace_features() 783 QETH_CARD_HEX(card, 2, &card->options.vnicc.sup_chars, in qeth_l2_trace_features() 784 sizeof(card->options.vnicc.sup_chars)); in qeth_l2_trace_features() 814 if (card->options.sbp.supported_funcs) in qeth_l2_set_online() 1173 data->card->options.sbp.role = entry->role; in qeth_bridge_state_change_worker() 1241 data->card->options.sbp.hostnotification = 0; in qeth_bridge_host_event_worker() [all …]
|
/Linux-v5.4/drivers/mtd/nand/raw/ |
D | nand_bbt.c | 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 & NAND_BBT_VERSION) { in read_abs_bbts() 404 if (md && (md->options & NAND_BBT_VERSION)) { in read_abs_bbts() [all …]
|
/Linux-v5.4/tools/perf/trace/beauty/ |
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()
|
/Linux-v5.4/fs/ |
D | compat.c | 95 void *options; in COMPAT_SYSCALL_DEFINE5() local 109 options = copy_mount_options(data); in COMPAT_SYSCALL_DEFINE5() 110 retval = PTR_ERR(options); in COMPAT_SYSCALL_DEFINE5() 111 if (IS_ERR(options)) in COMPAT_SYSCALL_DEFINE5() 114 if (kernel_type && options) { in COMPAT_SYSCALL_DEFINE5() 117 if (do_nfs4_super_data_conv(options)) in COMPAT_SYSCALL_DEFINE5() 122 retval = do_mount(kernel_dev, dir_name, kernel_type, flags, options); in COMPAT_SYSCALL_DEFINE5() 125 kfree(options); in COMPAT_SYSCALL_DEFINE5()
|
/Linux-v5.4/net/ipv4/ |
D | gre_demux.c | 64 __be32 *options; in gre_parse_header() local 83 options = (__be32 *)(greh + 1); in gre_parse_header() 93 options++; in gre_parse_header() 97 tpi->key = *options; in gre_parse_header() 98 options++; in gre_parse_header() 103 tpi->seq = *options; in gre_parse_header() 104 options++; in gre_parse_header() 114 if ((*(u8 *)options & 0xF0) != 0x40) in gre_parse_header() 130 ershdr = (struct erspan_base_hdr *)options; in gre_parse_header()
|
/Linux-v5.4/drivers/media/pci/ivtv/ |
D | ivtv-driver.c | 515 if (itv->options.tuner == -1) in ivtv_process_eeprom() 516 itv->options.tuner = tv.tuner_type; in ivtv_process_eeprom() 517 if (itv->options.radio == -1) in ivtv_process_eeprom() 518 itv->options.radio = (tv.has_radio != 0); in ivtv_process_eeprom() 520 if (itv->options.newi2c == -1 && tv.has_ir) { in ivtv_process_eeprom() 521 itv->options.newi2c = (tv.has_ir & 4) ? 1 : 0; in ivtv_process_eeprom() 522 if (itv->options.newi2c) { in ivtv_process_eeprom() 647 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_MPG] = enc_mpg_buffers * 1024; in ivtv_process_options() 648 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_YUV] = enc_yuv_buffers * 1024; in ivtv_process_options() 649 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_VBI] = enc_vbi_buffers * 1024; in ivtv_process_options() [all …]
|
/Linux-v5.4/net/netfilter/ |
D | xt_connlabel.c | 26 bool invert = info->options & XT_CONNLABEL_OP_INVERT; in connlabel_mt() 39 if (info->options & XT_CONNLABEL_OP_SET) { in connlabel_mt() 51 const int options = XT_CONNLABEL_OP_INVERT | in connlabel_mt_check() local 56 if (info->options & ~options) { in connlabel_mt_check() 58 info->options); in connlabel_mt_check()
|
/Linux-v5.4/drivers/media/pci/cx18/ |
D | cx18-driver.c | 409 if (cx->options.tuner == -1) in cx18_process_eeprom() 410 cx->options.tuner = tv.tuner_type; in cx18_process_eeprom() 411 if (cx->options.radio == -1) in cx18_process_eeprom() 412 cx->options.radio = (tv.has_radio != 0); in cx18_process_eeprom() 529 cx->options.megabytes[CX18_ENC_STREAM_TYPE_TS] = enc_ts_buffers; in cx18_process_options() 530 cx->options.megabytes[CX18_ENC_STREAM_TYPE_MPG] = enc_mpg_buffers; in cx18_process_options() 531 cx->options.megabytes[CX18_ENC_STREAM_TYPE_IDX] = enc_idx_buffers; in cx18_process_options() 532 cx->options.megabytes[CX18_ENC_STREAM_TYPE_YUV] = enc_yuv_buffers; in cx18_process_options() 533 cx->options.megabytes[CX18_ENC_STREAM_TYPE_VBI] = enc_vbi_buffers; in cx18_process_options() 534 cx->options.megabytes[CX18_ENC_STREAM_TYPE_PCM] = enc_pcm_buffers; in cx18_process_options() [all …]
|
/Linux-v5.4/net/dns_resolver/ |
D | dns_query.c | 76 const char *options, char **_result, time64_t *_expiry, in dns_query() argument 87 type, (int)namelen, (int)namelen, name, namelen, options); in dns_query() 120 if (!options) in dns_query() 121 options = ""; in dns_query() 122 kdebug("call request_key(,%s,%s)", desc, options); in dns_query() 128 rkey = request_key_net(&key_type_dns_resolver, desc, net, options); in dns_query()
|