Searched refs:opts (Results 1 - 25 of 37) sorted by relevance

12

/drivers/net/ppp/
H A Dppp_mppe.h8 /* unsupported opts */
32 /* Build a CI from mppe opts (see RFC 3078) */
33 #define MPPE_OPTS_TO_CI(opts, ci) \
38 if (opts & MPPE_OPT_STATEFUL) \
47 if (opts & MPPE_OPT_128) \
49 if (opts & MPPE_OPT_40) \
55 #define MPPE_CI_TO_OPTS(ci, opts) \
59 opts = 0; \
63 opts |= MPPE_OPT_STATEFUL; \
67 opts |
[all...]
/drivers/staging/usbip/userspace/src/
H A Dusbip_detach.c77 static const struct option opts[] = { local
85 opt = getopt_long(argc, argv, "p:", opts, NULL);
H A Dusbip.c140 static const struct option opts[] = { local
153 opt = getopt_long(argc, argv, "+d", opts, NULL);
H A Dusbip_unbind.c159 static const struct option opts[] = { local
168 opt = getopt_long(argc, argv, "b:", opts, NULL);
H A Dusbip_attach.c192 static const struct option opts[] = { local
203 opt = getopt_long(argc, argv, "h:b:", opts, NULL);
H A Dusbip_bind.c250 static const struct option opts[] = { local
259 opt = getopt_long(argc, argv, "b:", opts, NULL);
H A Dusbip_list.c262 static const struct option opts[] = { local
277 opt = getopt_long(argc, argv, "pr:l", opts, NULL);
/drivers/usb/gadget/
H A Df_ncm.c878 struct ndp_parser_opts *opts = ncm->parser_opts; local
881 ncb_len += opts->nth_size;
884 ncb_len += opts->ndp_size;
885 ncb_len += 2 * 2 * opts->dgram_item_len; /* Datagram entry */
886 ncb_len += 2 * 2 * opts->dgram_item_len; /* Zero datagram entry */
907 put_unaligned_le32(opts->nth_sign, tmp); /* dwSignature */
910 put_unaligned_le16(opts->nth_size, tmp++);
912 put_ncm(&tmp, opts->block_length, skb->len); /* (d)wBlockLength */
915 put_ncm(&tmp, opts->fp_index, opts
964 struct ndp_parser_opts *opts = ncm->parser_opts; local
[all...]
H A Df_fs.c1081 static int ffs_fs_parse_opts(struct ffs_sb_fill_data *data, char *opts) argument
1085 if (!opts || !*opts)
1093 comma = strchr(opts, ',');
1098 eq = strchr(opts, '=');
1100 pr_err("'=' missing in %s\n", opts);
1108 pr_err("%s: invalid value: %s\n", opts, eq + 1);
1113 switch (eq - opts) {
1115 if (!memcmp(opts, "rmode", 5))
1117 else if (!memcmp(opts, "fmod
1159 ffs_fs_mount(struct file_system_type *t, int flags, const char *dev_name, void *opts) argument
[all...]
/drivers/scsi/aic7xxx/
H A DMakefile53 aicasm-7xxx-opts-$(CONFIG_AIC7XXX_REG_PRETTY_PRINT) := \
59 $(aicasm-7xxx-opts-y) -o $(obj)/aic7xxx_seq.h \
70 aicasm-79xx-opts-$(CONFIG_AIC79XX_REG_PRETTY_PRINT) := \
76 $(aicasm-79xx-opts-y) -o $(obj)/aic79xx_seq.h \
/drivers/watchdog/
H A Dstmp3xxx_wdt.c114 int new_heartbeat, opts; local
131 if (get_user(opts, p)) {
135 if (opts & WDIOS_DISABLECARD)
137 else if (opts & WDIOS_ENABLECARD)
140 pr_debug("%s: unknown option 0x%x\n", __func__, opts);
/drivers/sbus/char/
H A Ddisplay7seg.c176 struct device_node *opts; local
206 opts = of_find_node_by_path("/options");
207 if (opts &&
208 of_get_property(opts, "d7s-flipped?", NULL))
/drivers/block/mtip32xx/
H A Dmtip32xx.h167 unsigned char opts; member in struct:host_to_dev_fis
221 unsigned int opts; member in struct:mtip_cmd_hdr
H A Dmtip32xx.c1212 * @opts Command header options, excluding the FIS length
1227 u32 opts,
1292 int_cmd->command_header->opts =
1293 __force_bit2int cpu_to_le32(opts | fis_len);
1304 int_cmd->command_header->opts |=
1445 fis.opts = 1 << 7;
1520 fis.opts = 1 << 7;
1560 fis.opts = 1 << 7;
1597 fis.opts = 1 << 7;
1833 fis.opts
1222 mtip_exec_internal_command(struct mtip_port *port, struct host_to_dev_fis *fis, int fis_len, dma_addr_t buffer, int buf_len, u32 opts, gfp_t atomic, unsigned long timeout) argument
[all...]
/drivers/ata/
H A Dacard-ahci.c267 u32 opts; local
292 opts = cmd_fis_len | (qc->dev->link->pmp << 12);
294 opts |= AHCI_CMD_WRITE;
296 opts |= AHCI_CMD_ATAPI | AHCI_CMD_PREFETCH;
298 ahci_fill_cmd_slot(pp, qc->tag, opts);
H A Dahci.h251 __le32 opts; member in struct:ahci_cmd_hdr
324 u32 opts);
/drivers/target/
H A Dtarget_core_rd.c465 char *orig, *ptr, *opts; local
469 opts = kstrdup(page, GFP_KERNEL);
470 if (!opts)
473 orig = opts;
475 while ((ptr = strsep(&opts, ",\n")) != NULL) {
H A Dtarget_core_file.c490 char *orig, *ptr, *arg_p, *opts; local
494 opts = kstrdup(page, GFP_KERNEL);
495 if (!opts)
498 orig = opts;
500 while ((ptr = strsep(&opts, ",\n")) != NULL) {
H A Dtarget_core_iblock.c358 char *orig, *ptr, *arg_p, *opts; local
362 opts = kstrdup(page, GFP_KERNEL);
363 if (!opts)
366 orig = opts;
368 while ((ptr = strsep(&opts, ",\n")) != NULL) {
H A Dtarget_core_pscsi.c809 char *orig, *ptr, *opts; local
813 opts = kstrdup(page, GFP_KERNEL);
814 if (!opts)
817 orig = opts;
819 while ((ptr = strsep(&opts, ",\n")) != NULL) {
/drivers/net/ethernet/via/
H A Dvia-velocity.c470 * @opts: option structure for the device
477 static void __devinit velocity_get_options(struct velocity_opt *opts, int index, const char *devname) argument
480 velocity_set_int_opt(&opts->rx_thresh, rx_thresh[index], RX_THRESH_MIN, RX_THRESH_MAX, RX_THRESH_DEF, "rx_thresh", devname);
481 velocity_set_int_opt(&opts->DMA_length, DMA_length[index], DMA_LENGTH_MIN, DMA_LENGTH_MAX, DMA_LENGTH_DEF, "DMA_length", devname);
482 velocity_set_int_opt(&opts->numrx, RxDescriptors[index], RX_DESC_MIN, RX_DESC_MAX, RX_DESC_DEF, "RxDescriptors", devname);
483 velocity_set_int_opt(&opts->numtx, TxDescriptors[index], TX_DESC_MIN, TX_DESC_MAX, TX_DESC_DEF, "TxDescriptors", devname);
485 velocity_set_int_opt(&opts->flow_cntl, flow_control[index], FLOW_CNTL_MIN, FLOW_CNTL_MAX, FLOW_CNTL_DEF, "flow_control", devname);
486 velocity_set_bool_opt(&opts->flags, IP_byte_align[index], IP_ALIG_DEF, VELOCITY_FLAGS_IP_ALIGN, "IP_byte_align", devname);
487 velocity_set_bool_opt(&opts->flags, ValPktLen[index], VAL_PKT_LEN_DEF, VELOCITY_FLAGS_VAL_PKT_LEN, "ValPktLen", devname);
488 velocity_set_int_opt((int *) &opts
[all...]
/drivers/net/ethernet/davicom/
H A Ddm9000.c592 u32 opts = w->wolopts; local
598 if (opts & ~WAKE_MAGIC)
601 if (opts & WAKE_MAGIC)
612 if (dm->wake_state != opts) {
617 else if (dm->wake_state && !opts)
621 dm->wake_state = opts;
/drivers/net/ethernet/3com/
H A D3c589_cs.c850 u16 opts = SetRxFilter | RxStation | RxBroadcast; local
853 opts |= RxMulticast | RxProm;
855 opts |= RxMulticast;
856 outw(opts, ioaddr + EL3_CMD);
/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.c1944 static void sym_settrans(struct sym_hcb *np, int target, u_char opts, u_char ofs, argument
1995 if (opts) {
2137 sym_setpprot(struct sym_hcb *np, int target, u_char opts, u_char ofs, argument
2143 sym_settrans(np, target, opts, ofs, per, wide, div, fak);
2152 spi_iu(starget) = tp->tgoal.iu = !!(opts & PPR_OPT_IU);
2153 spi_dt(starget) = tp->tgoal.dt = !!(opts & PPR_OPT_DT);
2154 spi_qas(starget) = tp->tgoal.qas = !!(opts & PPR_OPT_QAS);
4078 unsigned char opts = np->msgin[7] & PPR_OPT_MASK; local
4092 opts = 0;
4094 if (opts !
[all...]
/drivers/md/
H A Ddm-crypt.c76 const char *opts);
361 const char *opts)
368 if (!opts) {
374 hash_tfm = crypto_alloc_hash(opts, 0, CRYPTO_ALG_ASYNC);
423 const char *opts)
484 const char *opts)
360 crypt_iv_essiv_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) argument
422 crypt_iv_benbi_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) argument
483 crypt_iv_lmk_ctr(struct crypt_config *cc, struct dm_target *ti, const char *opts) argument

Completed in 4446 milliseconds

12