Searched defs:opts (Results 1 - 25 of 35) sorted by relevance

12

/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_attach.c192 static const struct option opts[] = { local
203 opt = getopt_long(argc, argv, "h:b:", 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_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/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/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);
H A Dlibahci.c1158 u32 opts)
1164 pp->cmd_slot[tag].opts = cpu_to_le32(opts);
1473 u32 opts; local
1496 opts = cmd_fis_len | n_elem << 16 | (qc->dev->link->pmp << 12);
1498 opts |= AHCI_CMD_WRITE;
1500 opts |= AHCI_CMD_ATAPI | AHCI_CMD_PREFETCH;
1502 ahci_fill_cmd_slot(pp, qc->tag, opts);
1157 ahci_fill_cmd_slot(struct ahci_port_priv *pp, unsigned int tag, u32 opts) argument
/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/target/
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_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_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/misc/
H A Dpti.c729 * @opts: Not used.
734 static int pti_console_setup(struct console *c, char *opts) argument
/drivers/net/irda/
H A Ddonauboe.c338 toshoboe_start_DMA (struct toshoboe_cb *self, int opts) argument
341 OUTB (CONFIG0H_DMA_ON | opts, OBOE_CONFIG0H);
/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/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/qla2xxx/
H A Dqla_iocb.c1909 uint16_t opts; local
1914 opts = lio->u.logio.flags & SRB_LOGIN_COND_PLOGI ? BIT_0 : 0;
1915 opts |= lio->u.logio.flags & SRB_LOGIN_SKIP_PRLI ? BIT_1 : 0;
1918 mbx->mb10 = cpu_to_le16(opts);
1920 mbx->mb1 = cpu_to_le16((sp->fcport->loop_id << 8) | opts);
/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...]
/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
/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/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...]

Completed in 2258 milliseconds

12