Searched refs:options (Results 1 - 200 of 1646) sorted by relevance

123456789

/linux-4.1.27/include/uapi/linux/netfilter/
H A Dxt_connlabel.h11 __u16 options; member in struct:xt_connlabel_mtinfo
H A Dxt_SYNPROXY.h11 __u8 options; member in struct:xt_synproxy_info
H A Dxt_LOG.h6 #define XT_LOG_TCPOPT 0x02 /* Log TCP options */
7 #define XT_LOG_IPOPT 0x04 /* Log IP options */
H A Dxt_ipvs.h7 XT_IPVS_IPVS_PROPERTY = 1 << 0, /* all other options imply this one */
H A Dxt_osf.h58 * This struct represents IANA options
77 /* MAX_IPOPTLEN is maximum if all options are NOPs or EOLs */
90 OSFOPT_EOL = 0, /* End of options */
/linux-4.1.27/drivers/video/fbdev/core/
H A Dfb_cmdline.c30 * (video=<name>:<options>)
37 char *opt, *options = NULL; fb_get_options() local
53 options = opt + name_len + 1; fb_get_options()
57 if (!options && option && fb_mode_option) fb_get_options()
58 options = kstrdup(fb_mode_option, GFP_KERNEL); fb_get_options()
59 if (options && !strncmp(options, "off", 3)) fb_get_options()
63 *option = options; fb_get_options()
70 * video_setup - process command line options
71 * @options: string of options
73 * Process command line options for frame buffer subsystem.
76 * It only stores the options. Drivers have to call
82 static int __init video_setup(char *options) video_setup() argument
86 if (!options || !*options) video_setup()
89 if (!global && !strncmp(options, "ofonly", 6)) { video_setup()
94 if (!global && !strchr(options, ':')) { video_setup()
95 fb_mode_option = options; video_setup()
102 video_options[i] = options; video_setup()
/linux-4.1.27/drivers/staging/comedi/drivers/
H A Ddt2815.c28 Configuration options:
45 [6] - Analog output 1 range configuration (same options)
46 [7] - Analog output 2 range configuration (same options)
47 [8] - Analog output 3 range configuration (same options)
48 [9] - Analog output 4 range configuration (same options)
49 [10] - Analog output 5 range configuration (same options)
50 [11] - Analog output 6 range configuration (same options)
51 [12] - Analog output 7 range configuration (same options)
123 options[0] Board base address
124 options[1] IRQ (not applicable)
125 options[2] Voltage unipolar/bipolar configuration
128 options[3] Current offset configuration
131 options[4] Firmware program configuration
136 options[5] Analog output 0 range configuration
139 options[6] Analog output 1 range configuration
141 options[12] Analog output 7 range configuration
154 ret = comedi_request_region(dev, it->options[0], 0x2); dt2815_attach()
176 current_range_type = (it->options[3]) dt2815_attach()
178 voltage_range_type = (it->options[2]) dt2815_attach()
181 devpriv->range_type_list[i] = (it->options[5 + i]) dt2815_attach()
196 program = (it->options[4] & 0x3) << 3 | 0x7; dt2815_attach()
H A Ddt2811.c29 Configuration options:
301 options[0] Board base address
302 options[1] IRQ
303 options[2] Input configuration
307 options[3] Analog input range configuration
311 options[4] Analog output 0 range configuration
315 options[5] Analog output 1 range configuration
328 ret = comedi_request_region(dev, it->options[0], 0x8); dt2811_attach()
347 switch (it->options[2]) { dt2811_attach()
361 switch (it->options[4]) { dt2811_attach()
375 switch (it->options[5]) { dt2811_attach()
397 switch (it->options[3]) { dt2811_attach()
H A Drti800.c27 * Configuration options:
265 ret = comedi_request_region(dev, it->options[0], 0x10); rti800_attach()
277 devpriv->adc_2comp = (it->options[4] == 0); rti800_attach()
278 devpriv->dac_2comp[0] = (it->options[6] == 0); rti800_attach()
279 devpriv->dac_2comp[1] = (it->options[8] == 0); rti800_attach()
291 s->n_chan = (it->options[2] ? 16 : 8); rti800_attach()
294 s->range_table = (it->options[3] < ARRAY_SIZE(rti800_ai_ranges)) rti800_attach()
295 ? rti800_ai_ranges[it->options[3]] rti800_attach()
307 (it->options[5] < ARRAY_SIZE(rti800_ao_ranges)) rti800_attach()
308 ? rti800_ao_ranges[it->options[5]] rti800_attach()
311 (it->options[7] < ARRAY_SIZE(rti800_ao_ranges)) rti800_attach()
312 ? rti800_ao_ranges[it->options[7]] rti800_attach()
H A Dni_atmio16d.c570 options[0] - I/O port
571 options[1] - MIO irq
574 options[2] - DIO irq
577 options[3] - DMA1 channel
580 options[4] - DMA2 channel
584 options[5] - a/d mux
586 options[6] - a/d range
589 options[7] - dac0 range
591 options[8] - dac0 reference
593 options[9] - dac0 coding
596 options[10] - dac1 range
597 options[11] - dac1 reference
598 options[12] - dac1 coding
609 ret = comedi_request_region(dev, it->options[0], 0x20); atmio16d_attach()
624 if (it->options[1]) { atmio16d_attach()
625 ret = request_irq(it->options[1], atmio16d_interrupt, 0, atmio16d_attach()
628 dev->irq = it->options[1]; atmio16d_attach()
631 /* set device options */ atmio16d_attach()
632 devpriv->adc_mux = it->options[5]; atmio16d_attach()
633 devpriv->adc_range = it->options[6]; atmio16d_attach()
635 devpriv->dac0_range = it->options[7]; atmio16d_attach()
636 devpriv->dac0_reference = it->options[8]; atmio16d_attach()
637 devpriv->dac0_coding = it->options[9]; atmio16d_attach()
638 devpriv->dac1_range = it->options[10]; atmio16d_attach()
639 devpriv->dac1_reference = it->options[11]; atmio16d_attach()
640 devpriv->dac1_coding = it->options[12]; atmio16d_attach()
H A Damplc_pc236.c28 * Configuration options - PC36AT:
58 ret = comedi_request_region(dev, it->options[0], 0x4); pc236_attach()
62 return amplc_pc236_common_attach(dev, dev->iobase, it->options[1], 0); pc236_attach()
H A Dpcl724.c18 * Configuration options:
110 (it->options[2] == 1 || it->options[2] == 96)) { pcl724_attach()
115 ret = comedi_request_region(dev, it->options[0], iorange); pcl724_attach()
H A Dpcmad.c29 * Configuration options:
118 ret = comedi_request_region(dev, it->options[0], 0x04); pcmad_attach()
128 if (it->options[1]) { pcmad_attach()
139 s->range_table = it->options[2] ? &range_bipolar10 : &range_unipolar5; pcmad_attach()
H A Drti802.c84 ret = comedi_request_region(dev, it->options[0], 0x04); rti802_attach()
110 devpriv->dac_coding[i] = (it->options[3 + 2 * i]) rti802_attach()
112 devpriv->range_type_list[i] = (it->options[2 + 2 * i]) rti802_attach()
H A Daio_iiro_16.c180 ret = comedi_request_region(dev, it->options[0], 0x8); aio_iiro_16_attach()
190 if ((1 << it->options[1]) & 0xdcfc) { aio_iiro_16_attach()
191 ret = request_irq(it->options[1], aio_iiro_16_cos, 0, aio_iiro_16_attach()
194 dev->irq = it->options[1]; aio_iiro_16_attach()
H A Dni_labpc.c25 * Configuration options - ISA boards:
87 unsigned int irq = it->options[1]; labpc_attach()
88 unsigned int dma_chan = it->options[2]; labpc_attach()
91 ret = comedi_request_region(dev, it->options[0], 0x20); labpc_attach()
H A Damplc_pc263.c28 Configuration options:
75 ret = comedi_request_region(dev, it->options[0], 0x2); pc263_attach()
H A Ddt2801.c16 Configuration options:
520 options:
537 ret = comedi_request_region(dev, it->options[0], 0x2); dt2801_attach()
580 if (it->options[2]) dt2801_attach()
586 s->range_table = ai_range_lkup(board->adrangetype, it->options[3]); dt2801_attach()
596 devpriv->dac_range_types[0] = dac_range_lkup(it->options[4]); dt2801_attach()
597 devpriv->dac_range_types[1] = dac_range_lkup(it->options[5]); dt2801_attach()
H A Ddt2814.c25 Configuration options:
241 ret = comedi_request_region(dev, it->options[0], 0x2); dt2814_attach()
254 if (it->options[1]) { dt2814_attach()
255 ret = request_irq(it->options[1], dt2814_interrupt, 0, dt2814_attach()
258 dev->irq = it->options[1]; dt2814_attach()
H A Dpcl818.c929 if (it->options[4] == 1 || it->options[4] == 10) { pcl818_set_ai_range_table()
934 switch (it->options[4]) { pcl818_set_ai_range_table()
1002 ret = comedi_request_region(dev, it->options[0], pcl818_attach()
1008 if (it->options[1] >= 2 && it->options[1] <= 7) { pcl818_attach()
1009 ret = request_irq(it->options[1], pcl818_interrupt, 0, pcl818_attach()
1012 dev->irq = it->options[1]; pcl818_attach()
1016 if (dev->irq && board->has_fifo && it->options[2] == -1) pcl818_attach()
1021 pcl818_alloc_dma(dev, it->options[2]); pcl818_attach()
1024 if ((it->options[3] == 0) || (it->options[3] == 10)) pcl818_attach()
1038 if ((it->options[6] == 1) || (it->options[6] == 100)) pcl818_attach()
1079 if ((it->options[4] == 1) || (it->options[4] == 10)) pcl818_attach()
1081 if (it->options[4] == 2) pcl818_attach()
1084 if ((it->options[5] == 1) || (it->options[5] == 10)) pcl818_attach()
1086 if (it->options[5] == 2) pcl818_attach()
H A Dpcl726.c327 ret = comedi_request_region(dev, it->options[0], board->io_len); pcl726_attach()
339 if (it->options[1] && (board->irq_mask & (1 << it->options[1]))) { pcl726_attach()
340 ret = request_irq(it->options[1], pcl726_interrupt, 0, pcl726_attach()
344 dev->irq = it->options[1]; pcl726_attach()
350 unsigned int opt = it->options[2 + i]; pcl726_attach()
/linux-4.1.27/arch/um/drivers/
H A Dpcap_kern.c56 char *remain, *host_if = NULL, *options[2] = { NULL, NULL }; pcap_setup() local
66 &options[0], &options[1], mac_out, NULL); pcap_setup()
76 for (i = 0; i < ARRAY_SIZE(options); i++) { pcap_setup()
77 if (options[i] == NULL) pcap_setup()
79 if (!strcmp(options[i], "promisc")) pcap_setup()
81 else if (!strcmp(options[i], "nopromisc")) pcap_setup()
83 else if (!strcmp(options[i], "optimize")) pcap_setup()
85 else if (!strcmp(options[i], "nooptimize")) pcap_setup()
89 options[i]); pcap_setup()
/linux-4.1.27/drivers/tty/serial/
H A Dearlycon.c64 static int __init parse_options(struct earlycon_device *device, char *options) parse_options() argument
70 if (uart_parse_earlycon(options, &port->iotype, &addr, &options)) parse_options()
86 if (options) { parse_options()
87 device->baud = simple_strtoul(options, NULL, 0); parse_options()
88 length = min(strcspn(options, " ") + 1, parse_options()
89 (size_t)(sizeof(device->options))); parse_options()
90 strlcpy(device->options, options, length); parse_options()
94 pr_info("Early serial console at MMIO%s 0x%llx (options '%s')\n", parse_options()
97 device->options); parse_options()
99 pr_info("Early serial console at I/O port 0x%lx (options '%s')\n", parse_options()
101 device->options); parse_options()
111 /* On parsing error, pass the options buf to the setup function */ register_earlycon()
136 * <name>,io|mmio|mmio32,<addr>,<options>
137 * <name>,0x<addr>,<options>
138 * <name>,<options>
142 * <options> string in the 'options' parameter; all other forms set
/linux-4.1.27/drivers/crypto/caam/
H A Ddesc_constr.h53 static inline void init_desc(u32 *desc, u32 options) init_desc() argument
55 *desc = (options | HDR_ONE) + 1; init_desc()
58 static inline void init_sh_desc(u32 *desc, u32 options) init_sh_desc() argument
61 init_desc(desc, CMD_SHARED_DESC_HDR | options); init_sh_desc()
64 static inline void init_sh_desc_pdb(u32 *desc, u32 options, size_t pdb_bytes) init_sh_desc_pdb() argument
69 options); init_sh_desc_pdb()
72 static inline void init_job_desc(u32 *desc, u32 options) init_job_desc() argument
74 init_desc(desc, CMD_DESC_HDR | options); init_job_desc()
87 u32 options) init_job_desc_shared()
90 init_job_desc(desc, HDR_SHARED | options | init_job_desc_shared()
159 static inline u32 *append_##cmd(u32 *desc, u32 options) \
163 append_cmd(desc, CMD_##op | options); \
182 static inline void append_##cmd(u32 *desc, u32 options) \
185 append_cmd(desc, CMD_##op | options); \
190 static inline void append_##cmd(u32 *desc, unsigned int len, u32 options) \
193 append_cmd(desc, CMD_##op | len | options); \
203 u32 options) \
206 append_cmd_ptr(desc, ptr, len, CMD_##op | options); \
214 u32 options) append_store()
218 cmd_src = options & LDST_SRCDST_MASK; append_store()
220 append_cmd(desc, CMD_STORE | options | len); append_store()
222 /* The following options do not require pointer */ append_store()
233 u32 options) \
236 if (options & (SQIN_RTO | SQIN_PRE)) \
237 append_cmd(desc, CMD_SEQ_##op##_PTR | len | options); \
239 append_cmd_ptr(desc, ptr, len, CMD_SEQ_##op##_PTR | options); \
246 unsigned int len, u32 options) \
249 append_cmd_data(desc, data, len, CMD_##op | options); \
256 unsigned int len, u32 options) \
259 append_cmd_ptr_extlen(desc, ptr, len, CMD_##op | SQIN_EXT | options); \
270 type len, u32 options) \
274 append_##cmd##_extlen(desc, ptr, len, options); \
276 append_##cmd##_intlen(desc, ptr, len, options); \
288 unsigned int len, u32 options) \
291 append_cmd(desc, CMD_##op | IMMEDIATE | len | options); \
298 u32 options) \
301 append_cmd(desc, CMD_##op | IMMEDIATE | options | sizeof(type)); \
86 init_job_desc_shared(u32 *desc, dma_addr_t ptr, int len, u32 options) init_job_desc_shared() argument
213 append_store(u32 *desc, dma_addr_t ptr, unsigned int len, u32 options) append_store() argument
H A Dpdb.h85 u8 options; member in struct:ipsec_encap_pdb
124 u8 options; member in struct:ipsec_decap_pdb
157 u8 options; member in struct:wifi_encap_pdb
175 u8 options; member in struct:wifi_decap_pdb
196 u8 options; member in struct:wimax_encap_pdb
208 u8 options; member in struct:wimax_decap_pdb
230 u8 options; member in struct:macsec_encap_pdb
243 u8 options; member in struct:macsec_decap_pdb
266 u8 options; member in struct:tls_block_encap_pdb
274 u8 options; member in struct:tls_stream_encap_pdb
284 u8 options; member in struct:dtls_block_encap_pdb
292 u8 options; member in struct:tls_block_decap_pdb
299 u8 options; member in struct:tls_stream_decap_pdb
308 u8 options; member in struct:dtls_block_decap_pdb
325 u8 options; member in struct:srtp_encap_pdb
340 u8 options; member in struct:srtp_decap_pdb
/linux-4.1.27/arch/mips/include/asm/
H A Dcpu-features.h21 #define cpu_has_tlb (cpu_data[0].options & MIPS_CPU_TLB)
24 #define cpu_has_tlbinv (cpu_data[0].options & MIPS_CPU_TLBINV)
27 #define cpu_has_segments (cpu_data[0].options & MIPS_CPU_SEGMENTS)
30 #define cpu_has_eva (cpu_data[0].options & MIPS_CPU_EVA)
33 #define cpu_has_htw (cpu_data[0].options & MIPS_CPU_HTW)
36 #define cpu_has_rixiex (cpu_data[0].options & MIPS_CPU_RIXIEX)
39 #define cpu_has_maar (cpu_data[0].options & MIPS_CPU_MAAR)
42 #define cpu_has_rw_llb (cpu_data[0].options & MIPS_CPU_RW_LLB)
55 #define cpu_has_4kex (cpu_data[0].options & MIPS_CPU_4KEX)
58 #define cpu_has_3k_cache (cpu_data[0].options & MIPS_CPU_3K_CACHE)
63 #define cpu_has_4k_cache (cpu_data[0].options & MIPS_CPU_4K_CACHE)
66 #define cpu_has_tx39_cache (cpu_data[0].options & MIPS_CPU_TX39_CACHE)
73 #define cpu_has_fpu (current_cpu_data.options & MIPS_CPU_FPU)
74 #define raw_cpu_has_fpu (raw_current_cpu_data.options & MIPS_CPU_FPU)
79 #define cpu_has_32fpr (cpu_data[0].options & MIPS_CPU_32FPR)
82 #define cpu_has_counter (cpu_data[0].options & MIPS_CPU_COUNTER)
85 #define cpu_has_watch (cpu_data[0].options & MIPS_CPU_WATCH)
88 #define cpu_has_divec (cpu_data[0].options & MIPS_CPU_DIVEC)
91 #define cpu_has_vce (cpu_data[0].options & MIPS_CPU_VCE)
94 #define cpu_has_cache_cdex_p (cpu_data[0].options & MIPS_CPU_CACHE_CDEX_P)
97 #define cpu_has_cache_cdex_s (cpu_data[0].options & MIPS_CPU_CACHE_CDEX_S)
100 #define cpu_has_prefetch (cpu_data[0].options & MIPS_CPU_PREFETCH)
103 #define cpu_has_mcheck (cpu_data[0].options & MIPS_CPU_MCHECK)
106 #define cpu_has_ejtag (cpu_data[0].options & MIPS_CPU_EJTAG)
109 #define cpu_has_llsc (cpu_data[0].options & MIPS_CPU_LLSC)
129 # define cpu_has_rixi (cpu_data[0].options & MIPS_CPU_RIXI)
131 # define cpu_has_rixi ((cpu_data[0].options & MIPS_CPU_RIXI) && !cpu_has_64bits)
137 # define cpu_has_mmips (cpu_data[0].options & MIPS_CPU_MICROMIPS)
144 #define cpu_has_xpa (cpu_data[0].options & MIPS_CPU_XPA)
313 #define cpu_has_userlocal (cpu_data[0].options & MIPS_CPU_ULRI)
318 # define cpu_has_nofpuex (cpu_data[0].options & MIPS_CPU_NOFPUEX)
360 # define cpu_has_vint (cpu_data[0].options & MIPS_CPU_VINT)
366 # define cpu_has_veic (cpu_data[0].options & MIPS_CPU_VEIC)
372 #define cpu_has_inclusive_pcaches (cpu_data[0].options & MIPS_CPU_INCLUSIVE_CACHES)
390 #define cpu_has_perf_cntr_intr_bit (cpu_data[0].options & MIPS_CPU_PCI)
404 # define cpu_has_fre (cpu_data[0].options & MIPS_CPU_FRE)
408 # define cpu_has_cdmm (cpu_data[0].options & MIPS_CPU_CDMM)
/linux-4.1.27/tools/perf/
H A Dbuiltin-evlist.c15 #include "util/parse-options.h"
44 const struct option options[] = { cmd_evlist() local
55 "perf evlist [<options>]", cmd_evlist()
59 argc = parse_options(argc, argv, options, evlist_usage, 0); cmd_evlist()
61 usage_with_options(evlist_usage, options); cmd_evlist()
64 pr_err("--group option is not compatible with other options\n"); cmd_evlist()
65 usage_with_options(evlist_usage, options); cmd_evlist()
H A Dbuiltin-data.c5 #include "parse-options.h"
28 "perf data [<common options>] <command> [<options>]",
48 "perf data convert [<options>]",
57 const struct option options[] = { cmd_data_convert() local
72 argc = parse_options(argc, argv, options, cmd_data_convert()
75 usage_with_options(data_convert_usage, options); cmd_data_convert()
H A Dbuiltin-buildid-list.c15 #include "util/parse-options.h"
91 const struct option options[] = { cmd_buildid_list() local
100 "perf buildid-list [<options>]", cmd_buildid_list()
104 argc = parse_options(argc, argv, options, buildid_list_usage, 0); cmd_buildid_list()
H A Dbuiltin-probe.c41 #include "util/parse-options.h"
102 * The first argument after options can be an absolute path set_target()
230 pr_warning("Warning: more than one --line options are" opt_show_lines()
316 "perf probe [<options>] 'PROBEDEF' ['PROBEDEF' ...]", __cmd_probe()
317 "perf probe [<options>] --add 'PROBEDEF' [--add 'PROBEDEF' ...]", __cmd_probe()
318 "perf probe [<options>] --del '[GROUP:]EVENT' ...", __cmd_probe()
321 "perf probe [<options>] --line 'LINEDESC'", __cmd_probe()
322 "perf probe [<options>] --vars 'PROBEPOINT'", __cmd_probe()
326 struct option options[] = { __cmd_probe() local
398 set_option_flag(options, 'a', "add", PARSE_OPT_EXCLUSIVE); __cmd_probe()
399 set_option_flag(options, 'd', "del", PARSE_OPT_EXCLUSIVE); __cmd_probe()
400 set_option_flag(options, 'l', "list", PARSE_OPT_EXCLUSIVE); __cmd_probe()
402 set_option_flag(options, 'L', "line", PARSE_OPT_EXCLUSIVE); __cmd_probe()
403 set_option_flag(options, 'V', "vars", PARSE_OPT_EXCLUSIVE); __cmd_probe()
406 argc = parse_options(argc, argv, options, probe_usage, __cmd_probe()
411 usage_with_options(probe_usage, options); __cmd_probe()
433 usage_with_options(probe_usage, options); __cmd_probe()
443 usage_with_options(probe_usage, options); __cmd_probe()
501 usage_with_options(probe_usage, options); __cmd_probe()
H A Dbuiltin-annotate.c24 #include "util/parse-options.h"
267 "perf annotate [<options>]",
289 const struct option options[] = { cmd_annotate() local
334 argc = parse_options(argc, argv, options, annotate_usage, 0); cmd_annotate()
357 usage_with_options(annotate_usage, options); cmd_annotate()
365 usage_with_options(annotate_usage, options); cmd_annotate()
/linux-4.1.27/arch/x86/boot/
H A Dearly_serial_console.c114 char optstr[64], *options; parse_console_uart8250() local
125 options = optstr; parse_console_uart8250()
127 if (!strncmp(options, "uart8250,io,", 12)) parse_console_uart8250()
128 port = simple_strtoull(options + 12, &options, 0); parse_console_uart8250()
129 else if (!strncmp(options, "uart,io,", 8)) parse_console_uart8250()
130 port = simple_strtoull(options + 8, &options, 0); parse_console_uart8250()
134 if (options && (options[0] == ',')) parse_console_uart8250()
135 baud = simple_strtoull(options + 1, &options, 0); parse_console_uart8250()
/linux-4.1.27/drivers/scsi/
H A Dg_NCR5380_mmio.c4 * different options for mmio versus pio.
H A Deata_pio.h24 * Debug options. *
25 * Enable DEBUG and whichever options you require. *
/linux-4.1.27/fs/hfsplus/
H A DMakefile7 hfsplus-objs := super.o options.o inode.o ioctl.o extents.o catalog.o dir.o btree.o \
H A Doptions.c2 * linux/fs/hfsplus/options.c
47 /* Initialize an options object to reasonable defaults */ hfsplus_fill_defaults()
97 /* Parse options from mount. Returns 0 on failure */
98 /* input is the options passed to mount() as a string */ hfsplus_parse_options()
/linux-4.1.27/include/linux/mtd/
H A Dnand-gpio.h15 unsigned int options; member in struct:gpio_nand_platdata
H A Donenand.h49 * @options: [BOARDSPECIFIC] various chip options. They can
97 unsigned int options; member in struct:onenand_chip
179 (this->options & ONENAND_HAS_2PLANE)
185 (this->options & ONENAND_HAS_CACHE_PROGRAM)
188 (this->options & ONENAND_HAS_NOP_1)
208 (this->options & ONENAND_HAS_4KB_PAGE)
H A Dbbm.h36 * @options: options for this descriptor
58 int options; member in struct:nand_bbt_descr
146 * @options: options for this descriptor
156 int options; member in struct:bbm_info
H A Dfsmc.h144 * @options: different options for the driver
155 unsigned int options; member in struct:fsmc_nand_platform_data
/linux-4.1.27/kernel/printk/
H A Dconsole_cmdline.h8 char *options; /* Options for the driver */ member in struct:console_cmdline
H A Dbraille.c35 rtn = braille_register_console(console, c->index, c->options, _braille_register_console()
/linux-4.1.27/include/uapi/linux/netfilter_ipv4/
H A Dipt_LOG.h8 #define IPT_LOG_TCPOPT 0x02 /* Log TCP options */
9 #define IPT_LOG_IPOPT 0x04 /* Log IP options */
/linux-4.1.27/include/uapi/linux/netfilter_ipv6/
H A Dip6t_LOG.h8 #define IP6T_LOG_TCPOPT 0x02 /* Log TCP options */
9 #define IP6T_LOG_IPOPT 0x04 /* Log IP options */
/linux-4.1.27/include/linux/netfilter/
H A Dnf_conntrack_h323_types.h9 int options; /* No use */ member in struct:TransportAddress_ipAddress
14 int options; /* No use */ member in struct:TransportAddress_ip6Address
76 int options; /* No use */ member in struct:DataApplicationCapability
98 int options; /* No use */ member in struct:UnicastAddress_iPAddress
103 int options; /* No use */ member in struct:UnicastAddress_iP6Address
154 } options; member in struct:H2250LogicalChannelParameters
180 } options; member in struct:OpenLogicalChannel_forwardLogicalChannelParameters
205 } options; member in struct:OpenLogicalChannel_reverseLogicalChannelParameters
226 } options; member in struct:NetworkAccessParameters
236 } options; member in struct:OpenLogicalChannel
283 } options; member in struct:Setup_UUIE
307 } options; member in struct:CallProceeding_UUIE
335 } options; member in struct:Connect_UUIE
362 } options; member in struct:Alerting_UUIE
409 } options; member in struct:Facility_UUIE
431 } options; member in struct:Progress_UUIE
503 } options; member in struct:OpenLogicalChannelAck_reverseLogicalChannelParameters
520 } options; member in struct:H2250LogicalChannelAckParameters
543 } options; member in struct:OpenLogicalChannelAck
613 } options; member in struct:H323_UU_PDU
621 } options; member in struct:H323_UserInformation
641 } options; member in struct:GatekeeperRequest
658 } options; member in struct:GatekeeperConfirm
698 } options; member in struct:RegistrationRequest
731 } options; member in struct:RegistrationConfirm
756 } options; member in struct:UnregistrationRequest
787 } options; member in struct:AdmissionRequest
817 } options; member in struct:AdmissionConfirm
837 } options; member in struct:LocationRequest
859 } options; member in struct:LocationConfirm
882 } options; member in struct:InfoRequestResponse
H A Dnf_conntrack_tcp.h13 u_int8_t flags; /* per direction options */
/linux-4.1.27/drivers/s390/net/
H A Dqeth_l2_sys.c29 card->options.sbp.supported_funcs) qeth_bridge_port_role_state_show()
31 &card->options.sbp.role, &state); qeth_bridge_port_role_state_show()
45 switch (card->options.sbp.role) { qeth_bridge_port_role_state_show()
57 card->options.sbp.role, state); qeth_bridge_port_role_state_show()
96 card->options.sbp.role = role; qeth_bridge_port_role_store()
98 card->options.sbp.role = role; qeth_bridge_port_role_store()
128 enabled = card->options.sbp.hostnotification; qeth_bridgeport_hostnotification_show()
157 card->options.sbp.hostnotification = enable; qeth_bridgeport_hostnotification_store()
159 card->options.sbp.hostnotification = enable; qeth_bridgeport_hostnotification_store()
203 if (!card->options.sbp.supported_funcs) qeth_l2_setup_bridgeport_attrs()
205 if (card->options.sbp.role != QETH_SBP_ROLE_NONE) { qeth_l2_setup_bridgeport_attrs()
207 qeth_bridgeport_setrole(card, card->options.sbp.role); qeth_l2_setup_bridgeport_attrs()
210 &card->options.sbp.role, NULL); qeth_l2_setup_bridgeport_attrs()
212 if (card->options.sbp.hostnotification) { qeth_l2_setup_bridgeport_attrs()
215 card->options.sbp.hostnotification = 0; qeth_l2_setup_bridgeport_attrs()
H A Dqeth_l3_sys.c52 return qeth_l3_dev_route_show(card, &card->options.route4, buf); qeth_l3_dev_route4_show()
101 return qeth_l3_dev_route_store(card, &card->options.route4, qeth_l3_dev_route4_store()
116 return qeth_l3_dev_route_show(card, &card->options.route6, buf); qeth_l3_dev_route6_show()
127 return qeth_l3_dev_route_store(card, &card->options.route6, qeth_l3_dev_route6_store()
142 return sprintf(buf, "%i\n", card->options.fake_broadcast? 1:0); qeth_l3_dev_fake_broadcast_show()
164 card->options.fake_broadcast = i; qeth_l3_dev_fake_broadcast_store()
183 return sprintf(buf, "%i\n", card->options.sniffer ? 1 : 0); qeth_l3_dev_sniffer_show()
198 if (card->options.cq == QETH_CQ_ENABLED) qeth_l3_dev_sniffer_store()
215 card->options.sniffer = i; qeth_l3_dev_sniffer_store()
220 card->options.sniffer = i; qeth_l3_dev_sniffer_store()
255 memcpy(tmp_hsuid, card->options.hsuid, sizeof(tmp_hsuid)); qeth_l3_dev_hsuid_show()
276 if (card->options.sniffer) qeth_l3_dev_hsuid_store()
278 if (card->options.cq == QETH_CQ_NOTAVAILABLE) qeth_l3_dev_hsuid_store()
285 if (card->options.hsuid[0]) { qeth_l3_dev_hsuid_store()
293 card->options.hsuid[i - 8]; qeth_l3_dev_hsuid_store()
305 card->options.hsuid[0] = '\0'; qeth_l3_dev_hsuid_store()
307 memcpy(card->dev->perm_addr, card->options.hsuid, 9); qeth_l3_dev_hsuid_store()
315 snprintf(card->options.hsuid, sizeof(card->options.hsuid), qeth_l3_dev_hsuid_store()
317 ASCEBC(card->options.hsuid, 8); qeth_l3_dev_hsuid_store()
319 memcpy(card->dev->perm_addr, card->options.hsuid, 9); qeth_l3_dev_hsuid_store()
326 addr->u.a6.addr.s6_addr[i] = card->options.hsuid[i - 8]; qeth_l3_dev_hsuid_store()
H A Dqeth_core_main.c335 if (card->options.cq == QETH_CQ_ENABLED) { qeth_cq_init()
357 if (card->options.cq == QETH_CQ_ENABLED) { qeth_alloc_cq()
436 if (q->card->options.cq != QETH_CQ_ENABLED) qeth_cleanup_handled_pending()
514 return card->options.cq == QETH_CQ_ENABLED && qeth_is_cq()
1395 card->options.route4.type = NO_ROUTER; qeth_set_intial_options()
1396 card->options.route6.type = NO_ROUTER; qeth_set_intial_options()
1397 card->options.fake_broadcast = 0; qeth_set_intial_options()
1398 card->options.add_hhlen = DEFAULT_ADD_HHLEN; qeth_set_intial_options()
1399 card->options.performance_stats = 0; qeth_set_intial_options()
1400 card->options.rx_sg_cb = QETH_RX_SG_CB; qeth_set_intial_options()
1401 card->options.isolation = ISOLATION_MODE_NONE; qeth_set_intial_options()
1402 card->options.cq = QETH_CQ_DISABLED; qeth_set_intial_options()
1470 /* initial options */ qeth_setup_card()
1511 card->options.layer2 = -1; qeth_alloc_card()
2239 return card->options.layer2 ? 1500 : 1492; qeth_get_initial_mtu_for_card()
2243 return card->options.layer2 ? 1500 : 1492; qeth_get_initial_mtu_for_card()
2349 if (card->options.layer2) qeth_ulp_enable()
2816 if (card->options.performance_stats) qeth_find_free_buffer_pool_entry()
2831 if ((card->options.cq == QETH_CQ_ENABLED) && (!buf->rx_skb)) { qeth_init_input_buffer()
2931 if (card->options.layer2) qeth_fill_ipacmd_header()
2988 if (card->options.layer2) qeth_send_ipa_cmd()
3048 card->options.adp.supported_funcs = qeth_query_setadapterparms_cb()
3100 card->options.ipa4.supported_funcs |= IPA_SETADAPTERPARMS; qeth_query_ipassists_cb()
3101 card->options.ipa6.supported_funcs |= IPA_SETADAPTERPARMS; qeth_query_ipassists_cb()
3114 card->options.ipa4.supported_funcs = cmd->hdr.ipa_supported; qeth_query_ipassists_cb()
3115 card->options.ipa4.enabled_funcs = cmd->hdr.ipa_enabled; qeth_query_ipassists_cb()
3117 card->options.ipa6.supported_funcs = cmd->hdr.ipa_supported; qeth_query_ipassists_cb()
3118 card->options.ipa6.enabled_funcs = cmd->hdr.ipa_enabled; qeth_query_ipassists_cb()
3264 cmd->data.diagass.options = 0x0003; qeth_hw_trap()
3271 cmd->data.diagass.options = 0x0001; qeth_hw_trap()
3365 if (card->options.performance_stats) { qeth_queue_input_buffer()
3372 if (card->options.performance_stats) qeth_queue_input_buffer()
3423 if (queue->card->options.performance_stats) qeth_switch_to_packing_if_needed()
3446 if (queue->card->options.performance_stats) qeth_switch_to_nonpacking_if_needed()
3535 if (queue->card->options.performance_stats) { qeth_flush_buffers()
3545 if (queue->card->options.performance_stats) qeth_flush_buffers()
3566 if (queue->card->options.performance_stats) qeth_flush_buffers()
3599 if (queue->card->options.performance_stats && qeth_check_outbound_queue()
3624 if (card->options.cq == QETH_CQ_NOTAVAILABLE) { qeth_configure_cq()
3628 if (card->options.cq == cq) { qeth_configure_cq()
3640 card->options.cq = cq; qeth_configure_cq()
3670 if (card->options.performance_stats) { qeth_qdio_cq_handler()
3710 if (card->options.performance_stats) { qeth_qdio_cq_handler()
3753 if (card->options.performance_stats) { qeth_qdio_output_handler()
3766 WARN_ON_ONCE(card->options.cq != QETH_CQ_ENABLED); qeth_qdio_output_handler()
3785 if (card->options.cq == QETH_CQ_ENABLED) { qeth_qdio_output_handler()
3804 if (card->options.performance_stats) qeth_qdio_output_handler()
4048 if (queue->card->options.performance_stats) qeth_fill_buffer()
4174 if (queue->card->options.performance_stats && do_pack) qeth_do_send_packet()
4273 if (!card->options.layer2 || qeth_setadpparms_change_macaddr_cb()
4331 if (card->options.isolation == ISOLATION_MODE_NONE) { qeth_setadpparms_set_access_ctrl_cb()
4343 card->options.isolation = card->options.prev_isolation; qeth_setadpparms_set_access_ctrl_cb()
4349 card->options.isolation = card->options.prev_isolation; qeth_setadpparms_set_access_ctrl_cb()
4360 card->options.isolation = card->options.prev_isolation; qeth_setadpparms_set_access_ctrl_cb()
4366 card->options.isolation = card->options.prev_isolation; qeth_setadpparms_set_access_ctrl_cb()
4372 card->options.isolation = card->options.prev_isolation; qeth_setadpparms_set_access_ctrl_cb()
4378 card->options.isolation = card->options.prev_isolation; qeth_setadpparms_set_access_ctrl_cb()
4387 card->options.isolation = card->options.prev_isolation; qeth_setadpparms_set_access_ctrl_cb()
4432 card->options.isolation, fallback); qeth_set_access_ctrl_online()
4440 } else if (card->options.isolation != ISOLATION_MODE_NONE) { qeth_set_access_ctrl_online()
4441 card->options.isolation = ISOLATION_MODE_NONE; qeth_set_access_ctrl_online()
4630 (!card->options.layer2)) { qeth_snmp_command()
4871 card->options.cq = QETH_CQ_NOTAVAILABLE; qeth_determine_capabilities()
4887 if (card->options.cq == QETH_CQ_ENABLED) { qeth_qdio_establish_cq()
4989 switch (card->options.cq) { qeth_qdio_establish()
5029 QETH_CARD_TEXT_(card, 2, "%x", card->options.ipa4.supported_funcs); qeth_trace_features()
5030 QETH_CARD_TEXT_(card, 2, "%x", card->options.ipa4.enabled_funcs); qeth_trace_features()
5031 QETH_CARD_TEXT_(card, 2, "%x", card->options.ipa6.supported_funcs); qeth_trace_features()
5032 QETH_CARD_TEXT_(card, 2, "%x", card->options.ipa6.enabled_funcs); qeth_trace_features()
5033 QETH_CARD_TEXT_(card, 2, "%x", card->options.adp.supported_funcs); qeth_trace_features()
5034 QETH_CARD_TEXT_(card, 2, "%x", card->options.adp.enabled_funcs); qeth_trace_features()
5133 card->options.ipa4.supported_funcs = 0; qeth_core_hardsetup_card()
5134 card->options.adp.supported_funcs = 0; qeth_core_hardsetup_card()
5135 card->options.sbp.supported_funcs = 0; qeth_core_hardsetup_card()
5171 /* only if qeth_card.options.cq == QETH_CQ_ENABLED */ qeth_create_skb_frag()
5261 if (((skb_len >= card->options.rx_sg_cb) && qeth_core_get_next_skb()
5264 (card->options.cq == QETH_CQ_ENABLED)) { qeth_core_get_next_skb()
5305 if (use_rx_sg && card->options.performance_stats) { qeth_core_get_next_skb()
5398 if (card->options.layer2) qeth_core_free_discipline()
5829 strlcpy(info->driver, card->options.layer2 ? "qeth_l2" : "qeth_l3", qeth_core_get_drvinfo()
/linux-4.1.27/net/netfilter/
H A Dnf_synproxy_core.c38 opts->options = 0; synproxy_parse_options()
60 opts->options |= XT_SYNPROXY_OPT_MSS; synproxy_parse_options()
68 opts->options |= XT_SYNPROXY_OPT_WSCALE; synproxy_parse_options()
75 opts->options |= XT_SYNPROXY_OPT_TIMESTAMP; synproxy_parse_options()
80 opts->options |= XT_SYNPROXY_OPT_SACK_PERM; synproxy_parse_options()
96 if (opts->options & XT_SYNPROXY_OPT_MSS) synproxy_options_size()
98 if (opts->options & XT_SYNPROXY_OPT_TIMESTAMP) synproxy_options_size()
100 else if (opts->options & XT_SYNPROXY_OPT_SACK_PERM) synproxy_options_size()
102 if (opts->options & XT_SYNPROXY_OPT_WSCALE) synproxy_options_size()
113 u8 options = opts->options; synproxy_build_options() local
115 if (options & XT_SYNPROXY_OPT_MSS) synproxy_build_options()
120 if (options & XT_SYNPROXY_OPT_TIMESTAMP) { synproxy_build_options()
121 if (options & XT_SYNPROXY_OPT_SACK_PERM) synproxy_build_options()
134 } else if (options & XT_SYNPROXY_OPT_SACK_PERM) synproxy_build_options()
140 if (options & XT_SYNPROXY_OPT_WSCALE) synproxy_build_options()
154 if (opts->options & XT_SYNPROXY_OPT_WSCALE) { synproxy_init_timestamp_cookie()
160 if (opts->options & XT_SYNPROXY_OPT_SACK_PERM) synproxy_init_timestamp_cookie()
163 if (opts->options & XT_SYNPROXY_OPT_ECN) synproxy_init_timestamp_cookie()
172 opts->options |= XT_SYNPROXY_OPT_WSCALE; synproxy_check_timestamp_cookie()
174 opts->options |= opts->tsecr & (1 << 4) ? XT_SYNPROXY_OPT_SACK_PERM : 0; synproxy_check_timestamp_cookie()
176 opts->options |= opts->tsecr & (1 << 5) ? XT_SYNPROXY_OPT_ECN : 0; synproxy_check_timestamp_cookie()
H A Dxt_connlabel.c27 bool invert = info->options & XT_CONNLABEL_OP_INVERT; connlabel_mt()
33 if (info->options & XT_CONNLABEL_OP_SET) connlabel_mt()
41 const int options = XT_CONNLABEL_OP_INVERT | connlabel_mt_check() local
50 if (info->options & ~options) { connlabel_mt_check()
51 pr_err("Unknown options in mask %x\n", info->options); connlabel_mt_check()
H A Dnf_conntrack_h323_main.c393 if (channel->options & eH2250LogicalChannelParameters_mediaChannel) { process_h245_channel()
402 options & eH2250LogicalChannelParameters_mediaControlChannel) { process_h245_channel()
437 if ((olc->options & process_olc()
439 (olc->reverseLogicalChannelParameters.options & process_olc()
456 if ((olc->options & eOpenLogicalChannel_separateStack) && process_olc()
486 if ((olca->options & process_olca()
488 (olca->reverseLogicalChannelParameters.options & process_olca()
504 if ((olca->options & process_olca()
511 if (ack->options & process_olca()
521 if (ack->options & process_olca()
532 if ((olca->options & eOpenLogicalChannelAck_separateStack) && process_olca()
874 if (setup->options & eSetup_UUIE_h245Address) { process_setup()
882 if ((setup->options & eSetup_UUIE_destCallSignalAddress) && process_setup()
899 if ((setup->options & eSetup_UUIE_sourceCallSignalAddress) && process_setup()
916 if (setup->options & eSetup_UUIE_fastStart) { process_setup()
942 if (callproc->options & eCallProceeding_UUIE_h245Address) { process_callproceeding()
949 if (callproc->options & eCallProceeding_UUIE_fastStart) { process_callproceeding()
974 if (connect->options & eConnect_UUIE_h245Address) { process_connect()
981 if (connect->options & eConnect_UUIE_fastStart) { process_connect()
1006 if (alert->options & eAlerting_UUIE_h245Address) { process_alerting()
1013 if (alert->options & eAlerting_UUIE_fastStart) { process_alerting()
1039 if (facility->options & eFacility_UUIE_alternativeAddress) process_facility()
1047 if (facility->options & eFacility_UUIE_h245Address) { process_facility()
1054 if (facility->options & eFacility_UUIE_fastStart) { process_facility()
1079 if (progress->options & eProgress_UUIE_h245Address) { process_progress()
1086 if (progress->options & eProgress_UUIE_fastStart) { process_progress()
1145 if (pdu->options & eH323_UU_PDU_h245Control) { process_q931()
1437 if (rrq->options & eRegistrationRequest_timeToLive) { process_rrq()
1470 if (rcf->options & eRegistrationConfirm_timeToLive) { process_rcf()
1546 if ((arq->options & eAdmissionRequest_destCallSignalAddress) && process_arq()
1560 if ((arq->options & eAdmissionRequest_srcCallSignalAddress) && process_arq()
/linux-4.1.27/drivers/media/usb/hdpvr/
H A Dhdpvr-control.c112 dev->usbc_buf[0] = dev->options.bitrate; hdpvr_set_bitrate()
113 dev->usbc_buf[2] = dev->options.peak_bitrate; hdpvr_set_bitrate()
161 hdpvr_config_call(dev, CTRL_VIDEO_STD_TYPE, dev->options.video_std); hdpvr_set_options()
164 dev->options.video_input+1); hdpvr_set_options()
166 hdpvr_set_audio(dev, dev->options.audio_input+1, hdpvr_set_options()
167 dev->options.audio_codec); hdpvr_set_options()
171 dev->options.bitrate_mode); hdpvr_set_options()
172 hdpvr_config_call(dev, CTRL_GOP_MODE_VALUE, dev->options.gop_mode); hdpvr_set_options()
174 hdpvr_config_call(dev, CTRL_BRIGHTNESS, dev->options.brightness); hdpvr_set_options()
175 hdpvr_config_call(dev, CTRL_CONTRAST, dev->options.contrast); hdpvr_set_options()
176 hdpvr_config_call(dev, CTRL_HUE, dev->options.hue); hdpvr_set_options()
177 hdpvr_config_call(dev, CTRL_SATURATION, dev->options.saturation); hdpvr_set_options()
178 hdpvr_config_call(dev, CTRL_SHARPNESS, dev->options.sharpness); hdpvr_set_options()
H A Dhdpvr-core.c150 dev->options.brightness = 0x80; device_authorization()
151 dev->options.contrast = 0x40; device_authorization()
152 dev->options.hue = 0xf; device_authorization()
153 dev->options.saturation = 0x40; device_authorization()
154 dev->options.sharpness = 0x80; device_authorization()
211 /* default options for init */ hdpvr_device_init()
214 /* set filter options */ hdpvr_device_init()
315 dev->options = hdpvr_default_options; hdpvr_probe()
318 dev->options.video_input = default_video_input; hdpvr_probe()
321 dev->options.audio_input = default_audio_input; hdpvr_probe()
323 dev->options.audio_codec = hdpvr_probe()
H A Dhdpvr-video.c295 "no video signal at input %d\n", dev->options.video_input); hdpvr_start_streaming()
588 if (!fh->legacy_mode && dev->options.video_input == HDPVR_COMPONENT) vidioc_s_std()
607 if (!fh->legacy_mode && dev->options.video_input == HDPVR_COMPONENT) vidioc_g_std()
621 if (dev->options.video_input == HDPVR_COMPONENT) vidioc_querystd()
640 if (dev->options.video_input) vidioc_s_dv_timings()
662 if (dev->options.video_input) vidioc_g_dv_timings()
679 if (dev->options.video_input) vidioc_query_dv_timings()
718 if (dev->options.video_input) vidioc_enum_dv_timings()
733 if (dev->options.video_input) vidioc_dv_timings_cap()
788 dev->options.video_input = index; vidioc_s_input()
813 *index = dev->options.video_input; vidioc_g_input()
853 retval = hdpvr_set_audio(dev, audio->index+1, dev->options.audio_codec); vidioc_s_audio()
855 dev->options.audio_input = audio->index; vidioc_s_audio()
865 audio->index = dev->options.audio_input; vidioc_g_audio()
892 struct hdpvr_options *opt = &dev->options; hdpvr_s_ctrl()
900 dev->options.brightness = ctrl->val; hdpvr_s_ctrl()
906 dev->options.contrast = ctrl->val; hdpvr_s_ctrl()
912 dev->options.saturation = ctrl->val; hdpvr_s_ctrl()
918 dev->options.hue = ctrl->val; hdpvr_s_ctrl()
924 dev->options.sharpness = ctrl->val; hdpvr_s_ctrl()
1200 0x7, ac3 ? dev->options.audio_codec : V4L2_MPEG_AUDIO_ENCODING_AAC); hdpvr_register_videodev()
/linux-4.1.27/drivers/pcmcia/
H A Dvrc4171_card.c635 static int vrc4171_card_setup(char *options) vrc4171_card_setup() argument
637 if (options == NULL || *options == '\0') vrc4171_card_setup()
640 if (strncmp(options, "irq:", 4) == 0) { vrc4171_card_setup()
642 options += 4; vrc4171_card_setup()
643 irq = simple_strtoul(options, &options, 0); vrc4171_card_setup()
647 if (*options != ',') vrc4171_card_setup()
649 options++; vrc4171_card_setup()
652 if (strncmp(options, "slota:", 6) == 0) { vrc4171_card_setup()
653 options += 6; vrc4171_card_setup()
654 if (*options != '\0') { vrc4171_card_setup()
655 if (strncmp(options, "memnoprobe", 10) == 0) { vrc4171_card_setup()
657 options += 10; vrc4171_card_setup()
658 } else if (strncmp(options, "ionoprobe", 9) == 0) { vrc4171_card_setup()
660 options += 9; vrc4171_card_setup()
661 } else if ( strncmp(options, "noprobe", 7) == 0) { vrc4171_card_setup()
663 options += 7; vrc4171_card_setup()
666 if (*options != ',') vrc4171_card_setup()
668 options++; vrc4171_card_setup()
674 if (strncmp(options, "slotb:", 6) == 0) { vrc4171_card_setup()
675 options += 6; vrc4171_card_setup()
676 if (*options != '\0') { vrc4171_card_setup()
677 if (strncmp(options, "pccard", 6) == 0) { vrc4171_card_setup()
679 options += 6; vrc4171_card_setup()
680 } else if (strncmp(options, "cf", 2) == 0) { vrc4171_card_setup()
682 options += 2; vrc4171_card_setup()
683 } else if (strncmp(options, "flashrom", 8) == 0) { vrc4171_card_setup()
685 options += 8; vrc4171_card_setup()
686 } else if (strncmp(options, "none", 4) == 0) { vrc4171_card_setup()
688 options += 4; vrc4171_card_setup()
691 if (*options != ',') vrc4171_card_setup()
693 options++; vrc4171_card_setup()
695 if (strncmp(options, "memnoprobe", 10) == 0) vrc4171_card_setup()
697 if (strncmp(options, "ionoprobe", 9) == 0) vrc4171_card_setup()
699 if (strncmp(options, "noprobe", 7) == 0) vrc4171_card_setup()
H A Dvrc4173_cardu.c536 static int vrc4173_cardu_setup(char *options) vrc4173_cardu_setup() argument
538 if (options == NULL || *options == '\0') vrc4173_cardu_setup()
541 if (strncmp(options, "cardu1:", 7) == 0) { vrc4173_cardu_setup()
542 options += 7; vrc4173_cardu_setup()
543 if (*options != '\0') { vrc4173_cardu_setup()
544 if (strncmp(options, "noprobe", 7) == 0) { vrc4173_cardu_setup()
546 options += 7; vrc4173_cardu_setup()
549 if (*options != ',') vrc4173_cardu_setup()
555 if (strncmp(options, "cardu2:", 7) == 0) { vrc4173_cardu_setup()
556 options += 7; vrc4173_cardu_setup()
557 if ((*options != '\0') && (strncmp(options, "noprobe", 7) == 0)) vrc4173_cardu_setup()
/linux-4.1.27/fs/ncpfs/
H A Dgetopt.c17 * @options: the options string
24 * Helper to parse options on the format used by mount ("a=b,c=d,e,f").
28 int ncp_getopt(const char *caller, char **options, const struct ncp_option *opts, ncp_getopt() argument
35 if ((token = strsep(options, ",")) == NULL) ncp_getopt()
H A Dgetopt.h13 extern int ncp_getopt(const char *caller, char **options, const struct ncp_option *opts,
/linux-4.1.27/tools/perf/util/
H A Dparse-options.c2 #include "parse-options.h"
225 static int parse_short_opt(struct parse_opt_ctx_t *p, const struct option *options) parse_short_opt() argument
227 for (; options->type != OPTION_END; options++) { parse_short_opt()
228 if (options->short_name == *p->opt) { parse_short_opt()
230 return get_value(p, options, OPT_SHORT); parse_short_opt()
237 const struct option *options) parse_long_opt()
246 for (; options->type != OPTION_END; options++) { parse_long_opt()
250 if (!options->long_name) parse_long_opt()
253 rest = skip_prefix(arg, options->long_name); parse_long_opt()
254 if (options->type == OPTION_ARGUMENT) { parse_long_opt()
258 return opterror(options, "takes no value", flags); parse_long_opt()
265 if (!prefixcmp(options->long_name, "no-")) { parse_long_opt()
272 rest = skip_prefix(arg, options->long_name + 3); parse_long_opt()
278 if (!prefixcmp(options->long_name + 3, arg)) { parse_long_opt()
284 if (!strncmp(options->long_name, arg, arg_end - arg)) { parse_long_opt()
298 abbrev_option = options; parse_long_opt()
311 rest = skip_prefix(arg + 3, options->long_name); parse_long_opt()
313 if (!rest && !prefixcmp(options->long_name, arg + 3)) parse_long_opt()
324 return get_value(p, options, flags); parse_long_opt()
340 static void check_typos(const char *arg, const struct option *options) check_typos() argument
350 for (; options->type != OPTION_END; options++) { check_typos()
351 if (!options->long_name) check_typos()
353 if (!prefixcmp(options->long_name, arg)) { check_typos()
378 const struct option *options, parse_options_step()
400 return usage_with_options_internal(usagestr, options, 0); parse_options_step()
401 switch (parse_short_opt(ctx, options)) { parse_options_step()
403 return parse_options_usage(usagestr, options, arg, 1); parse_options_step()
412 check_typos(arg, options); parse_options_step()
415 return usage_with_options_internal(usagestr, options, 0); parse_options_step()
417 switch (parse_short_opt(ctx, options)) { parse_options_step()
419 return parse_options_usage(usagestr, options, arg, 1); parse_options_step()
448 return usage_with_options_internal(usagestr, options, 1); parse_options_step()
450 return usage_with_options_internal(usagestr, options, 0); parse_options_step()
455 switch (parse_long_opt(ctx, arg, options)) { parse_options_step()
457 return parse_options_usage(usagestr, options, arg, 0); parse_options_step()
476 parse_options_usage(usagestr, options, arg, excl_short_opt); parse_options_step()
480 parse_options_usage(NULL, options, &opt, 1); parse_options_step()
482 parse_options_usage(NULL, options, ctx->excl_opt->long_name, 0); parse_options_step()
494 int parse_options_subcommand(int argc, const char **argv, const struct option *options, parse_options_subcommand() argument
505 strbuf_addf(&buf, "perf %s [<options>] {", argv[0]); parse_options_subcommand()
518 switch (parse_options_step(&ctx, options, usagestr)) { parse_options_subcommand()
524 while (options->type != OPTION_END) { parse_options_subcommand()
525 if (options->long_name) parse_options_subcommand()
526 printf("--%s ", options->long_name); parse_options_subcommand()
527 options++; parse_options_subcommand()
544 usage_with_options(usagestr, options); parse_options_subcommand()
550 int parse_options(int argc, const char **argv, const struct option *options, parse_options() argument
553 return parse_options_subcommand(argc, argv, options, NULL, parse_options()
236 parse_long_opt(struct parse_opt_ctx_t *p, const char *arg, const struct option *options) parse_long_opt() argument
377 parse_options_step(struct parse_opt_ctx_t *ctx, const struct option *options, const char * const usagestr[]) parse_options_step() argument
H A Dparse-options.h12 /* options with no arguments */
18 /* options with arguments (usually) */
144 /* parse_options() will filter out the processed options and leave the
149 const struct option *options,
153 const struct option *options,
158 const struct option *options);
172 * Other fields of that structure are private to parse-options and should not
193 const struct option *options,
199 /*----- some often used options -----*/
/linux-4.1.27/drivers/net/ppp/
H A Dppp_deflate.c39 static void *z_comp_alloc(unsigned char *options, int opt_len);
40 static void *z_decomp_alloc(unsigned char *options, int opt_len);
43 static int z_comp_init(void *state, unsigned char *options,
46 static int z_decomp_init(void *state, unsigned char *options,
76 * @options: pointer to CCP option data
77 * @opt_len: length of the CCP option at @options.
79 * The @options pointer points to the a buffer containing the
88 static void *z_comp_alloc(unsigned char *options, int opt_len) z_comp_alloc() argument
94 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || z_comp_alloc()
95 options[1] != CILEN_DEFLATE || z_comp_alloc()
96 DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL || z_comp_alloc()
97 options[3] != DEFLATE_CHK_SEQUENCE) z_comp_alloc()
99 w_size = DEFLATE_SIZE(options[2]); z_comp_alloc()
128 * @options: pointer to the CCP option data describing the
130 * @opt_len: length of the CCP option data at @options
135 * The CCP options described by @options must match the options
137 * history is reset. Returns 0 for failure (CCP options don't
140 static int z_comp_init(void *arg, unsigned char *options, int opt_len, z_comp_init() argument
146 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || z_comp_init()
147 options[1] != CILEN_DEFLATE || z_comp_init()
148 DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL || z_comp_init()
149 DEFLATE_SIZE(options[2]) != state->w_size || z_comp_init()
150 options[3] != DEFLATE_CHK_SEQUENCE) z_comp_init()
293 * @options: pointer to CCP option data
294 * @opt_len: length of the CCP option at @options.
296 * The @options pointer points to the a buffer containing the
305 static void *z_decomp_alloc(unsigned char *options, int opt_len) z_decomp_alloc() argument
311 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || z_decomp_alloc()
312 options[1] != CILEN_DEFLATE || z_decomp_alloc()
313 DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL || z_decomp_alloc()
314 options[3] != DEFLATE_CHK_SEQUENCE) z_decomp_alloc()
316 w_size = DEFLATE_SIZE(options[2]); z_decomp_alloc()
342 * @options: pointer to the CCP option data describing the
344 * @opt_len: length of the CCP option data at @options
350 * The CCP options described by @options must match the options
352 * history is reset. Returns 0 for failure (CCP options don't
355 static int z_decomp_init(void *arg, unsigned char *options, int opt_len, z_decomp_init() argument
361 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || z_decomp_init()
362 options[1] != CILEN_DEFLATE || z_decomp_init()
363 DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL || z_decomp_init()
364 DEFLATE_SIZE(options[2]) != state->w_size || z_decomp_init()
365 options[3] != DEFLATE_CHK_SEQUENCE) z_decomp_init()
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) bsd_alloc() argument
358 if (opt_len != 3 || options[0] != CI_BSD_COMPRESS || options[1] != 3 bsd_alloc()
359 || BSD_VERSION(options[2]) != BSD_CURRENT_VERSION) bsd_alloc()
364 bits = BSD_NBITS(options[2]); bsd_alloc()
449 static void *bsd_comp_alloc (unsigned char *options, int opt_len) bsd_comp_alloc() argument
451 return bsd_alloc (options, opt_len, 0); bsd_comp_alloc()
454 static void *bsd_decomp_alloc (unsigned char *options, int opt_len) bsd_decomp_alloc() argument
456 return bsd_alloc (options, opt_len, 1); bsd_decomp_alloc()
463 static int bsd_init (void *state, unsigned char *options, bsd_init() argument
469 if ((opt_len != 3) || (options[0] != CI_BSD_COMPRESS) || (options[1] != 3) bsd_init()
470 || (BSD_VERSION(options[2]) != BSD_CURRENT_VERSION) bsd_init()
471 || (BSD_NBITS(options[2]) != db->maxbits) bsd_init()
506 static int bsd_comp_init (void *state, unsigned char *options, bsd_comp_init() argument
509 return bsd_init (state, options, opt_len, unit, debug, 0); bsd_comp_init()
512 static int bsd_decomp_init (void *state, unsigned char *options, bsd_decomp_init() argument
516 return bsd_init (state, options, opt_len, unit, debug, 1); bsd_decomp_init()
H A Dppp_mppe.c193 static void *mppe_alloc(unsigned char *options, int optlen) mppe_alloc() argument
199 options[0] != CI_MPPE || options[1] != CILEN_MPPE) mppe_alloc()
228 memcpy(state->master_key, &options[CILEN_MPPE], mppe_alloc()
273 mppe_init(void *arg, unsigned char *options, int optlen, int unit, int debug, mppe_init() argument
280 options[0] != CI_MPPE || options[1] != CILEN_MPPE) mppe_init()
283 MPPE_CI_TO_OPTS(&options[2], mppe_opts); mppe_init()
338 mppe_comp_init(void *arg, unsigned char *options, int optlen, int unit, mppe_comp_init() argument
342 return mppe_init(arg, options, optlen, unit, debug, "mppe_comp_init"); mppe_comp_init()
454 mppe_decomp_init(void *arg, unsigned char *options, int optlen, int unit, mppe_decomp_init() argument
458 return mppe_init(arg, options, optlen, unit, debug, "mppe_decomp_init"); mppe_decomp_init()
/linux-4.1.27/tools/lib/traceevent/
H A Devent-plugin.c37 struct pevent_plugin_option *options; member in struct:registered_plugin_options
100 * traceevent_plugin_list_options - get list of plugin options
103 * plugin options in the format of <plugin>:<option>. This list can be
106 * Returns NULL if there's no options registered. On error it returns
120 for (op = reg->options; op->name; op++) { traceevent_plugin_list_options()
186 /* first look for named options */ update_option()
201 /* first look for unnamed options */ update_option()
218 * traceevent_plugin_add_options - Add a set of options by a plugin
219 * @name: The name of the plugin adding the options
220 * @options: The set of options being loaded
222 * Sets the options with the values that have been added by user.
225 struct pevent_plugin_option *options) traceevent_plugin_add_options()
233 reg->options = options; traceevent_plugin_add_options()
236 while (options->name) { traceevent_plugin_add_options()
237 update_option(name, options); traceevent_plugin_add_options()
238 options++; traceevent_plugin_add_options()
244 * traceevent_plugin_remove_options - remove plugin options that were registered
245 * @options: Options to removed that were registered with traceevent_plugin_add_options
247 void traceevent_plugin_remove_options(struct pevent_plugin_option *options) traceevent_plugin_remove_options() argument
253 if ((*last)->options == options) { traceevent_plugin_remove_options()
224 traceevent_plugin_add_options(const char *name, struct pevent_plugin_option *options) traceevent_plugin_add_options() argument
/linux-4.1.27/net/dns_resolver/
H A Ddns_query.c52 * @options: Request options (or NULL if no options)
60 * the options need to be appropriate for the query type requested. If no
70 const char *options, char **_result, time_t *_expiry) dns_query()
80 type, (int)namelen, (int)namelen, name, namelen, options); dns_query()
115 if (!options) dns_query()
116 options = ""; dns_query()
117 kdebug("call request_key(,%s,%s)", desc, options); dns_query()
123 rkey = request_key(&key_type_dns_resolver, desc, options); dns_query()
69 dns_query(const char *type, const char *name, size_t namelen, const char *options, char **_result, time_t *_expiry) dns_query() argument
/linux-4.1.27/arch/mips/kernel/
H A Dcpu-probe.c120 * Set options for FPU hardware.
133 c->options |= MIPS_CPU_FRE; cpu_set_fpu_opts()
140 * Set options for the FPU emulator.
144 c->options &= ~MIPS_CPU_FPU; cpu_set_nofpu_opts()
179 cpu_data[0].options &= ~MIPS_CPU_HTW; htw_disable()
405 c->options |= MIPS_CPU_TLB; decode_config0()
458 c->options |= MIPS_CPU_WATCH; decode_config1()
462 c->options |= MIPS_CPU_EJTAG; decode_config1()
464 c->options |= MIPS_CPU_FPU; decode_config1()
465 c->options |= MIPS_CPU_32FPR; decode_config1()
496 c->options |= MIPS_CPU_RIXI; decode_config3()
499 c->options |= MIPS_CPU_RIXI; decode_config3()
505 c->options |= MIPS_CPU_VINT; decode_config3()
507 c->options |= MIPS_CPU_VEIC; decode_config3()
511 c->options |= MIPS_CPU_ULRI; decode_config3()
513 c->options |= MIPS_CPU_MICROMIPS; decode_config3()
517 c->options |= MIPS_CPU_SEGMENTS; decode_config3()
523 c->options |= MIPS_CPU_HTW; decode_config3()
526 c->options |= MIPS_CPU_CDMM; decode_config3()
542 c->options |= MIPS_CPU_TLBINV; decode_config4()
597 c->options |= MIPS_CPU_EVA; decode_config5()
599 c->options |= MIPS_CPU_MAAR; decode_config5()
601 c->options |= MIPS_CPU_RW_LLB; decode_config5()
604 c->options |= MIPS_CPU_XPA; decode_config5()
615 c->options = MIPS_CPU_4KEX | MIPS_CPU_4K_CACHE | MIPS_CPU_COUNTER | decode_configs()
644 c->options |= MIPS_CPU_RIXIEX; decode_configs()
666 c->options = MIPS_CPU_TLB | MIPS_CPU_3K_CACHE | cpu_probe_legacy()
669 c->options |= MIPS_CPU_FPU; cpu_probe_legacy()
686 c->options = MIPS_CPU_TLB | MIPS_CPU_3K_CACHE | cpu_probe_legacy()
689 c->options |= MIPS_CPU_FPU; cpu_probe_legacy()
735 c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR | cpu_probe_legacy()
743 c->options = R4K_OPTS; cpu_probe_legacy()
769 c->options |= MIPS_CPU_LLSC; cpu_probe_legacy()
785 c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR | cpu_probe_legacy()
794 c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR | cpu_probe_legacy()
810 c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_LLSC; cpu_probe_legacy()
816 c->options = MIPS_CPU_TLB | MIPS_CPU_TX39_CACHE; cpu_probe_legacy()
842 c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR | cpu_probe_legacy()
851 c->options = R4K_OPTS | MIPS_CPU_LLSC; cpu_probe_legacy()
853 c->options |= MIPS_CPU_FPU | MIPS_CPU_32FPR; cpu_probe_legacy()
860 c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR | cpu_probe_legacy()
868 c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR | cpu_probe_legacy()
876 c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR | cpu_probe_legacy()
884 c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR | cpu_probe_legacy()
893 c->options = MIPS_CPU_TLB | MIPS_CPU_FPU | cpu_probe_legacy()
902 c->options = MIPS_CPU_TLB | MIPS_CPU_FPU | cpu_probe_legacy()
910 c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_32FPR | cpu_probe_legacy()
926 c->options = MIPS_CPU_TLB | MIPS_CPU_4KEX | cpu_probe_legacy()
935 c->options = MIPS_CPU_TLB | MIPS_CPU_4K_CACHE | MIPS_CPU_4KEX | cpu_probe_legacy()
945 c->options = MIPS_CPU_TLB | MIPS_CPU_4K_CACHE | MIPS_CPU_4KEX | cpu_probe_legacy()
960 c->options = MIPS_CPU_TLB | MIPS_CPU_4K_CACHE | MIPS_CPU_4KEX | cpu_probe_legacy()
997 c->options = R4K_OPTS | cpu_probe_legacy()
1182 c->options &= ~(MIPS_CPU_FPU | MIPS_CPU_32FPR); cpu_probe_sibyte()
1253 c->options |= MIPS_CPU_ULRI; cpu_probe_broadcom()
1303 c->options &= ~MIPS_CPU_COUNTER; cpu_probe_ingenic()
1328 c->options = (MIPS_CPU_TLB | cpu_probe_netlogic()
1388 c->options |= (MIPS_CPU_FPU | MIPS_CPU_ULRI | MIPS_CPU_MCHECK); cpu_probe_netlogic()
1465 c->options &= ~MIPS_CPU_FPU; cpu_probe()
1471 c->options &= ~MIPS_CPU_HTW; cpu_probe()
1476 if (c->options & MIPS_CPU_FPU) cpu_probe()
1484 c->options |= MIPS_CPU_PCI; cpu_probe()
1509 if (c->options & MIPS_CPU_FPU) cpu_report()
/linux-4.1.27/include/net/
H A Dgue.h29 * may refer to options placed after this field.
55 #define GUE_FLAG_PRIV htons(1<<0) /* Private flags are in options */
67 /* Functions to compute options length corresponding to flags.
83 * if there is an unknown standard or private flags, or the options length for
84 * the flags exceeds the options length specific in hlen of the GUE header.
/linux-4.1.27/arch/cris/arch-v32/mach-a3/
H A Ddma.c20 unsigned options, unsigned int bandwidth, enum dma_owner owner) crisv32_request_dma()
27 options & DMA_INT_MEM ? INT_REGION : EXT_REGION, crisv32_request_dma()
35 if (options & DMA_VERBOSE_ON_ERROR) crisv32_request_dma()
42 if (options & DMA_PANIC_ON_ERROR) crisv32_request_dma()
76 if (options & DMA_VERBOSE_ON_ERROR) crisv32_request_dma()
81 if (options & DMA_PANIC_ON_ERROR) crisv32_request_dma()
19 crisv32_request_dma(unsigned int dmanr, const char *device_id, unsigned options, unsigned int bandwidth, enum dma_owner owner) crisv32_request_dma() argument
/linux-4.1.27/tools/perf/tests/
H A Dattr.py120 def __init__(self, path, options):
127 self.test_dir = options.test_dir
128 self.perf = options.perf
262 def run_tests(options):
263 for f in glob.glob(options.test_dir + '/' + options.test):
265 Test(f, options).run()
307 options, args = parser.parse_args()
312 setup_log(options.verbose)
314 if not options.test_dir:
318 if not options.test:
319 options.test = 'test*'
322 run_tests(options)
/linux-4.1.27/arch/mips/boot/dts/include/dt-bindings/pinctrl/
H A Ddra.h15 /* DRA7 mux mode options for each pin. See TRM for options */
H A Dqcom,pmic-gpio.h20 * only S3 and L2 options (1.8V)
32 * only L11 and L4 options (1.8V)
53 * only L2(1.15V) and L5(1.8V) options
76 * only S3 and L6 options (1.8V)
85 * only S4 and L6 options (1.8V)
H A Domap.h11 /* 34xx mux mode options for each pin. See TRM for options */
/linux-4.1.27/arch/score/
H A DMakefile13 # CPU-dependent compiler/assembler options for optimization.
19 # Board-dependent options and extra files
/linux-4.1.27/arch/powerpc/boot/dts/include/dt-bindings/pinctrl/
H A Ddra.h15 /* DRA7 mux mode options for each pin. See TRM for options */
H A Dqcom,pmic-gpio.h20 * only S3 and L2 options (1.8V)
32 * only L11 and L4 options (1.8V)
53 * only L2(1.15V) and L5(1.8V) options
76 * only S3 and L6 options (1.8V)
85 * only S4 and L6 options (1.8V)
H A Domap.h11 /* 34xx mux mode options for each pin. See TRM for options */
/linux-4.1.27/arch/arm64/boot/dts/include/dt-bindings/pinctrl/
H A Ddra.h15 /* DRA7 mux mode options for each pin. See TRM for options */
H A Dqcom,pmic-gpio.h20 * only S3 and L2 options (1.8V)
32 * only L11 and L4 options (1.8V)
53 * only L2(1.15V) and L5(1.8V) options
76 * only S3 and L6 options (1.8V)
85 * only S4 and L6 options (1.8V)
H A Domap.h11 /* 34xx mux mode options for each pin. See TRM for options */
/linux-4.1.27/arch/cris/include/arch-v32/mach-a3/mach/
H A Ddma.h50 unsigned options, unsigned bandwidth, enum dma_owner owner);
53 /* Masks used by crisv32_request_dma options: */
/linux-4.1.27/arch/metag/boot/dts/include/dt-bindings/pinctrl/
H A Ddra.h15 /* DRA7 mux mode options for each pin. See TRM for options */
H A Dqcom,pmic-gpio.h20 * only S3 and L2 options (1.8V)
32 * only L11 and L4 options (1.8V)
53 * only L2(1.15V) and L5(1.8V) options
76 * only S3 and L6 options (1.8V)
85 * only S4 and L6 options (1.8V)
H A Domap.h11 /* 34xx mux mode options for each pin. See TRM for options */
/linux-4.1.27/arch/arm/boot/dts/include/dt-bindings/pinctrl/
H A Ddra.h15 /* DRA7 mux mode options for each pin. See TRM for options */
H A Dqcom,pmic-gpio.h20 * only S3 and L2 options (1.8V)
32 * only L11 and L4 options (1.8V)
53 * only L2(1.15V) and L5(1.8V) options
76 * only S3 and L6 options (1.8V)
85 * only S4 and L6 options (1.8V)
H A Domap.h11 /* 34xx mux mode options for each pin. See TRM for options */
/linux-4.1.27/include/dt-bindings/pinctrl/
H A Ddra.h15 /* DRA7 mux mode options for each pin. See TRM for options */
H A Dqcom,pmic-gpio.h20 * only S3 and L2 options (1.8V)
32 * only L11 and L4 options (1.8V)
53 * only L2(1.15V) and L5(1.8V) options
76 * only S3 and L6 options (1.8V)
85 * only S4 and L6 options (1.8V)
H A Domap.h11 /* 34xx mux mode options for each pin. See TRM for options */
/linux-4.1.27/arch/mips/sgi-ip22/
H A Dip22-setup.c67 static char options[8] __initdata; plat_mem_setup()
70 strcpy(options, baud); plat_mem_setup()
72 baud ? options : NULL); plat_mem_setup()
/linux-4.1.27/arch/mips/sgi-ip32/
H A Dip32-setup.c93 static char options[8] __initdata; plat_mem_setup()
96 strcpy(options, baud); plat_mem_setup()
98 baud ? options : NULL); plat_mem_setup()
/linux-4.1.27/scripts/
H A Ddecodecode5 # options: set env. variable AFLAGS=options to pass options to "as";
H A Dconfig2 # Manipulate options in a .config file from the command line
11 Manipulate options in a .config file from the command line.
13 $myname options command ...
34 options:
/linux-4.1.27/include/linux/
H A Dkconfig.h7 * Helper macros to use CONFIG_ options in C/CPP expressions. Note that
8 * these only work with boolean and tristate options.
27 * otherwise. For boolean options, this is equivalent to
H A Dppp-comp.h40 void *(*comp_alloc) (unsigned char *options, int opt_len);
46 int (*comp_init) (void *state, unsigned char *options,
60 void *(*decomp_alloc) (unsigned char *options, int opt_len);
66 int (*decomp_init) (void *state, unsigned char *options,
H A Dcom20020.h104 #define SUB_SETUP1 2 /* various options */
108 #define SUB_SETUP2 4 /* sundry options */
109 #define SUB_BUSCTL 5 /* bus control options */
110 #define SUB_DMACOUNT 6 /* DMA count options */
H A Djz4740-adc.h14 * options in the shared config register.
/linux-4.1.27/fs/afs/
H A Dmntpt.c131 char *devname, *options; afs_mntpt_do_automount() local
144 options = (char *) get_zeroed_page(GFP_KERNEL); afs_mntpt_do_automount()
145 if (!options) afs_mntpt_do_automount()
196 /* work out what options we want */ afs_mntpt_do_automount()
198 memcpy(options, "cell=", 5); afs_mntpt_do_automount()
199 strcpy(options + 5, super->volume->cell->name); afs_mntpt_do_automount()
201 strcat(options, ",rwpath"); afs_mntpt_do_automount()
204 _debug("--- attempting mount %s -o %s ---", devname, options); afs_mntpt_do_automount()
205 mnt = vfs_kern_mount(&afs_fs_type, 0, devname, options); afs_mntpt_do_automount()
209 free_page((unsigned long) options); afs_mntpt_do_automount()
216 free_page((unsigned long) options); afs_mntpt_do_automount()
H A Dsuper.c139 * parse the mount options
144 char *options, const char **devname) afs_parse_options()
151 _enter("%s", options); afs_parse_options()
153 options[PAGE_SIZE - 1] = 0; afs_parse_options()
155 while ((p = strsep(&options, ","))) { afs_parse_options()
355 int flags, const char *dev_name, void *options) afs_mount()
361 char *new_opts = kstrdup(options, GFP_KERNEL); afs_mount()
365 _enter(",,%s,%p", dev_name, options); afs_mount()
373 /* parse the options and device name */ afs_mount()
374 if (options) { afs_mount()
375 ret = afs_parse_options(&params, options, &dev_name); afs_mount()
143 afs_parse_options(struct afs_mount_params *params, char *options, const char **devname) afs_parse_options() argument
354 afs_mount(struct file_system_type *fs_type, int flags, const char *dev_name, void *options) afs_mount() argument
/linux-4.1.27/fs/proc/
H A Droot.c51 static int proc_parse_options(char *options, struct pid_namespace *pid) proc_parse_options() argument
57 if (!options) proc_parse_options()
60 while ((p = strsep(&options, ",")) != NULL) { proc_parse_options()
106 char *options; proc_mount() local
110 options = NULL; proc_mount()
113 options = data; proc_mount()
131 if (!proc_parse_options(options, ns)) { proc_mount()
/linux-4.1.27/include/uapi/linux/
H A Din6.h131 #define IPPROTO_HOPOPTS 0 /* IPv6 hop-by-hop options */
136 #define IPPROTO_DSTOPTS 60 /* IPv6 destination options */
141 * IPv6 TLV options.
150 * IPV6 socket options
203 * Following socket options are shared between IPv4 and IPv6.
241 * Following socket options are used in ip6_tables;
257 * Following socket options are used in ip6_tables;
H A Dptrace.h70 /* Wait extended result codes for the above trace options. */
78 /* Extended result codes which enabled by means other than options. */
91 /* eventless options */
H A Dif_alg.h31 /* Socket options */
H A Dnet_dropmon.h31 struct net_dm_config_entry options[0]; member in struct:net_dm_config_msg
H A Dif_team.h72 TEAM_ATTR_OPTION_PORT_IFINDEX, /* u32 */ /* for per-port options */
73 TEAM_ATTR_OPTION_ARRAY_INDEX, /* u32 */ /* for array options */
H A Dipc.h39 #define IPC_SET 1 /* set ipc_perm options */
40 #define IPC_STAT 2 /* get ipc_perm options */
H A Dudp.h29 /* UDP socket options */
/linux-4.1.27/net/ipv4/
H A Dsyncookies.c30 * stores TCP options:
37 * any) to figure out which TCP options we should use for the rebuilt
77 * tcp options in the lower bits of the timestamp value that will be
86 u32 options = 0; cookie_init_timestamp() local
90 options = ireq->wscale_ok ? ireq->snd_wscale : TS_OPT_WSCALE_MASK; cookie_init_timestamp()
92 options |= TS_OPT_SACK; cookie_init_timestamp()
94 options |= TS_OPT_ECN; cookie_init_timestamp()
97 ts |= options; cookie_init_timestamp()
102 ts |= options; cookie_init_timestamp()
242 * additional tcp options in the timestamp.
243 * This extracts these options from the timestamp echo.
250 /* echoed timestamp, lowest bits contain options */ cookie_timestamp_decode()
251 u32 options = tcp_opt->rcv_tsecr; cookie_timestamp_decode() local
261 tcp_opt->sack_ok = (options & TS_OPT_SACK) ? TCP_SACK_SEEN : 0; cookie_timestamp_decode()
266 if ((options & TS_OPT_WSCALE_MASK) == TS_OPT_WSCALE_MASK) cookie_timestamp_decode()
270 tcp_opt->snd_wscale = options & TS_OPT_WSCALE_MASK; cookie_timestamp_decode()
353 /* We throwed the options of the initial SYN away, so we hope cookie_v4_check()
354 * the ACK carries the same options again (see RFC1122 4.2.3.8) cookie_v4_check()
H A Dgre_demux.c102 __be32 *options; parse_gre_header() local
121 options = (__be32 *)(greh + 1); parse_gre_header()
131 options++; parse_gre_header()
135 tpi->key = *options; parse_gre_header()
136 options++; parse_gre_header()
141 tpi->seq = *options; parse_gre_header()
142 options++; parse_gre_header()
152 if ((*(u8 *)options & 0xF0) != 0x40) { parse_gre_header()
/linux-4.1.27/drivers/mtd/nand/
H A Dnand_bbt.c16 * depending on the options in the BBT descriptor(s). If no flash based BBT
117 if (td->options & NAND_BBT_NO_OOB) check_pattern()
154 if (!(td->options & NAND_BBT_NO_OOB)) add_marker_len()
158 if (td->options & NAND_BBT_VERSION) add_marker_len()
181 int bits = td->options & NAND_BBT_NRBITS_MSK; read_bbt()
272 if (td->options & NAND_BBT_PERCHIP) { read_abs_bbt()
300 if (td->options & NAND_BBT_VERSION) scan_read_data()
350 if (td->options & NAND_BBT_NO_OOB) scan_read()
376 if (!(td->options & NAND_BBT_NO_OOB)) bbt_get_ver_offs()
397 if (td->options & NAND_BBT_VERSION) { read_abs_bbts()
406 if (md && (md->options & NAND_BBT_VERSION)) { read_abs_bbts()
467 if (bd->options & NAND_BBT_SCAN2NDPAGE) create_bbt()
494 BUG_ON(bd->options & NAND_BBT_NO_OOB); create_bbt()
537 if (td->options & NAND_BBT_LASTBLOCK) { search_bbt()
546 if (td->options & NAND_BBT_PERCHIP) { search_bbt()
569 if (td->options & NAND_BBT_VERSION) { search_bbt()
643 if (td->options & NAND_BBT_PERCHIP) { write_bbt()
673 if (td->options & NAND_BBT_LASTBLOCK) { write_bbt()
700 bits = td->options & NAND_BBT_NRBITS_MSK; write_bbt()
721 if (td->options & NAND_BBT_SAVECONTENT) { write_bbt()
747 } else if (td->options & NAND_BBT_NO_OOB) { write_bbt()
751 if (td->options & NAND_BBT_VERSION) write_bbt()
776 if (td->options & NAND_BBT_VERSION) write_bbt()
797 td->options & NAND_BBT_NO_OOB ? NULL : write_bbt()
850 if (td->options & NAND_BBT_PERCHIP) check_create()
862 chipsel = (td->options & NAND_BBT_PERCHIP) ? i : -1; check_create()
876 if (!(td->options & NAND_BBT_VERSION)) check_create()
896 if (!(td->options & NAND_BBT_CREATE)) check_create()
942 if ((writeops & 0x01) && (td->options & NAND_BBT_WRITE)) { check_create()
949 if ((writeops & 0x02) && md && (md->options & NAND_BBT_WRITE)) { check_create()
973 if (td->options & NAND_BBT_PERCHIP) { mark_bbt_region()
982 if ((td->options & NAND_BBT_ABSPAGE) || mark_bbt_region()
983 !(td->options & NAND_BBT_WRITE)) { mark_bbt_region()
996 if (td->options & NAND_BBT_LASTBLOCK) mark_bbt_region()
1037 bits = bd->options & NAND_BBT_NRBITS_MSK; verify_bbt_descr()
1043 if (bd->options & NAND_BBT_VERSION) verify_bbt_descr()
1046 if (bd->options & NAND_BBT_NO_OOB) { verify_bbt_descr()
1050 if (bd->options & NAND_BBT_VERSION) verify_bbt_descr()
1052 BUG_ON(bd->options & NAND_BBT_SAVECONTENT); verify_bbt_descr()
1055 if (bd->options & NAND_BBT_PERCHIP) verify_bbt_descr()
1061 if (bd->options & NAND_BBT_NO_OOB) verify_bbt_descr()
1121 if (td->options & NAND_BBT_ABSPAGE) { nand_scan_bbt()
1166 if (td->options & NAND_BBT_PERCHIP) { nand_update_bbt()
1179 if (td->options & NAND_BBT_WRITE) { nand_update_bbt()
1185 if (md && (md->options & NAND_BBT_WRITE)) { nand_update_bbt()
1205 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1215 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1225 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1235 .options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE
1264 bd->options = this->bbt_options & BADBLOCK_SCAN_MASK; nand_create_badblock_pattern()
1266 bd->len = (this->options & NAND_BUSWIDTH_16) ? 2 : 1; nand_create_badblock_pattern()
1268 bd->options |= NAND_BBT_DYNAMICSTRUCT; nand_create_badblock_pattern()
/linux-4.1.27/fs/nfs/
H A Dnfsroot.c6 * (2) Construct the device string and the options string using DHCP
7 * option 17 and/or kernel command line options.
26 * Martin Mares : (2.1) BOOTP and RARP made configuration options.
45 * Swen Thümmler : Allow to specify the NFS options in nfs_root
89 /* Default NFSROOT mount options. */
95 /* Text-based mount options passed to super.c */
125 * nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]
180 * Parse out root export path and mount options from
200 * contains something, append it to our root options buffer root_nfs_parse_options()
210 * Decode the export directory path name and NFS options from
243 * Append mandatory options for nfsroot so they override root_nfs_data()
280 printk(KERN_ERR "Root-NFS: mount options string too long\n"); root_nfs_data()
290 * @root_data: OUT: address of string containing NFSROOT mount options
H A Dsuper.c80 /* Mount options that take no arguments */
94 /* Mount options that take integer arguments */
106 /* Mount options that take string arguments */
114 /* Special mount options */
186 /* The following needs to be listed after all other options */
326 static int nfs4_validate_mount_data(void *options,
623 * Describe the mount options in force on this server representation
689 if (nfss->options & NFS_OPTION_FSCACHE) nfs_show_mount_options()
692 if (nfss->options & NFS_OPTION_MIGRATION) nfs_show_mount_options()
716 * Describe the mount options on this VFS mountpoint
881 if (nfss->options & NFS_OPTION_FSCACHE) {
1188 * Error-check and convert a string of mount options from user space into
1189 * a data structure. The whole mount string is processed; bad options are
1202 dfprintk(MOUNT, "NFS: mount options string was NULL.\n"); nfs_parse_mount_options()
1235 * boolean options: foo/nofoo nfs_parse_mount_options()
1309 mnt->options |= NFS_OPTION_FSCACHE; nfs_parse_mount_options()
1314 mnt->options &= ~NFS_OPTION_FSCACHE; nfs_parse_mount_options()
1319 mnt->options |= NFS_OPTION_MIGRATION; nfs_parse_mount_options()
1322 mnt->options &= NFS_OPTION_MIGRATION; nfs_parse_mount_options()
1326 * options that take numeric values nfs_parse_mount_options()
1412 * options that take text values nfs_parse_mount_options()
1559 mnt->options |= NFS_OPTION_FSCACHE; nfs_parse_mount_options()
1591 * Special options nfs_parse_mount_options()
1616 if (mnt->options & NFS_OPTION_MIGRATION && nfs_parse_mount_options()
1621 * verify that any proto=/mountproto= options match the address nfs_parse_mount_options()
1622 * families in the addr=/mountaddr= options. nfs_parse_mount_options()
1666 printk(KERN_INFO "NFS: security options invalid: %d\n", rc); nfs_parse_mount_options()
1788 * Was a sec= authflavor specified in the options? First, verify nfs_try_mount_request()
1949 static int nfs23_validate_mount_data(void *options, nfs23_validate_mount_data() argument
1954 struct nfs_mount_data *data = (struct nfs_mount_data *)options; nfs23_validate_mount_data()
2085 dfprintk(MOUNT, "NFS: not enough memory to handle mount options\n"); nfs23_validate_mount_data()
2099 void *options, nfs_validate_mount_data()
2105 return nfs23_validate_mount_data(options, args, mntfh, dev_name); nfs_validate_mount_data()
2106 return nfs4_validate_mount_data(options, args, dev_name); nfs_validate_mount_data()
2110 void *options, nfs_validate_mount_data()
2115 return nfs23_validate_mount_data(options, args, mntfh, dev_name); nfs_validate_mount_data()
2119 static int nfs_validate_text_mount_data(void *options, nfs_validate_text_mount_data() argument
2128 if (nfs_parse_mount_options((char *)options, args) == 0) nfs_validate_text_mount_data()
2216 struct nfs_mount_data *options = (struct nfs_mount_data *)raw_data; nfs_remount() local
2223 * Userspace mount programs that send binary options generally send nfs_remount()
2229 (nfsvers <= 3 && (!options || (options->version >= 1 && nfs_remount()
2230 options->version <= 6)))) nfs_remount()
2258 if (!nfs_parse_mount_options((char *)options, data)) nfs_remount()
2263 * necessarily reflected in the mtab options. do_remount_sb nfs_remount()
2265 * remount options, so we have to explicitly reset it. nfs_remount()
2270 /* compare new mount options with old ones */ nfs_remount()
2470 if (!(parsed->options & NFS_OPTION_FSCACHE)) nfs_get_cache_cookie()
2478 if (!(mnt_s->options & NFS_OPTION_FSCACHE)) nfs_get_cache_cookie()
2526 /* clone any lsm security options from the parent to the new sb */ nfs_clone_sb_security()
2711 * Validate NFSv4 mount options
2713 static int nfs4_validate_mount_data(void *options, nfs4_validate_mount_data() argument
2718 struct nfs4_mount_data *data = (struct nfs4_mount_data *)options; nfs4_validate_mount_data()
2098 nfs_validate_mount_data(struct file_system_type *fs_type, void *options, struct nfs_parsed_mount_data *args, struct nfs_fh *mntfh, const char *dev_name) nfs_validate_mount_data() argument
2109 nfs_validate_mount_data(struct file_system_type *fs_type, void *options, struct nfs_parsed_mount_data *args, struct nfs_fh *mntfh, const char *dev_name) nfs_validate_mount_data() argument
/linux-4.1.27/drivers/isdn/mISDN/
H A Dtei.c131 if (!test_bit(OPTION_L1_HOLD, &mgr->options)) { da_deactivate()
144 if (!test_bit(OPTION_L1_HOLD, &mgr->options)) { da_ui()
340 if (!test_bit(MGR_PH_ACTIVE, &mgr->options)) do_send()
343 if (!test_and_set_bit(MGR_PH_NOTREADY, &mgr->options)) { do_send()
347 test_and_clear_bit(MGR_PH_NOTREADY, &mgr->options); do_send()
354 test_and_clear_bit(MGR_PH_NOTREADY, &mgr->options); do_send()
363 if (test_bit(MGR_PH_NOTREADY, &mgr->options)) { do_ack()
365 if (test_bit(MGR_PH_ACTIVE, &mgr->options)) { do_ack()
377 test_and_clear_bit(MGR_PH_NOTREADY, &mgr->options); do_ack()
386 if (!test_bit(MGR_PH_ACTIVE, &mgr->options)) { mgr_send_down()
397 if (!test_bit(MGR_OPT_NETWORK, &mgr->options)) /* only net send UI */ dl_unit_data()
399 if (!test_bit(MGR_PH_ACTIVE, &mgr->options)) dl_unit_data()
447 if (test_bit(MGR_OPT_NETWORK, &mgr->options)) put_tei_msg()
917 if (!test_bit(MGR_OPT_NETWORK, &mgr->options)) ph_data_ind()
924 if (test_bit(MGR_OPT_NETWORK, &mgr->options)) ph_data_ind()
956 if (test_bit(MGR_OPT_NETWORK, &tm->mgr->options)) l2_tei()
958 if (test_bit(MGR_OPT_USER, &tm->mgr->options)) l2_tei()
962 if (test_bit(MGR_OPT_NETWORK, &tm->mgr->options)) l2_tei()
966 if (test_bit(MGR_OPT_NETWORK, &tm->mgr->options)) l2_tei()
970 if (test_bit(MGR_OPT_NETWORK, &tm->mgr->options)) l2_tei()
1011 if (test_bit(MGR_OPT_NETWORK, &mgr->options)) { create_teimgr()
1022 } else if (test_bit(MGR_OPT_USER, &mgr->options)) { create_teimgr()
1029 test_and_set_bit(MGR_OPT_NETWORK, &mgr->options); create_teimgr()
1031 test_and_set_bit(MGR_OPT_USER, &mgr->options); create_teimgr()
1041 if (test_bit(MGR_PH_ACTIVE, &mgr->options)) create_teimgr()
1125 test_and_set_bit(MGR_PH_ACTIVE, &mgr->options); mgr_send()
1133 test_and_clear_bit(MGR_PH_ACTIVE, &mgr->options); mgr_send()
1152 test_and_clear_bit(OPTION_L1_HOLD, &mgr->options); free_teimanager()
1153 if (test_bit(MGR_OPT_NETWORK, &mgr->options)) { free_teimanager()
1156 if (test_bit(OPTION_L2_CLEANUP, &mgr->options)) { free_teimanager()
1164 test_and_clear_bit(MGR_OPT_NETWORK, &mgr->options); free_teimanager()
1171 if (test_bit(MGR_OPT_USER, &mgr->options)) { free_teimanager()
1173 test_and_clear_bit(MGR_OPT_USER, &mgr->options); free_teimanager()
1189 test_and_set_bit(OPTION_L2_CLEANUP, &mgr->options); ctrl_teimanager()
1191 test_and_clear_bit(OPTION_L2_CLEANUP, &mgr->options); ctrl_teimanager()
1195 test_and_set_bit(OPTION_L1_HOLD, &mgr->options); ctrl_teimanager()
1197 test_and_clear_bit(OPTION_L1_HOLD, &mgr->options); ctrl_teimanager()
1216 if (test_bit(MGR_OPT_USER, &mgr->options)) check_data()
/linux-4.1.27/drivers/net/ethernet/i825xx/
H A Dsni_82596.c63 if (lp->options & OPT_MPU_16BIT) { mpu_port()
81 struct resource *res, *ca, *idprom, *options; sni_82596_probe() local
89 options = platform_get_resource(dev, 0, 0); sni_82596_probe()
91 if (!res || !ca || !options || !idprom) sni_82596_probe()
132 lp->options = options->flags & IORESOURCE_BITS; sni_82596_probe()
/linux-4.1.27/drivers/watchdog/
H A Driowd.c91 .options = WDIOF_SETTIMEOUT, riowd_ioctl()
97 unsigned int options; riowd_ioctl() local
117 if (copy_from_user(&options, argp, sizeof(options))) riowd_ioctl()
120 if (options & WDIOS_DISABLECARD) riowd_ioctl()
122 else if (options & WDIOS_ENABLECARD) riowd_ioctl()
H A Dgeodewdt.c147 .options = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING geodewdt_ioctl()
165 int options, ret = -EINVAL; geodewdt_ioctl() local
167 if (get_user(options, p)) geodewdt_ioctl()
170 if (options & WDIOS_DISABLECARD) { geodewdt_ioctl()
175 if (options & WDIOS_ENABLECARD) { geodewdt_ioctl()
H A Dindydog.c105 int options, retval = -EINVAL; indydog_ioctl() local
107 .options = WDIOF_KEEPALIVEPING, indydog_ioctl()
123 if (get_user(options, (int *)arg)) indydog_ioctl()
125 if (options & WDIOS_DISABLECARD) { indydog_ioctl()
129 if (options & WDIOS_ENABLECARD) { indydog_ioctl()
H A Diop_wdt.c131 .options = WDIOF_CARDRESET | WDIOF_MAGICCLOSE | WDIOF_KEEPALIVEPING,
138 int options; iop_wdt_ioctl() local
159 if (get_user(options, (int *)arg)) iop_wdt_ioctl()
162 if (options & WDIOS_DISABLECARD) { iop_wdt_ioctl()
172 if (options & WDIOS_ENABLECARD) { iop_wdt_ioctl()
H A Dsbc_epx_c3.c108 int options, retval = -EINVAL; epx_c3_ioctl() local
111 .options = WDIOF_KEEPALIVEPING, epx_c3_ioctl()
125 if (get_user(options, argp)) epx_c3_ioctl()
128 if (options & WDIOS_DISABLECARD) { epx_c3_ioctl()
133 if (options & WDIOS_ENABLECARD) { epx_c3_ioctl()
H A Dcpwd.c408 .options = WDIOF_SETTIMEOUT, cpwd_ioctl()
532 struct device_node *options; cpwd_probe() local
559 options = of_find_node_by_path("/options"); cpwd_probe()
561 if (!options) { cpwd_probe()
562 pr_err("Unable to find /options node\n"); cpwd_probe()
566 prop_val = of_get_property(options, "watchdog-enable?", NULL); cpwd_probe()
569 prop_val = of_get_property(options, "watchdog-reboot?", NULL); cpwd_probe()
572 str_prop = of_get_property(options, "watchdog-timeout", NULL); cpwd_probe()
H A Dacquirewdt.c150 int options, retval = -EINVAL; acq_ioctl() local
154 .options = WDIOF_KEEPALIVEPING | WDIOF_MAGICCLOSE, acq_ioctl()
169 if (get_user(options, p)) acq_ioctl()
171 if (options & WDIOS_DISABLECARD) { acq_ioctl()
175 if (options & WDIOS_ENABLECARD) { acq_ioctl()
H A Dadvantechwdt.c141 .options = WDIOF_KEEPALIVEPING | advwdt_ioctl()
160 int options, retval = -EINVAL; advwdt_ioctl() local
162 if (get_user(options, p)) advwdt_ioctl()
164 if (options & WDIOS_DISABLECARD) { advwdt_ioctl()
168 if (options & WDIOS_ENABLECARD) { advwdt_ioctl()
H A Dgef_wdt.c166 int options; gef_wdt_ioctl() local
169 .options = WDIOF_SETTIMEOUT | WDIOF_MAGICCLOSE | gef_wdt_ioctl()
189 if (get_user(options, (int __user *)argp)) gef_wdt_ioctl()
192 if (options & WDIOS_DISABLECARD) gef_wdt_ioctl()
195 if (options & WDIOS_ENABLECARD) gef_wdt_ioctl()
H A Dib700wdt.c178 .options = WDIOF_KEEPALIVEPING | WDIOF_SETTIMEOUT ibwdt_ioctl()
196 int options, retval = -EINVAL; ibwdt_ioctl() local
198 if (get_user(options, p)) ibwdt_ioctl()
201 if (options & WDIOS_DISABLECARD) { ibwdt_ioctl()
205 if (options & WDIOS_ENABLECARD) { ibwdt_ioctl()
H A Dmv64x60_wdt.c181 int options; mv64x60_wdt_ioctl() local
184 .options = WDIOF_SETTIMEOUT | mv64x60_wdt_ioctl()
208 if (get_user(options, (int __user *)argp)) mv64x60_wdt_ioctl()
211 if (options & WDIOS_DISABLECARD) mv64x60_wdt_ioctl()
214 if (options & WDIOS_ENABLECARD) mv64x60_wdt_ioctl()
H A Dpnx833x_wdt.c145 int options, new_timeout = 0; pnx833x_wdt_ioctl() local
149 .options = WDIOF_KEEPALIVEPING | WDIOF_SETTIMEOUT, pnx833x_wdt_ioctl()
169 if (get_user(options, (int *)arg)) pnx833x_wdt_ioctl()
172 if (options & WDIOS_DISABLECARD) pnx833x_wdt_ioctl()
175 if (options & WDIOS_ENABLECARD) pnx833x_wdt_ioctl()
H A Dsbc7240_wdt.c157 .options = WDIOF_KEEPALIVEPING|
176 int options; fop_ioctl() local
179 if (get_user(options, (int __user *)arg)) fop_ioctl()
182 if (options & WDIOS_DISABLECARD) { fop_ioctl()
187 if (options & WDIOS_ENABLECARD) { fop_ioctl()
H A Dwafer5823wdt.c133 .options = WDIOF_KEEPALIVEPING | WDIOF_SETTIMEOUT | wafwdt_ioctl()
151 int options, retval = -EINVAL; wafwdt_ioctl() local
153 if (get_user(options, p)) wafwdt_ioctl()
156 if (options & WDIOS_DISABLECARD) { wafwdt_ioctl()
161 if (options & WDIOS_ENABLECARD) { wafwdt_ioctl()
H A Deurotechwdt.c35 * proper options in watchdog_info
242 .options = WDIOF_KEEPALIVEPING | WDIOF_SETTIMEOUT eurwdt_ioctl()
249 int options, retval = -EINVAL; eurwdt_ioctl() local
260 if (get_user(options, p)) eurwdt_ioctl()
263 if (options & WDIOS_DISABLECARD) { eurwdt_ioctl()
267 if (options & WDIOS_ENABLECARD) { eurwdt_ioctl()
/linux-4.1.27/arch/cris/arch-v32/mach-fs/
H A Ddma.c20 unsigned options, unsigned int bandwidth, crisv32_request_dma()
28 options & DMA_INT_MEM ? crisv32_request_dma()
37 if (options & DMA_VERBOSE_ON_ERROR) { crisv32_request_dma()
44 if (options & DMA_PANIC_ON_ERROR) crisv32_request_dma()
78 if (options & DMA_VERBOSE_ON_ERROR) { crisv32_request_dma()
84 if (options & DMA_PANIC_ON_ERROR) crisv32_request_dma()
19 crisv32_request_dma(unsigned int dmanr, const char *device_id, unsigned options, unsigned int bandwidth, enum dma_owner owner) crisv32_request_dma() argument
/linux-4.1.27/net/dccp/
H A Dfeat.h63 * @needs_mandatory: whether Mandatory options should be sent
119 * Encoding variable-length options and their maximum length.
121 * This affects NN options (SP options are all u8) and other variable-length
122 * options (see table 3 in RFC 4340). The limit is currently given the Sequence
124 * options consume less than 6 bytes (timestamps are 4 bytes).
H A DMakefile3 dccp-y := ccid.o feat.o input.o minisocks.o options.o output.o proto.o timer.o \
H A Dccid.h40 * @ccid_hc_{r,t}x_parse_options: parsing routine for CCID/HC-specific options
41 * @ccid_hc_{r,t}x_insert_options: insert routine for CCID/HC-specific options
46 * @ccid_hc_{r,t}x_getsockopt: socket options specific to HC-receiver/sender
196 * ccid_hc_tx_parse_options - Parse CCID-specific options sent by the receiver
211 * ccid_hc_rx_parse_options - Parse CCID-specific options sent by the sender
/linux-4.1.27/drivers/media/pci/cx18/
H A Dcx18-driver.c423 if (cx->options.tuner == -1) cx18_process_eeprom()
424 cx->options.tuner = tv.tuner_type; cx18_process_eeprom()
425 if (cx->options.radio == -1) cx18_process_eeprom()
426 cx->options.radio = (tv.has_radio != 0); cx18_process_eeprom()
543 cx->options.megabytes[CX18_ENC_STREAM_TYPE_TS] = enc_ts_buffers; cx18_process_options()
544 cx->options.megabytes[CX18_ENC_STREAM_TYPE_MPG] = enc_mpg_buffers; cx18_process_options()
545 cx->options.megabytes[CX18_ENC_STREAM_TYPE_IDX] = enc_idx_buffers; cx18_process_options()
546 cx->options.megabytes[CX18_ENC_STREAM_TYPE_YUV] = enc_yuv_buffers; cx18_process_options()
547 cx->options.megabytes[CX18_ENC_STREAM_TYPE_VBI] = enc_vbi_buffers; cx18_process_options()
548 cx->options.megabytes[CX18_ENC_STREAM_TYPE_PCM] = enc_pcm_buffers; cx18_process_options()
549 cx->options.megabytes[CX18_ENC_STREAM_TYPE_RAD] = 0; /* control only */ cx18_process_options()
570 cx->options.megabytes[i] <= 0 || /* User said 0 MB total */ cx18_process_options()
572 cx->options.megabytes[i] = 0; cx18_process_options()
615 cx->options.megabytes[i] * 1024 * 1024 cx18_process_options()
619 cx->options.megabytes[i] = cx18_process_options()
627 cx->options.megabytes[i] * 1024 cx18_process_options()
631 cx->options.megabytes[i] = cx18_process_options()
638 CX18_DEBUG_INFO("Stream type %d options: %d MB, %d buffers, " cx18_process_options()
639 "%d bytes\n", i, cx->options.megabytes[i], cx18_process_options()
643 cx->options.cardtype = cardtype[cx->instance]; cx18_process_options()
644 cx->options.tuner = tuner[cx->instance]; cx18_process_options()
645 cx->options.radio = radio[cx->instance]; cx18_process_options()
648 if (cx->options.cardtype == -1) { cx18_process_options()
652 cx->card = cx18_get_card(cx->options.cardtype - 1); cx18_process_options()
655 else if (cx->options.cardtype != 0) cx18_process_options()
939 if (cx->options.cardtype == -1) { cx18_probe()
1050 if (cx->options.tuner == -1) { cx18_probe()
1054 cx->options.tuner = cx->card->tuners[i].tuner; cx18_probe()
1059 if (cx->options.tuner == -1 && cx->card->tuners[0].std) { cx18_probe()
1067 cx->options.tuner = cx->card->tuners[0].tuner; cx18_probe()
1069 if (cx->options.radio == -1) cx18_probe()
1070 cx->options.radio = (cx->card->radio_input.audio_type != 0); cx18_probe()
1085 if (cx->options.radio > 0) cx18_probe()
1088 if (cx->options.tuner > -1) { cx18_probe()
1092 setup.type = cx->options.tuner; cx18_probe()
1095 if (cx->options.radio > 0) cx18_probe()
1106 .tuner = cx->options.tuner, cx18_probe()
/linux-4.1.27/include/linux/platform_data/
H A Dmtd-nand-s3c2410.h22 * @options: Default value to set into 'struct nand_chip' options.
37 unsigned int options; member in struct:s3c2410_nand_set
H A Dlp8755.h47 * multiphase configuration options
/linux-4.1.27/net/ipv4/netfilter/
H A Dipt_SYNPROXY.c98 if (opts->options & XT_SYNPROXY_OPT_ECN) synproxy_send_client_synack()
142 if (opts->options & XT_SYNPROXY_OPT_ECN) synproxy_send_server_syn()
247 opts->options |= XT_SYNPROXY_OPT_MSS; synproxy_recv_client_ack()
249 if (opts->options & XT_SYNPROXY_OPT_TIMESTAMP) synproxy_recv_client_ack()
279 opts.options |= XT_SYNPROXY_OPT_ECN; synproxy_tg4()
281 opts.options &= info->options; synproxy_tg4()
282 if (opts.options & XT_SYNPROXY_OPT_TIMESTAMP) synproxy_tg4()
285 opts.options &= ~(XT_SYNPROXY_OPT_WSCALE | synproxy_tg4()
370 if (opts.options & XT_SYNPROXY_OPT_TIMESTAMP) ipv4_synproxy_hook()
380 if (opts.options & XT_SYNPROXY_OPT_TIMESTAMP) ipv4_synproxy_hook()
383 opts.options &= ~(XT_SYNPROXY_OPT_MSS | ipv4_synproxy_hook()
H A Dipt_rpfilter.c107 unsigned int options = ~XT_RPFILTER_OPTION_MASK; rpfilter_check() local
108 if (info->flags & options) { rpfilter_check()
109 pr_info("unknown options encountered"); rpfilter_check()
/linux-4.1.27/drivers/firmware/
H A Dpcdp.c27 static char options[64], *p = options; setup_serial_console() local
45 add_preferred_console("uart", 8250, &options[9]); setup_serial_console()
46 return setup_earlycon(options); setup_serial_console()
/linux-4.1.27/arch/mips/fw/arc/
H A Darc_con.c27 static int prom_console_setup(struct console *co, char *options) prom_console_setup() argument
/linux-4.1.27/arch/mips/mti-sead3/
H A Dsead3-int.c36 (current_cpu_data.options & MIPS_CPU_VEIC) ? "on" : "off"); arch_init_irq()
/linux-4.1.27/tools/perf/bench/
H A Dsched-pipe.c13 #include "../util/parse-options.h"
44 static const struct option options[] = { variable in typeref:struct:option
51 "perf bench sched pipe <options>",
95 argc = parse_options(argc, argv, options, bench_sched_pipe_usage, 0); bench_sched_pipe()
H A Dfutex-hash.c14 #include "../util/parse-options.h"
44 static const struct option options[] = { variable in typeref:struct:option
54 "perf bench futex hash <options>",
119 argc = parse_options(argc, argv, options, bench_futex_hash_usage, 0); bench_futex_hash()
121 usage_with_options(bench_futex_hash_usage, options); bench_futex_hash()
H A Dfutex-requeue.c14 #include "../util/parse-options.h"
40 static const struct option options[] = { variable in typeref:struct:option
49 "perf bench futex requeue <options>",
115 argc = parse_options(argc, argv, options, bench_futex_requeue_usage, 0); bench_futex_requeue()
210 usage_with_options(bench_futex_requeue_usage, options); bench_futex_requeue()
H A Dfutex-wake.c14 #include "../util/parse-options.h"
41 static const struct option options[] = { variable in typeref:struct:option
50 "perf bench futex wake <options>",
116 argc = parse_options(argc, argv, options, bench_futex_wake_usage, 0); bench_futex_wake()
118 usage_with_options(bench_futex_wake_usage, options); bench_futex_wake()
H A Dmem-memcpy.c11 #include "../util/parse-options.h"
34 static const struct option options[] = { variable in typeref:struct:option
81 "perf bench mem memcpy <options>",
228 argc = parse_options(argc, argv, options, bench_mem_common()
232 fprintf(stderr, "Invalid options: -o and -n are mutually exclusive\n"); bench_mem_common()
402 "perf bench mem memset <options>",
/linux-4.1.27/fs/fat/
H A Dfile.c75 if (sbi->options.sys_immutable && fat_ioctl_set_attributes()
97 if (sbi->options.sys_immutable) { fat_ioctl_set_attributes()
148 MSDOS_SB(inode->i_sb)->options.flush) { fat_file_release()
312 if (MSDOS_SB(inode->i_sb)->options.nfs == FAT_NFS_NOSTALE_RO) { fat_getattr()
331 mask = sbi->options.fs_fmask; fat_sanitize_mode()
333 mask = sbi->options.fs_dmask; fat_sanitize_mode()
360 umode_t allow_utime = sbi->options.allow_utime; fat_allow_set_time()
394 if (sbi->options.quiet) fat_setattr()
417 (!uid_eq(attr->ia_uid, sbi->options.fs_uid))) || fat_setattr()
419 (!gid_eq(attr->ia_gid, sbi->options.fs_gid))) || fat_setattr()
425 if (sbi->options.quiet) fat_setattr()
H A Dinode.c377 if (S_ISDIR(inode->i_mode) && sbi->options.nfs) { fat_attach()
396 if (S_ISDIR(inode->i_mode) && sbi->options.nfs) { fat_detach()
458 inode->i_uid = sbi->options.fs_uid; fat_fill_inode()
459 inode->i_gid = sbi->options.fs_gid; fat_fill_inode()
480 ((sbi->options.showexec && !is_exec(de->name + 8)) fat_fill_inode()
492 if (sbi->options.sys_immutable) fat_fill_inode()
501 if (sbi->options.isvfat) { fat_fill_inode()
513 if (sbi->options.nfs == FAT_NFS_NOSTALE_RO) fat_lock_build_inode()
519 if (sbi->options.nfs == FAT_NFS_NOSTALE_RO) fat_unlock_build_inode()
620 if (sbi->options.iocharset != fat_default_iocharset) delayed_free()
621 kfree(sbi->options.iocharset); delayed_free()
700 *flags |= MS_NODIRATIME | (sbi->options.isvfat ? 0 : MS_NOATIME); fat_remount()
736 (sbi->options.isvfat ? FAT_LFN_LEN : 12) * NLS_MAX_CHARSET_SIZE; fat_statfs()
782 if (sbi->options.isvfat) { __fat_write_inode()
837 struct fat_mount_options *opts = &sbi->options; fat_show_options()
1021 static int parse_options(struct super_block *sb, char *options, int is_vfat, parse_options() argument
1054 if (!options) parse_options()
1057 while ((p = strsep(&options, ",")) != NULL) { parse_options()
1234 /* obsolete mount options */ parse_options()
1277 inode->i_uid = sbi->options.fs_uid; fat_read_root()
1278 inode->i_gid = sbi->options.fs_gid; fat_read_root()
1518 error = parse_options(sb, data, isvfat, silent, &debug, &sbi->options); fat_fill_super()
1522 setup(sb); /* flavour-specific stuff that needs options */ fat_fill_super()
1534 if (error == -EINVAL && sbi->options.dos1xfloppy) fat_fill_super()
1616 if (sbi->options.usefree) fat_fill_super()
1694 sprintf(buf, "cp%d", sbi->options.codepage); fat_fill_super()
1702 if (sbi->options.isvfat) { fat_fill_super()
1703 sbi->nls_io = load_nls(sbi->options.iocharset); fat_fill_super()
1706 sbi->options.iocharset); fat_fill_super()
1744 if (sbi->options.discard) { fat_fill_super()
1767 if (sbi->options.iocharset != fat_default_iocharset) fat_fill_super()
1768 kfree(sbi->options.iocharset); fat_fill_super()
1808 if (!MSDOS_SB(sb)->options.flush) fat_flush_inodes()
H A Dnamei_msdos.c124 err = msdos_format_name(name, len, msdos_name, &sbi->options); msdos_find()
129 if (!err && sbi->options.dotsOK) { msdos_find()
151 struct fat_mount_options *options = &MSDOS_SB(dentry->d_sb)->options; msdos_hash() local
155 error = msdos_format_name(qstr->name, qstr->len, msdos_name, options); msdos_hash()
168 struct fat_mount_options *options = &MSDOS_SB(parent->d_sb)->options; msdos_cmp() local
172 error = msdos_format_name(name->name, name->len, a_msdos_name, options); msdos_cmp()
175 error = msdos_format_name(str, len, b_msdos_name, options); msdos_cmp()
275 msdos_name, &MSDOS_SB(sb)->options); msdos_create()
356 msdos_name, &MSDOS_SB(sb)->options); msdos_mkdir()
609 &MSDOS_SB(old_dir->i_sb)->options); msdos_rename()
614 &MSDOS_SB(new_dir->i_sb)->options); msdos_rename()
H A Dmisc.c21 struct fat_mount_options *opts = &MSDOS_SB(sb)->options; __fat_fs_error()
212 if (!sbi->options.tz_set) fat_time_fat2unix()
215 second -= sbi->options.time_offset * SECS_PER_MIN; fat_time_fat2unix()
232 (sbi->options.tz_set ? sbi->options.time_offset : fat_time_unix2fat()
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_mid.c568 req->options |= BIT_0; qla25xx_delete_req_que()
583 rsp->options |= BIT_0; qla25xx_delete_rsp_que()
632 qla25xx_create_req_que(struct qla_hw_data *ha, uint16_t options, qla25xx_create_req_que() argument
689 options |= BIT_4; qla25xx_create_req_que()
692 options |= BIT_5; qla25xx_create_req_que()
693 req->options = options; qla25xx_create_req_que()
696 "options=0x%x.\n", req->options); qla25xx_create_req_que()
698 "options=0x%x.\n", req->options); qla25xx_create_req_que()
757 qla25xx_create_rsp_que(struct qla_hw_data *ha, uint16_t options, qla25xx_create_rsp_que() argument
808 options |= BIT_4; qla25xx_create_rsp_que()
811 options |= BIT_5; qla25xx_create_rsp_que()
814 options |= BIT_6; qla25xx_create_rsp_que()
816 rsp->options = options; qla25xx_create_rsp_que()
824 "options=%x id=%d rsp_q_in=%p rsp_q_out=%p", qla25xx_create_rsp_que()
825 rsp->options, rsp->id, rsp->rsp_q_in, qla25xx_create_rsp_que()
828 "options=%x id=%d rsp_q_in=%p rsp_q_out=%p", qla25xx_create_rsp_que()
829 rsp->options, rsp->id, rsp->rsp_q_in, qla25xx_create_rsp_que()
/linux-4.1.27/include/linux/usb/
H A Dohci_pdriver.h30 * These are general configuration options for the OHCI controller. All of
31 * these options are activating more or less workarounds for some hardware.
H A Dehci_pdriver.h40 * These are general configuration options for the EHCI controller. All of
41 * these options are activating more or less workarounds for some hardware.
/linux-4.1.27/arch/cris/include/arch-v10/arch/
H A Ddma.h67 /* Masks used by cris_request_dma options: */
72 unsigned options, enum dma_owner owner);
/linux-4.1.27/arch/cris/include/arch-v32/mach-fs/mach/
H A Ddma.h70 unsigned options, unsigned bandwidth,
74 /* Masks used by crisv32_request_dma options: */
/linux-4.1.27/arch/m68k/include/uapi/asm/
H A Dbootinfo-vme.h42 * configuration options, etc.
53 __be32 options; member in struct:__anon1829
/linux-4.1.27/arch/arm/mach-ep93xx/
H A Dts72xx.h10 * febfe000 22400000 4K options register
11 * febfd000 22800000 4K options register #2
/linux-4.1.27/scripts/kconfig/lxdialog/
H A Dcheck-lxdialog.sh64 printf "Usage: $0 [-check compiler options|-ccflags|-ldflags compiler options]\n"
/linux-4.1.27/net/sunrpc/auth_gss/
H A Dgss_rpc_xdr.c343 /* we assume we have no options for now, so simply consume them */ gssx_dec_status()
344 /* status->options */ gssx_dec_status()
345 err = dummy_dec_opt_array(xdr, &status->options); gssx_dec_status()
368 /* ctx->options */ gssx_enc_call_ctx()
484 /* leave options empty for now, will add once we have any options gssx_enc_name()
527 /* we assume we have no options for now, so simply consume them */ gssx_dec_name()
631 /* leave options empty for now, will add once we have any options gssx_enc_ctx()
633 /* ctx->options */ gssx_enc_ctx()
634 err = dummy_enc_opt_array(xdr, &ctx->options); gssx_enc_ctx()
694 /* we assume we have no options for now, so simply consume them */ gssx_dec_ctx()
695 /* ctx->options */ gssx_dec_ctx()
696 err = dummy_dec_opt_array(xdr, &ctx->options); gssx_dec_ctx()
777 /* leave options empty for now, will add once we have any options gssx_enc_accept_sec_context()
779 /* arg->options */ gssx_enc_accept_sec_context()
780 err = dummy_enc_opt_array(xdr, &arg->options); gssx_enc_accept_sec_context()
842 /* res->options */ gssx_dec_accept_sec_context()
843 err = gssx_dec_option_array(xdr, &res->options); gssx_dec_accept_sec_context()
H A Dgss_rpc_xdr.h64 struct gssx_option_array options; member in struct:gssx_status
70 struct gssx_option_array options; member in struct:gssx_call_ctx
95 struct gssx_option_array options; member in struct:gssx_cred_element
121 struct gssx_option_array options; member in struct:gssx_ctx
149 struct gssx_option_array options; member in struct:gssx_arg_accept_sec_context
159 struct gssx_option_array options; member in struct:gssx_res_accept_sec_context
231 4) /* empty options */
/linux-4.1.27/tools/testing/fault-injection/
H A Dfailcmd.sh8 # failcmd.sh [<options>] command [arguments]
20 Usage: $0 [options] command [arguments]
47 failslab options:
50 fail_page_alloc options:
124 # Default options
/linux-4.1.27/drivers/media/pci/ivtv/
H A Divtv-driver.c514 if (itv->options.tuner == -1) ivtv_process_eeprom()
515 itv->options.tuner = tv.tuner_type; ivtv_process_eeprom()
516 if (itv->options.radio == -1) ivtv_process_eeprom()
517 itv->options.radio = (tv.has_radio != 0); ivtv_process_eeprom()
519 if (itv->options.newi2c == -1 && tv.has_ir) { ivtv_process_eeprom()
520 itv->options.newi2c = (tv.has_ir & 4) ? 1 : 0; ivtv_process_eeprom()
521 if (itv->options.newi2c) { ivtv_process_eeprom()
646 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_MPG] = enc_mpg_buffers * 1024; ivtv_process_options()
647 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_YUV] = enc_yuv_buffers * 1024; ivtv_process_options()
648 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_VBI] = enc_vbi_buffers * 1024; ivtv_process_options()
649 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_PCM] = enc_pcm_buffers; ivtv_process_options()
650 itv->options.kilobytes[IVTV_DEC_STREAM_TYPE_MPG] = dec_mpg_buffers * 1024; ivtv_process_options()
651 itv->options.kilobytes[IVTV_DEC_STREAM_TYPE_YUV] = dec_yuv_buffers * 1024; ivtv_process_options()
652 itv->options.kilobytes[IVTV_DEC_STREAM_TYPE_VBI] = dec_vbi_buffers; ivtv_process_options()
653 itv->options.cardtype = cardtype[itv->instance]; ivtv_process_options()
654 itv->options.tuner = tuner[itv->instance]; ivtv_process_options()
655 itv->options.radio = radio[itv->instance]; ivtv_process_options()
657 itv->options.i2c_clock_period = i2c_clock_period[itv->instance]; ivtv_process_options()
658 if (itv->options.i2c_clock_period == -1) ivtv_process_options()
659 itv->options.i2c_clock_period = IVTV_DEFAULT_I2C_CLOCK_PERIOD; ivtv_process_options()
660 else if (itv->options.i2c_clock_period < 10) ivtv_process_options()
661 itv->options.i2c_clock_period = 10; ivtv_process_options()
662 else if (itv->options.i2c_clock_period > 4500) ivtv_process_options()
663 itv->options.i2c_clock_period = 4500; ivtv_process_options()
665 itv->options.newi2c = newi2c; ivtv_process_options()
675 if (itv->options.cardtype == -1) { ivtv_process_options()
679 if ((itv->card = ivtv_get_card(itv->options.cardtype - 1))) { ivtv_process_options()
682 } else if (itv->options.cardtype != 0) { ivtv_process_options()
1019 if (itv->options.cardtype == -1) { ivtv_probe()
1128 if (itv->options.tuner == -1) { ivtv_probe()
1134 itv->options.tuner = itv->card->tuners[i].tuner; ivtv_probe()
1139 if (itv->options.tuner == -1 && itv->card->tuners[0].std) { ivtv_probe()
1147 itv->options.tuner = itv->card->tuners[0].tuner; ivtv_probe()
1149 if (itv->options.radio == -1) ivtv_probe()
1150 itv->options.radio = (itv->card->radio_input.audio_type != 0); ivtv_probe()
1194 if (itv->options.radio > 0) ivtv_probe()
1197 if (itv->options.tuner > -1) { ivtv_probe()
1201 setup.type = itv->options.tuner; ivtv_probe()
1203 if (itv->options.radio > 0) ivtv_probe()
1214 .tuner = itv->options.tuner, ivtv_probe()
/linux-4.1.27/drivers/s390/cio/
H A Ddevice_ops.c29 * ccw_device_set_options_mask() - set some options and unset the rest
30 * @cdev: device for which the options are to be set
31 * @flags: options to be set
46 cdev->private->options.fast = (flags & CCWDEV_EARLY_NOTIFICATION) != 0; ccw_device_set_options_mask()
47 cdev->private->options.repall = (flags & CCWDEV_REPORT_ALL) != 0; ccw_device_set_options_mask()
48 cdev->private->options.pgroup = (flags & CCWDEV_DO_PATHGROUP) != 0; ccw_device_set_options_mask()
49 cdev->private->options.force = (flags & CCWDEV_ALLOW_FORCE) != 0; ccw_device_set_options_mask()
50 cdev->private->options.mpath = (flags & CCWDEV_DO_MULTIPATH) != 0; ccw_device_set_options_mask()
55 * ccw_device_set_options() - set some options
56 * @cdev: device for which the options are to be set
57 * @flags: options to be set
71 cdev->private->options.repall) || ccw_device_set_options()
73 cdev->private->options.fast)) ccw_device_set_options()
75 cdev->private->options.fast |= (flags & CCWDEV_EARLY_NOTIFICATION) != 0; ccw_device_set_options()
76 cdev->private->options.repall |= (flags & CCWDEV_REPORT_ALL) != 0; ccw_device_set_options()
77 cdev->private->options.pgroup |= (flags & CCWDEV_DO_PATHGROUP) != 0; ccw_device_set_options()
78 cdev->private->options.force |= (flags & CCWDEV_ALLOW_FORCE) != 0; ccw_device_set_options()
79 cdev->private->options.mpath |= (flags & CCWDEV_DO_MULTIPATH) != 0; ccw_device_set_options()
84 * ccw_device_clear_options() - clear some options
85 * @cdev: device for which the options are to be cleared
86 * @flags: options to be cleared
92 cdev->private->options.fast &= (flags & CCWDEV_EARLY_NOTIFICATION) == 0; ccw_device_clear_options()
93 cdev->private->options.repall &= (flags & CCWDEV_REPORT_ALL) == 0; ccw_device_clear_options()
94 cdev->private->options.pgroup &= (flags & CCWDEV_DO_PATHGROUP) == 0; ccw_device_clear_options()
95 cdev->private->options.force &= (flags & CCWDEV_ALLOW_FORCE) == 0; ccw_device_clear_options()
96 cdev->private->options.mpath &= (flags & CCWDEV_DO_MULTIPATH) == 0; ccw_device_clear_options()
437 !cdev->private->options.repall && ccw_device_call_handler()
439 !(cdev->private->options.fast && ccw_device_call_handler()
530 if (!cdev->private->options.force) ccw_device_stlck()
/linux-4.1.27/tools/power/acpi/tools/acpidump/
H A Dapmain.c77 /* Table for deferred actions from command line options */
96 ACPI_USAGE_HEADER("acpidump [options]"); ap_display_usage()
143 acpi_log_error("Too many table options (max %u)\n", ap_insert_action()
169 /* Command line options */ ap_do_options()
175 * Global options ap_do_options()
239 * Table options ap_do_options()
309 /* Process command line options */ main()
/linux-4.1.27/drivers/misc/sgi-gru/
H A Dgrulib.h56 /* Get some config options (primarily for tests & emulator) */
79 unsigned int options; member in struct:gru_create_context_req
91 * Structure used to set context options
H A Dgru.h67 /* Flags for GRU options on the gru_create_context() call */
68 /* Select one of the follow 4 options to specify how TLB misses are handled */
/linux-4.1.27/arch/arm/mach-imx/
H A Dmach-cpuimx35.c146 static int __init eukrea_cpuimx35_otg_mode(char *options) eukrea_cpuimx35_otg_mode() argument
148 if (!strcmp(options, "host")) eukrea_cpuimx35_otg_mode()
150 else if (!strcmp(options, "device")) eukrea_cpuimx35_otg_mode()
/linux-4.1.27/net/ceph/
H A Dceph_common.c129 struct ceph_options *opt2 = client->options; ceph_compare_options()
220 * ceph options
328 ceph_parse_options(char *options, const char *dev_name, ceph_parse_options() argument
349 dout("parse_options %p options '%s' dev_name '%s'\n", opt, options, ceph_parse_options()
365 /* parse mount options */ ceph_parse_options()
366 while ((c = strsep(&options, ",")) != NULL) { ceph_parse_options()
495 struct ceph_options *opt = client->options; ceph_print_client_options()
555 client->options = opt; ceph_create_client()
572 myaddr = &client->options->my_addr; ceph_create_client()
611 ceph_destroy_options(client->options); ceph_destroy_client()
633 unsigned long timeout = client->options->mount_timeout * HZ; __ceph_open_session()
/linux-4.1.27/net/ipv6/netfilter/
H A Dip6t_SYNPROXY.c113 if (opts->options & XT_SYNPROXY_OPT_ECN) synproxy_send_client_synack()
157 if (opts->options & XT_SYNPROXY_OPT_ECN) synproxy_send_server_syn()
262 opts->options |= XT_SYNPROXY_OPT_MSS; synproxy_recv_client_ack()
264 if (opts->options & XT_SYNPROXY_OPT_TIMESTAMP) synproxy_recv_client_ack()
294 opts.options |= XT_SYNPROXY_OPT_ECN; synproxy_tg6()
296 opts.options &= info->options; synproxy_tg6()
297 if (opts.options & XT_SYNPROXY_OPT_TIMESTAMP) synproxy_tg6()
300 opts.options &= ~(XT_SYNPROXY_OPT_WSCALE | synproxy_tg6()
392 if (opts.options & XT_SYNPROXY_OPT_TIMESTAMP) ipv6_synproxy_hook()
402 if (opts.options & XT_SYNPROXY_OPT_TIMESTAMP) ipv6_synproxy_hook()
405 opts.options &= ~(XT_SYNPROXY_OPT_MSS | ipv6_synproxy_hook()
H A Dip6t_rpfilter.c102 unsigned int options = ~XT_RPFILTER_OPTION_MASK; rpfilter_check() local
104 if (info->flags & options) { rpfilter_check()
105 pr_info("unknown options encountered"); rpfilter_check()
/linux-4.1.27/arch/x86/include/asm/
H A Dpage_32_types.h14 * and CONFIG_HIGHMEM64G options in the kernel configuration.
H A Ddisabled-features.h5 * will not be used because the compile options to support
/linux-4.1.27/include/uapi/linux/cifs/
H A Dcifs_mount.h19 /* Max string lengths for cifs mounting options. */
/linux-4.1.27/arch/mips/sni/
H A Dsetup.c65 static char options[8] __initdata; sni_console_setup()
82 strcpy(options, baud); sni_console_setup()
85 baud ? options : NULL); sni_console_setup()
88 baud ? options : NULL); sni_console_setup()
/linux-4.1.27/tools/power/acpi/common/
H A Dgetopt.c50 * "f^" - Option has optional single-char sub-options
51 * "f|" - Option has required single-char sub-options
78 * two-character options after the original call to acpi_getopt.
112 * opts - options info list
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
H A Dlib-md.c99 lmd->md_options = umd->options; lnet_md_build()
106 if ((umd->options & LNET_MD_IOVEC) != 0) { lnet_md_build()
108 if ((umd->options & LNET_MD_KIOV) != 0) /* Can't specify both */ lnet_md_build()
126 if ((umd->options & LNET_MD_MAX_SIZE) != 0 && /* use max size */ lnet_md_build()
131 } else if ((umd->options & LNET_MD_KIOV) != 0) { lnet_md_build()
147 if ((umd->options & LNET_MD_MAX_SIZE) != 0 && /* max size used */ lnet_md_build()
157 if ((umd->options & LNET_MD_MAX_SIZE) != 0 && /* max size used */ lnet_md_build()
216 umd->options = lmd->md_options; lnet_md_deconstruct()
230 if ((umd->options & (LNET_MD_KIOV | LNET_MD_IOVEC)) != 0 && lnet_md_validate()
282 if ((umd.options & (LNET_MD_OP_GET | LNET_MD_OP_PUT)) == 0) { LNetMDAttach()
359 if ((umd.options & (LNET_MD_OP_GET | LNET_MD_OP_PUT)) != 0) { LNetMDBind()
/linux-4.1.27/drivers/net/ethernet/via/
H A Dvia-velocity.c260 Define module options
365 VELOCITY_PARAM(wol_opts, "Wake On Lan options");
418 * velocity_set_int_opt - parser for integer options
427 * Set an integer property in the module options. This function does
448 * velocity_set_bool_opt - parser for boolean options
456 * Set a boolean property in the module options. This function does
478 * velocity_get_options - set options on device
480 * @index: index of option to use in module options array
483 * Turn the module and command options into a single structure
499 velocity_set_int_opt(&opts->wol_opts, wol_opts[index], WOL_OPT_MIN, WOL_OPT_MAX, WOL_OPT_DEF, "Wake On Lan options", devname); velocity_get_options()
582 for (i = 0; i < vptr->options.numrx; ++i) velocity_rx_reset()
585 writew(vptr->options.numrx, &regs->RBRDU); velocity_rx_reset()
588 writew(vptr->options.numrx - 1, &regs->RDCSize); velocity_rx_reset()
595 * Get the media mode stored in EEPROM or module options and load
603 switch (vptr->options.spd_dpx) { velocity_get_opt_media_mode()
798 * the supplied user/eeprom options.
803 switch (vptr->options.flow_cntl) { set_mii_flow_control()
1009 } else if (vptr->options.spd_dpx == SPD_DPX_AUTO) { velocity_print_link_status()
1025 switch (vptr->options.spd_dpx) { velocity_print_link_status()
1051 * Set up flow control according to the flow control options
1059 switch (vptr->options.flow_cntl) { enable_flow_control_ability()
1273 txqueue_timer = vptr->options.txqueue_timer; setup_queue_timers()
1274 rxqueue_timer = vptr->options.rxqueue_timer; setup_queue_timers()
1293 u16 tx_intsup = vptr->options.tx_intsup; setup_adaptive_interrupts()
1294 u16 rx_intsup = vptr->options.rx_intsup; setup_adaptive_interrupts()
1384 mac_set_rx_thresh(regs, vptr->options.rx_thresh); velocity_init_registers()
1385 mac_set_dma_length(regs, vptr->options.DMA_length); velocity_init_registers()
1411 writew(vptr->options.numrx - 1, &regs->RDCSize); velocity_init_registers()
1415 writew(vptr->options.numtx - 1, &regs->TDCSize); velocity_init_registers()
1463 dirty = (dirty > 0) ? dirty - 1 : vptr->options.numrx - 1; velocity_give_many_rx_descs()
1480 struct velocity_opt *opt = &vptr->options; velocity_init_dma_rings()
1578 dirty = (dirty < vptr->options.numrx - 1) ? dirty + 1 : 0; velocity_rx_refill()
1603 for (i = 0; i < vptr->options.numrx; i++) { velocity_free_rd_ring()
1634 vptr->rx.info = kcalloc(vptr->options.numrx, velocity_init_rd_ring()
1641 if (velocity_rx_refill(vptr) != vptr->options.numrx) { velocity_init_rd_ring()
1668 vptr->tx.infos[j] = kcalloc(vptr->options.numtx, velocity_init_td_ring()
1690 const int size = vptr->options.numrx * sizeof(struct rx_desc) + velocity_free_dma_rings()
1691 vptr->options.numtx * sizeof(struct tx_desc) * vptr->tx.numq; velocity_free_dma_rings()
1797 for (i = 0; i < vptr->options.numtx; i++) velocity_free_td_ring()
1842 if (vptr->options.spd_dpx == SPD_DPX_AUTO) { velocity_error()
1921 idx = (idx + 1) % vptr->options.numtx) { velocity_tx_srv()
2154 if (rd_curr >= vptr->options.numrx) velocity_rx_srv()
2335 tmp_vptr->options = vptr->options; velocity_change_mtu()
2633 prev = vptr->options.numtx - 1; velocity_xmit()
2636 vptr->tx.curr[qnum] = (index + 1) % vptr->options.numtx; velocity_xmit()
2858 velocity_get_options(&vptr->options, velocity_nics, drv_string); velocity_probe()
2861 * Mask out the options cannot be set to the chip velocity_probe()
2864 vptr->options.flags &= info->flags; velocity_probe()
2870 vptr->flags = vptr->options.flags | (info->flags & 0xFF000000UL); velocity_probe()
2872 vptr->wol_opts = vptr->options.wol_opts; velocity_probe()
3045 enum speed_opt spd_dpx = vptr->options.spd_dpx; velocity_set_wol()
3336 if (vptr->options.spd_dpx == SPD_DPX_AUTO) { velocity_get_settings()
3345 switch (vptr->options.spd_dpx) { velocity_get_settings()
3424 vptr->options.spd_dpx = spd_dpx; velocity_set_settings()
3550 ecmd->tx_max_coalesced_frames = vptr->options.tx_intsup; velocity_get_coalesce()
3551 ecmd->rx_max_coalesced_frames = vptr->options.rx_intsup; velocity_get_coalesce()
3553 ecmd->rx_coalesce_usecs = get_pending_timer_val(vptr->options.rxqueue_timer); velocity_get_coalesce()
3554 ecmd->tx_coalesce_usecs = get_pending_timer_val(vptr->options.txqueue_timer); velocity_get_coalesce()
3577 vptr->options.rx_intsup = ecmd->rx_max_coalesced_frames; velocity_set_coalesce()
3578 vptr->options.tx_intsup = ecmd->tx_max_coalesced_frames; velocity_set_coalesce()
3580 set_pending_timer_val(&vptr->options.rxqueue_timer, velocity_set_coalesce()
3582 set_pending_timer_val(&vptr->options.txqueue_timer, velocity_set_coalesce()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
H A Dpers.c53 LASSERT(!(md->options & (LNET_MD_IOVEC | LNET_MD_KIOV | ptlrpc_fill_bulk_md()
56 md->options |= LNET_MD_KIOV; ptlrpc_fill_bulk_md()
/linux-4.1.27/arch/mips/boot/
H A DMakefile21 drop-sections := .reginfo .mdebug .comment .note .pdr .options .MIPS.options
/linux-4.1.27/net/openvswitch/
H A Dvport-geneve.c101 geneveh->options, opts_len); geneve_rcv()
129 struct nlattr *options = parms->options; geneve_tnl_create() local
137 if (!options) { geneve_tnl_create()
142 a = nla_find_nested(options, OVS_TUNNEL_ATTR_DST_PORT); geneve_tnl_create()
204 opts = (u8 *)tun_info->options; geneve_tnl_send()
H A Dvport-vxlan.c154 struct nlattr *options = parms->options; vxlan_tnl_create() local
162 if (!options) { vxlan_tnl_create()
166 a = nla_find_nested(options, OVS_TUNNEL_ATTR_DST_PORT); vxlan_tnl_create()
183 a = nla_find_nested(options, OVS_TUNNEL_ATTR_EXTENSION); vxlan_tnl_create()
212 opts = tun_info->options; vxlan_ext_gbp()
/linux-4.1.27/drivers/net/hamradio/
H A Dbaycom_par.c49 * Command line options (insmod command line)
96 * modem options; bit mask
132 unsigned int options; member in struct:baycom_state
247 if (bc->options & BAYCOM_OPTIONS_SOFTDCD) { par96_rx()
353 printk(KERN_INFO "%s: par96 at iobase 0x%lx irq %u options 0x%x\n", par96_open()
354 bc_drvname, dev->base_addr, dev->irq, bc->options); par96_open()
402 bc->options = 0; baycom_setmode()
404 bc->options = BAYCOM_OPTIONS_SOFTDCD; baycom_setmode()
406 bc->options = !!strchr(modestr, '*'); baycom_setmode()
431 strcpy(hi->data.modename, bc->options ? "par96" : "picpar"); baycom_ioctl()
/linux-4.1.27/drivers/video/fbdev/
H A Dgrvga.c270 static int grvga_parse_custom(char *options, grvga_parse_custom() argument
275 if (!options || !*options) grvga_parse_custom()
278 while ((this_opt = strsep(&options, " ")) != NULL) { grvga_parse_custom()
341 char *options = NULL, *mode_opt = NULL; grvga_probe() local
355 if (fb_get_options("grvga", &options)) { grvga_probe()
360 if (!options || !*options) grvga_probe()
361 options = "640x480-8@60"; grvga_probe()
364 char *this_opt = strsep(&options, ","); grvga_probe()
/linux-4.1.27/fs/9p/
H A Dv9fs.c48 * NOTE: each transport will parse its own options
54 /* String options */
58 /* Cache options */
60 /* Access options */
84 /* Interpret mount options for cache mode */ get_cache_mode()
107 * v9fs_parse_options - parse mount options into session structure
115 char *options, *tmp_options; v9fs_parse_options() local
138 options = tmp_options; v9fs_parse_options()
140 while ((p = strsep(&options, ",")) != NULL) { v9fs_parse_options()
316 * @data: options
/linux-4.1.27/drivers/gpu/drm/ttm/
H A Dttm_page_alloc.c113 struct ttm_pool_opts options; member in struct:ttm_pool_manager
168 m->options.max_size = val; ttm_pool_store()
170 m->options.small = val; ttm_pool_store()
181 m->options.alloc_size = val; ttm_pool_store()
195 val = m->options.max_size; ttm_pool_show()
197 val = m->options.small; ttm_pool_show()
199 val = m->options.alloc_size; ttm_pool_show()
592 if (count < _manager->options.small ttm_page_pool_fill_locked()
595 unsigned alloc_size = _manager->options.alloc_size; ttm_page_pool_fill_locked()
708 if (pool->npages > _manager->options.max_size) { ttm_put_pages()
709 npages = pool->npages - _manager->options.max_size; ttm_put_pages()
832 _manager->options.max_size = max_pages; ttm_page_alloc_init()
833 _manager->options.small = SMALL_ALLOCATION; ttm_page_alloc_init()
834 _manager->options.alloc_size = NUM_PAGES_TO_ALLOC; ttm_page_alloc_init()
/linux-4.1.27/drivers/scsi/qla4xxx/
H A Dql4_os.c273 uint32_t options = 0; qla4xxx_send_ping() local
286 rval = qla4xxx_ping_iocb(ha, options, payload_size, pid, qla4xxx_send_ping()
296 options |= PING_IPV6_PROTOCOL_ENABLE; qla4xxx_send_ping()
304 options |= PING_IPV6_LINKLOCAL_ADDR; qla4xxx_send_ping()
305 rval = qla4xxx_ping_iocb(ha, options, payload_size, qla4xxx_send_ping()
319 options &= ~PING_IPV6_LINKLOCAL_ADDR; qla4xxx_send_ping()
321 options |= PING_IPV6_ADDR0; qla4xxx_send_ping()
328 options |= PING_IPV6_ADDR1; qla4xxx_send_ping()
335 rval = qla4xxx_ping_iocb(ha, options, payload_size, qla4xxx_send_ping()
2942 if (ddb_entry->fw_ddb_entry.options & DDB_OPT_IPV6_DEVICE) { qla4xxx_match_ipaddress()
3287 int options; qla4xxx_conn_destroy() local
3295 options = LOGOUT_OPTION_CLOSE_SESSION; qla4xxx_conn_destroy()
3296 if (qla4xxx_session_logout_ddb(ha, ddb_entry, options) == QLA_ERROR) qla4xxx_conn_destroy()
3458 unsigned long options = 0; qla4xxx_copy_from_fwddb_param() local
3461 options = le16_to_cpu(fw_ddb_entry->options); qla4xxx_copy_from_fwddb_param()
3462 conn->is_fw_assigned_ipv6 = test_bit(OPT_IS_FW_ASSIGNED_IPV6, &options); qla4xxx_copy_from_fwddb_param()
3463 if (test_bit(OPT_IPV6_DEVICE, &options)) { qla4xxx_copy_from_fwddb_param()
3476 &options); qla4xxx_copy_from_fwddb_param()
3477 sess->discovery_sess = test_bit(OPT_DISC_SESSION, &options); qla4xxx_copy_from_fwddb_param()
3478 sess->entry_state = test_bit(OPT_ENTRY_STATE, &options); qla4xxx_copy_from_fwddb_param()
3480 options = le16_to_cpu(fw_ddb_entry->iscsi_options); qla4xxx_copy_from_fwddb_param()
3481 conn->hdrdgst_en = test_bit(ISCSIOPT_HEADER_DIGEST_EN, &options); qla4xxx_copy_from_fwddb_param()
3482 conn->datadgst_en = test_bit(ISCSIOPT_DATA_DIGEST_EN, &options); qla4xxx_copy_from_fwddb_param()
3483 sess->imm_data_en = test_bit(ISCSIOPT_IMMEDIATE_DATA_EN, &options); qla4xxx_copy_from_fwddb_param()
3484 sess->initial_r2t_en = test_bit(ISCSIOPT_INITIAL_R2T_EN, &options); qla4xxx_copy_from_fwddb_param()
3486 &options); qla4xxx_copy_from_fwddb_param()
3487 sess->pdu_inorder_en = test_bit(ISCSIOPT_DATA_PDU_IN_ORDER, &options); qla4xxx_copy_from_fwddb_param()
3488 sess->chap_auth_en = test_bit(ISCSIOPT_CHAP_AUTH_EN, &options); qla4xxx_copy_from_fwddb_param()
3489 conn->snack_req_en = test_bit(ISCSIOPT_SNACK_REQ_EN, &options); qla4xxx_copy_from_fwddb_param()
3491 &options); qla4xxx_copy_from_fwddb_param()
3492 sess->bidi_chap_en = test_bit(ISCSIOPT_BIDI_CHAP_EN, &options); qla4xxx_copy_from_fwddb_param()
3494 test_bit(ISCSIOPT_DISCOVERY_AUTH_OPTIONAL, &options); qla4xxx_copy_from_fwddb_param()
3495 if (test_bit(ISCSIOPT_ERL1, &options)) qla4xxx_copy_from_fwddb_param()
3497 if (test_bit(ISCSIOPT_ERL0, &options)) qla4xxx_copy_from_fwddb_param()
3500 options = le16_to_cpu(fw_ddb_entry->tcp_options); qla4xxx_copy_from_fwddb_param()
3501 conn->tcp_timestamp_stat = test_bit(TCPOPT_TIMESTAMP_STAT, &options); qla4xxx_copy_from_fwddb_param()
3502 conn->tcp_nagle_disable = test_bit(TCPOPT_NAGLE_DISABLE, &options); qla4xxx_copy_from_fwddb_param()
3503 conn->tcp_wsf_disable = test_bit(TCPOPT_WSF_DISABLE, &options); qla4xxx_copy_from_fwddb_param()
3504 if (test_bit(TCPOPT_TIMER_SCALE3, &options)) qla4xxx_copy_from_fwddb_param()
3506 if (test_bit(TCPOPT_TIMER_SCALE2, &options)) qla4xxx_copy_from_fwddb_param()
3508 if (test_bit(TCPOPT_TIMER_SCALE1, &options)) qla4xxx_copy_from_fwddb_param()
3512 conn->tcp_timestamp_en = test_bit(TCPOPT_TIMESTAMP_EN, &options); qla4xxx_copy_from_fwddb_param()
3514 options = le16_to_cpu(fw_ddb_entry->ip_options); qla4xxx_copy_from_fwddb_param()
3515 conn->fragment_disable = test_bit(IPOPT_FRAGMENT_DISABLE, &options); qla4xxx_copy_from_fwddb_param()
3546 options = le16_to_cpu(fw_ddb_entry->options); qla4xxx_copy_from_fwddb_param()
3562 if (test_bit(OPT_IPV6_DEVICE, &options)) { qla4xxx_copy_from_fwddb_param()
3600 uint16_t options; qla4xxx_copy_to_fwddb_param() local
3603 options = le16_to_cpu(fw_ddb_entry->options); qla4xxx_copy_to_fwddb_param()
3604 SET_BITVAL(conn->is_fw_assigned_ipv6, options, BIT_11); qla4xxx_copy_to_fwddb_param()
3606 options |= BIT_8; qla4xxx_copy_to_fwddb_param()
3608 options &= ~BIT_8; qla4xxx_copy_to_fwddb_param()
3610 SET_BITVAL(sess->auto_snd_tgt_disable, options, BIT_6); qla4xxx_copy_to_fwddb_param()
3611 SET_BITVAL(sess->discovery_sess, options, BIT_4); qla4xxx_copy_to_fwddb_param()
3612 SET_BITVAL(sess->entry_state, options, BIT_3); qla4xxx_copy_to_fwddb_param()
3613 fw_ddb_entry->options = cpu_to_le16(options); qla4xxx_copy_to_fwddb_param()
3615 options = le16_to_cpu(fw_ddb_entry->iscsi_options); qla4xxx_copy_to_fwddb_param()
3616 SET_BITVAL(conn->hdrdgst_en, options, BIT_13); qla4xxx_copy_to_fwddb_param()
3617 SET_BITVAL(conn->datadgst_en, options, BIT_12); qla4xxx_copy_to_fwddb_param()
3618 SET_BITVAL(sess->imm_data_en, options, BIT_11); qla4xxx_copy_to_fwddb_param()
3619 SET_BITVAL(sess->initial_r2t_en, options, BIT_10); qla4xxx_copy_to_fwddb_param()
3620 SET_BITVAL(sess->dataseq_inorder_en, options, BIT_9); qla4xxx_copy_to_fwddb_param()
3621 SET_BITVAL(sess->pdu_inorder_en, options, BIT_8); qla4xxx_copy_to_fwddb_param()
3622 SET_BITVAL(sess->chap_auth_en, options, BIT_7); qla4xxx_copy_to_fwddb_param()
3623 SET_BITVAL(conn->snack_req_en, options, BIT_6); qla4xxx_copy_to_fwddb_param()
3624 SET_BITVAL(sess->discovery_logout_en, options, BIT_5); qla4xxx_copy_to_fwddb_param()
3625 SET_BITVAL(sess->bidi_chap_en, options, BIT_4); qla4xxx_copy_to_fwddb_param()
3626 SET_BITVAL(sess->discovery_auth_optional, options, BIT_3); qla4xxx_copy_to_fwddb_param()
3627 SET_BITVAL(sess->erl & BIT_1, options, BIT_1); qla4xxx_copy_to_fwddb_param()
3628 SET_BITVAL(sess->erl & BIT_0, options, BIT_0); qla4xxx_copy_to_fwddb_param()
3629 fw_ddb_entry->iscsi_options = cpu_to_le16(options); qla4xxx_copy_to_fwddb_param()
3631 options = le16_to_cpu(fw_ddb_entry->tcp_options); qla4xxx_copy_to_fwddb_param()
3632 SET_BITVAL(conn->tcp_timestamp_stat, options, BIT_6); qla4xxx_copy_to_fwddb_param()
3633 SET_BITVAL(conn->tcp_nagle_disable, options, BIT_5); qla4xxx_copy_to_fwddb_param()
3634 SET_BITVAL(conn->tcp_wsf_disable, options, BIT_4); qla4xxx_copy_to_fwddb_param()
3635 SET_BITVAL(conn->tcp_timer_scale & BIT_2, options, BIT_3); qla4xxx_copy_to_fwddb_param()
3636 SET_BITVAL(conn->tcp_timer_scale & BIT_1, options, BIT_2); qla4xxx_copy_to_fwddb_param()
3637 SET_BITVAL(conn->tcp_timer_scale & BIT_0, options, BIT_1); qla4xxx_copy_to_fwddb_param()
3638 SET_BITVAL(conn->tcp_timestamp_en, options, BIT_0); qla4xxx_copy_to_fwddb_param()
3639 fw_ddb_entry->tcp_options = cpu_to_le16(options); qla4xxx_copy_to_fwddb_param()
3641 options = le16_to_cpu(fw_ddb_entry->ip_options); qla4xxx_copy_to_fwddb_param()
3642 SET_BITVAL(conn->fragment_disable, options, BIT_4); qla4xxx_copy_to_fwddb_param()
3643 fw_ddb_entry->ip_options = cpu_to_le16(options); qla4xxx_copy_to_fwddb_param()
3707 unsigned long options = 0; qla4xxx_copy_to_sess_conn_params() local
3712 options = le16_to_cpu(fw_ddb_entry->options); qla4xxx_copy_to_sess_conn_params()
3713 conn->is_fw_assigned_ipv6 = test_bit(OPT_IS_FW_ASSIGNED_IPV6, &options); qla4xxx_copy_to_sess_conn_params()
3715 &options); qla4xxx_copy_to_sess_conn_params()
3716 sess->discovery_sess = test_bit(OPT_DISC_SESSION, &options); qla4xxx_copy_to_sess_conn_params()
3718 options = le16_to_cpu(fw_ddb_entry->iscsi_options); qla4xxx_copy_to_sess_conn_params()
3719 conn->hdrdgst_en = test_bit(ISCSIOPT_HEADER_DIGEST_EN, &options); qla4xxx_copy_to_sess_conn_params()
3720 conn->datadgst_en = test_bit(ISCSIOPT_DATA_DIGEST_EN, &options); qla4xxx_copy_to_sess_conn_params()
3721 sess->imm_data_en = test_bit(ISCSIOPT_IMMEDIATE_DATA_EN, &options); qla4xxx_copy_to_sess_conn_params()
3722 sess->initial_r2t_en = test_bit(ISCSIOPT_INITIAL_R2T_EN, &options); qla4xxx_copy_to_sess_conn_params()
3724 &options); qla4xxx_copy_to_sess_conn_params()
3725 sess->pdu_inorder_en = test_bit(ISCSIOPT_DATA_PDU_IN_ORDER, &options); qla4xxx_copy_to_sess_conn_params()
3726 sess->chap_auth_en = test_bit(ISCSIOPT_CHAP_AUTH_EN, &options); qla4xxx_copy_to_sess_conn_params()
3728 &options); qla4xxx_copy_to_sess_conn_params()
3729 sess->bidi_chap_en = test_bit(ISCSIOPT_BIDI_CHAP_EN, &options); qla4xxx_copy_to_sess_conn_params()
3731 test_bit(ISCSIOPT_DISCOVERY_AUTH_OPTIONAL, &options); qla4xxx_copy_to_sess_conn_params()
3732 if (test_bit(ISCSIOPT_ERL1, &options)) qla4xxx_copy_to_sess_conn_params()
3734 if (test_bit(ISCSIOPT_ERL0, &options)) qla4xxx_copy_to_sess_conn_params()
3737 options = le16_to_cpu(fw_ddb_entry->tcp_options); qla4xxx_copy_to_sess_conn_params()
3738 conn->tcp_timestamp_stat = test_bit(TCPOPT_TIMESTAMP_STAT, &options); qla4xxx_copy_to_sess_conn_params()
3739 conn->tcp_nagle_disable = test_bit(TCPOPT_NAGLE_DISABLE, &options); qla4xxx_copy_to_sess_conn_params()
3740 conn->tcp_wsf_disable = test_bit(TCPOPT_WSF_DISABLE, &options); qla4xxx_copy_to_sess_conn_params()
3741 if (test_bit(TCPOPT_TIMER_SCALE3, &options)) qla4xxx_copy_to_sess_conn_params()
3743 if (test_bit(TCPOPT_TIMER_SCALE2, &options)) qla4xxx_copy_to_sess_conn_params()
3745 if (test_bit(TCPOPT_TIMER_SCALE1, &options)) qla4xxx_copy_to_sess_conn_params()
3749 conn->tcp_timestamp_en = test_bit(TCPOPT_TIMESTAMP_EN, &options); qla4xxx_copy_to_sess_conn_params()
3751 options = le16_to_cpu(fw_ddb_entry->ip_options); qla4xxx_copy_to_sess_conn_params()
3752 conn->fragment_disable = test_bit(IPOPT_FRAGMENT_DISABLE, &options); qla4xxx_copy_to_sess_conn_params()
3793 options = le16_to_cpu(fw_ddb_entry->options); qla4xxx_copy_to_sess_conn_params()
3794 if (options & DDB_OPT_IPV6_DEVICE) { qla4xxx_copy_to_sess_conn_params()
3813 uint16_t options = 0; qla4xxx_copy_fwddb_param() local
3828 options = le16_to_cpu(fw_ddb_entry->options); qla4xxx_copy_fwddb_param()
3829 if (options & DDB_OPT_IPV6_DEVICE) { qla4xxx_copy_fwddb_param()
5909 "options : 0x%x\n", __func__, val)); get_fw_boot_info()
5954 DEBUG2(ql4_printk(KERN_INFO, ha, "Firmware boot options" get_fw_boot_info()
6046 uint16_t options; qla4xxx_get_boot_target() local
6072 options = le16_to_cpu(fw_ddb_entry->options); qla4xxx_get_boot_target()
6073 if (options & DDB_OPT_IPV6_DEVICE) { qla4xxx_get_boot_target()
6266 uint16_t options = 0; qla4xxx_convert_param_ddb() local
6272 options = le16_to_cpu(fw_ddb_entry->options); qla4xxx_convert_param_ddb()
6273 if (options & DDB_OPT_IPV6_DEVICE) qla4xxx_convert_param_ddb()
6560 if (fw_ddb_entry->options & DDB_OPT_IPV6_DEVICE) { qla4xxx_get_ep_fwdb()
6668 uint16_t options = 0; qla4xxx_cmp_fw_stentry() local
6671 options = le16_to_cpu(fw_ddb_entry->options); qla4xxx_cmp_fw_stentry()
6672 if (options & DDB_OPT_IPV6_DEVICE) qla4xxx_cmp_fw_stentry()
7265 uint32_t options = 0; qla4xxx_sysfs_ddb_add() local
7308 options |= IPV6_DEFAULT_DDB_ENTRY; qla4xxx_sysfs_ddb_add()
7310 rval = qla4xxx_get_default_ddb(ha, options, fw_ddb_entry_dma); qla4xxx_sysfs_ddb_add()
7342 uint32_t options = 0; qla4xxx_sysfs_ddb_apply() local
7356 options |= IPV6_DEFAULT_DDB_ENTRY; qla4xxx_sysfs_ddb_apply()
7358 rval = qla4xxx_get_default_ddb(ha, options, fw_ddb_entry_dma); qla4xxx_sysfs_ddb_apply()
7531 uint32_t options = 0; qla4xxx_sysfs_ddb_login() local
7552 options |= IPV6_DEFAULT_DDB_ENTRY; qla4xxx_sysfs_ddb_login()
7554 ret = qla4xxx_get_default_ddb(ha, options, fw_ddb_entry_dma); qla4xxx_sysfs_ddb_login()
7594 int options; qla4xxx_sysfs_ddb_logout_sid() local
7653 options = LOGOUT_OPTION_CLOSE_SESSION; qla4xxx_sysfs_ddb_logout_sid()
7654 qla4xxx_session_logout_ddb(ha, ddb_entry, options); qla4xxx_sysfs_ddb_logout_sid()
8629 /* Setup Runtime configurable options */ qla4xxx_probe_adapter()
8917 int options; qla4xxx_destroy_ddb() local
8920 options = LOGOUT_OPTION_CLOSE_SESSION; qla4xxx_destroy_ddb()
8921 if (qla4xxx_session_logout_ddb(ha, ddb_entry, options) == QLA_ERROR) { qla4xxx_destroy_ddb()
/linux-4.1.27/drivers/isdn/hardware/eicon/
H A Dmdm_msg.h38 <word> connected options
148 <byte> modem protocol negotiation options
149 <byte> modem protocol options
151 <byte> modem protocol application options
185 <byte> modem line taking options
187 <byte> modem modulation options
196 <byte> modem info options mask
/linux-4.1.27/drivers/pnp/
H A Dquirks.c59 list_for_each_entry(option, &dev->options, list) { quirk_awe32_resources()
75 list_for_each_entry(option, &dev->options, list) { quirk_cmi8330_resources()
114 list_for_each_entry(option, &dev->options, list) { quirk_sb16audio_resources()
145 list_for_each_entry(option, &dev->options, list) { pnp_clone_dependent_set()
155 list_for_each_entry(option, &dev->options, list) { pnp_clone_dependent_set()
214 list_for_each_entry(option, &dev->options, list) { quirk_ad1815_mpu_resources()
436 /* Add IRQ-optional MPU options */
/linux-4.1.27/fs/cifs/
H A Dcifs_dfs_ref.c125 * cifs_compose_mount_options - creates mount options for refferral
126 * @sb_mountdata: parent/root DFS mount options (template)
131 * creates mount options for submount based on template options sb_mountdata
132 * and replacing unc,ip,prefixpath options with ones we've got form ref_unc.
134 * Returns: pointer to new mount options or ERR_PTR.
184 /* copy all options except of unc,ip,prefixpath */ cifs_compose_mount_options()
/linux-4.1.27/scripts/dtc/
H A Dfdtget.c43 /* Holds information which controls our output and options */
57 * Displays data of a given length according to selected options
62 * @param disp Display information / options
201 * @param disp Display information / options
244 * @param disp Display information / options
285 " fdtget <options> <dt file> [<node> <property>]...\n"
286 " fdtget -p <options> <dt file> [<node> ]...\n"
/linux-4.1.27/tools/perf/ui/browsers/
H A Dhists.c1301 static inline void free_popup_options(char **options, int n) free_popup_options() argument
1306 zfree(&options[i]); free_popup_options()
1318 char *pwd, *options[32], *abs_path[32], *tmp; switch_data_file() local
1331 memset(options, 0, sizeof(options)); switch_data_file()
1332 memset(options, 0, sizeof(abs_path)); switch_data_file()
1353 options[nr_options] = strdup(name); switch_data_file()
1354 if (!options[nr_options]) switch_data_file()
1359 zfree(&options[nr_options]); switch_data_file()
1379 choice = ui__popup_menu(nr_options, options); switch_data_file()
1393 free_popup_options(options, nr_options); switch_data_file()
1427 char *options[16]; perf_evsel__hists_browse() local
1482 memset(options, 0, sizeof(options)); perf_evsel__hists_browse()
1628 asprintf(&options[nr_options], "Annotate %s", bi->from.sym->name) > 0) { perf_evsel__hists_browse()
1636 asprintf(&options[nr_options], "Annotate %s", bi->to.sym->name) > 0) { perf_evsel__hists_browse()
1647 asprintf(&options[nr_options], "Annotate %s", perf_evsel__hists_browse()
1655 asprintf(&options[nr_options], "Zoom %s %s(%d) thread", perf_evsel__hists_browse()
1662 asprintf(&options[nr_options], "Zoom %s %s DSO", perf_evsel__hists_browse()
1669 asprintf(&options[nr_options], "Browse map details") > 0) perf_evsel__hists_browse()
1676 if (asprintf(&options[nr_options], "Run scripts for samples of thread [%s]", perf_evsel__hists_browse()
1682 asprintf(&options[nr_options], "Run scripts for samples of symbol [%s]", perf_evsel__hists_browse()
1687 if (asprintf(&options[nr_options], "Run scripts for all samples") > 0) perf_evsel__hists_browse()
1690 if (is_report_browser(hbt) && asprintf(&options[nr_options], perf_evsel__hists_browse()
1694 options[nr_options++] = (char *)"Exit"; perf_evsel__hists_browse()
1696 choice = ui__popup_menu(nr_options, options); perf_evsel__hists_browse()
1702 free_popup_options(options, nr_options - 1); perf_evsel__hists_browse()
1815 free_popup_options(options, nr_options - 1); perf_evsel__hists_browse()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
H A Dobd_mount.c795 PRINT_CMD(D_MOUNT, "options: %s\n", lmd->lmd_opts); lmd_print()
984 /** Parse mount line options
988 static int lmd_parse(char *options, struct lustre_mount_data *lmd) lmd_parse() argument
991 struct lustre_mount_data *raw = (struct lustre_mount_data *)options; lmd_parse()
995 if (!options) { lmd_parse()
1015 s1 = options; lmd_parse()
1024 /* Client options are parsed in ll_options: eg. flock, lmd_parse()
1027 /* Parse non-ldiskfs options here. Rather than modifying lmd_parse()
1111 end of the options. */ lmd_parse()
1114 /* terminate options right before device. device lmd_parse()
1158 /* Save mount options */ lmd_parse()
1159 s1 = options + strlen(options) - 1; lmd_parse()
1160 while (s1 >= options && (*s1 == ',' || *s1 == ' ')) lmd_parse()
1162 if (*options != 0) { lmd_parse()
1164 OBD_ALLOC(lmd->lmd_opts, strlen(options) + 1); lmd_parse()
1167 strcpy(lmd->lmd_opts, options); lmd_parse()
1176 CERROR("Bad mount options %s\n", options); lmd_parse()
1188 * @param data Mount options (e.g. -o flock,abort_recov)
1215 /* Figure out the lmd from the mount options */ lustre_fill_super()
/linux-4.1.27/security/keys/
H A Dtrusted.c729 /* can have zero or more token= options */ getoptions()
799 * payload and options structures
849 /* all arguments are options */ datablob_parse()
864 struct trusted_key_options *options; trusted_options_alloc() local
866 options = kzalloc(sizeof *options, GFP_KERNEL); trusted_options_alloc()
867 if (options) { trusted_options_alloc()
869 options->keytype = SRK_keytype; trusted_options_alloc()
870 options->keyhandle = SRKHANDLE; trusted_options_alloc()
872 return options; trusted_options_alloc()
902 struct trusted_key_options *options = NULL; trusted_instantiate() local
918 options = trusted_options_alloc(); trusted_instantiate()
919 if (!options) { trusted_instantiate()
929 key_cmd = datablob_parse(datablob, payload, options); trusted_instantiate()
936 dump_options(options); trusted_instantiate()
940 ret = key_unseal(payload, options); trusted_instantiate()
942 dump_options(options); trusted_instantiate()
953 ret = key_seal(payload, options); trusted_instantiate()
961 if (!ret && options->pcrlock) trusted_instantiate()
962 ret = pcrlock(options->pcrlock); trusted_instantiate()
965 kfree(options); trusted_instantiate()
/linux-4.1.27/include/linux/ceph/
H A Dlibceph.h26 * mount options
38 (client)->options->flags |= CEPH_OPT_##opt;
40 (!!((client)->options->flags & CEPH_OPT_##opt))
119 struct ceph_options *options; member in struct:ceph_client
191 extern struct ceph_options *ceph_parse_options(char *options,
/linux-4.1.27/drivers/staging/lustre/include/linux/lnet/
H A Dtypes.h179 * If the options field has:
255 unsigned int options; member in struct:__anon9906
293 * Options for the MD structure. See lnet_md_t::options.
296 /** See lnet_md_t::options. */
298 /** See lnet_md_t::options. */
301 /** See lnet_md_t::options. */
303 /** See lnet_md_t::options. */
305 /** See lnet_md_t::options. */
307 /** See lnet_md_t::options. */
309 /** See lnet_md_t::options. */
448 * \see lnet_md_t::options
480 * \see lnet_md_t::options for the discussion on LNET_MD_ACK_DISABLE by which
/linux-4.1.27/scripts/rt-tester/
H A Drt-tester.py103 (options, arguments) = getopt.getopt(sys.argv[1:],'chqt')
108 # Parse commandline options
109 for option, value in options:
/linux-4.1.27/include/linux/can/
H A Ddev.h44 u32 ctrlmode; /* current options setting */
45 u32 ctrlmode_supported; /* options that can be modified by netlink */
46 u32 ctrlmode_static; /* static enabled options for driver/hardware */
/linux-4.1.27/fs/hfs/
H A Dsuper.c227 * This function is called by hfs_read_super() to parse the mount options.
229 static int parse_options(char *options, struct hfs_sb_info *hsb) parse_options() argument
245 if (!options) parse_options()
248 while ((p = strsep(&options, ",")) != NULL) { parse_options()
379 * mount options, dealing with Macintosh partitions, reading the
403 pr_err("unable to parse mount options\n"); hfs_fill_super()
/linux-4.1.27/scripts/kconfig/
H A DMakefile78 # These targets map 1:1 to the commandline options of 'conf'
135 @echo ' allnoconfig - New config where all options are answered with no'
136 @echo ' allyesconfig - New config where all options are accepted with yes'
139 @echo ' randconfig - New config with random answer to all options'
140 @echo ' listnewconfig - List new options'
142 @echo ' kvmconfig - Enable additional options for guest kernel support'

Completed in 3568 milliseconds

123456789