Searched defs:opt (Results 1 - 25 of 59) sorted by relevance

123

/drivers/net/wireless/bcmdhd/include/
H A Dminiopt.h55 char opt; member in struct:miniopt
/drivers/staging/usbip/userspace/src/
H A Dusbip_detach.c81 int opt; local
85 opt = getopt_long(argc, argv, "p:", opts, NULL);
87 if (opt == -1)
90 switch (opt) {
H A Dusbip.c147 int opt; local
153 opt = getopt_long(argc, argv, "+d", opts, NULL);
155 if (opt == -1)
158 switch (opt) {
H A Dusbip_attach.c199 int opt; local
203 opt = getopt_long(argc, argv, "h:b:", opts, NULL);
205 if (opt == -1)
208 switch (opt) {
H A Dusbip_unbind.c164 int opt; local
168 opt = getopt_long(argc, argv, "b:", opts, NULL);
170 if (opt == -1)
173 switch (opt) {
H A Dusbip_bind.c255 int opt; local
259 opt = getopt_long(argc, argv, "b:", opts, NULL);
261 if (opt == -1)
264 switch (opt) {
H A Dusbip_list.c270 int opt; local
277 opt = getopt_long(argc, argv, "pr:l", opts, NULL);
279 if (opt == -1)
282 switch (opt) {
H A Dusbipd.c513 int opt, rc = -1; local
523 opt = getopt_long(argc, argv, "Ddhv", longopts, NULL);
525 if (opt == -1)
528 switch (opt) {
/drivers/firewire/
H A Dinit_ohci1394_dma.c301 static int __init setup_ohci1394_dma(char *opt) argument
303 if (!strcmp(opt, "early"))
/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_param.c119 static int __devinit atl1e_validate_option(int *value, struct atl1e_option *opt, struct atl1e_adapter *adapter) argument
122 *value = opt->def;
126 switch (opt->type) {
131 "%s Enabled\n", opt->name);
135 "%s Disabled\n", opt->name);
140 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
142 opt->name, *value);
150 for (i = 0; i < opt->arg.l.nr; i++) {
151 ent = &opt
192 struct atl1e_option opt = { local
211 struct atl1e_option opt = { local
231 struct atl1e_option opt = { local
250 struct atl1e_option opt = { local
[all...]
/drivers/net/ethernet/intel/e1000e/
H A Dparam.c190 const struct e1000_option *opt,
194 *value = opt->def;
198 switch (opt->type) {
202 e_info("%s Enabled\n", opt->name);
205 e_info("%s Disabled\n", opt->name);
210 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
211 e_info("%s set to %i\n", opt->name, *value);
219 for (i = 0; i < opt->arg.l.nr; i++) {
220 ent = &opt
189 e1000_validate_option(unsigned int *value, const struct e1000_option *opt, struct e1000_adapter *adapter) argument
259 static const struct e1000_option opt = { local
278 static const struct e1000_option opt = { local
297 static struct e1000_option opt = { local
316 static const struct e1000_option opt = { local
335 static const struct e1000_option opt = { local
404 static struct e1000_option opt = { local
447 static const struct e1000_option opt = { local
463 static const struct e1000_option opt = { local
483 static const struct e1000_option opt = { local
503 static const struct e1000_option opt = { local
[all...]
/drivers/net/ethernet/intel/ixgb/
H A Dixgb_param.c203 ixgb_validate_option(unsigned int *value, const struct ixgb_option *opt) argument
206 *value = opt->def;
210 switch (opt->type) {
214 pr_info("%s Enabled\n", opt->name);
217 pr_info("%s Disabled\n", opt->name);
222 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
223 pr_info("%s set to %i\n", opt->name, *value);
231 for (i = 0; i < opt->arg.l.nr; i++) {
232 ent = &opt
270 static const struct ixgb_option opt = { local
289 static const struct ixgb_option opt = { local
308 static const struct ixgb_option opt = { local
333 static const struct ixgb_option opt = { local
351 static const struct ixgb_option opt = { local
370 static const struct ixgb_option opt = { local
389 static const struct ixgb_option opt = { local
419 static const struct ixgb_option opt = { local
436 static const struct ixgb_option opt = { local
454 static const struct ixgb_option opt = { local
[all...]
/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_param.c221 * @opt: option
228 const struct pch_gbe_option *opt,
232 *value = opt->def;
236 switch (opt->type) {
240 pr_debug("%s Enabled\n", opt->name);
243 pr_debug("%s Disabled\n", opt->name);
248 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
249 pr_debug("%s set to %i\n", opt->name, *value);
257 for (i = 0; i < opt
227 pch_gbe_validate_option(int *value, const struct pch_gbe_option *opt, struct pch_gbe_adapter *adapter) argument
287 static const struct pch_gbe_option opt = { local
299 static const struct pch_gbe_option opt = { local
312 static const struct pch_gbe_option opt = { local
434 static const struct pch_gbe_option opt = { local
450 static const struct pch_gbe_option opt = { local
466 static const struct pch_gbe_option opt = { local
478 static const struct pch_gbe_option opt = { local
490 static const struct pch_gbe_option opt = { local
[all...]
/drivers/net/ppp/
H A Dpppolac.c74 struct pppolac_opt *opt = &pppox_sk(sk)->proto.lac; local
86 return opt->backlog_rcv(sk_udp, skb);
116 if (unaligned(ptr)->u32 != opt->local)
122 if ((__s16)(meta->sequence - opt->recv_sequence) < 0)
140 atomic_set(&opt->sequencing, bits & L2TP_SEQUENCE_BIT);
171 meta->sequence != opt->recv_sequence)
174 opt->recv_sequence = (__u16)(meta->sequence + 1);
225 struct pppolac_opt *opt = &pppox_sk(sk_udp->sk_user_data)->proto.lac; local
233 if (atomic_read(&opt->sequencing)) {
236 skb->data[6] = opt
[all...]
H A Dpppopns.c73 struct pppopns_opt *opt = &pppox_sk(sk)->proto.pns; local
87 if (hdr->type != PPTP_GRE_TYPE || hdr->call != opt->local ||
104 if ((__s32)(meta->sequence - opt->recv_sequence) < 0)
152 meta->sequence != opt->recv_sequence)
155 opt->recv_sequence = meta->sequence + 1;
208 struct pppopns_opt *opt = &pppox_sk(sk_raw->sk_user_data)->proto.pns; local
223 hdr->call = opt->remote;
224 hdr->sequence = htonl(opt->xmit_sequence);
225 opt->xmit_sequence++;
/drivers/target/iscsi/
H A Discsi_target_login.c766 int backlog = 5, ret, opt = 0, len; local
828 opt = 1;
831 (char *)&opt, sizeof(opt));
841 (char *)&opt, sizeof(opt));
849 (char *)&opt, sizeof(opt));
/drivers/tty/serial/
H A Dkgdboc.c133 static int kgdboc_option_setup(char *opt) argument
135 if (strlen(opt) >= MAX_CONFIG_LEN) {
139 strcpy(config, opt);
307 static int __init kgdboc_early_init(char *opt) argument
314 kgdboc_option_setup(opt);
/drivers/video/geode/
H A Dgxfb_core.c505 char *opt; local
510 while ((opt = strsep(&options, ",")) != NULL) {
511 if (!*opt)
514 mode_option = opt;
H A Dlxfb_core.c636 char *opt; local
641 while ((opt = strsep(&options, ",")) != NULL) {
642 if (!*opt)
645 if (!strcmp(opt, "noclear"))
647 else if (!strcmp(opt, "nopanel"))
649 else if (!strcmp(opt, "nocrt"))
652 mode_option = opt;
/drivers/video/matrox/
H A Dg450_pll.c399 u_int32_t opt; local
401 pci_read_config_dword(minfo->pcidev, PCI_OPTION_REG, &opt);
402 if (!(opt & 0x20)) {
403 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, opt | 0x20);
H A Dmatroxfb_misc.c596 minfo->values.reg.opt = (bd->pins[54] & 7) << 10;
609 minfo->values.reg.opt = 0x00000C00;
624 minfo->values.reg.opt = ((bd->pins[53] << 15) & 0x00400000) |
640 minfo->values.reg.opt = 0x10000400;
661 minfo->values.reg.opt = get_unaligned_le32(bd->pins + 48);
694 minfo->values.reg.opt = 0x404A1160;
765 u32 opt; local
771 pci_read_config_dword(pdev, PCI_OPTION_REG, &opt);
772 pci_write_config_dword(pdev, PCI_OPTION_REG, opt | PCI_OPTION_ENABLE_ROM);
778 pci_write_config_dword(pdev, PCI_OPTION_REG, opt);
[all...]
/drivers/isdn/mISDN/
H A Dsocket.c424 int err = 0, opt = 0; local
434 if (get_user(opt, (int __user *)optval)) {
439 if (opt)
456 int len, opt; local
467 opt = 1;
469 opt = 0;
471 if (put_user(opt, optval))
/drivers/net/ethernet/intel/e1000/
H A De1000_param.c209 const struct e1000_option *opt,
213 *value = opt->def;
217 switch (opt->type) {
221 e_dev_info("%s Enabled\n", opt->name);
224 e_dev_info("%s Disabled\n", opt->name);
229 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
230 e_dev_info("%s set to %i\n", opt->name, *value);
238 for (i = 0; i < opt->arg.l.nr; i++) {
239 ent = &opt
208 e1000_validate_option(unsigned int *value, const struct e1000_option *opt, struct e1000_adapter *adapter) argument
273 struct e1000_option opt; local
565 struct e1000_option opt; local
[all...]
/drivers/hid/
H A Dhid-wiimote.h61 __u32 opt; member in struct:wiimote_state
164 __u32 opt)
166 return wdata->state.cmd == cmd && wdata->state.opt == opt;
183 __u32 opt)
187 wdata->state.opt = opt;
163 wiimote_cmd_pending(struct wiimote_data *wdata, int cmd, __u32 opt) argument
182 wiimote_cmd_set(struct wiimote_data *wdata, int cmd, __u32 opt) argument
/drivers/media/video/hdpvr/
H A Dhdpvr-video.c725 static int fill_queryctrl(struct hdpvr_options *opt, struct v4l2_queryctrl *qc, argument
785 if (!err && opt->bitrate_mode == HDPVR_CONSTANT)
895 static int hdpvr_get_ctrl(struct hdpvr_options *opt, argument
900 ctrl->value = opt->audio_codec;
906 /* ctrl->value = (opt->gop_mode & 0x2) ? 0 : 128; */
909 ctrl->value = opt->bitrate_mode == HDPVR_CONSTANT
914 ctrl->value = opt->bitrate * 100000;
917 ctrl->value = opt->peak_bitrate * 100000;
1028 struct hdpvr_options *opt = &dev->options; local
1034 opt
[all...]

Completed in 498 milliseconds

123